Hi,

<plugin>
       <groupId>org.apache.maven.plugins</groupId>
       <artifactId>maven-surefire-plugin</artifactId>
       <configuration>
         <skip>${unittests.skip}</skip>
         <testFailureIgnore>true</testFailureIgnore>
       </configuration>
</plugin>

I think testFailureIgnore is what you need.

++


RobJac a écrit :
I have a src/main and src/test folders in my project. All the Test classes
will not pass if i execute them. But I still would want package my project
even if my Test  does not execute . When i run "mvn package" command, it
tries to execute my test which fails and will not allow me to create a jar.
Is there a way i can over ride this so that i can package atleast the files
under my src/main folder?

Thanks in advance.
Robin
--
View this message in context: 
http://www.nabble.com/Need-to-Package-w-o-executing-Test-t1438538.html#a3883045
Sent from the Maven - Users forum at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


--

_________________________________________________________________________

Julien HENRY | **Capgemini Sud **| Nice

www.fr.capgemini.com <http://www.capgemini.com/>

Porte de l’Arénas – Entrée B | 455 Promenade des Anglais | 06200 Nice

**Join the Collaborative Business Experience**** **
_________________________________________________________________________


This message contains information that may be privileged or confidential and is 
the property of the Capgemini Group. It is intended only for the person to whom 
it is addressed. If you are not the intended recipient,  you are not authorized 
to read, print, retain, copy, disseminate,  distribute, or use this message or 
any part thereof. If you receive this  message in error, please notify the 
sender immediately and delete all  copies of this message.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to