maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff MAURY <jeffma...@jeffmaury.com>
Subject Re: test-jar classifier
Date Thu, 25 Aug 2011 09:48:04 GMT
Look at the jar plugin documentation. The jar:test-jar goal does not support
classifier, as jar:jar.

Regards
Jeff MAURY

On Thu, Aug 25, 2011 at 11:00 AM, Adrien Ruffie - Petals Link <
adrien.ruffie@petalslink.com> wrote:

> Hello, I have specify a <classifier> example "bdd"
> for my project, so when I execute mvn package,
> I can found myproject-Version-**Myclassifier.jar
> Into .m2
>
> [INFO] Building
> jar: /home/aruffie/Workspace/**Product/acceptance/petals-bc-**
> mail/target/myproject-3.2-**SNAPSHOT-bdd.jar
> [INFO] [jar:test-jar {execution: default}]
> [WARNING] JAR will be empty - no content was marked for inclusion!
> [INFO] Building
> jar: /home/aruffie/Workspace/**Product/acceptance/petals-bc-**
> mail/target/myproject-3.2-**SNAPSHOT-tests.jar
>
> But the tests.jar has always -tests.jar but not -bdd-tests.jar ...
>
> Does  anyone has  an  idea?
>
> Thank,
>
> Adrien
>
>
> --
> Adrien Ruffié
> - Ingénieur de recherches et développements
> - Scrum Team member
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>



-- 
"Legacy code" often differs from its suggested alternative by actually
working and scaling.
 - Bjarne Stroustrup

http://www.jeffmaury.com
http://riadiscuss.jeffmaury.com
http://www.twitter.com/jeffmaury

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