Hi Nicolas,

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> trelaze.com]
> Sent: mercredi 28 juillet 2004 10:37
> To: [EMAIL PROTECTED]
> Subject: Re: [jira] Commented: (CACTUS-132) Allow cactus plugin to include
> some resources
> 
> Ok pas de probleme. Do you want I modify one of the samples application to
> illustrate that UC or is there a better way to do some test case in the
> maven plugin.

It's hard to write unit tests for maven plugins. I'm not sure what we can do
to test your new feature (resource copying). We could of course modify one
of the existing sample so that it does some resource copying but I can't
think of a valid use case that would also be meaningful as an example.

Thanks
-Vincent

> 
> Nicolas
> 
> 
> 
> 
> 
> [EMAIL PROTECTED]
> 27/07/2004 20:40
> 
> 
>         Pour :  [EMAIL PROTECTED]
>         cc :
>         Objet : [jira] Commented: (CACTUS-132) Allow cactus plugin to
> include some
> resources
> 
> 
> The following comment has been added to this issue:
> 
>      Author: Vincent Massol
>     Created: Tue, 27 Jul 2004 11:40 AM
>        Body:
> Cool. Thanks Nicolas. Could you please also add the associated changes for
> properties.xml, changes.xml and plugin.properties? (and also mabye for
> project.xml to add you as a contributor :-))?
> ---------------------------------------------------------------------
> View this comment:
>   http://issues.apache.org/jira/browse/CACTUS-
> 132?page=comments#action_36900
> 
> ---------------------------------------------------------------------
> View the issue:
>   http://issues.apache.org/jira/browse/CACTUS-132
> 
> Here is an overview of the issue:
> ---------------------------------------------------------------------
>         Key: CACTUS-132
>     Summary: Allow cactus plugin to include some resources
>        Type: New Feature
> 
>      Status: Unassigned
>    Priority: Minor
> 
>     Project: Cactus
>  Components:
>              Maven Integration
> 
>    Assignee:
>    Reporter: Nicolas Chalumeau
> 
>     Created: Tue, 20 Jul 2004 5:18 AM
>     Updated: Tue, 27 Jul 2004 11:40 AM
> 
> Description:
> In a project I produce a jar artifact. I have a webapp in my
> src/test/webapp directory. I need to include some resources in the war for
> the cactus test as junit does.
> 
> As Vincent answers me :
> > Is there a way to include build resources and test resources in the
> > webapp during a cactus test ?
> 
> ... I guess the Cactus
> plugin could copy some resources. However, the resources that Cactus would
> copy (during the cactifywar step) would need to be defined as properties
> (and not in the POM as there's not way currently to extend the POM and I
> think we shouldn't reuse the junit resources which are for pure JUnit
> tests).
> 
> 
> 
> ---------------------------------------------------------------------
> JIRA INFORMATION:
> This message is automatically generated by JIRA.
> 
> If you think it was sent incorrectly contact one of the administrators:
>    http://issues.apache.org/jira/secure/Administrators.jspa
> 
> If you want more information on JIRA, or have a bug to report see:
>    http://www.atlassian.com/software/jira
> 
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to