On Apr 2, 2008, at 2:10 PM, Siarhei Dudzin wrote:

or 'mvn install -Dmaven.test.skip=true'

Siarhei

As a short cut to the above solution we have the following in our pom.xml. It lets us do:

mvn -Dskiptest install

Which is a minor improvement in terms of typing.

        <profile>
            <id>skiptest</id>
            <activation>
                <property>
                    <name>skiptest</name>
                </property>
            </activation>
            <!--            <properties>
               <maven.compiler.debug>true</maven.compiler.debug>
           </properties> -->
            <build>
                <plugins>
                    <plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-surefire-plugin</artifactId>
                        <configuration>
                            <skip>true</skip>
                        </configuration>
                    </plugin>
                </plugins>
            </build>
        </profile>




On Wed, Apr 2, 2008 at 7:34 PM, Mick Knutson <[EMAIL PROTECTED]> wrote:

In your surefire plugin:

<testFailureIgnore>true</testFailureIgnore>

On Wed, Apr 2, 2008 at 10:25 AM, Sommers, Elizabeth <
[EMAIL PROTECTED]>
wrote:


Is there any way to do this? And, yes, I know that it is a bad thing to
do but I need to attach some artifacts whether or not the tests have
failed.

Liz Sommers
[EMAIL PROTECTED]


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




--
Thanks,
Mick Knutson

http://www.baselogic.com
http://www.blincmagazine.com
http://www.linkedin.com/in/mickknutson
http://www.djmick.com
http://www.myspace.com/mickknutson
http://www.myspace.com/BLiNCMagazine
http://tahoe.baselogic.com
---


--
Joshua ChaitinPollak | Software Engineer
Kiva Systems, Inc., 225 Wildwood Ave, Woburn, MA 01970






Reply via email to