You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Kelly Sonderegger <ks...@novell.com> on 2003/10/29 18:04:19 UTC

how do I jar without testing...

Sorry to bother the list with this but I can't seen to find a way to
shut off unit testing so I can just jar up a file.

I commented out the unitTest directives and it still executed the unit
test.

thanks,
Kelly Sonderegger

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


Re: how do I jar without testing...

Posted by __matthewHawthorne <ma...@phreaker.net>.
Try adding -Dmaven.test.skip=true to your command line.

This info is located at:
http://maven.apache.org/reference/plugins/test/properties.html




Kelly Sonderegger wrote:
> Sorry to bother the list with this but I can't seen to find a way to
> shut off unit testing so I can just jar up a file.
> 
> I commented out the unitTest directives and it still executed the unit
> test.
> 
> thanks,
> Kelly Sonderegger



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


Re: how do I jar without testing...

Posted by di...@multitask.com.au.
You could always try making the unit tests work.
--
dIon Gillard, Multitask Consulting
Blog:      http://blogs.codehaus.org/people/dion/
Pub Key:http://blogs.codehaus.org/people/dion/public-key.asc


Konstantin Shaposhnikov <k8...@tut.by> wrote on 30/10/2003 04:28:06 AM:

> Try
> 
> maven -Dmaven.test.skip=true jar:jar
> 
> 
> Kelly Sonderegger wrote:
> 
> > Sorry to bother the list with this but I can't seen to find a way to
> > shut off unit testing so I can just jar up a file.
> > 
> > I commented out the unitTest directives and it still executed the unit
> > test.
> > 
> > thanks,
> > Kelly Sonderegger
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> > 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 


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


Re: how do I jar without testing...

Posted by Konstantin Shaposhnikov <k8...@tut.by>.
Try

maven -Dmaven.test.skip=true jar:jar


Kelly Sonderegger wrote:

> Sorry to bother the list with this but I can't seen to find a way to
> shut off unit testing so I can just jar up a file.
> 
> I commented out the unitTest directives and it still executed the unit
> test.
> 
> thanks,
> Kelly Sonderegger
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 



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


RE: how do I jar without testing...

Posted by Eric Pugh <ep...@upstate.com>.
-Dmaven.test.skip=true   But a dangerous idea :-)

> -----Original Message-----
> From: Kelly Sonderegger [mailto:ksondere@novell.com]
> Sent: Wednesday, October 29, 2003 6:04 PM
> To: users@maven.apache.org
> Subject: how do I jar without testing...
> 
> 
> Sorry to bother the list with this but I can't seen to find a way to
> shut off unit testing so I can just jar up a file.
> 
> I commented out the unitTest directives and it still executed the unit
> test.
> 
> thanks,
> Kelly Sonderegger
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org

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