I have updated the Maven2 build to support embedded Derby and HSQLDB. To facilitate this, Maven2 has more or less forced me to make wider use of profiles. This will not matter to many of you other than forcing you to update your settings.xml configuration file.

*Please copy the <activeProfiles> configuration from settings.xml.sample into your ~/.m2/settings.xml file.
*
Here are some other notes, (assumes maven 2.0.2 installed and in your path):

To build: '/mvn/'
To build and run tests: '/mvn -P test/' or '/mvn -Dmaven.skip.test=false/'
To run a single test: '/mvn -P test -Dtest=MyJavaTestFileNameWithOutPathOrExtension/'
To build and deploy to tomcat: '/mvn -P tomcat/'

If you want to use embedded Derby or HSQLDB, see settings.xml.sample. Make sure you not only update the properties accordingly, but also select the appropriate active profiles configuration.

Randy


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

Reply via email to