Browse Source

feat: test with build args

master
QuentinN42 9 months ago
parent
commit
aeec9e4564
Signed by: number42 GPG Key ID: 2CD7D563712B3A50
  1. 19
      pom.xml
  2. 4
      src/main/java/com/project/Main.java

19
pom.xml

@ -18,4 +18,21 @@
<version>1.2.17</version>
</dependency>
</dependencies>
</project>
<build>
<plugins>
<plugin>
<!-- Build an executable JAR -->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>3.1.0</version>
<configuration>
<archive>
<manifest>
<mainClass>com.project.Main</mainClass>
</manifest>
</archive>
</configuration>
</plugin>
</plugins>
</build>
</project>

4
src/main/java/com/project/App.java → src/main/java/com/project/Main.java

@ -2,9 +2,9 @@ package com.project;
import org.apache.log4j.Logger;
public class App
public class Main
{
static Logger log = Logger.getLogger(App.class.getName());
static Logger log = Logger.getLogger("Main");
public static void main( String[] args )
{
Loading…
Cancel
Save