Compare commits
2 Commits
8239a51122
...
20e45c2243
Author | SHA1 | Date | |
---|---|---|---|
20e45c2243 | |||
9c42cc80fd |
|
@ -22,10 +22,10 @@ git clone https://git.worlio.com/Worlds_Remergence_Project/WorldsOrganizer.git
|
||||||
cd Worlds-Organizer
|
cd Worlds-Organizer
|
||||||
```
|
```
|
||||||
|
|
||||||
2. Run the Maven Build command
|
2. Run Maven
|
||||||
|
|
||||||
```
|
```
|
||||||
mvn build
|
mvn package
|
||||||
```
|
```
|
||||||
|
|
||||||
The jar will be located within the target folder.
|
The jar will be located within the target folder.
|
||||||
|
|
233
pom.xml
233
pom.xml
|
@ -1,113 +1,130 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
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">
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
|
||||||
<modelVersion>4.0.0</modelVersion>
|
http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||||
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<groupId>org.worlio</groupId>
|
|
||||||
<artifactId>WorldsOrganizer</artifactId>
|
<groupId>org.worlio</groupId>
|
||||||
<version>1.0.2</version>
|
<artifactId>WorldsOrganizer</artifactId>
|
||||||
<packaging>jar</packaging>
|
<version>1.0.2</version>
|
||||||
|
<packaging>jar</packaging>
|
||||||
<properties>
|
|
||||||
<maven.compiler.target>1.8</maven.compiler.target>
|
<properties>
|
||||||
<maven.compiler.source>1.8</maven.compiler.source>
|
<maven.compiler.target>1.8</maven.compiler.target>
|
||||||
<maven.build.timestamp.format>MM/dd/YYYY HH:mm</maven.build.timestamp.format>
|
<maven.compiler.source>1.8</maven.compiler.source>
|
||||||
<buildNumber>${maven.build.timestamp}</buildNumber>
|
<maven.build.timestamp.format>MM/dd/YYYY HH:mm</maven.build.timestamp.format>
|
||||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
<buildNumber>${maven.build.timestamp}</buildNumber>
|
||||||
</properties>
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||||
|
</properties>
|
||||||
|
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.openjfx</groupId>
|
<groupId>org.openjfx</groupId>
|
||||||
<artifactId>javafx-base</artifactId>
|
<artifactId>javafx-base</artifactId>
|
||||||
<version>15.0.1</version>
|
<version>15.0.1</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.openjfx</groupId>
|
<groupId>org.openjfx</groupId>
|
||||||
<artifactId>javafx-controls</artifactId>
|
<artifactId>javafx-controls</artifactId>
|
||||||
<version>15.0.1</version>
|
<version>15.0.1</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.openjfx</groupId>
|
<groupId>org.openjfx</groupId>
|
||||||
<artifactId>javafx-graphics</artifactId>
|
<artifactId>javafx-graphics</artifactId>
|
||||||
<version>15.0.1</version>
|
<version>15.0.1</version>
|
||||||
<classifier>win</classifier>
|
<classifier>win</classifier>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.openjfx</groupId>
|
<groupId>org.openjfx</groupId>
|
||||||
<artifactId>javafx-graphics</artifactId>
|
<artifactId>javafx-graphics</artifactId>
|
||||||
<version>15.0.1</version>
|
<version>15.0.1</version>
|
||||||
<classifier>linux</classifier>
|
<classifier>linux</classifier>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.openjfx</groupId>
|
<groupId>org.openjfx</groupId>
|
||||||
<artifactId>javafx-graphics</artifactId>
|
<artifactId>javafx-graphics</artifactId>
|
||||||
<version>15.0.1</version>
|
<version>15.0.1</version>
|
||||||
<classifier>mac</classifier>
|
<classifier>mac</classifier>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.openjfx</groupId>
|
<groupId>org.openjfx</groupId>
|
||||||
<artifactId>javafx-swing</artifactId>
|
<artifactId>javafx-swing</artifactId>
|
||||||
<version>15.0.1</version>
|
<version>15.0.1</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.fasterxml.jackson.core</groupId>
|
<groupId>com.fasterxml.jackson.core</groupId>
|
||||||
<artifactId>jackson-databind</artifactId>
|
<artifactId>jackson-databind</artifactId>
|
||||||
<version>2.12.2</version>
|
<version>2.12.2</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
||||||
<build>
|
<build>
|
||||||
<plugins>
|
<plugins>
|
||||||
<!--Compiler settings-->
|
<plugin>
|
||||||
<plugin>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<artifactId>maven-compiler-plugin</artifactId>
|
||||||
<artifactId>maven-compiler-plugin</artifactId>
|
<version>3.8.1</version>
|
||||||
<version>3.8.1</version>
|
<configuration>
|
||||||
<configuration>
|
<source>8</source>
|
||||||
<source>8</source>
|
<target>8</target>
|
||||||
<target>8</target>
|
</configuration>
|
||||||
</configuration>
|
</plugin>
|
||||||
</plugin>
|
<plugin>
|
||||||
<!--Run junit tests using maven test command-->
|
<groupId>org.codehaus.mojo</groupId>
|
||||||
<plugin>
|
<artifactId>properties-maven-plugin</artifactId>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<version>1.2.1</version>
|
||||||
<artifactId>maven-surefire-plugin</artifactId>
|
<executions>
|
||||||
<version>3.0.0-M3</version>
|
<execution>
|
||||||
</plugin>
|
<phase>generate-resources</phase>
|
||||||
<!--Execute main using mvn tasks compile, exec:java-->
|
<goals>
|
||||||
<plugin>
|
<goal>write-project-properties</goal>
|
||||||
<groupId>org.codehaus.mojo</groupId>
|
</goals>
|
||||||
<artifactId>exec-maven-plugin</artifactId>
|
<configuration>
|
||||||
<version>1.6.0</version>
|
<outputFile>${project.build.outputDirectory}/project.properties</outputFile>
|
||||||
<configuration>
|
</configuration>
|
||||||
<mainClass>org.worlio.WorldsOrganizer.WorldsOrganizer</mainClass>
|
</execution>
|
||||||
</configuration>
|
</executions>
|
||||||
</plugin>
|
</plugin>
|
||||||
<!--Create jar using mvn tasks compile, assembly:single-->
|
<plugin>
|
||||||
<plugin>
|
<artifactId>maven-assembly-plugin</artifactId>
|
||||||
<artifactId>maven-assembly-plugin</artifactId>
|
<executions>
|
||||||
<version>3.1.1</version>
|
<execution>
|
||||||
<configuration>
|
<phase>package</phase>
|
||||||
<descriptorRefs>
|
<goals>
|
||||||
<descriptorRef>jar-with-dependencies</descriptorRef>
|
<goal>single</goal>
|
||||||
</descriptorRefs>
|
</goals>
|
||||||
<archive>
|
</execution>
|
||||||
<manifest>
|
</executions>
|
||||||
<mainClass>org.worlio.WorldsOrganizer.Main</mainClass>
|
<configuration>
|
||||||
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
|
<descriptorRefs>
|
||||||
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
|
<descriptorRef>jar-with-dependencies</descriptorRef>
|
||||||
</manifest>
|
</descriptorRefs>
|
||||||
</archive>
|
<archive>
|
||||||
</configuration>
|
<manifest>
|
||||||
</plugin>
|
<mainClass>org.worlio.WorldsOrganizer.WorldsOrganizer</mainClass>
|
||||||
</plugins>
|
</manifest>
|
||||||
<resources>
|
</archive>
|
||||||
<resource>
|
</configuration>
|
||||||
<directory>src/main/resources</directory>
|
</plugin>
|
||||||
<filtering>true</filtering>
|
<plugin>
|
||||||
</resource>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
</resources>
|
<artifactId>maven-jar-plugin</artifactId>
|
||||||
</build>
|
<version>3.1.0</version>
|
||||||
|
<configuration>
|
||||||
|
<archive>
|
||||||
|
<manifest>
|
||||||
|
<mainClass>org.worlio.WorldsOrganizer.WorldsOrganizer</mainClass>
|
||||||
|
</manifest>
|
||||||
|
</archive>
|
||||||
|
</configuration>
|
||||||
|
</plugin>
|
||||||
|
</plugins>
|
||||||
|
<resources>
|
||||||
|
<resource>
|
||||||
|
<directory>src/main/resources</directory>
|
||||||
|
<filtering>true</filtering>
|
||||||
|
</resource>
|
||||||
|
</resources>
|
||||||
|
</build>
|
||||||
</project>
|
</project>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user