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 < [email protected]> 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: [email protected] > For additional commands, e-mail: [email protected] > -- "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
