| | |
| | | Use maven from the command line: |
| | | mvn exec:java -Dexec.mainClass="com.ximple.eofms.XQuartzJobCarrier" |
| | | --> |
| | | <artifactId>exec-maven-plugin</artifactId> |
| | | <groupId>org.codehaus.mojo</groupId> |
| | | <!-- |
| | | <artifactId>exec-maven-plugin</artifactId> |
| | | <version>1.1.1</version> |
| | | <executions> |
| | | <execution> |
| | | <phase>package</phase> |
| | | <!--<phase>package</phase> --> |
| | | <goals> |
| | | <goal>run</goal> |
| | | <goal>java</goal> |
| | | </goals> |
| | | </execution> |
| | | </executions> |
| | | --> |
| | | <configuration> |
| | | <mainClass>com.ximple.eofms.XQuartzJobCarrier</mainClass> |
| | | <!-- |
| | | <commandlineArgs>-wizard</commandlineArgs> |
| | | <commandlineArgs>-Dlog4j.configuration=log4j.properties</commandlineArgs> |
| | | --> |
| | | <systemProperties> |
| | | <systemProperty> |
| | | <key>log4j.configuration</key> |
| | | <value>log4j.properties</value> |
| | | </systemProperty> |
| | | </systemProperties> |
| | | </configuration> |
| | | <!-- |
| | | <dependencies> |
| | |
| | | --> |
| | | <resource> |
| | | <directory>src/main/resources</directory> |
| | | <!-- |
| | | <includes> |
| | | <include>log4j.properties</include> |
| | | <include>quartz.properties</include> |
| | | <include>quartz_jobs.xml</include> |
| | | </includes> |
| | | --> |
| | | <!-- |
| | | <excludes> |
| | | <exclude>log4j.properties</exclude> |
| | | <exclude>quartz_jobs.xml</exclude> |
| | | </excludes> |
| | | --> |
| | | <!-- |
| | | <excludes> |
| | | <exclude>XQuartzJobWizard*.properties</exclude> |