Updated with Maven build.

master
Jim Joyce 3 years ago
parent 01369dfcdf
commit fa8c62899e
  1. 25
      pom.xml
  2. 12
      src/main/java/moe/nekojimi/javamaventemplate/Main.java

@ -10,4 +10,29 @@
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
</properties>
<build>
<plugins>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<configuration>
<descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs>
<archive>
<manifest>
<mainClass>moe.nekojimi.javamaventemplate.Main</mainClass>
</manifest>
</archive>
</configuration>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>

@ -3,19 +3,19 @@
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package uk.co.chamsys.javamaventemplate;
package moe.nekojimi.javamaventemplate;
/**
*
* @author jim
*/
public class Main {
public class Main
{
/**
* @param args the command line arguments
*/
public static void main(String[] args) {
// TODO code application logic here
public static void main(String[] args)
{
System.out.println("Hello world!");
}
}
Loading…
Cancel
Save