facebook

Maven4MyEclipse pom errors

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

    t23745
    Member

    Version: 10.6 Blue
    Build id: 10.6-Blue-20120727

    Probably finger trouble, but I have a number of maven projects that build ok from the command line (mvn package install etc) but in MyEclipse that are flagged with errors:
    against the pom – project read error
    against the project – ArtifactDescriptorException: Failed to read artifact descriptor for ….

    How do I clear the errors, Ive tried all the obvious:
    1. recycle MyEclipse / PC
    2. Project refresh
    3. run-as maven build …
    4. Maven4MyEclipse/Update dependencies
    5. Maven4MyEclipse/Update project configuration
    6. Preferences/Maven4MyEclipse/ various flag settings (true & false) Offline / Do not auto update / Download repository index on startup / Update maven projects on startup

    The projects in question have cross dependencies, i.e. jar outputs are dependent upon each other but are no cyclic dependencies.

    What next – any ideas would be appreciated.

    #331385 Reply

    t23745
    Member

    Solved – partly
    The problem arises from the eclipse specific configuration files – like having a classpath src/test/resources reference but the directory does not exist. Plus deleteing the project & re-importing – a mix of these sort of cleared the problems in most of my projects. I’m pretty sure there will be more similar issues that will clear the rest – As suspected – finger trouble!

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Maven4MyEclipse pom errors

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