> Would this be more or less work than actually changing
> the POM and necessary plugins?
> 
> <dependency>
>    <groupId>foo</groupId>
>    <artifactId>bar</artifactId>
>    <type>jar</type>
>    <version>1.2</version>
>    <properties>
>       
> <maven.dependency.type>runtime|compile|test</maven.dependency.type>
>    </properties>
> <dependency>
> 
> I think runtime should be the default property if none is specified.

+1.

This is exactly how it should work. It will avoid having to retrofit huge
amounts of project files. Plus, this is sort of the point of having a
properties section.

One other thing, if you are going into the dependency code: the clean goal
should ignore .all. dependencies. It would be nice if there were a way to
tell a goal to ignore dependencies, but so clean has been the only one that
needed it.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to