[ http://issues.apache.org/jira/browse/CACTUS-132?page=history ]
Nicolas Chalumeau updated CACTUS-132: ------------------------------------- Attachment: CACTUS-132-nchalumeau.patch Add the global patch. The following properties are add : # (optional). List of resources label to include in the war classpath cactus.resources.dirs= # (optional). Label directory to include in the war classpath #cactus.resources.X.dir=src/main/resources # (optional). Regular expression for the label X that file have to match to be include in the war classpath. by default **/* #cactus.resources.X.includes=**.xml,**.dtd # (optional). Regular expression for the label X that file have to match to be exclude in the war classpath. by default none #cactus.resources.X.excludes= The includes/excludes regexp work and allow "recursive" includes by default. test follow > Allow cactus plugin to include some resources > --------------------------------------------- > > Key: CACTUS-132 > URL: http://issues.apache.org/jira/browse/CACTUS-132 > Project: Cactus > Type: New Feature > Components: Maven Integration > Reporter: Nicolas Chalumeau > Assignee: Felipe Leme > Priority: Minor > Attachments: CACTUS-132-felipeal.patch, CACTUS-132-felipeal.patch2, > CACTUS-132-nchalumeau.patch, changes.xml.diff, plugin.jelly.diff, > plugin.properties.diff, project.xml.diff, properties.xml.diff, webjar.zip > > 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). -- 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]