maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Benedict (JIRA)" <j...@codehaus.org>
Subject [jira] (MNG-3762) Relocation not working for plugins
Date Wed, 02 Jul 2014 13:44:19 GMT

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

Paul Benedict updated MNG-3762:
-------------------------------

    Fix Version/s:     (was: Issues to be reviewed for 3.x)

> Relocation not working for plugins
> ----------------------------------
>
>                 Key: MNG-3762
>                 URL: https://jira.codehaus.org/browse/MNG-3762
>             Project: Maven
>          Issue Type: Bug
>    Affects Versions: 2.0.9
>         Environment: Maven version: 2.0.9
> Java version: 1.5.0_13
> OS name: "mac os x" version: "10.5.4" arch: "i386" Family: "unix"
>            Reporter: Wendy Smoak
>
> As discussed on the user list, the relocation pom for the Jetty plugin does not seem
to work correctly.
> See:  http://www.nabble.com/Does-relocation-work-for-plugins--td19618624.html
> To reproduce, create a project from the webapp archetype, and introduce the Jetty plugin:
> {noformat}
>  <build>
>    ...
>    <plugins>
>      <plugin>
>        <groupId>org.mortbay.jetty</groupId>
>        <artifactId>maven-jetty-plugin</artifactId>
>        <version>7.0.0pre3</version>
>      </plugin>
>    </plugins>
> {noformat}
> Attempting to build the project results in an error:
> {noformat}
> $ mvn install
> [INFO] Scanning for projects...
> [INFO] ------------------------------------------------------------------------
> [INFO] Building mywebapp Maven Webapp
> [INFO]    task-segment: [install]
> [INFO] ------------------------------------------------------------------------
> Downloading: http://repo1.maven.org/maven2/org/mortbay/jetty/maven-jetty-plugin/7.0.0pre3/maven-jetty-plugin-7.0.0pre3.jar
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] A required plugin was not found: Plugin could not be found -
> check that the goal name is correct: Unable to download the artifact
> from any repository
> Try downloading the file manually from the project website.
> Then, install it using the command:
>    mvn install:install-file -DgroupId=org.mortbay.jetty
> -DartifactId=maven-jetty-plugin -Dversion=7.0.0pre3
> -Dpackaging=maven-plugin -Dfile=/path/to/file
> Alternatively, if you host your own repository you can deploy the file there:
>    mvn deploy:deploy-file -DgroupId=org.mortbay.jetty
> -DartifactId=maven-jetty-plugin -Dversion=7.0.0pre3
> -Dpackaging=maven-plugin -Dfile=/path/to/file -Durl=[url]
> -DrepositoryId=[id]
>  org.mortbay.jetty:maven-jetty-plugin:maven-plugin:7.0.0pre3
> from the specified remote repositories:
>  central (http://repo1.maven.org/maven2)
>  org.mortbay.jetty:maven-jetty-plugin:maven-plugin:7.0.0pre3
> 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: Mon Sep 22 19:02:01 MST 2008
> [INFO] Final Memory: 3M/7M
> [INFO] ------------------------------------------------------------------------
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.1.6#6162)

Mime
View raw message