[ http://issues.apache.org/jira/browse/CACTUS-132?page=history ]
Nicolas Chalumeau updated CACTUS-132:
-------------------------------------
Attachment: test06.zip
I can't include this in the global patch so this is the zip of the test case.
I find something strange :
- when i am in the test06 dir and i launch cactus:test, the test are okay
- but when i am in maven dir and launch plugin:test, the test fail
In fact i see this before. The reactor seem to use for relative path it use as base
path maven. ie :
When the copy of resource it looks for
.../integration/maven/target/classes/test.properties and not for
.../integration/maven/src/plugin-test/test06/target/classes/test.properties for the
target dir
That's why plugin:test fail. Can't the pluginTest use the maven:maven tag could solve
it ?
Nicolas,
> 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, test06.zip, 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]