Le 26/06/2010 15:07, nuiton.org Release Notification a écrit :
The Maven License Plugin team is pleased to announce the maven-license-plugin-2.3 release! Bonjour,
J'ai un build failed sur vradi (je pense lié à ce plugin). Voici la trace complète (maven -e) : [ERROR] Failed to execute goal org.nuiton:maven-license-plugin:2.3:add-third-party (attach-licenses) on project vradi-swing: could not init goal AddThirdPartyMojo for reason : Error resolving project artifact: Missing: ---------- 1) woodstox:wstx-asl:pom:3.2.7 ---------- 1 required artifact is missing. for artifact: woodstox:wstx-asl:pom:3.2.7 from the specified remote repositories: apache.repository (http://repository.apache.org/snapshots/, releases=true, snapshots=true), http://nexus.nuiton.org/nexus/content/groups/nuiton (http://nexus.nuiton.org/nexus/content/groups/nuiton, releases=true, snapshots=true), nuiton.release (http://maven.nuiton.org/release, releases=true, snapshots=false), nuiton.snapshot (http://maven.nuiton.org/snapshot, releases=false, snapshots=true), maven2-repository.dev.java.net (http://download.java.net/maven/2/, releases=true, snapshots=false), jboss (http://repository.jboss.org/nexus/content/groups/public, releases=true, snapshots=false), central (http://repo1.maven.org/maven2, releases=true, snapshots=false) for project woodstox:wstx-asl:pom:3.2.7 -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.nuiton:maven-license-plugin:2.3:add-third-party (attach-licenses) on project vradi-swing: could not init goal AddThirdPartyMojo for reason : Error resolving project artifact: Missing: ---------- 1) woodstox:wstx-asl:pom:3.2.7 ---------- 1 required artifact is missing. for artifact: woodstox:wstx-asl:pom:3.2.7 from the specified remote repositories: apache.repository (http://repository.apache.org/snapshots/, releases=true, snapshots=true), http://nexus.nuiton.org/nexus/content/groups/nuiton (http://nexus.nuiton.org/nexus/content/groups/nuiton, releases=true, snapshots=true), nuiton.release (http://maven.nuiton.org/release, releases=true, snapshots=false), nuiton.snapshot (http://maven.nuiton.org/snapshot, releases=false, snapshots=true), maven2-repository.dev.java.net (http://download.java.net/maven/2/, releases=true, snapshots=false), jboss (http://repository.jboss.org/nexus/content/groups/public, releases=true, snapshots=false), central (http://repo1.maven.org/maven2, releases=true, snapshots=false) for project woodstox:wstx-asl:pom:3.2.7 at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:141) 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.MojoExecutionException: could not init goal AddThirdPartyMojo for reason : Error resolving project artifact: Missing: ---------- 1) woodstox:wstx-asl:pom:3.2.7 ---------- 1 required artifact is missing. for artifact: woodstox:wstx-asl:pom:3.2.7 from the specified remote repositories: apache.repository (http://repository.apache.org/snapshots/, releases=true, snapshots=true), http://nexus.nuiton.org/nexus/content/groups/nuiton (http://nexus.nuiton.org/nexus/content/groups/nuiton, releases=true, snapshots=true), nuiton.release (http://maven.nuiton.org/release, releases=true, snapshots=false), nuiton.snapshot (http://maven.nuiton.org/snapshot, releases=false, snapshots=true), maven2-repository.dev.java.net (http://download.java.net/maven/2/, releases=true, snapshots=false), jboss (http://repository.jboss.org/nexus/content/groups/public, releases=true, snapshots=false), central (http://repo1.maven.org/maven2, releases=true, snapshots=false) for project woodstox:wstx-asl:pom:3.2.7 at org.nuiton.plugin.AbstractPlugin.execute(AbstractPlugin.java:109) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:105) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:133) ... 19 more Caused by: org.apache.maven.project.ProjectBuildingException: Error resolving project artifact: Missing: ---------- 1) woodstox:wstx-asl:pom:3.2.7 ---------- 1 required artifact is missing. for artifact: woodstox:wstx-asl:pom:3.2.7 from the specified remote repositories: apache.repository (http://repository.apache.org/snapshots/, releases=true, snapshots=true), http://nexus.nuiton.org/nexus/content/groups/nuiton (http://nexus.nuiton.org/nexus/content/groups/nuiton, releases=true, snapshots=true), nuiton.release (http://maven.nuiton.org/release, releases=true, snapshots=false), nuiton.snapshot (http://maven.nuiton.org/snapshot, releases=false, snapshots=true), maven2-repository.dev.java.net (http://download.java.net/maven/2/, releases=true, snapshots=false), jboss (http://repository.jboss.org/nexus/content/groups/public, releases=true, snapshots=false), central (http://repo1.maven.org/maven2, releases=true, snapshots=false) for project woodstox:wstx-asl:pom:3.2.7 at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:237) at org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository(DefaultMavenProjectBuilder.java:74) at org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository(DefaultMavenProjectBuilder.java:157) at org.nuiton.license.plugin.AddThirdPartyMojo.addArtifact(AddThirdPartyMojo.java:222) at org.nuiton.license.plugin.AddThirdPartyMojo.createLicenseMap(AddThirdPartyMojo.java:116) at org.nuiton.license.plugin.AbstractAddThirdPartyMojo.init(AbstractAddThirdPartyMojo.java:227) at org.nuiton.plugin.AbstractPlugin.execute(AbstractPlugin.java:106) ... 21 more Caused by: org.apache.maven.artifact.resolver.MultipleArtifactsNotFoundException: Missing: ---------- 1) woodstox:wstx-asl:pom:3.2.7 ---------- 1 required artifact is missing. for artifact: woodstox:wstx-asl:pom:3.2.7 from the specified remote repositories: apache.repository (http://repository.apache.org/snapshots/, releases=true, snapshots=true), http://nexus.nuiton.org/nexus/content/groups/nuiton (http://nexus.nuiton.org/nexus/content/groups/nuiton, releases=true, snapshots=true), nuiton.release (http://maven.nuiton.org/release, releases=true, snapshots=false), nuiton.snapshot (http://maven.nuiton.org/snapshot, releases=false, snapshots=true), maven2-repository.dev.java.net (http://download.java.net/maven/2/, releases=true, snapshots=false), jboss (http://repository.jboss.org/nexus/content/groups/public, releases=true, snapshots=false), central (http://repo1.maven.org/maven2, releases=true, snapshots=false) at org.apache.maven.artifact.resolver.DefaultResolutionErrorHandler.throwErrors(DefaultResolutionErrorHandler.java:71) at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:233) ... 27 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 [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn <goals> -rf :vradi-swing -- Éric <chatellier@codelutin.com> Tel: 02 40 50 29 28 http://www.codelutin.com