facebook

maven child projects are showing with package level error

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

    br2013
    Member

    hi,

    i am using myeclipse indigo,i have checked out the code from svn via maven and that resulted in parent and few child projects in the eclipse with their respective pom.xml files.
    but the child projects are showing package error that this is not the expected package for the java class.

    another question parent has all the child projects as well with the parent pom.xml.
    do we work means do the code changes in the local to the parent project or the child one as we need to commit the code from the svn.

    thirdly can we open one child project at one time in the eclipse from the worsapce in order to just work on that.

    many thanks plz reply as i am new to all this..

    thanks
    br2013

    #342280 Reply

    support-swapna
    Moderator

    br2013,

    Sorry that you are seeing this issue.

    Can you please check if project > maven4myeclipse > update project configuration on the parent project fixes the issue?
    I have escalated your queries to the dev team. They will get back to you.

    #342434 Reply

    support-piotr
    Participant

    br2013,

    First of all, it’s best to use MyEclipse 2013 (Juno) for Maven. We have made a lot of enhancements in that area since MyElipse 10.x (Indigo).

    If you are managing projects through parent poms you might experience missing dependencies errors if you don’t include all of the projects. You can try closing projects you don’t want to use after importing them into the workspace.

    You can make changes in parent project and children ones. The structure of Maven project on disk is usually hierarchical, so children projects are contained inside of the directory with parent pom. They are imported from those locations into workspace, so you can see some projects listed under parent project and as a separate project.

    Let us know if you have more questions!

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: maven child projects are showing with package level error

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