maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephen Connolly <stephen.alan.conno...@gmail.com>
Subject Re: -Dmaven.test.skip=true && jar:test-jar
Date Fri, 03 Sep 2010 09:26:55 GMT
-DskipTests only skips running the tests not building the test-jar

On 3 September 2010 09:58, Andrew Hughes <ahhughes@gmail.com> wrote:

> Hi Guys,
>
> The problem is not that we're skipping the tests. I really don't want to
> run
> the tests... but I do want the jar:test-jar to still run and build...
> moduleA-0.0.0-test.jar so that other module <dependencies> still resolve
> this.
>
>
> On Fri, Sep 3, 2010 at 5:08 PM, Stephen Connolly <
> stephen.alan.connolly@gmail.com> wrote:
>
> > and you don't need the =true for -DskipTests
> >
> > On 3 September 2010 08:17, Barrie Treloar <baerrach@gmail.com> wrote:
> >
> > > On Fri, Sep 3, 2010 at 4:15 PM, Stephen Connolly
> > > <stephen.alan.connolly@gmail.com> wrote:
> > > > just use "-DskipTests" as that will skip running the tests but not
> > > compiling
> > > > or packaging them... oh and it's shorter than its alias
> > > > "-Dmaven.skip.test.exec=true" as well as the bigger skip that you are
> > > using
> > > > "-Dmaven.skip.test=true"
> > >
> > > Whoops.
> > > If I had read our internal wiki with this help hints I would have read:
> > >
> > > Skip Running Tests
> > >  Run maven with -DskipTests=true, e.g.:
> > >    mvn install -DskipTests=true
> > >  (Dont use maven.test.skip as this doesn't generate the test-jar)
> > >
> > > Apologies.
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > For additional commands, e-mail: users-help@maven.apache.org
> > >
> > >
> >
>

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