Menu

Step 3 of Create a new project Section of Get started Tutorial

olumide
2013-08-17
2013-08-31
  • olumide

    olumide - 2013-08-17

    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
     
  • olumide

    olumide - 2013-08-20

    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
    • Ivo Maixner

      Ivo Maixner - 2013-08-31

      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

Log in to post a comment.