You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Laird Nelson <lj...@gmail.com> on 2012/08/02 21:49:12 UTC

maven-assembly-plugin and dependencySet includes format

The Sonatype book says that an include element in the assembly descriptor
may be groupId:artifactId:classifier:type (
http://www.sonatype.com/books/mvnref-book/reference/assemblies-sect-controlling-contents.html).
 It may of course be other things as well.

The maven-assembly-plugin documentation says that this include element can
be groupId:artifactId:type:version[:classifier] (
http://maven.apache.org/plugins/maven-assembly-plugin/assembly.html#class_dependencySet
).

Which is it?

Best,
Laird

-- 
http://about.me/lairdnelson

Re: maven-assembly-plugin and dependencySet includes format

Posted by Laird Nelson <lj...@gmail.com>.
On Thu, Aug 2, 2012 at 1:35 PM, Anders Hammar <an...@hammar.net> wrote:

> Please file a JIRA ticket [1] for the plugin's documentation to be fixed!
>

Done: http://jira.codehaus.org/browse/MASSEMBLY-620

Best,
Laird

-- 
http://about.me/lairdnelson

Re: maven-assembly-plugin and dependencySet includes format

Posted by Anders Hammar <an...@hammar.net>.
Please file a JIRA ticket [1] for the plugin's documentation to be fixed!

For the Sonatype book, the source is in GitHub [2] so you can clone
and fix it yourself. And then send a pull request.

/Anders

[1] http://jira.codehaus.org/browse/MASSEMBLY

[2] https://github.com/sonatype/maven-reference-en

On Thu, Aug 2, 2012 at 10:20 PM, Laird Nelson <lj...@gmail.com> wrote:
> On Thu, Aug 2, 2012 at 12:49 PM, Laird Nelson <lj...@gmail.com> wrote:
>
>> Which is it?
>>
>
> The format that works is none of these (!).  In fact in version 2.3 of the
> maven-assembly-plugin it needs to be:
>
> groupId:artifactId:type:classifier[:version]
>
>
> So, for example:
>
> org.liquibase:liquibase-core:zip:bin:2.0.1
>
>
> Best,
> Laird
>
> --
> http://about.me/lairdnelson

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


Re: maven-assembly-plugin and dependencySet includes format

Posted by Laird Nelson <lj...@gmail.com>.
On Thu, Aug 2, 2012 at 12:49 PM, Laird Nelson <lj...@gmail.com> wrote:

> Which is it?
>

The format that works is none of these (!).  In fact in version 2.3 of the
maven-assembly-plugin it needs to be:

groupId:artifactId:type:classifier[:version]


So, for example:

org.liquibase:liquibase-core:zip:bin:2.0.1


Best,
Laird

-- 
http://about.me/lairdnelson