You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org> on 2010/02/26 19:52:55 UTC

[jira] Closed: (MINVOKER-99) Final JAR artifact for archetype not install(ed) into localRepositoryUrl on Mavne 3.0-alpha-6

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

Benjamin Bentmann closed MINVOKER-99.
-------------------------------------

    Resolution: Cannot Reproduce
      Assignee: Benjamin Bentmann

> Final JAR artifact for archetype not install(ed) into localRepositoryUrl on Mavne 3.0-alpha-6
> ---------------------------------------------------------------------------------------------
>
>                 Key: MINVOKER-99
>                 URL: http://jira.codehaus.org/browse/MINVOKER-99
>             Project: Maven 2.x Invoker Plugin
>          Issue Type: Bug
>    Affects Versions: 1.5
>         Environment: MacOS 10.6.2 with Maven 3.0-alpha6
>            Reporter: Matthew McCullough
>            Assignee: Benjamin Bentmann
>         Attachments: Maven2MainBuild.log, Maven2Success_BUILD-quickstart.xml, Maven2Success_build.log, Maven3Failure_BUILD-quickstart.xml, Maven3Failure_build.log, Maven3MainBuild.log, quickstart-itbrokenonmaven3.zip
>
>
> I'm coding on an archetype project (http://github.com/sonatype/sonatype-archetype) and am using the install goal of Invoker 1.5.  If I use an alternate repo with the <localRepositoryUrl>, the archetype JAR is not copied into the local repo location.  If I use Maven 2.2.1, the resource is copied into the localRepositoryUrl location with no problem.
> I've commented out the <install> and <localRepositoryUrl> tags in the committed version so that it passes when built with Maven 3.0-alpha-6.
> File:
> http://github.com/sonatype/sonatype-archetype/blob/master/archetype-archetypes/quickstart/pom.xml
> To reproduce this.
> 1) Download Maven 3.0-alpha-6
> 2) Set it to be your active maven version
> 3) git clone git@github.com:sonatype/sonatype-archetype.git
> 4) Hijack and uncomment the <goal>install</goal> and <localRepositoryPath>${project.build.directory}/it/repo</localRepositoryPath> in the file archetype-archetypes/quickstart/pom.xml
> 5) build the entire source tree with "mvn install"
> 5) It will fail with the following error:
> [INFO] [INFO] ------------------------------------------------------------------------
> [INFO] [INFO] BUILD FAILURE
> [INFO] [INFO] ------------------------------------------------------------------------
> [INFO] [INFO] Total time: 15.576s
> [INFO] [INFO] Finished at: Mon Feb 15 19:49:33 MST 2010
> [INFO] [INFO] Final Memory: 6M/80M
> [INFO] [INFO] ------------------------------------------------------------------------
> [INFO] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:2.0-alpha-4:generate (default-cli) on project standalone-pom: The desired archetype does not exist (org.sonatype.maven.archetype:quickstart:0.8.4-SNAPSHOT) -> [Help 1]
> [INFO] [ERROR] 
> [INFO] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
> [INFO] [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [INFO] [ERROR] 
> [INFO] [ERROR] For more information about the errors and possible solutions, please read the following articles:
> [INFO] [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
> [INFO] ..FAILED (16.8 s)
> [INFO]   The build exited with code 1. See /Users/mccm06/Documents/Code/OpenSourceContribs/sonatype-archetype_git/archetype-archetypes/quickstart/target/it/projects/quickstart/build.log for details.
> [INFO] -------------------------------------------------
> [INFO] Build Summary:
> [INFO]   Passed: 0, Failed: 1, Errors: 0, Skipped: 0
> [INFO] -------------------------------------------------
> [ERROR] The following builds failed:
> [ERROR] *  quickstart
> [INFO] -------------------------------------------------
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 21.310s
> [INFO] Finished at: Mon Feb 15 19:49:34 MST 2010
> [INFO] Final Memory: 8M/80M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-invoker-plugin:1.5:run (integration-test) on project quickstart: 1 build failed. -> [Help 1]

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