LifecycleExecutionException in versions:display-plugin-updates
--------------------------------------------------------------

                 Key: MVERSIONS-109
                 URL: http://jira.codehaus.org/browse/MVERSIONS-109
             Project: Maven 2.x Versions Plugin
          Issue Type: Bug
    Affects Versions: 1.1
         Environment: mvn --version output
===
Apache Maven 3.0-beta-1 (r935667; 2010-04-19 21:00:39+0400)
Java version: 1.6.0_20
Java home: D:\tools\jdk-1.6.0-20\jre
Default locale: ru_RU, platform encoding: Cp1251
OS name: "windows 7" version: "6.1" arch: "amd64" Family: "windows"
===
            Reporter: Oleg Estekhin


{quote}
Apache Maven 3.0-beta-1 (r935667; 2010-04-19 21:00:39+0400)
Java version: 1.6.0_20
Java home: D:\tools\jdk-1.6.0-20\jre
Default locale: ru_RU, platform encoding: Cp1251
OS name: "windows 7" version: "6.1" arch: "amd64" Family: "windows"
[INFO] Error stacktraces are turned on.
[DEBUG] Reading user settings from C:\Users\Oleg\.m2\settings.xml
[DEBUG] Reading global settings from 
D:\tools\apache-maven-3.0-beta-1\conf\settings.xml
[DEBUG] Using local repository at C:\Users\Oleg\.m2\repository
[INFO] Scanning for projects...
[DEBUG] Extension realms for project 
com.google.code.maven-svn-wagon:maven-svn-wagon:jar:1.2-SNAPSHOT: (none)
[DEBUG] Looking up lifecyle mappings for packaging jar from 
ClassRealm[plexus.core, parent: null]
[DEBUG] Resolving plugin prefix versions from [org.apache.maven.plugins, 
org.codehaus.mojo]
[DEBUG] Resolved plugin prefix versions to 
org.codehaus.mojo:versions-maven-plugin from repository central
[DEBUG] Resolving plugin version for org.codehaus.mojo:versions-maven-plugin
[DEBUG] Resolved plugin version for org.codehaus.mojo:versions-maven-plugin to 
1.1 from repository central
[DEBUG] === REACTOR BUILD PLAN ================================================
[DEBUG] Project: 
com.google.code.maven-svn-wagon:maven-svn-wagon:jar:1.2-SNAPSHOT
[DEBUG] Tasks:   [versions:display-plugin-updates]
[DEBUG] Style:   Regular
[DEBUG] =======================================================================
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Maven SVN Wagon 1.2-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[DEBUG] Resolving plugin prefix versions from [org.apache.maven.plugins, 
org.codehaus.mojo]
[DEBUG] Resolved plugin prefix versions to 
org.codehaus.mojo:versions-maven-plugin from repository central
[DEBUG] Resolving plugin version for org.codehaus.mojo:versions-maven-plugin
[DEBUG] Resolved plugin version for org.codehaus.mojo:versions-maven-plugin to 
1.1 from repository central
[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:       
com.google.code.maven-svn-wagon:maven-svn-wagon:1.2-SNAPSHOT
[DEBUG] Dependencies (collect): []
[DEBUG] Dependencies (resolve): []
[DEBUG] -----------------------------------------------------------------------
[DEBUG] Goal:          
org.codehaus.mojo:versions-maven-plugin:1.1:display-plugin-updates (default-cli)
[DEBUG] Style:         Regular
[DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>
<configuration>
  <allowSnapshots default-value="false">${allowSnapshots}</allowSnapshots>
  <generateBackupPoms>${generateBackupPoms}</generateBackupPoms>
  <localRepository>${localRepository}</localRepository>
  <project>${project}</project>
  <reactorProjects>${reactorProjects}</reactorProjects>
  
<remoteArtifactRepositories>${project.remoteArtifactRepositories}</remoteArtifactRepositories>
  
<remotePluginRepositories>${project.pluginArtifactRepositories}</remotePluginRepositories>
  <rulesUri>${maven.version.rules}</rulesUri>
  <serverId default-value="serverId">${maven.version.rules.serverId}</serverId>
  <session>${session}</session>
  <settings>${settings}</settings>
</configuration>
[DEBUG] =======================================================================
[INFO] 
[INFO] --- versions-maven-plugin:1.1:display-plugin-updates (default-cli) @ 
maven-svn-wagon ---
[DEBUG] While downloading xml-apis:xml-apis:2.0.2
  This artifact has been relocated to xml-apis:xml-apis:1.0.b2.


[DEBUG] Created new class realm 
plugin>org.codehaus.mojo:versions-maven-plugin:1.1
[DEBUG] Populating class realm 
plugin>org.codehaus.mojo:versions-maven-plugin:1.1
[DEBUG]   Included: org.codehaus.mojo:versions-maven-plugin:maven-plugin:1.1
[DEBUG]   Included: org.codehaus.plexus:plexus-utils:jar:1.5.15
[DEBUG]   Included: org.apache.maven.wagon:wagon-file:jar:1.0-beta-2
[DEBUG]   Included: org.apache.maven.reporting:maven-reporting-api:jar:2.0.6
[DEBUG]   Included: org.apache.maven.doxia:doxia-sink-api:jar:1.0
[DEBUG]   Included: commons-cli:commons-cli:jar:1.0
[DEBUG]   Included: org.codehaus.plexus:plexus-interactivity-api:jar:1.0-alpha-4
[DEBUG]   Included: org.apache.maven.reporting:maven-reporting-impl:jar:2.0.4.1
[DEBUG]   Included: commons-validator:commons-validator:jar:1.2.0
[DEBUG]   Included: commons-beanutils:commons-beanutils:jar:1.7.0
[DEBUG]   Included: commons-logging:commons-logging:jar:1.0.4
[DEBUG]   Included: commons-digester:commons-digester:jar:1.6
[DEBUG]   Included: commons-collections:commons-collections:jar:3.2
[DEBUG]   Included: oro:oro:jar:2.0.8
[DEBUG]   Included: org.apache.maven.doxia:doxia-core:jar:1.0-alpha-10
[DEBUG]   Included: org.apache.maven.doxia:doxia-site-renderer:jar:1.0
[DEBUG]   Included: org.codehaus.plexus:plexus-i18n:jar:1.0-beta-7
[DEBUG]   Included: org.codehaus.plexus:plexus-velocity:jar:1.1.7
[DEBUG]   Included: org.apache.velocity:velocity:jar:1.5
[DEBUG]   Included: commons-lang:commons-lang:jar:2.4
[DEBUG]   Included: org.apache.maven.doxia:doxia-decoration-model:jar:1.0
[DEBUG]   Included: org.apache.maven.doxia:doxia-module-apt:jar:1.0
[DEBUG]   Included: org.apache.maven.doxia:doxia-module-fml:jar:1.0
[DEBUG]   Included: org.apache.maven.doxia:doxia-module-xdoc:jar:1.0
[DEBUG]   Included: org.apache.maven.doxia:doxia-module-xhtml:jar:1.0
[DEBUG]   Included: 
org.apache.maven.shared:maven-common-artifact-filters:jar:1.2
[DEBUG]   Included: org.apache.maven.shared:maven-plugin-testing-harness:jar:1.1
[DEBUG]   Included: org.codehaus.plexus:plexus-archiver:jar:1.0-alpha-7
[DEBUG]   Included: org.codehaus.woodstox:wstx-asl:jar:3.2.7
[DEBUG]   Included: stax:stax-api:jar:1.0.1
[DEBUG]   Excluded: org.apache.maven:maven-artifact:jar:2.0.6
[DEBUG]   Excluded: org.apache.maven:maven-artifact-manager:jar:2.0.6
[DEBUG]   Excluded: org.apache.maven:maven-repository-metadata:jar:2.0.6
[DEBUG]   Excluded: 
org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9-stable-1
[DEBUG]   Excluded: classworlds:classworlds:jar:1.1
[DEBUG]   Excluded: org.apache.maven.wagon:wagon-provider-api:jar:1.0-beta-2
[DEBUG]   Excluded: org.apache.maven:maven-core:jar:2.0.6
[DEBUG]   Excluded: org.apache.maven:maven-settings:jar:2.0.6
[DEBUG]   Excluded: org.apache.maven:maven-model:jar:2.0.6
[DEBUG]   Excluded: org.apache.maven:maven-plugin-parameter-documenter:jar:2.0.6
[DEBUG]   Excluded: org.apache.maven:maven-profile:jar:2.0.6
[DEBUG]   Excluded: org.apache.maven:maven-error-diagnostics:jar:2.0.6
[DEBUG]   Excluded: org.apache.maven:maven-project:jar:2.0.6
[DEBUG]   Excluded: org.apache.maven:maven-plugin-registry:jar:2.0.6
[DEBUG]   Excluded: org.apache.maven:maven-plugin-api:jar:2.0.6
[DEBUG]   Excluded: org.apache.maven:maven-plugin-descriptor:jar:2.0.6
[DEBUG]   Excluded: org.apache.maven:maven-monitor:jar:2.0.6
[DEBUG] Configuring mojo 
org.codehaus.mojo:versions-maven-plugin:1.1:display-plugin-updates from plugin 
realm ClassRealm[plugin>org.codehaus.mojo:versions-maven-plugin:1.1, parent: 
ClassRealm[plexus.core, parent: null]]
[DEBUG] Configuring mojo 
'org.codehaus.mojo:versions-maven-plugin:1.1:display-plugin-updates' with basic 
configurator -->
[DEBUG]   (f) allowSnapshots = false
[DEBUG]   (f) localRepository =        id: local
      url: file:///C:/Users/Oleg/.m2/repository/
   layout: none

[DEBUG]   (s) project = MavenProject: 
com.google.code.maven-svn-wagon:maven-svn-wagon:1.2-SNAPSHOT @ 
D:\projects.java\maven-svn-wagon\pom.xml
[DEBUG]   (f) reactorProjects = [MavenProject: 
com.google.code.maven-svn-wagon:maven-svn-wagon:1.2-SNAPSHOT @ 
D:\projects.java\maven-svn-wagon\pom.xml]
[DEBUG]   (f) remoteArtifactRepositories = [       id: central
      url: http://repo1.maven.org/maven2
   layout: default
snapshots: [enabled => false, update => daily]
 releases: [enabled => true, update => daily]
]
[DEBUG]   (f) remotePluginRepositories = [       id: central
      url: http://repo1.maven.org/maven2
   layout: default
snapshots: [enabled => false, update => daily]
 releases: [enabled => true, update => daily]
]
[DEBUG]   (f) serverId = serverId
[DEBUG]   (f) session = org.apache.maven.execution.mavensess...@7d56b386
[DEBUG]   (f) settings = org.apache.maven.execution.settingsadap...@25cbfa42
[DEBUG] -- end configuration --
[DEBUG] Building list of project plugins...
[DEBUG] Original model:
<?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/xsd/maven-4.0.0.xsd"; 
xmlns="http://maven.apache.org/POM/4.0.0";
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
  <modelVersion>4.0.0</modelVersion>
  <groupId>com.google.code.maven-svn-wagon</groupId>
  <artifactId>maven-svn-wagon</artifactId>
  <version>1.2-SNAPSHOT</version>
  <name>Maven SVN Wagon</name>
  <description>Wagon that accesses artifacts in the Subversion repository using 
SVNKit library.</description>
  <url>http://code.google.com/p/maven-svn-wagon</url>
  <inceptionYear>2009</inceptionYear>
  <licenses>
    <license>
      <name>New BSD License</name>
      <url>${basedir}/license.txt</url>
      <distribution>repo</distribution>
    </license>
  </licenses>
  <developers>
    <developer>
      <id>oleg.estekhin</id>
      <name>Oleg Estekhin</name>
      <email>[email protected]</email>
    </developer>
  </developers>
  <scm>
    
<connection>scm:svn:http://maven-svn-wagon.googlecode.com/svn/trunk</connection>
    
<developerConnection>scm:svn:https://maven-svn-wagon.googlecode.com/svn/trunk</developerConnection>
    <url>http://code.google.com/p/maven-svn-wagon/source/browse</url>
  </scm>
  <issueManagement>
    <system>Google Code</system>
    <url>http://code.google.com/p/maven-svn-wagon/issues/list</url>
  </issueManagement>
  <distributionManagement>
    <repository>
      <id>oss.sonatype.org</id>
      <url>http://oss.sonatype.org/service/local/staging/deploy/maven2</url>
    </repository>
    <snapshotRepository>
      <id>oss.sonatype.org</id>
      
<url>http://oss.sonatype.org/content/repositories/googlecode-snapshots</url>
    </snapshotRepository>
    <site>
      <id>${project.artifactId} site</id>
      <url>file://${project.build.directory}/staging/deploy/site</url>
    </site>
  </distributionManagement>
  <properties>
    <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  </properties>
  <dependencies>
    <dependency>
      <groupId>org.apache.maven.wagon</groupId>
      <artifactId>wagon-provider-api</artifactId>
      <version>1.0-beta-6</version>
    </dependency>
    <dependency>
      <groupId>org.tmatesoft.svnkit</groupId>
      <artifactId>svnkit</artifactId>
      <version>1.3.3</version>
    </dependency>
    <dependency>
      <groupId>org.apache.maven.wagon</groupId>
      <artifactId>wagon-provider-test</artifactId>
      <version>1.0-beta-6</version>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.codehaus.plexus</groupId>
      <artifactId>plexus-utils</artifactId>
      <version>2.0.5</version>
      <scope>test</scope>
    </dependency>
  </dependencies>
  <build>
    <resources>
      <resource>
        <targetPath>META-INF/plexus</targetPath>
        <directory>src/main/plexus</directory>
      </resource>
    </resources>
    <plugins>
      <plugin>
        <artifactId>maven-compiler-plugin</artifactId>
        <version>2.1</version>
        <configuration>
          <source>1.5</source>
          <target>1.5</target>
        </configuration>
      </plugin>
      <plugin>
        <artifactId>maven-surefire-plugin</artifactId>
        <version>2.5</version>
        <configuration>
          <excludes>
            <exclude>**/SvnSVNWagonTest.java</exclude>
            <exclude>**/HttpSVNWagonTest.java</exclude>
            <exclude>**/HttpsSVNWagonTest.java</exclude>
          </excludes>
        </configuration>
      </plugin>
      <plugin>
        <artifactId>maven-javadoc-plugin</artifactId>
        <version>2.6.1</version>
        <configuration>
          <quiet>true</quiet>
          <notimestamp>true</notimestamp>
        </configuration>
      </plugin>
      <plugin>
        <artifactId>maven-release-plugin</artifactId>
        <version>2.0</version>
      </plugin>
      <plugin>
        <artifactId>maven-site-plugin</artifactId>
        <version>2.1</version>
      </plugin>
    </plugins>
  </build>
  <reporting>
    <plugins>
      <plugin>
        <artifactId>maven-project-info-reports-plugin</artifactId>
        <version>2.1.2</version>
        <configuration>
          <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
        </configuration>
        <reportSets>
          <reportSet>
            <reports>
              <report>summary</report>
              <report>project-team</report>
              <report>license</report>
              <report>scm</report>
              <report>issue-tracking</report>
              <report>dependencies</report>
              <report>plugins</report>
            </reports>
          </reportSet>
        </reportSets>
      </plugin>
    </plugins>
  </reporting>
  <profiles>
    <profile>
      <id>release-sign-artifacts</id>
      <activation>
        <property>
          <name>performRelease</name>
          <value>true</value>
        </property>
      </activation>
      <build>
        <plugins>
          <plugin>
            <artifactId>maven-gpg-plugin</artifactId>
            <version>1.0</version>
            <executions>
              <execution>
                <id>sign-artifacts</id>
                <phase>verify</phase>
                <goals>
                  <goal>sign</goal>
                </goals>
              </execution>
            </executions>
          </plugin>
        </plugins>
      </build>
    </profile>
  </profiles>
</project>

[DEBUG] super-pom version map
[DEBUG] parent version map
[DEBUG] aggregate version map
[DEBUG] final aggregate version map
[DEBUG] after adding local pluginManagement
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.210s
[INFO] Finished at: Fri May 14 13:42:21 MSD 2010
[INFO] Final Memory: 13M/181M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal 
org.codehaus.mojo:versions-maven-plugin:1.1:display-plugin-updates 
(default-cli) on project maven-svn-wagon: Execution default-cli of goal 
org.codehaus.mojo:versions-maven-plugin:1.1:display-plugin-updates failed. 
NullPointerException -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal 
org.codehaus.mojo:versions-maven-plugin:1.1:display-plugin-updates 
(default-cli) on project maven-svn-wagon: Execution default-cli of goal 
org.codehaus.mojo:versions-maven-plugin:1.1:display-plugin-updates failed.
        at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:149)
        at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:77)
        at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:69)
        at 
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:82)
        at 
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:54)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.singleThreadedBuild(DefaultLifecycleExecutor.java:218)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:190)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:246)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:95)
        at org.apache.maven.cli.MavenCli.execute(MavenCli.java:430)
        at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:160)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:124)
        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: org.apache.maven.plugin.PluginExecutionException: Execution 
default-cli of goal 
org.codehaus.mojo:versions-maven-plugin:1.1:display-plugin-updates failed.
        at 
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:114)
        at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:133)
        ... 19 more
Caused by: java.lang.NullPointerException
        at 
org.codehaus.plexus.util.ReflectionUtils.getValueIncludingSuperclasses(ReflectionUtils.java:179)
        at 
org.codehaus.mojo.versions.DisplayPluginUpdatesMojo.getBoundPlugins(DisplayPluginUpdatesMojo.java:660)
        at 
org.codehaus.mojo.versions.DisplayPluginUpdatesMojo.getLifecyclePlugins(DisplayPluginUpdatesMojo.java:619)
        at 
org.codehaus.mojo.versions.DisplayPluginUpdatesMojo.getProjectPlugins(DisplayPluginUpdatesMojo.java:1096)
        at 
org.codehaus.mojo.versions.DisplayPluginUpdatesMojo.execute(DisplayPluginUpdatesMojo.java:277)
        at 
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:105)
        ... 20 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/PluginExecutionException

{quote}

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to