[ http://jira.codehaus.org/browse/MJT-4?page=comments#action_37935 ]
     
Brett Porter commented on MJT-4:
--------------------------------

(pasted from dev list)

If you fix the typo, does the error persist?

          <m:set plugin="maven-jar-plugi"
                                        ^n

> Setting a plugin property in a goal fails
> -----------------------------------------
>
>          Key: MJT-4
>          URL: http://jira.codehaus.org/browse/MJT-4
>      Project: maven-jelly-tags
>         Type: Bug
>     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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to