chore: sample java class for testing, + pom.xml
This commit is contained in:
parent
2868d78a8b
commit
c4e3c4225e
2 changed files with 44 additions and 0 deletions
37
java/pom.xml
Normal file
37
java/pom.xml
Normal file
|
@ -0,0 +1,37 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<groupId>ftbsc</groupId>
|
||||
<artifactId>collarmc</artifactId>
|
||||
<version>0.1-SNAPSHOT</version>
|
||||
|
||||
<name>collarmc</name>
|
||||
<!-- <url>http://www.example.com</url> -->
|
||||
|
||||
<properties>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
<maven.compiler.release>8</maven.compiler.release>
|
||||
</properties>
|
||||
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<artifactId>maven-assembly-plugin</artifactId>
|
||||
<configuration>
|
||||
<archive>
|
||||
<manifest>
|
||||
<mainClass>ftbsc.collar.CollarMC</mainClass>
|
||||
</manifest>
|
||||
</archive>
|
||||
<descriptorRefs>
|
||||
<descriptorRef>jar-with-dependencies</descriptorRef>
|
||||
</descriptorRefs>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
|
||||
</project>
|
7
java/src/main/java/ftbsc/collar/CollarMC.java
Normal file
7
java/src/main/java/ftbsc/collar/CollarMC.java
Normal file
|
@ -0,0 +1,7 @@
|
|||
package ftbsc.collar;
|
||||
|
||||
public class CollarMC {
|
||||
public static void main(String[] args) {
|
||||
System.out.println("Hello World!");
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue