You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Arnaud Bailly <ab...@norsys.fr> on 2005/12/10 23:57:14 UTC
Re: Building without unit tests
Hi,
In Maven2, this is done by configuring the surefire plugin:
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<testFailureIgnore>true</testFailureIgnore>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
Hope it helps.
--
Arnaud Bailly - Ingénieur de Recherche
NORSYS
1, rue de la Cense des Raines
ZAC du Moulin
59710 ENNEVELIN
Tel : (33) 3 28 76 56 76
Fax : (33) 3 28 76 57 00
Web : http://www.norsys.fr
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Building without unit tests
Posted by Brill Pappin <jo...@gmail.com>.
I'm not sure it does to the exact same thing but if they feature is
removed without replacement I'll be complaining very loudly :)
So far I'm finding the new POM a little heavy and not as easy to use
as the old maven.xml file, but the functionality is still there for
the most part.
- Brill Pappin
On 12/12/05, Arnaud Bailly <ab...@norsys.fr> wrote:
> Think you are right of course. I didn't know the old behavior of
> Maven1.x was preserved in Maven 2.0
Re: Building without unit tests
Posted by Arnaud Bailly <ab...@norsys.fr>.
Brill Pappin wrote:
> wouldn't that cause the tests to never fail the build?
> I think what he wants is to be able to easily switch the tests off.
>
> I do this myself when I'm working on UI stuff that the tests don't
> check and I don't want to have to run though all the tests simply to
> deploy a new HTML file.
>
>
> - Brill Pappin
>
Think you are right of course. I didn't know the old behavior of
Maven1.x was preserved in Maven 2.0
Regards
--
Arnaud Bailly - Ingénieur de Recherche
NORSYS
1, rue de la Cense des Raines
ZAC du Moulin
59710 ENNEVELIN
Tel : (33) 3 28 76 56 76
Fax : (33) 3 28 76 57 00
Web : http://www.norsys.fr
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Building without unit tests
Posted by Brill Pappin <jo...@gmail.com>.
wouldn't that cause the tests to never fail the build?
I think what he wants is to be able to easily switch the tests off.
I do this myself when I'm working on UI stuff that the tests don't
check and I don't want to have to run though all the tests simply to
deploy a new HTML file.
- Brill Pappin
On 12/10/05, Arnaud Bailly <ab...@norsys.fr> wrote:
> Hi,
> In Maven2, this is done by configuring the surefire plugin:
>
> <build>
> <pluginManagement>
> <plugins>
> <plugin>
> <groupId>org.apache.maven.plugins</groupId>
> <artifactId>maven-surefire-plugin</artifactId>
> <configuration>
> <testFailureIgnore>true</testFailureIgnore>
> </configuration>
> </plugin>
> </plugins>
> </pluginManagement>
> </build>
>
> Hope it helps.
>
> --
> Arnaud Bailly - Ingénieur de Recherche
> NORSYS
> 1, rue de la Cense des Raines
> ZAC du Moulin
> 59710 ENNEVELIN
> Tel : (33) 3 28 76 56 76
> Fax : (33) 3 28 76 57 00
> Web : http://www.norsys.fr
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>