Message:
The following issue has been closed.
Resolver: Vincent Massol
Date: Sat, 8 Nov 2003 6:09 AM
Fixed in Cactus CVS. See
http://jakarta.apache.org/cactus/integration/maven/changes-report.html
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-1000
Here is an overview of the issue:
---------------------------------------------------------------------
Key: MAVEN-1000
Summary: cactus:report doesn't depend on cactus:test
Type: Bug
Status: Closed
Priority: Major
Resolution: FIXED
Time Spent: Unknown
Remaining: Unknown
Project: maven
Components:
plugin-cactus
Versions:
1.0-rc1
Assignee: Vincent Massol
Reporter: Daniel Rabe
Created: Mon, 3 Nov 2003 5:42 PM
Updated: Sat, 8 Nov 2003 6:09 AM
Environment: Windows XP
Description:
For most maven plugins, I can just register the plug-in in my maven.xml, and the
plugin will execute.
With the cactus plugin, I added the plugin to maven.xml:
<postGoal name="xdoc:register-reports">
...
<attainGoal name="maven-cactus-plugin:register"/>
</postGoal>
...and added the report to project.xml:
<reports>
...
<report>maven-cactus-plugin</report>
</reports>
When I run maven site:generate, it does NOT run cactus:test. It does try to run
cactus:report, and fails (can't find TESTS-TestSuites-Cactus.xml).
I tried to work around the issue by adding the following to maven.xml:
<preGoal name="cactus:report">
<attainGoal name="cactus:test"/>
</preGoal>
However, when I do this, it seems like cactus is never able to start Tomcat ("Failed
to start the container after more than [180000] ms.") - very bizarre.
My current workaround is to make sure I add a cactus:test to my list of goals:
maven clean cactus:test site:generate
However, when I do that, many of the goals are executed more than once, for example
java:compile, test:compile and test:test!
---------------------------------------------------------------------
JIRA INFORMATION:
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
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]