The following comment has been added to this issue:
Author: Vincent Massol
Created: Thu, 22 Apr 2004 4:26 AM
Body:
We cannot penalize users that are not using the multiproject plugin! Imagine all
exciting projects that suddenly do not work because they have not set this
multiproject property!
Also, you have to realize that this multiproject type property is a hack. It is
temporary and will be removed after Maven 1.0 is released. If you use Maven from CVS
HEAD (i.e. 1.1-SNAPSHOT), there is already a new <type> tag that you can use in your
POM to define the type of your project. CVS HEAD it has all the bug fixes till Maven
rc2 (but not the recent ones from rc3 - They will be merged very soon now).
What don't you like with the solution I've proposed in my previous answer? It's not
very complex I think.
---------------------------------------------------------------------
View this comment:
http://issues.apache.org/jira/browse/CACTUS-102?page=comments#action_35204
---------------------------------------------------------------------
View the issue:
http://issues.apache.org/jira/browse/CACTUS-102
Here is an overview of the issue:
---------------------------------------------------------------------
Key: CACTUS-102
Summary: support for maven multiproject plugin
Type: Improvement
Status: Open
Priority: Minor
Project: Cactus
Components:
Maven Integration
Fix Fors:
1.6
Assignee: Vincent Massol
Reporter: nicolas de loof
Created: Wed, 21 Apr 2004 9:13 AM
Updated: Thu, 22 Apr 2004 4:26 AM
Environment: maven multiproject
Description:
Hi guys,
Here's a proposal for a new goal on multiproject plugin. It allows to run cactus tests
on all sub-projects of "war"
type, the same way junit tests can be run.
I use it from cruisecontrol scripts to update, compile and test my app (having 3 web
modules and 4 jars).
Nico.
<!--====================================================================-->
<!-- Ex�cute les test Cactus sur tous les sous-projects de type "war" -->
<!--====================================================================-->
<goal name="multiproject:cactus">
<maven:reactor basedir="${maven.multiproject.basedir}"
includes="${maven.multiproject.includes}"
excludes="${maven.multiproject.excludes}"
postProcessing="true"
ignoreFailures="${maven.multiproject.ignoreFailures}" />
<j:forEach var="reactorProject" items="${reactorProjects}">
<j:set
var="type"
value="${reactorProject.getContext().getVariable('maven.multiproject.type')}"/>
<j:if test="${type == 'war'}">
<ant:echo>----------------------------------------------------</ant:echo>
<ant:echo>Running cactus test for ${reactorProject.artifactId}</ant:echo>
<ant:echo>----------------------------------------------------</ant:echo>
<maven:maven
descriptor="${basedir}/../${reactorProject.artifactId}/project.xml"
goals="cactus"
ignoreFailures="${maven.multiproject.ignoreFailures}" />
</j:if>
</j:forEach>
</goal>
---------------------------------------------------------------------
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]