You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Brett Porter (JIRA)" <ji...@codehaus.org> on 2005/06/11 07:38:42 UTC
[jira] Moved: (MAVEN-1620) Setting a plugin property in a goal fails
[ http://jira.codehaus.org/browse/MAVEN-1620?page=all ]
Brett Porter moved MJT-4 to MAVEN-1620:
---------------------------------------
Component: core
Key: MAVEN-1620 (was: MJT-4)
Project: maven (was: maven-jelly-tags)
> Setting a plugin property in a goal fails
> -----------------------------------------
>
> Key: MAVEN-1620
> URL: http://jira.codehaus.org/browse/MAVEN-1620
> Project: maven
> Type: Bug
> Components: core
> Reporter: Nico De Groote
>
>
> Setting a plugin property within a goal before attaining a goal for that plugin fails.
> Whenever it is put in a Pregoal it does work correctly.
> See the exmample here:
> <?xml version="1.0" encoding="UTF-8"?>
> <project xmlns:c="jelly:core" xmlns:u="jelly:util" xmlns:m="jelly:maven">
> <preGoal name="jar:jar">
> <m:set plugin="maven-jar-plugin"
> property="maven.jar.includes"
> value="**/SomeClass.class"/>
> </preGoal>
>
> <goal name="client-jars">
> <m:set plugin="maven-jar-plugi"
> property="maven.jar.includes"
> value="**/SomeClass.class"/>
> <attainGoal name="jar:jar"/>
> </goal>
> </project>
> Now I want to create several client jar for my application in my client-jars goal. This means I need to be able to set the plugin property several times.
>
--
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
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org