Maven 2 & 3
  1. Maven 2 & 3
  2. MNG-4779

NullPointerException thrown during dependency resolution when dependency with range occurs more than once in the dirty tree

    Details

    • Complexity:
      Intermediate
    • Number of attachments :
      0

      Description

      NullPointerExceptions are being thrown from Maven 3 nightlies during a release.

      ➜  smx3.partyresource  ~/Applications/apache-maven-3.0-SNAPSHOT/bin/mvn release:prepare release:perform -X
      Apache Maven 3.0-SNAPSHOT (r989272; 2010-08-26 06:29:11+1200)
      Java version: 1.6.0_20
      Java home: /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home
      Default locale: en_US, platform encoding: MacRoman
      OS name: "mac os x" version: "10.6.4" arch: "x86_64" Family: "mac"
      [INFO] Error stacktraces are turned on.
      [DEBUG] Reading user settings from /Users/amrk/.m2/settings.xml
      [DEBUG] Reading global settings from /Users/amrk/Applications/apache-maven-3.0-SNAPSHOT/conf/settings.xml
      [DEBUG] Using local repository at /Users/amrk/.m2/repository
      [INFO] Scanning for projects...
      [DEBUG] Reading resolution tracking file /Users/amrk/.m2/repository/smx3/smx3.parent/2.0.7/_maven.repositories
      [DEBUG] org.apache.felix:maven-bundle-plugin:jar:2.0.0:
      [DEBUG]    biz.aQute:bndlib:jar:0.0.311:compile
      [DEBUG]    net.sf.kxml:kxml2:jar:2.2.2:compile
      [DEBUG]       xmlpull:xmlpull:jar:1.1.3.1:compile
      [DEBUG]    org.apache.felix:org.osgi.core:jar:1.0.0:compile
      [DEBUG]    org.apache.felix:org.osgi.service.obr:jar:1.0.1:compile
      [DEBUG]    org.apache.maven:maven-project:jar:2.0.7:compile
      [DEBUG]       org.apache.maven:maven-profile:jar:2.0.7:compile
      [DEBUG]       org.apache.maven:maven-plugin-registry:jar:2.0.7:compile
      [DEBUG]    org.apache.maven:maven-model:jar:2.0.7:compile
      [DEBUG]    org.apache.maven:maven-plugin-api:jar:2.0.7:compile
      [DEBUG]    org.apache.maven:maven-artifact:jar:2.0.7:compile
      [DEBUG]    org.apache.maven:maven-archiver:jar:2.2:compile
      [DEBUG]    org.apache.maven:maven-artifact-manager:jar:2.0.7:compile
      [DEBUG]       org.apache.maven:maven-repository-metadata:jar:2.0.7:compile
      [DEBUG]    org.apache.maven:maven-settings:jar:2.0.7:compile
      [DEBUG]    org.apache.maven.shared:maven-dependency-tree:jar:1.1:compile
      [DEBUG]    org.apache.maven.wagon:wagon-provider-api:jar:1.0-beta-2:compile
      [DEBUG]    org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9-stable-1:compile
      [DEBUG]       junit:junit:jar:3.8.1:compile
      [DEBUG]       classworlds:classworlds:jar:1.1-alpha-2:compile
      [DEBUG]    org.codehaus.plexus:plexus-archiver:jar:1.0-alpha-7:compile
      [DEBUG]    org.codehaus.plexus:plexus-utils:jar:1.4.7:compile
      [DEBUG] Created new class realm extension>org.apache.felix:maven-bundle-plugin:2.0.0
      [DEBUG] Created new class realm maven.api
      [DEBUG] Populating class realm extension>org.apache.felix:maven-bundle-plugin:2.0.0
      [DEBUG]   Included: org.apache.felix:maven-bundle-plugin:jar:2.0.0
      [DEBUG]   Included: biz.aQute:bndlib:jar:0.0.311
      [DEBUG]   Included: net.sf.kxml:kxml2:jar:2.2.2
      [DEBUG]   Included: xmlpull:xmlpull:jar:1.1.3.1
      [DEBUG]   Included: org.apache.felix:org.osgi.core:jar:1.0.0
      [DEBUG]   Included: org.apache.felix:org.osgi.service.obr:jar:1.0.1
      [DEBUG]   Included: org.apache.maven:maven-archiver:jar:2.2
      [DEBUG]   Included: org.apache.maven.shared:maven-dependency-tree:jar:1.1
      [DEBUG]   Included: junit:junit:jar:3.8.1
      [DEBUG]   Included: org.codehaus.plexus:plexus-archiver:jar:1.0-alpha-7
      [DEBUG]   Included: org.codehaus.plexus:plexus-utils:jar:1.4.7
      [DEBUG] Extension realms for project smx3:smx3.partyresource:bundle:2.6.4-SNAPSHOT: [ClassRealm[extension>org.apache.felix:maven-bundle-plugin:2.0.0, parent: ClassRealm[maven.api, parent: null]]]
      [DEBUG] Created new class realm project>smx3:smx3.partyresource:2.6.4-SNAPSHOT
      [DEBUG] Populating class realm project>smx3:smx3.partyresource:2.6.4-SNAPSHOT
      [DEBUG] Looking up lifecyle mappings for packaging bundle from ClassRealm[project>smx3:smx3.partyresource:2.6.4-SNAPSHOT, parent: ClassRealm[maven.api, parent: null]]
      [WARNING]
      [WARNING] Some problems were encountered while building the effective model for smx3:smx3.partyresource:bundle:2.6.4-SNAPSHOT
      [WARNING] 'parent.relativePath' of POM smx3:smx3.partyresource:2.6.4-SNAPSHOT (/Users/amrk/IdeaProjects/securemx/release/smx3/module/smx3.partyresource/pom.xml) points at smx3:smx3-modules instead of smx3:smx3.parent, please verify your project structure
      [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ smx3:smx3.parent:2.0.7, line 120, column 21
      [WARNING]
      [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
      [WARNING]
      [WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
      [WARNING]
      [DEBUG] Resolving plugin version for org.apache.maven.plugins:maven-compiler-plugin
      [DEBUG] Calculating update check for org.apache.maven.plugins:maven-compiler-plugin/maven-metadata.xml using policy daily
      [DEBUG] Reading resolution tracking file /Users/amrk/.m2/repository/org/apache/maven/plugins/maven-compiler-plugin/resolver-status.properties
      [DEBUG] Could not find org.apache.maven.plugins:maven-compiler-plugin/maven-metadata.xml in null
      [DEBUG] Resolved plugin version for org.apache.maven.plugins:maven-compiler-plugin to 2.3.1 from repository Nexus (http://build.smx.co.nz:8081/nexus/content/groups/public, releases=true, snapshots=false, managed=false)
      [DEBUG] Resolving plugin version for org.apache.maven.plugins:maven-install-plugin
      [DEBUG] Calculating update check for org.apache.maven.plugins:maven-install-plugin/maven-metadata.xml using policy daily
      [DEBUG] Reading resolution tracking file /Users/amrk/.m2/repository/org/apache/maven/plugins/maven-install-plugin/resolver-status.properties
      [DEBUG] Could not find org.apache.maven.plugins:maven-install-plugin/maven-metadata.xml in null
      [DEBUG] Resolved plugin version for org.apache.maven.plugins:maven-install-plugin to 2.3.1 from repository Nexus (http://build.smx.co.nz:8081/nexus/content/groups/public, releases=true, snapshots=false, managed=false)
      [DEBUG] Resolving plugin version for org.apache.maven.plugins:maven-resources-plugin
      [DEBUG] Calculating update check for org.apache.maven.plugins:maven-resources-plugin/maven-metadata.xml using policy daily
      [DEBUG] Reading resolution tracking file /Users/amrk/.m2/repository/org/apache/maven/plugins/maven-resources-plugin/resolver-status.properties
      [DEBUG] Could not find org.apache.maven.plugins:maven-resources-plugin/maven-metadata.xml in null
      [DEBUG] Resolved plugin version for org.apache.maven.plugins:maven-resources-plugin to 2.4.3 from repository Nexus (http://build.smx.co.nz:8081/nexus/content/groups/public, releases=true, snapshots=false, managed=false)
      [DEBUG] Resolving plugin version for org.apache.maven.plugins:maven-deploy-plugin
      [DEBUG] Calculating update check for org.apache.maven.plugins:maven-deploy-plugin/maven-metadata.xml using policy daily
      [DEBUG] Reading resolution tracking file /Users/amrk/.m2/repository/org/apache/maven/plugins/maven-deploy-plugin/resolver-status.properties
      [DEBUG] Could not find org.apache.maven.plugins:maven-deploy-plugin/maven-metadata.xml in null
      [DEBUG] Resolved plugin version for org.apache.maven.plugins:maven-deploy-plugin to 2.5 from repository Nexus (http://build.smx.co.nz:8081/nexus/content/groups/public, releases=true, snapshots=false, managed=false)
      [DEBUG] Resolving plugin prefix release from [org.apache.maven.plugins, org.codehaus.mojo]
      [DEBUG] Resolved plugin prefix release to org.apache.maven.plugins:maven-release-plugin from POM smx3:smx3.partyresource:bundle:2.6.4-SNAPSHOT
      [DEBUG] Resolving plugin prefix release from [org.apache.maven.plugins, org.codehaus.mojo]
      [DEBUG] Resolved plugin prefix release to org.apache.maven.plugins:maven-release-plugin from POM smx3:smx3.partyresource:bundle:2.6.4-SNAPSHOT
      [DEBUG] === REACTOR BUILD PLAN ================================================
      [DEBUG] Project: smx3:smx3.partyresource:bundle:2.6.4-SNAPSHOT
      [DEBUG] Tasks:   [release:prepare, release:perform]
      [DEBUG] Style:   Aggregating
      [DEBUG] =======================================================================
      [INFO]                                                                        
      [INFO] ------------------------------------------------------------------------
      [INFO] Building smx3.partyresource 2.6.4-SNAPSHOT
      [INFO] ------------------------------------------------------------------------
      [DEBUG] Resolving plugin prefix release from [org.apache.maven.plugins, org.codehaus.mojo]
      [DEBUG] Resolved plugin prefix release to org.apache.maven.plugins:maven-release-plugin from POM smx3:smx3.partyresource:bundle:2.6.4-SNAPSHOT
      [DEBUG] Resolving plugin prefix release from [org.apache.maven.plugins, org.codehaus.mojo]
      [DEBUG] Resolved plugin prefix release to org.apache.maven.plugins:maven-release-plugin from POM smx3:smx3.partyresource:bundle:2.6.4-SNAPSHOT
      [DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy]
      [DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean]
      [DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy]
      [DEBUG] === PROJECT BUILD PLAN ================================================
      [DEBUG] Project:       smx3:smx3.partyresource:2.6.4-SNAPSHOT
      [DEBUG] Dependencies (collect): []
      [DEBUG] Dependencies (resolve): [test]
      [DEBUG] -----------------------------------------------------------------------
      [DEBUG] Goal:          org.apache.maven.plugins:maven-release-plugin:2.0-beta-8:prepare (default-cli)
      [DEBUG] Style:         Aggregating
      [DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>
      <configuration>
        <addSchema default-value="true">${addSchema}</addSchema>
        <allowTimestampedSnapshots default-value="false">${ignoreSnapshots}</allowTimestampedSnapshots>
        <arguments>${arguments}</arguments>
        <autoVersionSubmodules default-value="false">${autoVersionSubmodules}</autoVersionSubmodules>
        <basedir>${basedir}</basedir>
        <commitByProject default-value="false">${commitByProject}</commitByProject>
        <developmentVersion>${developmentVersion}</developmentVersion>
        <dryRun default-value="false">${dryRun}</dryRun>
        <generateReleasePoms default-value="false">${generateReleasePoms}</generateReleasePoms>
        <javaHome default-value="${java.home}"/>
        <localRepoDirectory default-value="${maven.repo.local}"/>
        <mavenExecutorId default-value="invoker">${mavenExecutorId}</mavenExecutorId>
        <mavenHome default-value="${maven.home}"/>
        <password>${password}</password>
        <pomFileName>${pomFileName}</pomFileName>
        <preparationGoals default-value="clean verify">clean verify youtrack:update-version</preparationGoals>
        <project>${project}</project>
        <reactorProjects>${reactorProjects}</reactorProjects>
        <releaseVersion>${releaseVersion}</releaseVersion>
        <resume default-value="true">${resume}</resume>
        <scmCommentPrefix default-value="[maven-release-plugin] ">${scmCommentPrefix}</scmCommentPrefix>
        <settings>${settings}</settings>
        <tag>${tag}</tag>
        <tagBase>${tagBase}</tagBase>
        <updateDependencies default-value="true">${updateDependencies}</updateDependencies>
        <useEditMode default-value="false">${useEditMode}</useEditMode>
        <username>${username}</username>
      </configuration>
      [DEBUG] -----------------------------------------------------------------------
      [DEBUG] Goal:          org.apache.maven.plugins:maven-release-plugin:2.0-beta-8:perform (default-cli)
      [DEBUG] Style:         Aggregating
      [DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>
      <configuration>
        <arguments>${arguments}</arguments>
        <basedir>${basedir}</basedir>
        <connectionUrl>${connectionUrl}</connectionUrl>
        <goals>deploy</goals>
        <javaHome default-value="${java.home}"/>
        <localRepoDirectory default-value="${maven.repo.local}"/>
        <mavenExecutorId default-value="invoker">${mavenExecutorId}</mavenExecutorId>
        <mavenHome default-value="${maven.home}"/>
        <password>${password}</password>
        <pomFileName>${pomFileName}</pomFileName>
        <project>${project}</project>
        <reactorProjects>${reactorProjects}</reactorProjects>
        <releaseProfiles>${releaseProfiles}</releaseProfiles>
        <scmCommentPrefix default-value="[maven-release-plugin] ">${scmCommentPrefix}</scmCommentPrefix>
        <settings>${settings}</settings>
        <tag>${tag}</tag>
        <tagBase>${tagBase}</tagBase>
        <useReleaseProfile default-value="true">${useReleaseProfile}</useReleaseProfile>
        <username>${username}</username>
        <workingDirectory default-value="${project.build.directory}/checkout">${workingDirectory}</workingDirectory>
      </configuration>
      [DEBUG] =======================================================================
      [DEBUG] Calculating update check for smx3:smx3.api/maven-metadata.xml using policy daily
      [DEBUG] Reading resolution tracking file /Users/amrk/.m2/repository/smx3/smx3.api/resolver-status.properties
      [DEBUG] Reading resolution tracking file /Users/amrk/.m2/repository/smx3/smx3.api/2.8.1/_maven.repositories
      [DEBUG] Reading resolution tracking file /Users/amrk/.m2/repository/smx3/smx3.parent/2.0.4/_maven.repositories
      [DEBUG] Calculating update check for smx3:smx3.schema/maven-metadata.xml using policy daily
      [DEBUG] Reading resolution tracking file /Users/amrk/.m2/repository/smx3/smx3.schema/resolver-status.properties
      [DEBUG] Reading resolution tracking file /Users/amrk/.m2/repository/smx3/smx3.schema/2.0.1/_maven.repositories
      [DEBUG] Reading resolution tracking file /Users/amrk/.m2/repository/smx3/smx3.parent/2.0.1/_maven.repositories
      [DEBUG] Calculating update check for smx3:smx3.util/maven-metadata.xml using policy daily
      [DEBUG] Reading resolution tracking file /Users/amrk/.m2/repository/smx3/smx3.util/resolver-status.properties
      [DEBUG] Reading resolution tracking file /Users/amrk/.m2/repository/smx3/smx3.util/2.0.1/_maven.repositories
      [DEBUG] Reading resolution tracking file /Users/amrk/.m2/repository/smx3/smx3.util/2.0.2/_maven.repositories
      [DEBUG] Reading resolution tracking file /Users/amrk/.m2/repository/smx3/smx3.util/2.0.3/_maven.repositories
      [DEBUG] Reading resolution tracking file /Users/amrk/.m2/repository/smx3/smx3.util/2.0.4/_maven.repositories
      [DEBUG] Reading resolution tracking file /Users/amrk/.m2/repository/smx3/smx3.parent/2.0.5/_maven.repositories
      [DEBUG] Calculating update check for smx3:smx3.rest/maven-metadata.xml using policy daily
      [DEBUG] Reading resolution tracking file /Users/amrk/.m2/repository/smx3/smx3.rest/resolver-status.properties
      [DEBUG] Reading resolution tracking file /Users/amrk/.m2/repository/smx3/smx3.rest/2.0.1/_maven.repositories
      [DEBUG] Calculating update check for smx3:smx3.util/maven-metadata.xml using policy daily
      [DEBUG] Reading resolution tracking file /Users/amrk/.m2/repository/smx3/smx3.util/resolver-status.properties
      [DEBUG] Reading resolution tracking file /Users/amrk/.m2/repository/smx3/smx3.rest/2.0.2/_maven.repositories
      [DEBUG] Calculating update check for smx3:smx3.util/maven-metadata.xml using policy daily
      [DEBUG] Reading resolution tracking file /Users/amrk/.m2/repository/smx3/smx3.util/resolver-status.properties
      [DEBUG] Reading resolution tracking file /Users/amrk/.m2/repository/smx3/smx3.rest/2.0.3/_maven.repositories
      [DEBUG] Reading resolution tracking file /Users/amrk/.m2/repository/smx3/smx3.rest/2.0.4/_maven.repositories
      [DEBUG] Reading resolution tracking file /Users/amrk/.m2/repository/smx3/smx3.rest/2.1.1/_maven.repositories
      [DEBUG] Reading resolution tracking file /Users/amrk/.m2/repository/smx3/smx3.rest/2.1.2/_maven.repositories
      [DEBUG] Reading resolution tracking file /Users/amrk/.m2/repository/smx3/smx3.rest/2.1.3/_maven.repositories
      [DEBUG] Calculating update check for smx3:smx3.hibernate/maven-metadata.xml using policy daily
      [DEBUG] Reading resolution tracking file /Users/amrk/.m2/repository/smx3/smx3.hibernate/resolver-status.properties
      [DEBUG] Reading resolution tracking file /Users/amrk/.m2/repository/smx3/smx3.hibernate/2.0.1/_maven.repositories
      [DEBUG] Reading resolution tracking file /Users/amrk/.m2/repository/smx3/smx3.hibernate/2.0.2/_maven.repositories
      [DEBUG] Reading resolution tracking file /Users/amrk/.m2/repository/smx3/smx3.schema/2.0.2/_maven.repositories
      [DEBUG] Calculating update check for smx3:smx3.util/maven-metadata.xml using policy daily
      [DEBUG] Reading resolution tracking file /Users/amrk/.m2/repository/smx3/smx3.util/resolver-status.properties
      [DEBUG] Calculating update check for smx3:smx3.rest/maven-metadata.xml using policy daily
      [DEBUG] Reading resolution tracking file /Users/amrk/.m2/repository/smx3/smx3.rest/resolver-status.properties
      [DEBUG] Calculating update check for smx3:smx3.hibernate/maven-metadata.xml using policy daily
      [DEBUG] Reading resolution tracking file /Users/amrk/.m2/repository/smx3/smx3.hibernate/resolver-status.properties
      [DEBUG] Reading resolution tracking file /Users/amrk/.m2/repository/smx3/smx3.schema/2.1.1/_maven.repositories
      [DEBUG] Reading resolution tracking file /Users/amrk/.m2/repository/smx3/smx3.schema/2.2.1/_maven.repositories
      [DEBUG] Reading resolution tracking file /Users/amrk/.m2/repository/smx3/smx3.schema/2.3.1/_maven.repositories
      [DEBUG] Reading resolution tracking file /Users/amrk/.m2/repository/smx3/smx3.schema/2.3.2/_maven.repositories
      [DEBUG] Reading resolution tracking file /Users/amrk/.m2/repository/smx3/smx3.schema/2.3.3/_maven.repositories
      [DEBUG] Reading resolution tracking file /Users/amrk/.m2/repository/smx3/smx3.schema/2.3.4/_maven.repositories
      [DEBUG] Reading resolution tracking file /Users/amrk/.m2/repository/smx3/smx3.schema/2.3.5/_maven.repositories
      [DEBUG] Reading resolution tracking file /Users/amrk/.m2/repository/smx3/smx3.schema/2.3.6/_maven.repositories
      [DEBUG] Reading resolution tracking file /Users/amrk/.m2/repository/smx3/smx3.schema/2.3.7/_maven.repositories
      [DEBUG] Reading resolution tracking file /Users/amrk/.m2/repository/smx3/smx3.schema/2.4.1/_maven.repositories
      [DEBUG] Reading resolution tracking file /Users/amrk/.m2/repository/smx3/smx3.schema/2.5.1/_maven.repositories
      [DEBUG] Reading resolution tracking file /Users/amrk/.m2/repository/smx3/smx3.schema/2.5.2/_maven.repositories
      [DEBUG] Calculating update check for smx3:smx3.cachesupport/maven-metadata.xml using policy daily
      [DEBUG] Reading resolution tracking file /Users/amrk/.m2/repository/smx3/smx3.cachesupport/resolver-status.properties
      [DEBUG] Reading resolution tracking file /Users/amrk/.m2/repository/smx3/smx3.cachesupport/1.0.1/_maven.repositories
      [DEBUG] Reading resolution tracking file /Users/amrk/.m2/repository/smx3/smx3.schema/2.5.3/_maven.repositories
      [DEBUG] Reading resolution tracking file /Users/amrk/.m2/repository/smx3/smx3.schema/2.5.4/_maven.repositories
      [DEBUG] Reading resolution tracking file /Users/amrk/.m2/repository/smx3/smx3.schema/2.5.5/_maven.repositories
      [DEBUG] Reading resolution tracking file /Users/amrk/.m2/repository/smx3/smx3.schema/2.5.6/_maven.repositories
      [DEBUG] Reading resolution tracking file /Users/amrk/.m2/repository/smx3/smx3.parent/2.0.7/_maven.repositories
      [DEBUG] Reading resolution tracking file /Users/amrk/.m2/repository/smx3/smx3.schema/2.5.7/_maven.repositories
      [DEBUG] Reading resolution tracking file /Users/amrk/.m2/repository/smx3/smx3.api/2.9.1/_maven.repositories
      [DEBUG] Calculating update check for smx3:smx3.schema/maven-metadata.xml using policy daily
      [DEBUG] Reading resolution tracking file /Users/amrk/.m2/repository/smx3/smx3.schema/resolver-status.properties
      [DEBUG] Calculating update check for smx3:smx3.rest/maven-metadata.xml using policy daily
      [DEBUG] Reading resolution tracking file /Users/amrk/.m2/repository/smx3/smx3.rest/resolver-status.properties
      [DEBUG] Calculating update check for smx3:smx3.hibernate/maven-metadata.xml using policy daily
      [DEBUG] Reading resolution tracking file /Users/amrk/.m2/repository/smx3/smx3.hibernate/resolver-status.properties
      [DEBUG] Calculating update check for smx3:smx3.rest/maven-metadata.xml using policy daily
      [DEBUG] Reading resolution tracking file /Users/amrk/.m2/repository/smx3/smx3.rest/resolver-status.properties
      [DEBUG] Calculating update check for smx3:smx3.entity/maven-metadata.xml using policy daily
      [DEBUG] Reading resolution tracking file /Users/amrk/.m2/repository/smx3/smx3.entity/resolver-status.properties
      [DEBUG] Reading resolution tracking file /Users/amrk/.m2/repository/smx3/smx3.entity/2.0.1/_maven.repositories
      [DEBUG] Calculating update check for smx3:smx3.api/maven-metadata.xml using policy daily
      [DEBUG] Reading resolution tracking file /Users/amrk/.m2/repository/smx3/smx3.api/resolver-status.properties
      [DEBUG] Reading resolution tracking file /Users/amrk/.m2/repository/smx3/smx3.api/2.0.1/_maven.repositories
      [DEBUG] Reading resolution tracking file /Users/amrk/.m2/repository/smx3/smx3.api/2.1.1/_maven.repositories
      [DEBUG] Reading resolution tracking file /Users/amrk/.m2/repository/smx3/smx3.api/2.2.1/_maven.repositories
      [DEBUG] Reading resolution tracking file /Users/amrk/.m2/repository/smx3/smx3.api/2.2.2/_maven.repositories
      [DEBUG] Reading resolution tracking file /Users/amrk/.m2/repository/smx3/smx3.api/2.3.1/_maven.repositories
      [DEBUG] Reading resolution tracking file /Users/amrk/.m2/repository/smx3/smx3.api/2.3.2/_maven.repositories
      [DEBUG] Reading resolution tracking file /Users/amrk/.m2/repository/smx3/smx3.api/2.4.1/_maven.repositories
      [DEBUG] Reading resolution tracking file /Users/amrk/.m2/repository/smx3/smx3.api/2.5.1/_maven.repositories
      [DEBUG] Reading resolution tracking file /Users/amrk/.m2/repository/smx3/smx3.api/2.6.1/_maven.repositories
      [DEBUG] Reading resolution tracking file /Users/amrk/.m2/repository/smx3/smx3.api/2.7.1/_maven.repositories
      [DEBUG] Calculating update check for smx3:smx3.util/maven-metadata.xml using policy daily
      [DEBUG] Reading resolution tracking file /Users/amrk/.m2/repository/smx3/smx3.util/resolver-status.properties
      [DEBUG] Calculating update check for smx3:smx3-atomikos-jta/maven-metadata.xml using policy daily
      [DEBUG] Reading resolution tracking file /Users/amrk/.m2/repository/smx3/smx3-atomikos-jta/resolver-status.properties
      [DEBUG] Reading resolution tracking file /Users/amrk/.m2/repository/smx3/smx3-atomikos-jta/1.0.1/_maven.repositories
      [DEBUG] Reading resolution tracking file /Users/amrk/.m2/repository/smx3/smx3-atomikos-jta/1.0.2/_maven.repositories
      [DEBUG] Reading resolution tracking file /Users/amrk/.m2/repository/smx3/smx3-atomikos-jta/1.0.3/_maven.repositories
      [DEBUG] Reading resolution tracking file /Users/amrk/.m2/repository/smx3/smx3-atomikos-jta/1.0.4/_maven.repositories
      [DEBUG] Reading resolution tracking file /Users/amrk/.m2/repository/smx3/smx3-atomikos-jta/1.0.5/_maven.repositories
      [DEBUG] Reading resolution tracking file /Users/amrk/.m2/repository/smx3/smx3-atomikos-jta/1.0.6/_maven.repositories
      [DEBUG] Reading resolution tracking file /Users/amrk/.m2/repository/smx3/smx3-atomikos-jta/1.0.7/_maven.repositories
      [DEBUG] Reading resolution tracking file /Users/amrk/.m2/repository/smx3/smx3-atomikos-jta/1.0.8/_maven.repositories
      [DEBUG] Reading resolution tracking file /Users/amrk/.m2/repository/smx3/smx3-atomikos-jta/1.0.9/_maven.repositories
      [DEBUG] Reading resolution tracking file /Users/amrk/.m2/repository/smx3/smx3-atomikos-jta/1.0.10/_maven.repositories
      [DEBUG] Reading resolution tracking file /Users/amrk/.m2/repository/smx3/smx3-atomikos-jta/1.0.11/_maven.repositories
      [DEBUG] Reading resolution tracking file /Users/amrk/.m2/repository/smx3/smx3.entity/2.0.2/_maven.repositories
      [DEBUG] Calculating update check for smx3:smx3.api/maven-metadata.xml using policy daily
      [DEBUG] Reading resolution tracking file /Users/amrk/.m2/repository/smx3/smx3.api/resolver-status.properties
      [DEBUG] Calculating update check for smx3:smx3.hibernate/maven-metadata.xml using policy daily
      [DEBUG] Reading resolution tracking file /Users/amrk/.m2/repository/smx3/smx3.hibernate/resolver-status.properties
      [DEBUG] Calculating update check for smx3:smx3.util/maven-metadata.xml using policy daily
      [DEBUG] Reading resolution tracking file /Users/amrk/.m2/repository/smx3/smx3.util/resolver-status.properties
      [DEBUG] Calculating update check for smx3:smx3-atomikos-jta/maven-metadata.xml using policy daily
      [DEBUG] Reading resolution tracking file /Users/amrk/.m2/repository/smx3/smx3-atomikos-jta/resolver-status.properties
      [DEBUG] Reading resolution tracking file /Users/amrk/.m2/repository/smx3/smx3.entity/2.0.3/_maven.repositories
      [DEBUG] Reading resolution tracking file /Users/amrk/.m2/repository/smx3/smx3.entity/2.0.4/_maven.repositories
      [DEBUG] Reading resolution tracking file /Users/amrk/.m2/repository/smx3/smx3.entity/2.0.5/_maven.repositories
      [DEBUG] Calculating update check for smx3:smx3.cachesupport/maven-metadata.xml using policy daily
      [DEBUG] Reading resolution tracking file /Users/amrk/.m2/repository/smx3/smx3.cachesupport/resolver-status.properties
      [DEBUG] Reading resolution tracking file /Users/amrk/.m2/repository/smx3/smx3.entity/2.0.6/_maven.repositories
      [DEBUG] Calculating update check for smx3:smx3.schema/maven-metadata.xml using policy daily
      [DEBUG] Reading resolution tracking file /Users/amrk/.m2/repository/smx3/smx3.schema/resolver-status.properties
      [DEBUG] Calculating update check for smx3:smx3.mounting/maven-metadata.xml using policy daily
      [DEBUG] Reading resolution tracking file /Users/amrk/.m2/repository/smx3/smx3.mounting/resolver-status.properties
      [DEBUG] Reading resolution tracking file /Users/amrk/.m2/repository/smx3/smx3.mounting/2.0.1/_maven.repositories
      [DEBUG] Calculating update check for smx3:smx3.rest/maven-metadata.xml using policy daily
      [DEBUG] Reading resolution tracking file /Users/amrk/.m2/repository/smx3/smx3.rest/resolver-status.properties
      [DEBUG] Calculating update check for smx3:smx3.schema/maven-metadata.xml using policy daily
      [DEBUG] Reading resolution tracking file /Users/amrk/.m2/repository/smx3/smx3.schema/resolver-status.properties
      [DEBUG] Reading resolution tracking file /Users/amrk/.m2/repository/smx3/smx3.mounting/2.0.2/_maven.repositories
      [DEBUG] Calculating update check for smx3:smx3.validation/maven-metadata.xml using policy daily
      [DEBUG] Reading resolution tracking file /Users/amrk/.m2/repository/smx3/smx3.validation/resolver-status.properties
      [DEBUG] Reading resolution tracking file /Users/amrk/.m2/repository/smx3/smx3.validation/2.0.1/_maven.repositories
      [DEBUG] Calculating update check for smx3:smx3.translation/maven-metadata.xml using policy daily
      [DEBUG] Reading resolution tracking file /Users/amrk/.m2/repository/smx3/smx3.translation/resolver-status.properties
      [DEBUG] Reading resolution tracking file /Users/amrk/.m2/repository/smx3/smx3.translation/2.0.1/_maven.repositories
      [DEBUG] Reading resolution tracking file /Users/amrk/.m2/repository/smx3/smx3.translation/2.0.2/_maven.repositories
      [DEBUG] Reading resolution tracking file /Users/amrk/.m2/repository/smx3/smx3.translation/2.0.3/_maven.repositories
      [DEBUG] Calculating update check for smx3:smx3.api/maven-metadata.xml using policy daily
      [DEBUG] Reading resolution tracking file /Users/amrk/.m2/repository/smx3/smx3.api/resolver-status.properties
      [DEBUG] Calculating update check for smx3:smx3.schema/maven-metadata.xml using policy daily
      [DEBUG] Reading resolution tracking file /Users/amrk/.m2/repository/smx3/smx3.schema/resolver-status.properties
      [DEBUG] Calculating update check for smx3:smx3.rest/maven-metadata.xml using policy daily
      [DEBUG] Reading resolution tracking file /Users/amrk/.m2/repository/smx3/smx3.rest/resolver-status.properties
      [DEBUG] Calculating update check for smx3:smx3.util/maven-metadata.xml using policy daily
      [DEBUG] Reading resolution tracking file /Users/amrk/.m2/repository/smx3/smx3.util/resolver-status.properties
      [DEBUG] Calculating update check for smx3:smx3.mounting/maven-metadata.xml using policy daily
      [DEBUG] Reading resolution tracking file /Users/amrk/.m2/repository/smx3/smx3.mounting/resolver-status.properties
      [DEBUG] Reading resolution tracking file /Users/amrk/.m2/repository/smx3/smx3.translation/2.0.4/_maven.repositories
      [DEBUG] Reading resolution tracking file /Users/amrk/.m2/repository/smx3/smx3.translation/2.0.5/_maven.repositories
      [DEBUG] Reading resolution tracking file /Users/amrk/.m2/repository/smx3/smx3.translation/2.0.6/_maven.repositories
      [DEBUG] Reading resolution tracking file /Users/amrk/.m2/repository/smx3/smx3.translation/2.0.7/_maven.repositories
      [DEBUG] Reading resolution tracking file /Users/amrk/.m2/repository/smx3/smx3.translation/2.0.8/_maven.repositories
      [DEBUG] Reading resolution tracking file /Users/amrk/.m2/repository/smx3/smx3.translation/2.0.9/_maven.repositories
      [DEBUG] Reading resolution tracking file /Users/amrk/.m2/repository/smx3/smx3.parent/2.0.9/_maven.repositories
      [DEBUG] Reading resolution tracking file /Users/amrk/.m2/repository/smx3/smx3.translation/2.0.10/_maven.repositories
      [DEBUG] Reading resolution tracking file /Users/amrk/.m2/repository/smx3/smx3.validation/2.0.2/_maven.repositories
      [DEBUG] Calculating update check for smx3:smx3.translation/maven-metadata.xml using policy daily
      [DEBUG] Reading resolution tracking file /Users/amrk/.m2/repository/smx3/smx3.translation/resolver-status.properties
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 2.244s
      [INFO] Finished at: Thu Aug 26 14:17:01 NZST 2010
      [INFO] Final Memory: 9M/81M
      [INFO] ------------------------------------------------------------------------
      [ERROR] Internal error: java.lang.NullPointerException -> [Help 1]
      org.apache.maven.InternalErrorException: Internal error: java.lang.NullPointerException
           at org.apache.maven.lifecycle.internal.BuilderCommon.handleBuildError(BuilderCommon.java:141)
           at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:99)
           at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
           at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
           at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
           at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:310)
           at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:147)
           at org.apache.maven.cli.MavenCli.execute(MavenCli.java:444)
           at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:167)
           at org.apache.maven.cli.MavenCli.main(MavenCli.java:131)
           at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
           at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
           at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
           at java.lang.reflect.Method.invoke(Method.java:597)
           at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
           at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
           at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
           at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
      Caused by: java.lang.NullPointerException
           at org.sonatype.aether.impl.internal.DefaultDependencyCollector.process(DefaultDependencyCollector.java:472)
           at org.sonatype.aether.impl.internal.DefaultDependencyCollector.process(DefaultDependencyCollector.java:496)
           at org.sonatype.aether.impl.internal.DefaultDependencyCollector.collectDependencies(DefaultDependencyCollector.java:222)
           at org.sonatype.aether.impl.internal.DefaultRepositorySystem.collectDependencies(DefaultRepositorySystem.java:243)
           at org.apache.maven.project.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:117)
           at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:202)
           at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.resolveProjectDependencies(LifecycleDependencyResolver.java:141)
           at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.resolveDependencies(LifecycleDependencyResolver.java:118)
           at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.resolveDependencies(LifecycleDependencyResolver.java:82)
           at org.apache.maven.lifecycle.internal.BuilderCommon.resolveBuildPlan(BuilderCommon.java:130)
           at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:83)
           ... 16 more
      [ERROR]
      [ERROR]
      [ERROR] For more information about the errors and possible solutions, please read the following articles:
      [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/InternalErrorException
      

        Activity

        Hide
        Benjamin Bentmann added a comment -

        Fixed in r990771.

        Show
        Benjamin Bentmann added a comment - Fixed in r990771 .

          People

          • Assignee:
            Benjamin Bentmann
            Reporter:
            Mark Derricutt
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: