mirror of
https://gitlab.bixilon.de/bixilon/minosoft.git
synced 2025-09-10 16:01:50 -04:00
Fix maven build instructions
Maven javafx:run fails because of java 15. This commit also removes some maven stuff, which is not needed anymore
This commit is contained in:
parent
e24b657c3f
commit
ffe79ed618
1
.mvn/jvm.config
Normal file
1
.mvn/jvm.config
Normal file
@ -0,0 +1 @@
|
||||
--enable-preview
|
@ -77,7 +77,7 @@ We are almost ready to release a beta once !8 is merged.
|
||||
2. Clone this repo (`git clone https://gitlab.bixilon.de/bixilon/minosoft.git`)
|
||||
3. Change directory (`cd minosoft`)
|
||||
4. Checkout the branch (`git checkout <branch>`). Probably `render`
|
||||
5. Run Minosoft with `mvn javafx:run`. If any errors occur, feel free to open an issue. In this early stage it might be helpful
|
||||
5. Build and run Minosoft with `mvn clean verify exec:java`. If any errors occur, feel free to open an issue. In this early stage it might be helpful
|
||||
to delete the app data folder (only of minosoft).
|
||||
|
||||
|
||||
|
27
pom.xml
27
pom.xml
@ -1,4 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?><!--
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
~ Minosoft
|
||||
~ Copyright (C) 2020 Moritz Zwerger
|
||||
~
|
||||
@ -29,35 +30,13 @@
|
||||
<compilerArgs>--enable-preview</compilerArgs>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.openjfx</groupId>
|
||||
<artifactId>javafx-maven-plugin</artifactId>
|
||||
<version>0.0.4</version>
|
||||
<configuration>
|
||||
<mainClass>de.bixilon.minosoft.Minosoft</mainClass>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-assembly-plugin</artifactId>
|
||||
<version>2.3</version>
|
||||
<configuration>
|
||||
<archive>
|
||||
<manifest>
|
||||
<mainClass>de.bixilon.minosoft.Minosoft</mainClass>
|
||||
</manifest>
|
||||
</archive>
|
||||
<descriptorRefs>
|
||||
<descriptorRef>jar-with-dependencies</descriptorRef>
|
||||
</descriptorRefs>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
<properties>
|
||||
<maven.compiler.source>15</maven.compiler.source>
|
||||
<maven.compiler.target>15</maven.compiler.target>
|
||||
<exec.mainClass>de.bixilon.minosoft.Minosoft</exec.mainClass>
|
||||
</properties>
|
||||
|
||||
<dependencies>
|
||||
|
Loading…
x
Reference in New Issue
Block a user