-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Mac,
Do you want them enabled when simply running maven or in (for example) surefire? To enable when running maven, you should be able to use the environment variable MAVEN_OPTS and set it to include '-ea' (without the quotes) For enabling (for example) surefire, see [1], which has a little info about assertions. Cheers, Johan [1] http://maven.apache.org/plugins/maven-surefire-plugin/examples/forking.html Mac81 wrote: > Hello, > > can anyone tell me how to enable assertions in java with maven? > > Thanks, > Mac - -- you too? -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGFNC41Tv8wj7aQ34RAhjsAJ43AAEJzqrI2UDxLjP3Y0032aSm1gCeI99v qRo+VAVsYsb1zK7/3kTZy88= =gice -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
