You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Paul Gier (JIRA)" <ji...@codehaus.org> on 2009/03/13 20:52:12 UTC

[jira] Updated: (MSOURCES-31) forking lifecycle of source:jar goal results in release-plugin error

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

Paul Gier updated MSOURCES-31:
------------------------------

    Fix Version/s: 2.1

> forking lifecycle of source:jar goal results in release-plugin error
> --------------------------------------------------------------------
>
>                 Key: MSOURCES-31
>                 URL: http://jira.codehaus.org/browse/MSOURCES-31
>             Project: Maven 2.x Source Plugin
>          Issue Type: Bug
>    Affects Versions: 2.0.4
>         Environment: maven 2.0.8
>            Reporter: Sandro Sonntag
>            Priority: Blocker
>             Fix For: 2.1
>
>
> In my complex scenario the release plugin fails because the source:jar goal forks a new lifcycle "generate-sources".
> "source:jar" is decalared in the project pom to build automaticly. The error occours if there are plugins attached on the "generate-sources" phase 
> how need artifacts of the reactor build.
> In my case the xdoclet and attributes plugins are attached.
> The following error occoures if I use the release plugin:
> Missing:
>         ----------
>         1) de.kqv.ec.tarif:tarif-freundschaftswerbung-businesslogic:jar:1.0
>           Try downloading the file manually from the project website.
>           Then, install it using the command:
>               mvn install:install-file -DgroupId=de.kqv.ec.tarif -DartifactId=tarif-freundschaftswerbung-businesslogic -Dversion=1.0 -Dpackaging=jar -
> Dfile=/path/to/file
>           Alternatively, if you host your own repository you can deploy the file there:
>               mvn deploy:deploy-file -DgroupId=de.kqv.ec.tarif -DartifactId=tarif-freundschaftswerbung-businesslogic -Dversion=1.0 -Dpackaging=jar -Df
> ile=/path/to/file -Durl=[url] -DrepositoryId=[id]
>           Path to dependency:
>                 1) de.kqv.ec.tarif:tarif-freundschaftswerbung-businesslogic-ejb:ejb:1.0
>                 2) de.kqv.ec.tarif:tarif-freundschaftswerbung-businesslogic:jar:1.0
> If I remove the source plugin all workes fine. There is no possible workaround know. A solution could be to remove the "execute phase" of the plugin. I cant
> imagine that somebody use the goal standalone. I thing its a general Maven design problem.
> Forking a phase sould only be executed if the goal is running standalone. But I´m not the expert.
> Greetings Sandro

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