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

Michael Osipov closed MRELEASE-129.
-----------------------------------

    Resolution: Won't Fix

Please refer to 
https://cwiki.apache.org/confluence/display/MAVEN/The+Great+JIRA+Cleanup+of+2014
 if you're wondering why this issue was closed out.

> Release fails on EAR project with EJB module reference
> ------------------------------------------------------
>
>                 Key: MRELEASE-129
>                 URL: https://jira.codehaus.org/browse/MRELEASE-129
>             Project: Maven Release Plugin
>          Issue Type: Bug
>          Components: prepare
>    Affects Versions: 2.0-beta-4
>            Reporter: Mike Perham
>         Attachments: MRELEASE-129.patch
>
>
> {code:xml}
> <dependency>
>     <groupId>com.webify.fabric</groupId>
>     <artifactId>fabric-pm-mdb</artifactId>
>     <version>1.2.1</version>
>     <type>ejb</type>
> </dependency>
> {code}
> During release:prepare, it transforms the POMs to the release version (as 
> above) and then runs the full build.  The EAR build fails because the EJB 
> artifact is not installed to the local repo so it can't package that 
> dependent module by pulling it from the local repo.
>     [INFO] Failed to resolve artifact.
>     Missing:
>     ----------
>     1) com.webify.fabric:fabric-pm-mdb:ejb:1.2.1
>       Try downloading the file manually from the project website.
>       Then, install it using the command:
>           mvn install:install-file -DgroupId=com.webify.fabric 
> -DartifactId=fabric-pm-mdb \
>               -Dversion=1.2.1 -Dpackaging=ejb -Dfile=/path/to/file
>       Path to dependency:
>         1) com.webify.fabric:fabric-tools-ear:ear:4.1.1
>         2) com.webify.fabric:fabric-pm-mdb:ejb:1.2.1
> The workaround is to let it fail, run the build by hand to populate the local 
> repo and run the prepare goal again so it can find the binary.



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

Reply via email to