385 lines
14 KiB
XML
385 lines
14 KiB
XML
<?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>studiorailgun</groupId>
|
|
<artifactId>Renderer</artifactId>
|
|
<version>0.1</version>
|
|
<packaging>jar</packaging>
|
|
<properties>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
<maven.compiler.source>17</maven.compiler.source>
|
|
<maven.compiler.target>17</maven.compiler.target>
|
|
<lwjgl.version>3.2.3</lwjgl.version>
|
|
<lwjgl.remotery.version>3.3.3</lwjgl.remotery.version>
|
|
<joml.version>1.9.19</joml.version>
|
|
<recast.version>1.5.7</recast.version>
|
|
<imgui.version>1.86.11</imgui.version>
|
|
</properties>
|
|
|
|
<!-- Used for build number plugin because it LITERALLY WONT LET YOU NOT HAVE SCM-->
|
|
<scm>
|
|
<connection>scm:svn:http://127.0.0.1/dummy</connection>
|
|
<developerConnection>scm:svn:https://127.0.0.1/dummy</developerConnection>
|
|
<tag>HEAD</tag>
|
|
<url>http://127.0.0.1/dummy</url>
|
|
</scm>
|
|
|
|
<dependencies>
|
|
<!-- generic LWJGL runtimes -->
|
|
<!--License: BSD-->
|
|
<dependency>
|
|
<groupId>org.lwjgl</groupId>
|
|
<artifactId>lwjgl</artifactId>
|
|
<version>${lwjgl.version}</version>
|
|
<classifier>${lwjgl.natives}</classifier>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.lwjgl</groupId>
|
|
<artifactId>lwjgl</artifactId>
|
|
<version>${lwjgl.version}</version>
|
|
<classifier>${lwjgl.natives}</classifier>
|
|
<scope>import</scope>
|
|
</dependency>
|
|
|
|
<!--ASSIMP-->
|
|
<!--License: BSD-->
|
|
<dependency>
|
|
<groupId>org.lwjgl</groupId>
|
|
<artifactId>lwjgl-assimp</artifactId>
|
|
<version>${lwjgl.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.lwjgl</groupId>
|
|
<artifactId>lwjgl-assimp</artifactId>
|
|
<version>${lwjgl.version}</version>
|
|
<classifier>${lwjgl.natives}</classifier>
|
|
</dependency>
|
|
|
|
<!--GLFW-->
|
|
<!--License: BSD-->
|
|
<dependency>
|
|
<groupId>org.lwjgl</groupId>
|
|
<artifactId>lwjgl-glfw</artifactId>
|
|
<version>${lwjgl.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.lwjgl</groupId>
|
|
<artifactId>lwjgl-glfw</artifactId>
|
|
<version>${lwjgl.version}</version>
|
|
<classifier>${lwjgl.natives}</classifier>
|
|
</dependency>
|
|
|
|
<!--OpenGL-->
|
|
<!--License: BSD-->
|
|
<dependency>
|
|
<groupId>org.lwjgl</groupId>
|
|
<artifactId>lwjgl-opengl</artifactId>
|
|
<version>${lwjgl.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.lwjgl</groupId>
|
|
<artifactId>lwjgl-opengl</artifactId>
|
|
<version>${lwjgl.version}</version>
|
|
<classifier>${lwjgl.natives}</classifier>
|
|
</dependency>
|
|
|
|
<!--OpenAL-->
|
|
<!--License: BSD-->
|
|
<dependency>
|
|
<groupId>org.lwjgl</groupId>
|
|
<artifactId>lwjgl-openal</artifactId>
|
|
<version>${lwjgl.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.lwjgl</groupId>
|
|
<artifactId>lwjgl-openal</artifactId>
|
|
<version>${lwjgl.version}</version>
|
|
<classifier>${lwjgl.natives}</classifier>
|
|
</dependency>
|
|
|
|
<!--STD-->
|
|
<!--License: BSD-->
|
|
<dependency>
|
|
<groupId>org.lwjgl</groupId>
|
|
<artifactId>lwjgl-stb</artifactId>
|
|
<version>${lwjgl.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.lwjgl</groupId>
|
|
<artifactId>lwjgl-stb</artifactId>
|
|
<version>${lwjgl.version}</version>
|
|
<classifier>${lwjgl.natives}</classifier>
|
|
</dependency>
|
|
|
|
<!--Remotery-->
|
|
<!--License: Apache 2.0-->
|
|
<dependency>
|
|
<groupId>org.lwjgl</groupId>
|
|
<artifactId>lwjgl-remotery</artifactId>
|
|
<version>${lwjgl.remotery.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.lwjgl</groupId>
|
|
<artifactId>lwjgl-remotery</artifactId>
|
|
<version>${lwjgl.remotery.version}</version>
|
|
<classifier>${lwjgl.natives}</classifier>
|
|
</dependency>
|
|
|
|
<!--JOML-->
|
|
<!--License: MIT-->
|
|
<dependency>
|
|
<groupId>org.joml</groupId>
|
|
<artifactId>joml</artifactId>
|
|
<version>${joml.version}</version>
|
|
</dependency>
|
|
|
|
<!--GSON-->
|
|
<!--License: Apache-->
|
|
<dependency>
|
|
<groupId>com.google.code.gson</groupId>
|
|
<artifactId>gson</artifactId>
|
|
<version>2.8.6</version>
|
|
</dependency>
|
|
|
|
<!--Ode4J-->
|
|
<!--License: Dual LGPL 2.1 OR BSD 3-clause-->
|
|
<!--https://github.com/tzaeschke/ode4j -->
|
|
<!--https://tzaeschke.github.io/ode4j-old/ode4j-doc.html -->
|
|
<!--http://ode.org/wikiold/htmlfile1.html -->
|
|
<!--http://ode.org/wiki/index.php/Main_Page -->
|
|
<!--https://github.com/tzaeschke/ode4j/tree/master/demo/src/main/java/org/ode4j/demo -->
|
|
<dependency>
|
|
<groupId>org.ode4j</groupId>
|
|
<artifactId>core</artifactId>
|
|
<version>0.5.2</version>
|
|
</dependency>
|
|
|
|
<!--SQLITE-JDBC-->
|
|
<!--License: Apache-->
|
|
<!-- https://mvnrepository.com/artifact/org.xerial/sqlite-jdbc -->
|
|
<dependency>
|
|
<groupId>org.xerial</groupId>
|
|
<artifactId>sqlite-jdbc</artifactId>
|
|
<version>3.36.0.3</version>
|
|
</dependency>
|
|
|
|
<!--JUnit-->
|
|
<!--License: Eclipse Public License-->
|
|
<dependency>
|
|
<groupId>junit</groupId>
|
|
<artifactId>junit</artifactId>
|
|
<version>4.12</version>
|
|
</dependency>
|
|
|
|
<!--GraalVM-->
|
|
<!--License: GPLv2 w/ classpath exception-->
|
|
<!--apparently maybe classpath exception allows use in eg game engine??-->
|
|
<!-- https://mvnrepository.com/artifact/org.graalvm.js/js -->
|
|
<dependency>
|
|
<groupId>org.graalvm.js</groupId>
|
|
<artifactId>js</artifactId>
|
|
<version>22.1.0.1</version>
|
|
</dependency>
|
|
<!-- https://mvnrepository.com/artifact/org.graalvm.js/js-scriptengine -->
|
|
<dependency>
|
|
<groupId>org.graalvm.js</groupId>
|
|
<artifactId>js-scriptengine</artifactId>
|
|
<version>22.1.0.1</version>
|
|
</dependency>
|
|
|
|
<!--steamworks4j-->
|
|
<!--License: MIT-->
|
|
<!-- https://mvnrepository.com/artifact/com.code-disaster.steamworks4j/steamworks4j -->
|
|
<dependency>
|
|
<groupId>com.code-disaster.steamworks4j</groupId>
|
|
<artifactId>steamworks4j</artifactId>
|
|
<version>1.9.0</version>
|
|
</dependency>
|
|
|
|
<!--recast4j-->
|
|
<!--License: zlib-->
|
|
<!-- https://mvnrepository.com/artifact/org.recast4j/recast -->
|
|
<dependency>
|
|
<groupId>org.recast4j</groupId>
|
|
<artifactId>recast</artifactId>
|
|
<version>${recast.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.recast4j</groupId>
|
|
<artifactId>detour</artifactId>
|
|
<version>${recast.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.recast4j</groupId>
|
|
<artifactId>detour-crowd</artifactId>
|
|
<version>${recast.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.recast4j</groupId>
|
|
<artifactId>detour-tile-cache</artifactId>
|
|
<version>${recast.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.recast4j</groupId>
|
|
<artifactId>detour-extras</artifactId>
|
|
<version>${recast.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.recast4j</groupId>
|
|
<artifactId>detour-dynamic</artifactId>
|
|
<version>${recast.version}</version>
|
|
</dependency>
|
|
|
|
|
|
<!--imgui-->
|
|
<!--License: MIT-->
|
|
<!---->
|
|
<dependency>
|
|
<groupId>io.github.spair</groupId>
|
|
<artifactId>imgui-java-binding</artifactId>
|
|
<version>${imgui.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.github.spair</groupId>
|
|
<artifactId>imgui-java-lwjgl3</artifactId>
|
|
<version>${imgui.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.github.spair</groupId>
|
|
<artifactId>imgui-java-natives-windows</artifactId>
|
|
<version>${imgui.version}</version>
|
|
<scope>runtime</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.github.spair</groupId>
|
|
<artifactId>imgui-java-natives-linux</artifactId>
|
|
<version>${imgui.version}</version>
|
|
<scope>runtime</scope>
|
|
</dependency>
|
|
|
|
|
|
</dependencies>
|
|
|
|
<profiles>
|
|
<profile>
|
|
<id>lwjgl-natives-linux</id>
|
|
<activation>
|
|
<os>
|
|
<family>unix</family>
|
|
</os>
|
|
</activation>
|
|
<properties>
|
|
<lwjgl.natives>natives-linux</lwjgl.natives>
|
|
</properties>
|
|
</profile>
|
|
<profile>
|
|
<id>lwjgl-natives-macos</id>
|
|
<activation>
|
|
<os>
|
|
<family>mac</family>
|
|
</os>
|
|
</activation>
|
|
<properties>
|
|
<maven.compiler.target>17</maven.compiler.target>
|
|
<lwjgl.natives>natives-macos</lwjgl.natives>
|
|
</properties>
|
|
</profile>
|
|
<profile>
|
|
<id>lwjgl-natives-windows</id>
|
|
<activation>
|
|
<os>
|
|
<family>windows</family>
|
|
</os>
|
|
</activation>
|
|
<properties>
|
|
<lwjgl.natives>natives-windows</lwjgl.natives>
|
|
</properties>
|
|
</profile>
|
|
</profiles>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-shade-plugin</artifactId>
|
|
<version>3.2.4</version>
|
|
<executions>
|
|
<execution>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>shade</goal>
|
|
</goals>
|
|
<configuration>
|
|
<transformers>
|
|
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
|
|
<mainClass>electrosphere.engine.Main</mainClass>
|
|
</transformer>
|
|
</transformers>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>exec-maven-plugin</artifactId>
|
|
<version>3.0.0</version>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>exec</goal>
|
|
</goals>
|
|
<configuration>
|
|
<executable>java</executable>
|
|
<includeProjectDependencies>false</includeProjectDependencies>
|
|
<includePluginDependencies>true</includePluginDependencies>
|
|
<mainClass>electrosphere.engine.Main</mainClass>
|
|
<!-- <classpathScope>compile</classpathScope> -->
|
|
<arguments>
|
|
<argument>-cp</argument>
|
|
<argument>target/classes;target/Renderer-0.1-jar-with-dependencies.jar</argument>
|
|
<argument>electrosphere.engine.Main</argument>
|
|
</arguments>
|
|
<!-- <classesDirectory>${project.basedir}/target/classes</classesDirectory> -->
|
|
</configuration>
|
|
</execution>
|
|
<!-- <execution>
|
|
<id>Telephone</id>
|
|
<phase>generate-sources</phase>
|
|
<goals>
|
|
<goal>java</goal>
|
|
</goals>
|
|
<configuration>
|
|
<executable>java</executable>
|
|
<arguments>
|
|
<argument>-jar</argument>
|
|
<argument>Telephone-0.2.1.jar</argument>
|
|
</arguments>
|
|
</configuration>
|
|
</execution> -->
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>buildnumber-maven-plugin</artifactId>
|
|
<version>1.4</version>
|
|
<executions>
|
|
<execution>
|
|
<id>buildnumber</id>
|
|
<phase>validate</phase>
|
|
<goals>
|
|
<goal>create</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
<configuration>
|
|
<format>{0,number}</format>
|
|
<items>
|
|
<item>buildNumber</item>
|
|
</items>
|
|
<doCheck>false</doCheck>
|
|
<doUpdate>false</doUpdate>
|
|
<revisionOnScmFailure>unknownbuild</revisionOnScmFailure>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</project> |