facebook

Maven problem after 8.6 upgrade

  1. MyEclipse IDE
  2.  > 
  3. Installation, Configuration & Updates
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #311753 Reply

    warish
    Member

    I just updated to 8.6 from 8.1. I am getting Maven errors now. It looks like it can not find certain dependencies. I have googled around and tried a few things but can not get it to work. Here is my configuration with the Maven error at the bottom.

    Thanks,

    Warren

    *** Date:
    Monday, October 4, 2010 9:09:21 PM PDT

    ** System properties:
    OS=MacOSX
    OS version=10.5.8
    Java version=1.5.0_24

    *** MyEclipse details:
    MyEclipse Enterprise Workbench
    Version: 8.6
    Build id: 8.6-20100806

    *** Eclipse details:
    MyEclipse Enterprise Workbench

    Version: 8.6
    Build id: 8.6-20100806

    Eclipse startup command=-os
    macosx
    -ws
    carbon
    -arch
    x86
    -showsplash
    -launcher
    /Library/Genuitec/MyEclipse-8.6/myeclipse.app/Contents/MacOS/myeclipse
    -name
    Myeclipse
    –launcher.library
    /Library/Genuitec/MyEclipse-8.6/myeclipse.app/Contents/MacOS//../../../../Common/plugins/org.eclipse.equinox.launcher.carbon.macosx_1.0.200.v20090520-1835/eclipse_1206.so
    -startup
    /Library/Genuitec/MyEclipse-8.6/myeclipse.app/Contents/MacOS/../../../../Common/plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar
    -install
    /Library/Genuitec/MyEclipse-8.6
    -configuration
    ../../../configuration
    -keyring
    /Users/Warren/.eclipse_keyring
    -consoleLog
    -showlocation
    -vm
    /System/Library/Frameworks/JavaVM.framework

    10/4/10 7:11:08 PM PDT: Build errors for scanman; org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-resources-plugin:2.4.1:resources (default-resources) on project scanman: Execution default-resources of goal org.apache.maven.plugins:maven-resources-plugin:2.4.1:resources failed: Plugin org.apache.maven.plugins:maven-resources-plugin:2.4.1 or one of its dependencies could not be resolved: Specified destination directory cannot be created: /Users/Warren/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.13
    org.codehaus.plexus:plexus-interpolation:jar:1.13

    from the specified remote repositories:
    central (http://repo1.maven.org/maven2, releases=true, snapshots=false),
    plexus.snapshots (http://oss.repository.sonatype.org/content/repositories/plexus-snapshots, releases=false, snapshots=true),
    apache.snapshots (http://repository.apache.org/snapshots, releases=false, snapshots=true)
    Path to dependency:
    1) org.apache.maven.plugins:maven-resources-plugin:maven-plugin:2.4.1
    2) org.codehaus.plexus:plexus-interpolation:jar:1.13

    #311756 Reply

    support-joy
    Member

    Warren ,

    Sorry to hear you are running into this issue. Can you please try the below quick fix for dependency issues –
    1. Open Pulse (If you do not have pulse, please download same from http://www.poweredbypulse.com)
    2. Login to pulse
    3. Select “Eclipse-Galileo” realm from top left hand corner dropdown
    4. Select “MyEclipse 8.6” profile from “My Profiles”
    5. Right click on “MyEclipse 8.6” and click on [re-install and run]
    Pulse will automatically fix any dependency issues.

    Let me know how this works for you.

    #311783 Reply

    warish
    Member

    Did not work. I cleaned all my projects and then rebuilt them. Here is the Maven output:

    10/5/10 8:59:47 AM PDT: Updating index central|http://repo1.maven.org/maven2
    10/5/10 8:59:48 AM PDT: Downloading d9d714e11cb097b3ffcec91cccc65d3e : nexus-maven-repository-index.properties
    10/5/10 8:59:48 AM PDT: Downloaded Repository[d9d714e11cb097b3ffcec91cccc65d3e|http://repo1.maven.org/maven2/.index]/nexus-maven-repository-index.properties
    10/5/10 9:00:24 AM PDT: Updated index for central|http://repo1.maven.org/maven2
    10/5/10 9:01:18 AM PDT: [WARN] While downloading commons-email:commons-email:1.1
    This artifact has been relocated to org.apache.commons:commons-email:1.1.
    Commons Email has been reassigned to the
    org.apache.commons group as per the Maven 2 standards.

    10/5/10 9:01:24 AM PDT: Maven Builder: FULL_BUILD requireFullBuild
    10/5/10 9:01:24 AM PDT: [WARN] Missing POM for org.apache.maven.shared:maven-filtering:jar:1.0-beta-3
    10/5/10 9:01:25 AM PDT: [WARN] Missing POM for org.codehaus.plexus:plexus-interpolation:jar:1.13
    10/5/10 9:01:27 AM PDT: Build errors for autotasks; org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-resources-plugin:2.4.1:resources (default-resources) on project autotasks: Execution default-resources of goal org.apache.maven.plugins:maven-resources-plugin:2.4.1:resources failed: Plugin org.apache.maven.plugins:maven-resources-plugin:2.4.1 or one of its dependencies could not be resolved: Specified destination directory cannot be created: /Users/Warren/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.13
    org.codehaus.plexus:plexus-interpolation:jar:1.13

    from the specified remote repositories:
    central (http://repo1.maven.org/maven2, releases=true, snapshots=false),
    plexus.snapshots (http://oss.repository.sonatype.org/content/repositories/plexus-snapshots, releases=false, snapshots=true),
    apache.snapshots (http://repository.apache.org/snapshots, releases=false, snapshots=true)
    Path to dependency:
    1) org.apache.maven.plugins:maven-resources-plugin:maven-plugin:2.4.1
    2) org.codehaus.plexus:plexus-interpolation:jar:1.13

    10/5/10 9:01:28 AM PDT: Maven Builder: AUTO_BUILD
    10/5/10 9:01:36 AM PDT: Maven Builder: FULL_BUILD requireFullBuild
    10/5/10 9:01:39 AM PDT: Build errors for grid2; org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-resources-plugin:2.4.1:resources (default-resources) on project grid2: Execution default-resources of goal org.apache.maven.plugins:maven-resources-plugin:2.4.1:resources failed: Plugin org.apache.maven.plugins:maven-resources-plugin:2.4.1 or one of its dependencies could not be resolved: Specified destination directory cannot be created: /Users/Warren/.m2/repository/org/apache/maven/shared/maven-filtering/1.0-beta-3
    org.apache.maven.shared:maven-filtering:jar:1.0-beta-3

    from the specified remote repositories:
    central (http://repo1.maven.org/maven2, releases=true, snapshots=false),
    plexus.snapshots (http://oss.repository.sonatype.org/content/repositories/plexus-snapshots, releases=false, snapshots=true),
    apache.snapshots (http://repository.apache.org/snapshots, releases=false, snapshots=true)
    Path to dependency:
    1) org.apache.maven.plugins:maven-resources-plugin:maven-plugin:2.4.1
    2) org.apache.maven.shared:maven-filtering:jar:1.0-beta-3

    10/5/10 9:01:40 AM PDT: Maven Builder: AUTO_BUILD
    10/5/10 9:01:53 AM PDT: Maven Builder: FULL_BUILD requireFullBuild
    10/5/10 9:01:54 AM PDT: Build errors for scanman; org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-resources-plugin:2.4.1:resources (default-resources) on project scanman: Execution default-resources of goal org.apache.maven.plugins:maven-resources-plugin:2.4.1:resources failed: Plugin org.apache.maven.plugins:maven-resources-plugin:2.4.1 or one of its dependencies could not be resolved: Specified destination directory cannot be created: /Users/Warren/.m2/repository/org/apache/maven/shared/maven-filtering/1.0-beta-3
    org.apache.maven.shared:maven-filtering:jar:1.0-beta-3

    from the specified remote repositories:
    central (http://repo1.maven.org/maven2, releases=true, snapshots=false),
    plexus.snapshots (http://oss.repository.sonatype.org/content/repositories/plexus-snapshots, releases=false, snapshots=true),
    apache.snapshots (http://repository.apache.org/snapshots, releases=false, snapshots=true)
    Path to dependency:
    1) org.apache.maven.plugins:maven-resources-plugin:maven-plugin:2.4.1
    2) org.apache.maven.shared:maven-filtering:jar:1.0-beta-3

    10/5/10 9:01:59 AM PDT: Maven Builder: AUTO_BUILD
    10/5/10 9:02:33 AM PDT: Maven Builder: FULL_BUILD requireFullBuild
    10/5/10 9:02:33 AM PDT: Build errors for wicketexample; org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal on project wicket-example: Unable to get dependency information for javax.portlet:portlet-api:jar:2.0-r12: Failed to process POM for javax.portlet:portlet-api:jar:2.0-r12: Non-resolvable parent POM org.apache.pluto:pluto:1.1.0-286-SNAPSHOT for javax.portlet:portlet-api:2.0-r12: Failed to resolve POM for org.apache.pluto:pluto:1.1.0-286-SNAPSHOT due to Missing:
    ———-
    1) org.apache.pluto:pluto:pom:1.1.0-286-SNAPSHOT
    ———-
    1 required artifact is missing.

    for artifact:
    org.apache.pluto:pluto:pom:1.1.0-286-SNAPSHOT

    from the specified remote repositories:
    central (http://repo1.maven.org/maven2, releases=true, snapshots=false)

    10/5/10 9:02:34 AM PDT: Maven Builder: FULL_BUILD requireFullBuild
    10/5/10 9:02:36 AM PDT: Build errors for wicketsec2; org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-resources-plugin:2.4.1:resources (default-resources) on project wicketsec2: Execution default-resources of goal org.apache.maven.plugins:maven-resources-plugin:2.4.1:resources failed: Plugin org.apache.maven.plugins:maven-resources-plugin:2.4.1 or one of its dependencies could not be resolved: Specified destination directory cannot be created: /Users/Warren/.m2/repository/org/apache/maven/shared/maven-filtering/1.0-beta-3
    org.apache.maven.shared:maven-filtering:jar:1.0-beta-3

    from the specified remote repositories:
    central (http://repo1.maven.org/maven2, releases=true, snapshots=false),
    plexus.snapshots (http://oss.repository.sonatype.org/content/repositories/plexus-snapshots, releases=false, snapshots=true),
    apache.snapshots (http://repository.apache.org/snapshots, releases=false, snapshots=true)
    Path to dependency:
    1) org.apache.maven.plugins:maven-resources-plugin:maven-plugin:2.4.1
    2) org.apache.maven.shared:maven-filtering:jar:1.0-beta-3

    10/5/10 9:02:36 AM PDT: Missing artifact javax.servlet:servlet-api:jar:2.5:compile
    10/5/10 9:02:48 AM PDT: Maven Builder: AUTO_BUILD
    10/5/10 9:02:48 AM PDT: Maven Builder: AUTO_BUILD

    #311787 Reply

    warish
    Member

    Any suggestions, this is really becoming a problem. Here is the general error I am getting. It is happening on several of my projects and on different dependencies:

    10/5/10 1:38:39 PM PDT: Build errors for scanman; org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-resources-plugin:2.4.1:resources (default-resources) on project scanman: Execution default-resources of goal org.apache.maven.plugins:maven-resources-plugin:2.4.1:resources failed: Plugin org.apache.maven.plugins:maven-resources-plugin:2.4.1 or one of its dependencies could not be resolved: Specified destination directory cannot be created: /Users/Warren/.m2/repository/org/apache/maven/shared/maven-filtering/1.0-beta-3
    org.apache.maven.shared:maven-filtering:jar:1.0-beta-3

    from the specified remote repositories:
    central (http://repo1.maven.org/maven2, releases=true, snapshots=false),
    plexus.snapshots (http://oss.repository.sonatype.org/content/repositories/plexus-snapshots, releases=false, snapshots=true),
    apache.snapshots (http://repository.apache.org/snapshots, releases=false, snapshots=true)
    Path to dependency:
    1) org.apache.maven.plugins:maven-resources-plugin:maven-plugin:2.4.1
    2) org.apache.maven.shared:maven-filtering:jar:1.0-beta-3

    #311789 Reply

    warish
    Member

    I thought this was some sort of directory permission issue on the .m2 directory. I did find some directories that could not be written to in the .m2 directory. I fixed all of the permissions, but now I am getting another set of errors:

    10/5/10 2:27:10 PM PDT: Build errors for scanman; org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-resources-plugin:2.4.1:resources (default-resources) on project scanman: Execution default-resources of goal org.apache.maven.plugins:maven-resources-plugin:2.4.1:resources failed: Unable to load the mojo ‘resources’ in the plugin ‘org.apache.maven.plugins:maven-resources-plugin:2.4.1’. A required class is missing: Lorg/sonatype/plexus/build/incremental/BuildContext;
    —————————————————–
    realm = plugin>org.apache.maven.plugins:maven-resources-plugin:2.4.1–229946323
    strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
    urls[0] = file:/Users/Warren/.m2/repository/org/apache/maven/plugins/maven-resources-plugin/2.4.1/maven-resources-plugin-2.4.1.jar
    urls[1] = file:/Users/Warren/.m2/repository/org/codehaus/plexus/plexus-utils/1.5.15/plexus-utils-1.5.15.jar
    urls[2] = file:/Users/Warren/.m2/repository/junit/junit/3.8.1/junit-3.8.1.jar
    urls[3] = file:/Users/Warren/.m2/repository/org/apache/maven/shared/maven-filtering/1.0-beta-3/maven-filtering-1.0-beta-3.jar
    urls[4] = file:/Users/Warren/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.13/plexus-interpolation-1.13.jar
    Number of foreign imports: 4
    import: Entry[import org.codehaus.plexus.util.xml.pull.XmlSerializer from realm ClassRealm[plexus.core, parent: null]]
    import: Entry[import org.codehaus.plexus.util.xml.pull.XmlPullParserException from realm ClassRealm[plexus.core, parent: null]]
    import: Entry[import org.codehaus.plexus.util.xml.pull.XmlPullParser from realm ClassRealm[plexus.core, parent: null]]
    import: Entry[import org.codehaus.plexus.util.xml.Xpp3Dom from realm ClassRealm[plexus.core, parent: null]]
    Number of parent imports: 20
    import: Entry[import org.codehaus.plexus.personality from realm null]
    import: Entry[import org.codehaus.plexus.logging from realm null]
    import: Entry[import org.codehaus.plexus.lifecycle from realm null]
    import: Entry[import org.codehaus.plexus.context from realm null]
    import: Entry[import org.codehaus.plexus.container from realm null]
    import: Entry[import org.codehaus.plexus.configuration from realm null]
    import: Entry[import org.codehaus.plexus.component from realm null]
    import: Entry[import org.codehaus.plexus.classworlds from realm null]
    import: Entry[import org.codehaus.plexus.PlexusContainerException from realm null]
    import: Entry[import org.codehaus.plexus.PlexusContainer from realm null]
    import: Entry[import org.codehaus.plexus.PlexusConstants from realm null]
    import: Entry[import org.codehaus.plexus.MutablePlexusContainer from realm null]
    import: Entry[import org.codehaus.plexus.DuplicateChildContainerException from realm null]
    import: Entry[import org.codehaus.plexus.DefaultPlexusContainer from realm null]
    import: Entry[import org.codehaus.plexus.DefaultContainerConfiguration from realm null]
    import: Entry[import org.codehaus.plexus.DefaultComponentRegistry from realm null]
    import: Entry[import org.codehaus.plexus.ContainerConfiguration from realm null]
    import: Entry[import org.codehaus.plexus.ComponentRegistry from realm null]
    import: Entry[import org.codehaus.classworlds from realm null]
    import: Entry[import org.apache.maven from realm null]

    realm = plexus.core
    strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
    Number of foreign imports: 0

    #311843 Reply

    support-joy
    Member

    warish,

    I have escalated your issue to dev team member. They will get back to you on this.
    Sorry for the inconvenience.

    #311906 Reply

    support-joy
    Member
Viewing 7 posts - 1 through 7 (of 7 total)
Reply To: Maven problem after 8.6 upgrade

This topic is marked as closed to new replies, however your posting capabilities still allow you to do so.

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