Issue Details (XML | Word | Printable)

Key: MPMULTIPROJECT-4
Type: Improvement Improvement
Status: Open Open
Priority: Minor Minor
Assignee: Unassigned
Reporter: Sean Timm
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Maven 1.x Multi-Project Plugin

Provide the ability to ignore a particular project via the project.properties for that project

Created: 29/Oct/03 05:43 PM   Updated: 30/Nov/03 09:29 PM
Return to search
Component/s: None
Affects Version/s: None
Fix Version/s: None

Time Tracking:
Not Specified


 Description  « Hide

Multiproject currently allows exclusion of projects via maven.multiproject.excludes, but this approach requires constant upkeep of the multiproject parent. I'd like to be able to specify a property that would tell multiproject to ignore a given project. This brings the responsibility of whether or not multiproject should process a project down to the project level.

Perhaps maven.multiproject.type could accept a "none" or "ignore" value?



dion gillard added a comment - 09/Nov/03 10:20 AM

A bit more detail. I don't get it.


dion gillard made changes - 09/Nov/03 10:20 AM
Field Original Value New Value
Fix Version/s 1.1 [ 10211 ]
Sean Timm added a comment - 10/Nov/03 02:06 PM

The problem is that certain goals don't make sense for any given project. For example, I've got a project that exists solely for the purpose of deploying to JBoss using pre-built components generated by other projects, so in this case, the jar:jar goal makes no sense (and ends up generating a junk .jar file that is of no use to anyone). This issue can be more more generalized to say that I should be able to specify goals that do or do not make sense for a given project, and multiproject will make sure to ignore that particular project if the particular goal it is attempting to run is excluded (for that project). Does that help?


Jason van Zyl made changes - 30/Nov/03 09:29 PM
Project maven [ 10030 ] maven-multiproject-plugin [ 10349 ]
Fix Version/s 1.1 [ 10211 ]
Component/s plugin-multiproject [ 10353 ]
Affects Version/s 1.0-rc1 [ 10181 ]
Key MAVEN-985 MPMULTIPROJECT-4