Last active
May 6, 2017 19:47
-
-
Save JamesXNelson/4b7133275c0434115b7c39176b9b9b22 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?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>net.wti</groupId> | |
| <artifactId>java9-test</artifactId> | |
| <version>1.0-SNAPSHOT</version> | |
| <properties> | |
| <maven.compiler.source>1.9</maven.compiler.source> | |
| <maven.compiler.target>1.9</maven.compiler.target> | |
| <maven.compiler.release>9</maven.compiler.release> | |
| <gwt.version>2.8.0</gwt.version> | |
| <skip.gwt>false</skip.gwt> | |
| </properties> | |
| <dependencies> | |
| <dependency> | |
| <groupId>org.w3c.css</groupId> | |
| <artifactId>sac</artifactId> | |
| <version>1.3</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>colt</groupId> | |
| <artifactId>colt</artifactId> | |
| <version>1.2.0</version> | |
| <exclusions> | |
| <exclusion> | |
| <groupId>concurrent</groupId> | |
| <artifactId>concurrent</artifactId> | |
| </exclusion> | |
| </exclusions> | |
| </dependency> | |
| <dependency> | |
| <groupId>com.google.code.gson</groupId> | |
| <artifactId>gson</artifactId> | |
| <version>2.6.2</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>net.wetheinter</groupId> | |
| <artifactId>asm</artifactId> | |
| <version>6.0</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>commons-collections</groupId> | |
| <artifactId>commons-collections</artifactId> | |
| <version>3.2.2</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>commons-io</groupId> | |
| <artifactId>commons-io</artifactId> | |
| <version>2.4</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>com.ibm.icu</groupId> | |
| <artifactId>icu4j</artifactId> | |
| <version>50.1.1</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>tapestry</groupId> | |
| <artifactId>tapestry</artifactId> | |
| <version>4.0.2</version> | |
| <exclusions> | |
| <exclusion> | |
| <groupId>javassist</groupId> | |
| <artifactId>javassist</artifactId> | |
| </exclusion> | |
| <exclusion> | |
| <groupId>commons-codec</groupId> | |
| <artifactId>commons-codec</artifactId> | |
| </exclusion> | |
| <exclusion> | |
| <groupId>commons-fileupload</groupId> | |
| <artifactId>commons-fileupload</artifactId> | |
| </exclusion> | |
| <exclusion> | |
| <groupId>commons-logging</groupId> | |
| <artifactId>commons-logging</artifactId> | |
| </exclusion> | |
| <exclusion> | |
| <groupId>ognl</groupId> | |
| <artifactId>ognl</artifactId> | |
| </exclusion> | |
| <exclusion> | |
| <groupId>oro</groupId> | |
| <artifactId>oro</artifactId> | |
| </exclusion> | |
| <exclusion> | |
| <groupId>hivemind</groupId> | |
| <artifactId>hivemind</artifactId> | |
| </exclusion> | |
| <exclusion> | |
| <groupId>hivemind</groupId> | |
| <artifactId>hivemind-lib</artifactId> | |
| </exclusion> | |
| </exclusions> | |
| </dependency> | |
| <!-- We can't depend on gwt jar, because the auto-module versions have concealed package conflicts | |
| <dependency> | |
| <groupId>net.wetheinter</groupId> | |
| <artifactId>gwt-user</artifactId> | |
| <version>${gwt.version}</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>net.wetheinter</groupId> | |
| <artifactId>gwt-dev</artifactId> | |
| <version>${gwt.version}</version> | |
| </dependency> | |
| --> | |
| </dependencies> | |
| <build> | |
| <resources> | |
| <resource> | |
| <directory>src/main/java</directory> | |
| <includes><include>**</include></includes> | |
| </resource> | |
| <resource> | |
| <directory>src/main/gwt</directory> | |
| <includes><include>**</include></includes> | |
| </resource> | |
| <resource> | |
| <directory>src/main/super</directory> | |
| <includes><include>**</include></includes> | |
| </resource> | |
| <resource> | |
| <directory>src/main/resources</directory> | |
| <includes><include>**</include></includes> | |
| </resource> | |
| </resources> | |
| <plugins> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-compiler-plugin</artifactId> | |
| <version>3.6.0</version> | |
| <dependencies> | |
| <dependency> | |
| <!-- Let the compiler see the original gwt dev jar --> | |
| <groupId>net.wetheinter</groupId> | |
| <artifactId>gwt-dev</artifactId> | |
| <version>${gwt.version}</version> | |
| </dependency> | |
| </dependencies> | |
| </plugin> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-dependency-plugin</artifactId> | |
| <version>3.0.0</version> | |
| <configuration> | |
| <regenerateFile>true</regenerateFile> | |
| </configuration> | |
| <executions> | |
| <execution> | |
| <id>unpack</id> | |
| <phase>generate-sources</phase> | |
| <goals> | |
| <goal>unpack</goal> | |
| </goals> | |
| <configuration> | |
| <overWriteReleases>true</overWriteReleases> | |
| <artifactItems> | |
| <artifactItem> | |
| <groupId>net.wetheinter</groupId> | |
| <artifactId>gwt-dev</artifactId> | |
| <version>${gwt.version}</version> | |
| <type>jar</type> | |
| <includes>**</includes> | |
| <excludes>**/*test.class</excludes> | |
| <overWrite>true</overWrite> | |
| <!--<outputDirectory>${project.basedir}/src/main/patch</outputDirectory>--> | |
| <outputDirectory>${project.build.directory}/classes</outputDirectory> | |
| </artifactItem> | |
| <artifactItem> | |
| <groupId>javax.validation</groupId> | |
| <artifactId>validation-api</artifactId> | |
| <version>1.0.0.GA</version> | |
| <includes>**/*.class</includes> | |
| <overWrite>true</overWrite> | |
| <!--<outputDirectory>${project.basedir}/src/main/patch</outputDirectory>--> | |
| <outputDirectory>${project.build.directory}/classes</outputDirectory> | |
| </artifactItem> | |
| <artifactItem> | |
| <groupId>net.wetheinter</groupId> | |
| <artifactId>jsinterop-annotations</artifactId> | |
| <version>2.8.0</version> | |
| <overWrite>true</overWrite> | |
| <includes>**/*.class</includes> | |
| <!--<outputDirectory>${project.basedir}/src/main/patch</outputDirectory>--> | |
| <outputDirectory>${project.build.directory}/classes</outputDirectory> | |
| </artifactItem> | |
| <artifactItem> | |
| <groupId>net.wetheinter</groupId> | |
| <artifactId>gwt-user</artifactId> | |
| <version>${gwt.version}</version> | |
| <type>jar</type> | |
| <overWrite>true</overWrite> | |
| <includes>com/google/gwt/**/*.java,com/google/web/**/*.java</includes> | |
| <excludes>**/emul/**,**/translatable/**,**/super/**,**/junit/**,**/server/**</excludes> | |
| <outputDirectory>${project.basedir}/src/main/gwt</outputDirectory> | |
| </artifactItem> | |
| <artifactItem> | |
| <groupId>javax.validation</groupId> | |
| <artifactId>validation-api</artifactId> | |
| <classifier>sources</classifier> | |
| <version>1.0.0.GA</version> | |
| <includes>**/*.java</includes> | |
| <outputDirectory>${project.basedir}/src/main/gwt</outputDirectory> | |
| </artifactItem> | |
| <artifactItem> | |
| <groupId>net.wetheinter</groupId> | |
| <artifactId>jsinterop-annotations</artifactId> | |
| <version>2.8.0</version> | |
| <classifier>sources</classifier> | |
| <includes>**</includes> | |
| <outputDirectory>${project.basedir}/src/main/gwt</outputDirectory> | |
| </artifactItem> | |
| </artifactItems> | |
| </configuration> | |
| </execution> | |
| <execution> | |
| <id>unpack-2</id> | |
| <phase>generate-sources</phase> | |
| <goals> | |
| <goal>unpack</goal> | |
| </goals> | |
| <configuration> | |
| <artifactItems> | |
| <artifactItem> | |
| <groupId>net.wetheinter</groupId> | |
| <artifactId>gwt-user</artifactId> | |
| <version>${gwt.version}</version> | |
| <type>jar</type> | |
| <overWrite>true</overWrite> | |
| <includes>**/emul/**,**/translatable/**,**/super/**,com/google/gwt/**/*.xml</includes> | |
| <outputDirectory>${project.basedir}/src/main/super</outputDirectory> | |
| </artifactItem> | |
| <artifactItem> | |
| <groupId>net.wetheinter</groupId> | |
| <artifactId>gwt-dev</artifactId> | |
| <version>${gwt.version}</version> | |
| <type>jar</type> | |
| <overWrite>true</overWrite> | |
| <includes>**/intrinsic/**/*.java,**/intrinsic/**/*.xml</includes> | |
| <outputDirectory>${project.basedir}/src/main/super</outputDirectory> | |
| </artifactItem> | |
| </artifactItems> | |
| </configuration> | |
| </execution> | |
| <execution> | |
| <id>unpack-3</id> | |
| <phase>generate-sources</phase> | |
| <goals> | |
| <goal>unpack</goal> | |
| </goals> | |
| <configuration> | |
| <artifactItems> | |
| <artifactItem> | |
| <groupId>net.wetheinter</groupId> | |
| <artifactId>gwt-user</artifactId> | |
| <version>${gwt.version}</version> | |
| <type>jar</type> | |
| <overWrite>true</overWrite> | |
| <includes>javaemul/**/*.class,**/thirdparty/**/*.class,**/codegen/**/*.class,**/server/**/*.class,**/ext/**/*.class,org/**</includes> | |
| <!--<outputDirectory>${project.basedir}/src/main/patch</outputDirectory>--> | |
| <outputDirectory>${project.build.directory}/classes</outputDirectory> | |
| </artifactItem> | |
| </artifactItems> | |
| </configuration> | |
| </execution> | |
| </executions> | |
| </plugin> | |
| <plugin> | |
| <groupId>org.codehaus.mojo</groupId> | |
| <artifactId>build-helper-maven-plugin</artifactId> | |
| <version>3.0.0</version> | |
| <executions> | |
| <execution> | |
| <goals> | |
| <goal>add-source</goal> | |
| </goals> | |
| <configuration> | |
| <sources> | |
| <source>src/main/gwt</source> | |
| </sources> | |
| </configuration> | |
| </execution> | |
| </executions> | |
| </plugin> | |
| <plugin> | |
| <groupId>net.wetheinter</groupId> | |
| <artifactId>gwt-maven-plugin</artifactId> | |
| <version>2.8.0</version> | |
| <configuration> | |
| <!--<skip>true</skip>--> | |
| <module>test.Test</module> | |
| <sourceLevel>1.9</sourceLevel> | |
| <groupId>net.wetheinter</groupId> | |
| <deploy>${project.build.directory}/deploy</deploy> | |
| <groupId>net.wetheinter</groupId> | |
| <logLevel>ALL</logLevel> | |
| <skip>${skip.gwt}</skip> | |
| <webappDirectory>${project.basedir}/target/webapp</webappDirectory> | |
| <!-- | |
| <extraJvmArgs>-agentlib:jdwp=transport=dt_socket,timeout=15000,address=127.0.0.1:5000,suspend=y,server=y</extraJvmArgs> | |
| --> | |
| <force>true</force> | |
| <enableAssertions>true</enableAssertions> | |
| <style>PRETTY</style> | |
| <!-- This... does not work yet in maven. I used a larger set of parameters via IDE to achieve HelloWorld compilation --> | |
| <extraJvmArgs>-ea -Xmx2G --add-exports java.base/jdk.internal.loader=ALL-UNNAMED --add-opens java.base/jdk.internal.loader=ALL-UNNAMED</extraJvmArgs> | |
| <runTarget>test.Test</runTarget> | |
| </configuration> | |
| <executions> | |
| <execution> | |
| <id>compile</id> | |
| <phase>package</phase> | |
| <goals> | |
| <goal>compile</goal> | |
| </goals> | |
| <inherited>false</inherited> | |
| </execution> | |
| </executions> | |
| </plugin> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-compiler-plugin</artifactId> | |
| <version>3.6.0</version> | |
| <executions> | |
| <execution> | |
| <id>precompile</id> | |
| <goals> | |
| <goal>compile</goal> | |
| </goals> | |
| <configuration> | |
| <source>${project.basedir}/src/main/gwt</source> | |
| </configuration> | |
| </execution> | |
| <execution> | |
| <goals> | |
| <goal>compile</goal> | |
| </goals> | |
| <configuration> | |
| <source>${project.basedir}/src/main/java</source> | |
| </configuration> | |
| </execution> | |
| </executions> | |
| </plugin> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-toolchains-plugin</artifactId> | |
| <version>1.1</version> | |
| <configuration> | |
| <toolchains> | |
| <jdk> | |
| <version>1.9</version> | |
| <vendor>oracle</vendor> | |
| </jdk> | |
| </toolchains> | |
| </configuration> | |
| <executions> | |
| <execution> | |
| <goals> | |
| <goal>toolchain</goal> | |
| </goals> | |
| </execution> | |
| </executions> | |
| </plugin> | |
| </plugins> | |
| </build> | |
| </project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment