Skip to content

Commit

Permalink
pom.xml: Add gdx-joal and gdx-backend-jogl Maven artifacts.
Browse files Browse the repository at this point in the history
Signed-off-by: Xerxes Rånby <xerxes@zafena.se>
  • Loading branch information
xranby committed Jan 16, 2014
1 parent fa42c88 commit fc64e70
Show file tree
Hide file tree
Showing 3 changed files with 155 additions and 0 deletions.
69 changes: 69 additions & 0 deletions backends/gdx-backend-jogl/pom.xml
@@ -0,0 +1,69 @@
<?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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.badlogicgames.gdx</groupId>
<artifactId>gdx-parent</artifactId>
<version>1.0-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>

<artifactId>gdx-backend-jogl</artifactId>
<packaging>jar</packaging>
<name>libGDX JogAmp JOGL Backend</name>

<dependencies>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>gdx</artifactId>
<version>${project.version}</version>
</dependency>

<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>gdx-joal</artifactId>
<version>${project.version}</version>
</dependency>

<dependency>
<groupId>org.jogamp.gluegen</groupId>
<artifactId>gluegen-rt-main</artifactId>
<version>${jogamp.version}</version>
</dependency>
<dependency>
<groupId>org.jogamp.jogl</groupId>
<artifactId>jogl-all-main</artifactId>
<version>${jogamp.version}</version>
</dependency>
</dependencies>

<build>
<sourceDirectory>src</sourceDirectory>

<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<excludes>
<exclude>com/badlogic/gdx/backends/gwt/emu/java/lang/System.java</exclude>
</excludes>
</configuration>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<executions>
<execution>
<id>attach-sources</id>
<phase>generate-resources</phase>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
66 changes: 66 additions & 0 deletions backends/gdx-joal/pom.xml
@@ -0,0 +1,66 @@
<?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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.badlogicgames.gdx</groupId>
<artifactId>gdx-parent</artifactId>
<version>1.0-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>

<artifactId>gdx-joal</artifactId>
<packaging>jar</packaging>
<name>libGDX JogAmp JOAL Support</name>

<dependencies>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>gdx</artifactId>
<version>${project.version}</version>
</dependency>

<dependency>
<groupId>org.jogamp.gluegen</groupId>
<artifactId>gluegen-rt-main</artifactId>
<version>${jogamp.version}</version>
</dependency>
<dependency>
<groupId>org.jogamp.joal</groupId>
<artifactId>joal-main</artifactId>
<version>${jogamp.version}</version>
</dependency>

<dependency>
<groupId>com.badlogicgames.jlayer</groupId>
<artifactId>jlayer</artifactId>
<version>1.0.1-gdx</version>
</dependency>

<dependency>
<groupId>org.jcraft</groupId>
<artifactId>jorbis</artifactId>
<version>0.0.17</version>
</dependency>

</dependencies>

<build>
<sourceDirectory>src</sourceDirectory>

<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<executions>
<execution>
<id>attach-sources</id>
<phase>generate-resources</phase>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
20 changes: 20 additions & 0 deletions pom.xml
Expand Up @@ -46,12 +46,15 @@
<gwt.version>2.5.0</gwt.version>
<lwjgl.version>2.9.0</lwjgl.version>
<robovm.version>0.0.6</robovm.version>
<jogamp.version>2.1.4-rc-20140113</jogamp.version>
</properties>

<modules>
<module>extensions/gdx-jnigen</module>
<module>gdx</module>
<module>gdx/jni/maven</module>
<module>backends/gdx-joal</module>
<module>backends/gdx-backend-jogl</module>
<module>backends/gdx-openal</module>
<module>backends/gdx-backend-android</module>
<module>backends/gdx-backend-robovm</module>
Expand Down Expand Up @@ -128,4 +131,21 @@
</plugin>
</plugins>
</build>

<profiles>
<profile>
<id>jogamp-test</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<repositories>
<repository>
<id>jogamp-remote</id>
<name>jogamp test mirror</name>
<url>http://www.jogamp.org/deployment/maven/</url>
<layout>default</layout>
</repository>
</repositories>
</profile>
</profiles>
</project>

0 comments on commit fc64e70

Please sign in to comment.