Permalink
Fetching contributors…
Cannot retrieve contributors at this time
336 lines (314 sloc) 11.4 KB
<?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>org.sonatype.oss</groupId>
<artifactId>oss-parent</artifactId>
<version>9</version>
</parent>
<groupId>io.playn</groupId>
<artifactId>playn-project</artifactId>
<packaging>pom</packaging>
<version>2.1-SNAPSHOT</version>
<name>PlayN Project</name>
<url>http://code.google.com/p/playn</url>
<description>Cross platform game library for N≥4 platforms.</description>
<issueManagement>
<url>http://github.com/playn/playn/issues</url>
</issueManagement>
<distributionManagement>
<repository>
<id>bintray-repo-maven</id>
<url>https://api.bintray.com/maven/playn/playn/playn/;publish=1</url>
</repository>
</distributionManagement>
<scm>
<connection>scm:git:git://github.com/playn/playn.git</connection>
<developerConnection>scm:git:git@github.com:playn/playn.git</developerConnection>
<url>https://github.com/playn/playn/</url>
</scm>
<prerequisites>
<maven>3.3.0</maven>
</prerequisites>
<modules>
<module>android</module>
<module>archetype</module>
<module>core</module>
<module>html</module>
<module>java-base</module>
<module>java-lwjgl</module>
<module>java-lwjgl2</module>
<module>java-swt</module>
<module>jbox2d</module>
<module>robovm</module>
<module>scene</module>
<module>webgl</module>
</modules>
<properties>
<source.level>1.7</source.level>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<android.version>4.1.1.4</android.version>
<android.maven.version>4.2.1</android.maven.version>
<swt.version>4.5.1</swt.version>
<gwt.version>2.8.1</gwt.version>
<jbox2d.version>2.2.1.1</jbox2d.version>
<lwjgl.version>3.1.6</lwjgl.version>
<lwjgl2.version>2.9.3</lwjgl2.version>
<robovm.version>2.3.5</robovm.version>
<!--
GWT log levels:
ERROR, WARN, INFO, TRACE, DEBUG, SPAM, or ALL
-->
<gwt.loglevel>INFO</gwt.loglevel>
<gwt.outputstyle>PRETTY</gwt.outputstyle>
<gwt.modulesuffix />
<gwt.inplace>false</gwt.inplace>
<gwt.xdisable>true</gwt.xdisable>
<gwt.draft>false</gwt.draft>
<gwt.workers />
<maven.test.skip>false</maven.test.skip>
</properties>
<!-- Common dependencies for all modules -->
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.12</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<!-- Common plugin configuration for all children -->
<pluginManagement>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>gwt-maven-plugin</artifactId>
<version>${gwt.version}</version>
<configuration>
<logLevel>${gwt.loglevel}</logLevel>
<style>${gwt.outputstyle}</style>
<runTarget>${gwt.module}${gwt.modulesuffix}/index.html</runTarget>
<hostedWebapp>${project.build.directory}/www</hostedWebapp>
<draftCompile>${gwt.draft}</draftCompile>
<disableCastChecking>${gwt.xdisable}</disableCastChecking>
<disableClassMetadata>${gwt.xdisable}</disableClassMetadata>
<disableRunAsync>true</disableRunAsync>
<localWorkers>${gwt.workers}</localWorkers>
<extraJvmArgs>-Xmx256m</extraJvmArgs>
<modules>
<module>${gwt.module}</module>
</modules>
<inplace>${gwt.inplace}</inplace>
</configuration>
<dependencies>
<dependency>
<groupId>com.google.gwt</groupId>
<artifactId>gwt-user</artifactId>
<version>${gwt.version}</version>
</dependency>
<dependency>
<groupId>com.google.gwt</groupId>
<artifactId>gwt-dev</artifactId>
<version>${gwt.version}</version>
</dependency>
</dependencies>
</plugin>
<plugin>
<artifactId>maven-clean-plugin</artifactId>
<version>2.6.1</version>
<configuration>
<filesets>
<fileset><directory>src/main/webapp/${gwt.module}</directory></fileset>
<fileset><directory>src/main/webapp/${gwt.module}Dev</directory></fileset>
<fileset><directory>src/main/webapp/${gwt.name}</directory></fileset>
<fileset><directory>src/main/webapp/WEB-INF/classes</directory></fileset>
<fileset><directory>tomcat</directory></fileset>
<fileset><directory>www-test</directory></fileset>
<fileset><directory>.gwt-tmp</directory></fileset>
</filesets>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.7.0</version>
<configuration>
<source>${source.level}</source>
<target>${source.level}</target>
<showDeprecation>true</showDeprecation>
<showWarnings>true</showWarnings>
<compilerArgs>
<arg>-Xlint</arg>
<arg>-Xlint:-serial</arg>
<arg>-Xlint:-path</arg>
</compilerArgs>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>2.7</version>
<configuration>
<encoding>UTF-8</encoding>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.10.3</version>
<configuration>
<quiet>true</quiet>
<show>public</show>
<additionalparam>-Xdoclint:all -Xdoclint:-missing</additionalparam>
<links>
<link>http://docs.oracle.com/javase/7/docs/api/</link>
<link>http://threerings.github.io/react/apidocs/</link>
<link>http://samskivert.github.io/pythagoras/apidocs/</link>
</links>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>2.4</version>
</plugin>
</plugins>
</pluginManagement>
</build>
<profiles>
<!-- only include the test module if we're not doing a release; even though the deploy
plugin is configured to ignore it during releases, the sonatype plugin gets confused
so we have to take special measures -->
<profile>
<id>not-release</id>
<activation>
<property><name>!performRelease</name></property>
</activation>
<modules>
<module>tests</module>
</modules>
</profile>
<profile>
<id>deploy-local</id>
<distributionManagement>
<repository>
<id>deploy-local</id>
<name>Local Maven repository</name>
<url>${deploy-local.dir}</url>
</repository>
<snapshotRepository>
<uniqueVersion>false</uniqueVersion>
<id>deploy-local-snapshots</id>
<name>Local Maven snapshot repository</name>
<url>${deploy-local.dir}</url>
</snapshotRepository>
</distributionManagement>
</profile>
<!-- Produce Java 8 compatible bytecode -->
<profile>
<id>java-9</id>
<activation>
<jdk>[9,)</jdk>
</activation>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<release>8</release>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
</profile>
<!-- this shuts m2eclipse up about various Maven plugins -->
<profile>
<id>only-eclipse</id>
<activation>
<property>
<name>m2e.version</name>
</property>
</activation>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.eclipse.m2e</groupId>
<artifactId>lifecycle-mapping</artifactId>
<version>1.0.0</version>
<configuration>
<lifecycleMappingMetadata>
<pluginExecutions>
<pluginExecution>
<pluginExecutionFilter>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<versionRange>[2.0,)</versionRange>
<goals>
<goal>unpack</goal>
</goals>
</pluginExecutionFilter>
<action>
<ignore />
</action>
</pluginExecution>
<pluginExecution>
<pluginExecutionFilter>
<groupId>
com.jayway.maven.plugins.android.generation2
</groupId>
<artifactId>
android-maven-plugin
</artifactId>
<versionRange>
[3.1.1,)
</versionRange>
<goals>
<goal>generate-sources</goal>
<goal>unpack</goal>
</goals>
</pluginExecutionFilter>
<action>
<ignore />
</action>
</pluginExecution>
<pluginExecution>
<pluginExecutionFilter>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<versionRange>[1.0,)</versionRange>
<goals>
<goal>enforce</goal>
</goals>
</pluginExecutionFilter>
<action>
<ignore />
</action>
</pluginExecution>
<pluginExecution>
<pluginExecutionFilter>
<groupId>com.pyx4j</groupId>
<artifactId>maven-junction-plugin</artifactId>
<versionRange>[1.0.3,)</versionRange>
<goals>
<goal>link</goal>
</goals>
</pluginExecutionFilter>
<action>
<ignore />
</action>
</pluginExecution>
</pluginExecutions>
</lifecycleMappingMetadata>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
</profile>
</profiles>
</project>