Created
November 6, 2010 08:51
-
-
Save ringods/665293 to your computer and use it in GitHub Desktop.
Error while building official Nexus 1.8.0
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ mvn3 install -e -Dmaven.test.skip=true -rf :nexus-app | |
[INFO] Error stacktraces are turned on. | |
[INFO] Scanning for projects... | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] Reactor Build Order: | |
[INFO] | |
[INFO] Nexus : Application | |
[INFO] Nexus : Indexer Lucene | |
[INFO] Nexus : Indexer Lucene : Application | |
[INFO] Nexus : Web Utils | |
[INFO] Nexus : Core Rest API | |
[INFO] Nexus : Indexer Lucene : REST API | |
[INFO] Nexus : Indexer Lucene : Plugin | |
[INFO] Nexus : Plugins : Plugin Test API | |
[INFO] Nexus : Migration Tools | |
[INFO] Nexus : Migration Tools : Repository Conversion | |
[INFO] Nexus : Migration Tools : Maven Metadata Rebuild | |
[INFO] Nexus : Core Plugins | |
[INFO] Nexus : Core Plugins : LVO Plugin | |
[INFO] Nexus : Core Plugins : Plugin Console Plugin | |
[INFO] Nexus : Core Plugins : OSS LDAP | |
[INFO] Nexus : Core Plugins : OSS LDAP : Common | |
[INFO] Nexus : Core Plugins : OSS LDAP : LDAP Realm Plugin | |
[INFO] Nexus : Distros | |
[INFO] Nexus : Distros : Distribution Archives | |
[INFO] Nexus : Distros : Distribution Archives : Core CAR | |
[INFO] Nexus : Core Plugins : Core Documentation | |
[INFO] Nexus : Core Plugins : Capabilities | |
[INFO] Nexus : Core Plugins : Remote Repository Browsing | |
[INFO] Nexus : Web Application frontend (WAR and ITAR) | |
[INFO] Nexus : Distros : Distribution Archives : IoC ITAR | |
[INFO] Nexus : Distros : Nexus OSS Bundle | |
[INFO] Nexus : Core Plugins : OSS LDAP : Plugin ITs | |
[INFO] Nexus : Clients | |
[INFO] Nexus : Clients : Java REST | |
[INFO] Nexus : Clients : Lightweight REST | |
[INFO] Nexus : Clients : Lightweight REST : Common | |
[INFO] Nexus : Clients : Lightweight REST : ITs | |
[INFO] Nexus : Clients : Lightweight REST : Staging/BP | |
[INFO] Nexus : Clients : Lightweight REST : M2 Settings | |
[INFO] Nexus : Clients : Lightweight REST : Core | |
[INFO] Nexus : Test Harness | |
[INFO] Nexus : Core Plugins : Capabilities : Plugin ITs | |
[INFO] | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] Building Nexus : Application 1.8.0 | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] | |
[INFO] --- maven-enforcer-plugin:1.0-beta-1:enforce (enforce-java) @ nexus-app --- | |
[INFO] | |
[INFO] --- maven-enforcer-plugin:1.0-beta-1:enforce (enforce) @ nexus-app --- | |
[INFO] | |
[INFO] --- maven-resources-plugin:2.4:resources (default-resources) @ nexus-app --- | |
[INFO] Using 'UTF-8' encoding to copy filtered resources. | |
[INFO] Copying 2 resources | |
[INFO] | |
[INFO] --- maven-compiler-plugin:2.0.2:compile (default-compile) @ nexus-app --- | |
[INFO] Nothing to compile - all classes are up to date | |
[INFO] | |
[INFO] --- plexus-component-metadata:1.5.4:generate-metadata (process-classes) @ nexus-app --- | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] Reactor Summary: | |
[INFO] | |
[INFO] Nexus : Application ............................... FAILURE [6.688s] | |
[INFO] Nexus : Indexer Lucene ............................ SKIPPED | |
[INFO] Nexus : Indexer Lucene : Application .............. SKIPPED | |
[INFO] Nexus : Web Utils ................................. SKIPPED | |
[INFO] Nexus : Core Rest API ............................. SKIPPED | |
[INFO] Nexus : Indexer Lucene : REST API ................. SKIPPED | |
[INFO] Nexus : Indexer Lucene : Plugin ................... SKIPPED | |
[INFO] Nexus : Plugins : Plugin Test API ................. SKIPPED | |
[INFO] Nexus : Migration Tools ........................... SKIPPED | |
[INFO] Nexus : Migration Tools : Repository Conversion ... SKIPPED | |
[INFO] Nexus : Migration Tools : Maven Metadata Rebuild .. SKIPPED | |
[INFO] Nexus : Core Plugins .............................. SKIPPED | |
[INFO] Nexus : Core Plugins : LVO Plugin ................. SKIPPED | |
[INFO] Nexus : Core Plugins : Plugin Console Plugin ...... SKIPPED | |
[INFO] Nexus : Core Plugins : OSS LDAP ................... SKIPPED | |
[INFO] Nexus : Core Plugins : OSS LDAP : Common .......... SKIPPED | |
[INFO] Nexus : Core Plugins : OSS LDAP : LDAP Realm Plugin SKIPPED | |
[INFO] Nexus : Distros ................................... SKIPPED | |
[INFO] Nexus : Distros : Distribution Archives ........... SKIPPED | |
[INFO] Nexus : Distros : Distribution Archives : Core CAR SKIPPED | |
[INFO] Nexus : Core Plugins : Core Documentation ......... SKIPPED | |
[INFO] Nexus : Core Plugins : Capabilities ............... SKIPPED | |
[INFO] Nexus : Core Plugins : Remote Repository Browsing . SKIPPED | |
[INFO] Nexus : Web Application frontend (WAR and ITAR) ... SKIPPED | |
[INFO] Nexus : Distros : Distribution Archives : IoC ITAR SKIPPED | |
[INFO] Nexus : Distros : Nexus OSS Bundle ................ SKIPPED | |
[INFO] Nexus : Core Plugins : OSS LDAP : Plugin ITs ...... SKIPPED | |
[INFO] Nexus : Clients ................................... SKIPPED | |
[INFO] Nexus : Clients : Java REST ....................... SKIPPED | |
[INFO] Nexus : Clients : Lightweight REST ................ SKIPPED | |
[INFO] Nexus : Clients : Lightweight REST : Common ....... SKIPPED | |
[INFO] Nexus : Clients : Lightweight REST : ITs .......... SKIPPED | |
[INFO] Nexus : Clients : Lightweight REST : Staging/BP ... SKIPPED | |
[INFO] Nexus : Clients : Lightweight REST : M2 Settings .. SKIPPED | |
[INFO] Nexus : Clients : Lightweight REST : Core ......... SKIPPED | |
[INFO] Nexus : Test Harness .............................. SKIPPED | |
[INFO] Nexus : Core Plugins : Capabilities : Plugin ITs .. SKIPPED | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] BUILD FAILURE | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] Total time: 14.476s | |
[INFO] Finished at: Sat Nov 06 09:50:17 CET 2010 | |
[INFO] Final Memory: 29M/81M | |
[INFO] ------------------------------------------------------------------------ | |
[ERROR] Failed to execute goal org.codehaus.plexus:plexus-component-metadata:1.5.4:generate-metadata (process-classes) on project nexus-app: Error generating metadata: Failed to extract descriptors: Can't load class NexusPluginManager -> [Help 1] | |
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.plexus:plexus-component-metadata:1.5.4:generate-metadata (process-classes) on project nexus-app: Error generating metadata: | |
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:203) | |
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:148) | |
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:140) | |
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84) | |
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:314) | |
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:151) | |
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:445) | |
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:168) | |
at org.apache.maven.cli.MavenCli.main(MavenCli.java:132) | |
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.MojoExecutionException: Error generating metadata: | |
at org.codehaus.plexus.maven.plugin.PlexusDescriptorMojo.execute(PlexusDescriptorMojo.java:86) | |
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:107) | |
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:195) | |
... 19 more | |
Caused by: java.lang.Exception: Failed to extract descriptors | |
at org.codehaus.plexus.metadata.DefaultMetadataGenerator.generateDescriptor(DefaultMetadataGenerator.java:86) | |
at org.codehaus.plexus.maven.plugin.PlexusDescriptorMojo.execute(PlexusDescriptorMojo.java:82) | |
... 21 more | |
Caused by: org.codehaus.plexus.metadata.gleaner.ComponentGleanerException: Can't load class NexusPluginManager | |
at org.codehaus.plexus.metadata.gleaner.AnnotationComponentGleaner.findRequirement(AnnotationComponentGleaner.java:212) | |
at org.codehaus.plexus.metadata.gleaner.AnnotationComponentGleaner.glean(AnnotationComponentGleaner.java:102) | |
at org.codehaus.plexus.metadata.ClassComponentDescriptorExtractor.extract(ClassComponentDescriptorExtractor.java:145) | |
at org.codehaus.plexus.metadata.ClassComponentDescriptorExtractor.extract(ClassComponentDescriptorExtractor.java:79) | |
at org.codehaus.plexus.metadata.DefaultMetadataGenerator.generateDescriptor(DefaultMetadataGenerator.java:78) | |
... 22 more | |
[ERROR] | |
[ERROR] Re-run Maven using the -X switch to enable full debug logging. | |
[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/MojoExecutionException |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment