You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Trygve Laugstøl <tr...@apache.org> on 2007/02/01 09:05:37 UTC

Re: svn commit: r501627 - in /maven/plugins/trunk/maven-repository-plugin/src/main/java/org/apache/maven/plugins/repository: BundleCreateMojo.java BundlePackMojo.java

jmcconnell@apache.org wrote:
> Author: jmcconnell
> Date: Tue Jan 30 14:59:27 2007
> New Revision: 501627
> 
> URL: http://svn.apache.org/viewvc?view=rev&rev=501627
> Log:
> added $ back into the expressions, was throwing NPE in the test cases on the jarArchiver

[snip]

>  
>      /**
>       * Jar archiver.
> -     * @parameter expression="{component.org.codehaus.plexus.archiver.Archiver#jar}"
> +     * @parameter expression="${component.org.codehaus.plexus.archiver.Archiver#jar}"
>       * @required
>       * @readonly
>       */


That syntax was deprecated a couple of years ago :)

Use

  @component org.codehaus.plexus.archiver.Archiver#jar

instead

[snip]

--
Trygve

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: svn commit: r501627 - in /maven/plugins/trunk/maven-repository-plugin/src/main/java/org/apache/maven/plugins/repository: BundleCreateMojo.java BundlePackMojo.java

Posted by Brett Porter <br...@apache.org>.
I've cleaned them all up.

On 01/02/2007, at 7:05 PM, Trygve Laugstøl wrote:

> jmcconnell@apache.org wrote:
>> Author: jmcconnell
>> Date: Tue Jan 30 14:59:27 2007
>> New Revision: 501627
>> URL: http://svn.apache.org/viewvc?view=rev&rev=501627
>> Log:
>> added $ back into the expressions, was throwing NPE in the test  
>> cases on the jarArchiver
>
> [snip]
>
>>       /**
>>       * Jar archiver.
>> -     * @parameter  
>> expression="{component.org.codehaus.plexus.archiver.Archiver#jar}"
>> +     * @parameter expression="$ 
>> {component.org.codehaus.plexus.archiver.Archiver#jar}"
>>       * @required
>>       * @readonly
>>       */
>
>
> That syntax was deprecated a couple of years ago :)
>
> Use
>
>  @component org.codehaus.plexus.archiver.Archiver#jar
>
> instead
>
> [snip]
>
> --
> Trygve
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org