Hi,
In order to save your fingers :-), you can use -DskipTests (with surefire 2.4)
This will compile test classes but not execute units.

--
Olivier

2008/1/28, Steinar Bang <[EMAIL PROTECTED]>:
> >>>>> "Olivier Lamy" <[EMAIL PROTECTED]>:
>
> >     * [MJAR-90] - when maven.test.Skip is set, the test-jar artifact is 
> > empty
>
> The fix is to make no test-jar on maven.test.skip.
>
> This fix may have created a new bug, but I'm unsure of which plugin has
> the bug (ie. what plugin to report it on).  Is it maven-surefire-plugin
> or maven-dependency-plugin=
>
> I cleaned up my repo today to build our project from scratch.  And then
> it failed on "mvn clean install -Dmaven.test.skip" on dependencies with
>       <scope>test</scope>
>       <type>test-jar</type>
>
> The reason they failed are because the test-jar files are no longer
> present.  But since they have <scope>test</scope> they shouldn't be
> resolved with "-Dmaven.test.skip".  Or at least I think they shouldn't.
>
> (we have some test cross dependencies, that makes it neccessary to run
> through with maven.test.skip before we run with tests)
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

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

Reply via email to