Yes you're right. 1.1 is what I'm using internally. I was pretty sure
that 1.0 had the options. I'll make a test case. 

-----Original Message-----
From: John Casey [mailto:[EMAIL PROTECTED] 
Sent: Friday, February 24, 2006 11:34 AM
To: Maven Developers List
Subject: Re: Setting parameters doesn't work with 2.0.3 (was: [vote]
Release Maven 2.0.3)

I just checked out:

https://svn.codehaus.org/mojo/tags/dependency-maven-plugin-1.0

and peeked at both:

CopyDependenciesMojo.java
AbstractFromDependenciesMojo.java

and neither one declares an excludeTransitive parameter. This doesn't
seem to show up until the 1.1-SNAPSHOT code.

-john

Brian E. Fox wrote:
> It looks like all the ones I have in dependency-maven-plugin are like
> this:
>    /**
>      * If we should exclude transitive dependencies
>      * @parameter expression="${excludeTransitive}"
> default-value="false"
>      */
>     private boolean excludeTransitive;
> 
>  The plugin is released, you should be able to test it by doing mvn 
> dependency:copy-dependencies -DexcludeTransitive=true
> 
> -----Original Message-----
> From: John Casey [mailto:[EMAIL PROTECTED]
> Sent: Friday, February 24, 2006 10:54 AM
> To: Maven Developers List
> Subject: Re: Setting parameters doesn't work with 2.0.3 (was: [vote] 
> Release Maven 2.0.3)
> 
> BTW, I should mention that I just verified that a mojo I wrote with a 
> parameter specified as:
> 
> /**
>   * @parameter expression="${drefresh.verbose}" default-value="false"
>   */
> 
> works in a 2.0.3-SNAPSHOT built on Tuesday night, around the same time

> as the RC I referenced in the vote email.
> 
> Thanks,
> 
> John
> 
> Brian E. Fox wrote:
>> I think I'm seeing this same behavior. The cli does work to set
> parameters that activate profiles, but when I tested with my 
> dependency plugin, none of the parameters seem to get injected into
the mojo.
>> -----Original Message-----
>> From: Reinhard Poetz [mailto:[EMAIL PROTECTED]
>> Sent: Friday, February 24, 2006 6:52 AM
>> To: Maven Developers List
>> Subject: Setting parameters doesn't work with 2.0.3 (was: [vote] 
>> Release Maven 2.0.3)
>>
>> John Casey wrote:
>>
>> <snip/>
>>> If you're interested, you can take the current release candidate for

>>> a test drive. The RC tarball is at:
>>>
>>> http://maven.zones.apache.org/~maven/builds/branches/maven-2.0.x/m2-
>>> 2
>>> 0
>>> 060222.031501.tar.gz
>> As I had some problems with Maven 2.0.2 I tried to use this RC. 
>> Unfortunatly it's not possible to set configuration parameters 
>> anymore. I tried to call
>>
>> mvn eclipse:eclipse -Declipse.downloadSources=false
>>
>> which still leads to downloads. Printing the value of downloadSource
> from within the execute() method to the console shows, that the value 
> is always 'true'.
>> Switching back to 2.0.2 made the parameter setting work again.
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED] For 
> additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED] For 
> additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

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



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

Reply via email to