Looks like someone is looking for pom:2.3-SNAPSHOT for maven-javadoc-plugin.
But maven-javadoc-plugin latest version is 2.2 and it does not have
pom:2.3-SNAPSHOT

So is there a way I can force somehow in my application pom files to force
to look at the correct version of the pom file for maven-javadoc-plugin ???

This way I do not have to wait till this is fixed in ibiblio or mojo???

Thanks in advance.



srinivas ramgopal wrote:
> 
> Hi all,
> 
> I am new to Maven. 
> 
> I am using profiles and trying to do maven release. 
> The release:prepare works fine but fails at release:perform saying that
> 'Error getting POM for 'org.apache.maven.plugins:maven-javadoc-plugin'
> from Error getting POM for 'org.apache.maven.plugins:maven-javadoc-plugin.
> 
> I wonder if anyone is facing this problem.
> 
> Thanks a bunch in advance for your valuable input.
> 
> I ran as follows:
> mvn -e -P<profile-name> release:perform
> 
> The error trace is as follows:
> 
> [INFO] [release:perform]
> [INFO] Checking out the project to perform the release ...
> [INFO] Checkout working directory: <path>target\checkout
> [INFO] Executing: p4 client -i
> [INFO] Executing: p4 client -d <xxxxxxx>MavenSCM-<path>\target
> \checkout
> [INFO] Executing: mvn deploy site-deploy --no-plugin-updates -P
> <profile-name> -DperformRelease=true
>     [INFO] Scanning for projects...
>     [INFO]
> ----------------------------------------------------------------------------
>     [INFO] Building Maven Default Project
>     [INFO]    task-segment: [deploy, site-deploy]
>     [INFO]
> ----------------------------------------------------------------------------
>     [INFO]
> ------------------------------------------------------------------------
>     [ERROR] BUILD ERROR
>     [INFO]
> ------------------------------------------------------------------------
>     [INFO] Error building POM (may not be this project's POM).
> 
> 
>     Project ID: org.apache.maven.plugins:maven-javadoc-plugin
> 
>     Reason: Error getting POM for
> 'org.apache.maven.plugins:maven-javadoc-plugin' from the repository:
> Failed to resolve
>  artifact, possibly due to a repository list that is not appropriately
> equipped for this artifact's metadata.
>       org.apache.maven.plugins:maven-javadoc-plugin:pom:2.3-SNAPSHOT
> 
>     from the specified remote repositories:
>       central (http://repo1.maven.org/maven2)
> 
> 
> 
>     [INFO]
> ------------------------------------------------------------------------
>     [INFO] For more information, run Maven with the -e switch
>     [INFO]
> ------------------------------------------------------------------------
>     [INFO] Total time: 1 second
>     [INFO] Finished at: Tue Jun 12 09:51:31 MDT 2007
>     [INFO] Final Memory: 3M/6M
>     [INFO]
> ------------------------------------------------------------------------
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Error executing Maven: Maven execution failed, exit code: '1'
> 
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Trace
> org.apache.maven.lifecycle.LifecycleExecutionException: Error executing
> Maven: Maven execution failed, exit code: '1'
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:564)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:493)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:463)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.jav
> a:311)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:224)
>         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.MojoExecutionException: Error executing
> Maven: Maven execution failed, exit code: '1'
> 
>         at
> org.apache.maven.plugins.release.PerformReleaseMojo.execute(PerformReleaseMojo.java:95)
>         at
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:420)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539)
>         ... 16 more
> Caused by: org.apache.maven.plugins.release.ReleaseExecutionException:
> Error executing Maven: Maven execution failed, ex
> it code: '1'
>         at
> org.apache.maven.plugins.release.DefaultReleaseManager.perform(DefaultReleaseManager.java:250)
>         at
> org.apache.maven.plugins.release.PerformReleaseMojo.execute(PerformReleaseMojo.java:91)
>         ... 18 more
> Caused by: org.apache.maven.plugins.release.exec.MavenExecutorException:
> Maven execution failed, exit code: '1'
>         at
> org.apache.maven.plugins.release.exec.ForkedMavenExecutor.executeGoals(ForkedMavenExecutor.java:95)
>         at
> org.apache.maven.plugins.release.DefaultReleaseManager.perform(DefaultReleaseManager.java:245)
>         ... 19 more
> ----------------------------------
> 

-- 
View this message in context: 
http://www.nabble.com/maven-release%3Aperform-error-finding-maven-javadoc-plugin-tf3908445s177.html#a11082620
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to