[ 
http://jira.codehaus.org/browse/MNG-3330?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Brett Porter updated MNG-3330:
------------------------------

    Affects Version/s: 2.0.8
        Fix Version/s: 2.0.9
              Summary: reporting plugin poms are retrieved from the wrong 
repository  (was: staged surefire-report fails, passes when you specify version)

when using a plugin repository that is not central (for example, to test a 
staged release), the POM is still searched for on central, rather than 
<pluginRepositories>. This is not found and causes the build to break.

> reporting plugin poms are retrieved from the wrong repository
> -------------------------------------------------------------
>
>                 Key: MNG-3330
>                 URL: http://jira.codehaus.org/browse/MNG-3330
>             Project: Maven 2
>          Issue Type: Bug
>    Affects Versions: 2.0.8
>            Reporter: Dan Fabulich
>             Fix For: 2.0.9
>
>
> Pull the staged 2.4 into your local repo, and run surefire-report:report-only 
> on a POM configured to use 2.4.  The build will fail.  Try again, this time 
> running "mvn 
> org.apache.maven.plugins:maven-surefire-report-plugin:2.4:report-only"
> -----------------------------------------------------
> this realm = 
> app0.child-container[org.apache.maven.plugins:maven-surefire-report-plugin]
> urls[0] = 
> file:/c:/weirdlocalrepo/org/apache/maven/plugins/maven-surefire-report-plugin/2.4/maven-surefire-report-plugin-2.4.jar
> urls[1] = 
> file:/c:/weirdlocalrepo/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar
> Number of imports: 4
> import: [EMAIL PROTECTED]
> import: [EMAIL PROTECTED]
> import: [EMAIL PROTECTED]
> import: [EMAIL PROTECTED]
> this realm = plexus.core
> urls[0] = file:/C:/devtools/maven-2.0.7/lib/maven-core-2.0.7-uber.jar
> Number of imports: 4
> import: [EMAIL PROTECTED]
> import: [EMAIL PROTECTED]
> import: [EMAIL PROTECTED]
> import: [EMAIL PROTECTED]
> -----------------------------------------------------
> [INFO] 
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Internal error in the plugin manager executing goal 
> 'org.apache.maven.plugins:maven-surefire-report-plugin:2.4:report-only': 
> Unable to find the mojo 
> 'org.apache.maven.plugins:maven-surefire-report-plugin:2.4:report-only' in 
> the p
> lugin 'org.apache.maven.plugins:maven-surefire-report-plugin'
> org/apache/maven/reporting/AbstractMavenReport

-- 
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

        

Reply via email to