I am going through the Use Case Tool tutorial and I'm having difficulty with the third step of the Create a new project Section of Get started Tutorial, i.e. customize downloaded pom.xml for your project, at http://uctool.sourceforge.net/tutorial/start/new-project.html. Where is this customization done? In eclipse or in a text editor? Please advise.
Regards,
Olumide
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Olumide,
if you followed the tutorial and created the project in Eclipse, customize
the pom.xml file in Eclipse. You can actually do it in any text editor if
you want to, but that's why we are using Eclipse in the first place: for
easy editing of XML files.
Cheers,
Ivo
I am going through the Use Case Tool tutorial and I'm having difficulty
with the third step of the Create a new project Section of Get started
Tutorial, i.e. customize downloaded pom.xml for your project, at http://uctool.sourceforge.net/tutorial/start/new-project.html. Where is
this customization done? In eclipse or in a text editor? Please advise.
I'm still having difficulty following the tutorial. The current version of eclipse overwrites pom.xml when the project is converted to a Maven project.
Last edit: olumide 2013-08-20
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Ok, I finally got around to test your problem. Sorry for the delay.
Installed latest Eclipse eclipse-jee-kepler-R-linux-gtk-x86_64.tar.gz.
On jdk-6u26-linux-x64.bin and apache-maven-3.0.5-bin.tar.gz.
M2Eclipse plugin already pre-installed in Kepler.
Created my-project in Eclipse.
wget http://uctool.sourceforge.net/tutorial/download/pom.xml
mkdir -p src/main/ucs
cd src/main/ucs/
wget http://uctool.sourceforge.net/tutorial/download/empty.xml
Refreshed project in Eclipse (F5).
Opened pom.xml in Eclipse.
Customized Group Id, Artifact Id and Name.
Saved the file (Ctrl+s).
Enabled Maven on the project (right-click, Configure -> Convert to Maven project).
Couple of files got created, like /target, etc.
HOWEVER, THE POM.XML FILE REMAINED UN-TOUCHED.
(Used git to verify the file has not changed...)
So, what exactly do you mean by "The current version of eclipse overwrites pom.xml when the project is converted to a Maven project."?
Cheers, Ivo
Last edit: Ivo Maixner 2013-08-31
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am going through the Use Case Tool tutorial and I'm having difficulty with the third step of the Create a new project Section of Get started Tutorial, i.e. customize downloaded pom.xml for your project, at http://uctool.sourceforge.net/tutorial/start/new-project.html. Where is this customization done? In eclipse or in a text editor? Please advise.
Regards,
Hi Olumide,
if you followed the tutorial and created the project in Eclipse, customize
the pom.xml file in Eclipse. You can actually do it in any text editor if
you want to, but that's why we are using Eclipse in the first place: for
easy editing of XML files.
Cheers,
Ivo
On Sat, Aug 17, 2013 at 3:34 AM, olumide olumide@users.sf.net wrote:
I'm still having difficulty following the tutorial. The current version of eclipse overwrites pom.xml when the project is converted to a Maven project.
Last edit: olumide 2013-08-20
Ok, I finally got around to test your problem. Sorry for the delay.
Installed latest Eclipse eclipse-jee-kepler-R-linux-gtk-x86_64.tar.gz.
On jdk-6u26-linux-x64.bin and apache-maven-3.0.5-bin.tar.gz.
M2Eclipse plugin already pre-installed in Kepler.
Created my-project in Eclipse.
Refreshed project in Eclipse (F5).
Opened pom.xml in Eclipse.
Customized Group Id, Artifact Id and Name.
Saved the file (Ctrl+s).
Enabled Maven on the project (right-click, Configure -> Convert to Maven project).
Couple of files got created, like /target, etc.
HOWEVER, THE POM.XML FILE REMAINED UN-TOUCHED.
(Used git to verify the file has not changed...)
So, what exactly do you mean by "The current version of eclipse overwrites pom.xml when the project is converted to a Maven project."?
Cheers, Ivo
Last edit: Ivo Maixner 2013-08-31