On 8/18/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Try the Surefire plugin's how to use page: http://maven.apache.org/plugins/maven-surefire-plugin/howto.html
So I can put the following in my pom.xml: <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <configuration> <skip>true</skip> </configuration> </plugin> But can I put it in my settings.xml? If so, how? Matt
G -----Original Message----- From: Matt Raible [mailto:[EMAIL PROTECTED] Sent: 18 August 2006 16:18 To: Maven Users List Subject: [m2] maven.test.skip=true on by default? In Maven 1, it was possible to turn off tests by creating a build.properties and adding maven.test.skip=true. I want to do something similar (don't worry, only temporarily) for Maven 2. I tried creating a ~/.m2/settings.xml with the following, but it doesn't seem to work. <settings> <profiles> <profile> <id>skip.tests</id> <properties> <name>maven.test.skip</name> <value>true</value> </properties> </profile> </profiles> <activeProfiles> <activeProfile>skip.tests</activeProfile> </activeProfiles> </settings> On a related note, is it possible to create a setting that sets up "offline mode" permanently w/o typing -o? Thanks, Matt --------------------------------------------------------------------- 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]