Starting from 2021-07-01, all LRZ GitLab users will be required to explicitly accept the GitLab Terms of Service. Please see the detailed information at https://doku.lrz.de/display/PUBLIC/GitLab and make sure that your projects conform to the requirements.

Commit a13642ed authored by Benedikt Zoennchen's avatar Benedikt Zoennchen
Browse files

change location of the logger, add the possibilty to run a java main method during a maven phase

parent a6de409d
......@@ -36,6 +36,27 @@
</testResource>
</testResources>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>1.2.1</version>
<executions>
<execution>
<phase>prepare-package</phase>
<goals>
<goal>java</goal>
</goals>
</execution>
</executions>
<configuration>
<mainClass>org.vadere.gui.compileScripts.ClassListGenerator</mainClass>
<arguments>
<argument>foo</argument>
<argument>bar</argument>
</arguments>
</configuration>
</plugin>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.0</version>
......
package org.vadere.gui.compileScripts;
import org.apache.log4j.LogManager;
import org.apache.log4j.Logger;
/**
* @author Benedikt Zoennchen
*
* Example: This script runs during the maven package phase.
*/
public class ClassListGenerator {
private static Logger log = LogManager.getLogger(ClassListGenerator.class);
public static void main(String... args) {
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment