Jump to content
Changes to the Jaspersoft community edition download ×

maven2-xdoclet2-plugin not found


mar

Recommended Posts

Im trying to build JI from svn-source, but i always geht the following error:

 

[DEBUG] Skipping disabled repository Maven Snapshots

[DEBUG] maven2-xdoclet2-plugin: using locally installed snapshot

[DEBUG] Artifact not found - using stub model: Unable to determine the latest version

 

xdoclet:maven2-xdoclet2-plugin:pom:LATEST

 

 

[DEBUG] Using defaults for missing POM xdoclet:maven2-xdoclet2-plugin:pom:LATEST

[DEBUG] maven2-xdoclet2-plugin: using locally installed snapshot

[DEBUG] Artifact not found - using stub model: Unable to determine the release version

 

xdoclet:maven2-xdoclet2-plugin:pom:RELEASE

 

 

[DEBUG] Using defaults for missing POM xdoclet:maven2-xdoclet2-plugin:pom:RELEASE

[iNFO] ------------------------------------------------------------------------

[ERROR] BUILD ERROR

[iNFO] ------------------------------------------------------------------------

[iNFO] The plugin 'xdoclet:maven2-xdoclet2-plugin' does not exist or no valid version could be found

[iNFO] ------------------------------------------------------------------------

[DEBUG] Trace

org.apache.maven.lifecycle.LifecycleExecutionException: The plugin 'xdoclet:maven2-xdoclet2-plugin' does not exist or no valid version could be found

at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(DefaultLifecycleExecutor.java:1281)

at org.apache.maven.lifecycle.DefaultLifecycleExecutor.bindPluginToLifecycle(DefaultLifecycleExecutor.java:1216)

at org.apache.maven.lifecycle.DefaultLifecycleExecutor.constructLifecycleMappings(DefaultLifecycleExecutor.java:982)

at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:453)

at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:306)

at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:273)

at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:140)

at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)

at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)

at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)

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:585)

at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)

at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)

at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)

at org.codehaus.classworlds.Launcher.main(Launcher.java:375)

Caused by: org.apache.maven.plugin.version.PluginVersionNotFoundException: The plugin 'xdoclet:maven2-xdoclet2-plugin' does not exist or no valid version could be found

at org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePluginVersion(DefaultPluginVersionManager.java:225)

at org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePluginVersion(DefaultPluginVersionManager.java:87)

at org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPluginManager.java:158)

at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(DefaultLifecycleExecutor.java:1252)

... 17 more

[iNFO] ------------------------------------------------------------------------

[iNFO] Total time: 6 seconds

[iNFO] Finished at: Fri Oct 20 10:58:25 CEST 2006

[iNFO] Final Memory: 8M/23M

[iNFO] ------------------------------------------------------------------------

 

 

i installed manually the maven2-xdoclet2-plugin and tried again, without success.

 

the path given in the settings.xml

Code:

<repository>
<id>jasperServer</id>
<name>Base repository for Jasper Server</name>
<url>file:///Users/bcn/compile/jasperintel/jasperserver-repo/</url>
</repository>

 

any suggestions?

Link to comment
Share on other sites

  • Replies 6
  • Created
  • Last Reply

Top Posters In This Topic

Also, I see in your post that Maven Snapshots was disabled. It was probably down at the time, so rerunning the build may work now. We are looking to have a public Maven2 repository that will have all the required components for a JI build.

 

 

Sherman

JasperSoft

Link to comment
Share on other sites

  • 4 months later...

I've the same problem, I tried all tips mentioned on this forum, but the problem presist.

 

someone can help me please??

 

 

[iNFO] Building Jasper Server API Implementations - Metadata

[iNFO] task-segment: [install]

[iNFO] ----------------------------------------------------------------------------

[iNFO] artifact xdoclet:maven2-xdoclet2-plugin: checking for updates from Maven Snapshots

[iNFO] ------------------------------------------------------------------------

[ERROR] BUILD ERROR

[iNFO] ------------------------------------------------------------------------

[iNFO] The plugin 'xdoclet:maven2-xdoclet2-plugin' does not exist or no valid version could be found

[iNFO] ------------------------------------------------------------------------

[iNFO] Trace

org.apache.maven.lifecycle.LifecycleExecutionException: The plugin 'xdoclet:maven2-xdoclet2-plugin' does not exist or no valid version could be found

at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(DefaultLifecycleExecutor.java:1286)

at org.apache.maven.lifecycle.DefaultLifecycleExecutor.bindPluginToLifecycle(DefaultLifecycleExecutor.java:1221)

at org.apache.maven.lifecycle.DefaultLifecycleExecutor.constructLifecycleMappings(DefaultLifecycleExecutor.java:987)

at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:458)

at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311)

at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278)

at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143)

at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:330)

at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:123)

at org.apache.maven.cli.MavenCli.main(MavenCli.java:272)

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:585)

at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)

at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)

at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)

at org.codehaus.classworlds.Launcher.main(Launcher.java:375)

Caused by: org.apache.maven.plugin.version.PluginVersionNotFoundException: The plugin 'xdoclet:maven2-xdoclet2-plugin' does not exist or no valid version could be found

at org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePluginVersion(DefaultPluginVersionManager.java:228)

at org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePluginVersion(DefaultPluginVersionManager.java:90)

at org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPluginManager.java:161)

at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(DefaultLifecycleExecutor.java:1257)

... 17 more

[iNFO] ------------------------------------------------------------------------

[iNFO] Total time: 1 minute 12 seconds

[iNFO] Finished at: Wed Mar 21 17:00:50 BOT 2007

[iNFO] Final Memory: 7M/13M

[iNFO] ------------------------------------------------------------------------

Link to comment
Share on other sites

In the process of setting up a Bamboo CI server on linux I was getting this type ([iNFO] The plugin 'org.apache.maven.plugins:maven-XXX-plugin' does not exist or no valid version could be found) of message.

 

After much head scratching I finally just deleted the Maven2 repository (/home/USER/.m2.repository). The next attempt to do a build succeeded. It appears it was corrupt.

Link to comment
Share on other sites

One thing I found is if you set a version for xdoclet in the jasperserver-api-implmetadata pom.xml like

 

<groupId>xdoclet</groupId>

<artifactId>maven2-xdoclet2-plugin</artifactId>

<version>2.0.5-20060117.143439-6</version>

 

everything builds without a problem.

 

 

thanks

Jeff

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...