facebook

Is there import via existing POM facilties?

  1. MyEclipse IDE
  2.  > 
  3. Maven for MyEclipse (Maven4MyEclipse)
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #286031 Reply

    cstrzadala
    Member

    I have used the latest Netbeans IDE and found that the import via existing POM facility is very handy in importing a whole or partial project modules for maven projects. I have just got the new MyEclipse 6.5 and have not been able to find a facility like this for eclipse. Am I missing something or is this really not here?

    #286050 Reply

    Riyad Kalla
    Member

    There isn’t support for this in 6.5, but given our long-term commitment to Maven we will be bringing functionality like this shortly.

    A workaround in the mean time is to create the appropriate kind of project in ME, then copy and paste the important parts of the existing POM to the POM that MyEclipse created then you are off to the races.

    #286248 Reply

    sg707
    Member

    I had a similar situation and I managed to pull it w/o creating new project.

    Modified the .classpath to include this
    <classpathentry exported=”true” kind=”con” path=”org.maven.ide.eclipse.MAVEN2_CLASSPATH_CONTAINER”/>

    Modified the .project to include this
    <nature>com.genuitec.eclipse.maven.maven2Nature</nature>

    Voila~ now I enabled my existing project w/ Maven!

    #286250 Reply

    Riyad Kalla
    Member

    sg707, nice tip!

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: Is there import via existing POM facilties?

You must be logged in to post in the forum log in