Compare commits

..

No commits in common. "20e45c2243e1309f1911ad69f2804e6c95c89483" and "8239a51122669cd981968c89e32f45e25e88df2c" have entirely different histories.

2 changed files with 110 additions and 127 deletions

View File

@ -22,10 +22,10 @@ git clone https://git.worlio.com/Worlds_Remergence_Project/WorldsOrganizer.git
cd Worlds-Organizer cd Worlds-Organizer
``` ```
2. Run Maven 2. Run the Maven Build command
``` ```
mvn package mvn build
``` ```
The jar will be located within the target folder. The jar will be located within the target folder.

229
pom.xml
View File

@ -1,130 +1,113 @@
<?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 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion>
<modelVersion>4.0.0</modelVersion>
<groupId>org.worlio</groupId> <groupId>org.worlio</groupId>
<artifactId>WorldsOrganizer</artifactId> <artifactId>WorldsOrganizer</artifactId>
<version>1.0.2</version> <version>1.0.2</version>
<packaging>jar</packaging> <packaging>jar</packaging>
<properties> <properties>
<maven.compiler.target>1.8</maven.compiler.target> <maven.compiler.target>1.8</maven.compiler.target>
<maven.compiler.source>1.8</maven.compiler.source> <maven.compiler.source>1.8</maven.compiler.source>
<maven.build.timestamp.format>MM/dd/YYYY HH:mm</maven.build.timestamp.format> <maven.build.timestamp.format>MM/dd/YYYY HH:mm</maven.build.timestamp.format>
<buildNumber>${maven.build.timestamp}</buildNumber> <buildNumber>${maven.build.timestamp}</buildNumber>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties> </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>
<plugin> <!--Compiler settings-->
<groupId>org.apache.maven.plugins</groupId> <plugin>
<artifactId>maven-compiler-plugin</artifactId> <groupId>org.apache.maven.plugins</groupId>
<version>3.8.1</version> <artifactId>maven-compiler-plugin</artifactId>
<configuration> <version>3.8.1</version>
<source>8</source> <configuration>
<target>8</target> <source>8</source>
</configuration> <target>8</target>
</plugin> </configuration>
<plugin> </plugin>
<groupId>org.codehaus.mojo</groupId> <!--Run junit tests using maven test command-->
<artifactId>properties-maven-plugin</artifactId> <plugin>
<version>1.2.1</version> <groupId>org.apache.maven.plugins</groupId>
<executions> <artifactId>maven-surefire-plugin</artifactId>
<execution> <version>3.0.0-M3</version>
<phase>generate-resources</phase> </plugin>
<goals> <!--Execute main using mvn tasks compile, exec:java-->
<goal>write-project-properties</goal> <plugin>
</goals> <groupId>org.codehaus.mojo</groupId>
<configuration> <artifactId>exec-maven-plugin</artifactId>
<outputFile>${project.build.outputDirectory}/project.properties</outputFile> <version>1.6.0</version>
</configuration> <configuration>
</execution> <mainClass>org.worlio.WorldsOrganizer.WorldsOrganizer</mainClass>
</executions> </configuration>
</plugin> </plugin>
<plugin> <!--Create jar using mvn tasks compile, assembly:single-->
<artifactId>maven-assembly-plugin</artifactId> <plugin>
<executions> <artifactId>maven-assembly-plugin</artifactId>
<execution> <version>3.1.1</version>
<phase>package</phase> <configuration>
<goals> <descriptorRefs>
<goal>single</goal> <descriptorRef>jar-with-dependencies</descriptorRef>
</goals> </descriptorRefs>
</execution> <archive>
</executions> <manifest>
<configuration> <mainClass>org.worlio.WorldsOrganizer.Main</mainClass>
<descriptorRefs> <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
<descriptorRef>jar-with-dependencies</descriptorRef> <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
</descriptorRefs> </manifest>
<archive> </archive>
<manifest> </configuration>
<mainClass>org.worlio.WorldsOrganizer.WorldsOrganizer</mainClass> </plugin>
</manifest> </plugins>
</archive> <resources>
</configuration> <resource>
</plugin> <directory>src/main/resources</directory>
<plugin> <filtering>true</filtering>
<groupId>org.apache.maven.plugins</groupId> </resource>
<artifactId>maven-jar-plugin</artifactId> </resources>
<version>3.1.0</version> </build>
<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>