User Tools

Site Tools


technical_notes:public:maven-execute-main-from-test-package

Parent

Maven - Execute main from test package

Use the following exemple :

mvn clean test-compile exec:java -Dexec.mainClass=package.myclass -Dexec.classpathScope=test
technical_notes/public/maven-execute-main-from-test-package.txt · Last modified: 2015/03/10 11:20 by Fabien Arcellier