maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Igor Zapletnev <igor.zaplet...@gmail.com>
Subject Re: Assemply plug-in: useProjectArtifact flag
Date Fri, 12 Jul 2013 17:35:06 GMT
Or any other way build jar file that includes one specified dependency and
project artifact


On Thu, Jul 11, 2013 at 11:19 PM, Igor Zapletnev
<igor.zapletnev@gmail.com>wrote:

> I want to include just one artifact from the dependencies in the the
> result jar, so my assembly descriptor:
>
> <dependencySet>
>   <outputDirectory>/</outputDirectory>
>     <includes>
>       <include>org.example:test:zip:1.0.0</include>
>     </includes>
> </dependencySet>
>
> In the result jar I am able to see only example-test.zip artifact, no
> project artifact. Looks like useProjectArtifact doesn't work (default
> value is true).
>
> Also I have tried to add project artifact in dependencySet but still have
> no success with it.
>
> Please share your throughs on this.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message