You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Karl Heinz Marbaise <ka...@soebes.de> on 2010/03/26 13:18:35 UTC

Re: assembly and including a test-jar

Hi,

i assume your problem is due to the includes you have defined...


Edderd wrote:
> 
> <include>com.comcast.vodauto:vodmain</include>
> <include>com.comcast.vodauto:vodtest</include>
> 

http://maven.apache.org/plugins/maven-assembly-plugin/examples/single/including-and-excluding-artifacts.html
You could use <include>groupId:artifactId:type:classifier</include> format
to include a particular type...

may be <include>com.comcast.vodauto:vodtest:*:test</include> instead would
help ?

Kind regards
Karl Heinz Marbaise


-- 
View this message in context: http://old.nabble.com/assembly-and-including-a-test-jar-tp27712959p27714192.html
Sent from the Maven - Users mailing list archive at Nabble.com.


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


Re: assembly and including a test-jar

Posted by Ed Young <ej...@summitbid.com>.
Thanks for the reply.

I'm not sure how to select the correct file for inclusion in the assembly,
but I tried many different combinations in the <include> tags:

<include>com.comcast.vodauto:vodtest:*:test</include>
...
<include>com.comcast.vodauto:vodtest:*:test-jar</include>
...

The assembly plugin always includes the wrong file.



On Wed, Feb 24, 2010 at 5:58 AM, Karl Heinz Marbaise <ka...@soebes.de> wrote:

>
> Hi,
>
> i assume your problem is due to the includes you have defined...
>
>
> Edderd wrote:
> >
> > <include>com.comcast.vodauto:vodmain</include>
> > <include>com.comcast.vodauto:vodtest</include>
> >
>
>
> http://maven.apache.org/plugins/maven-assembly-plugin/examples/single/including-and-excluding-artifacts.html
> You could use <include>groupId:artifactId:type:classifier</include> format
> to include a particular type...
>
> may be <include>com.comcast.vodauto:vodtest:*:test</include> instead would
> help ?
>
> Kind regards
> Karl Heinz Marbaise
>
>
> --
> View this message in context:
> http://old.nabble.com/assembly-and-including-a-test-jar-tp27712959p27714192.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>


-- 
- Ed