Last active
December 23, 2015 20:09
-
-
Save slugmandrew/6687120 to your computer and use it in GitHub Desktop.
POM from GWTP + AppEngine + Objectify archetype Revision 2 shows plugins merged into pluginManagement causing annotations to not be processed correctly
This file contains 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>com.utilitiessavings.usavapp</groupId> | |
<artifactId>UsavAppV7</artifactId> | |
<version>1.0-SNAPSHOT</version> | |
<packaging>war</packaging> | |
<name>GWTP AppEngine Objectify</name> | |
<description>GWTP AppEngine Objectify with dispatch and login</description> | |
<repositories> | |
<repository> | |
<id>sonatype</id> | |
<url>http://oss.sonatype.org/content/repositories/snapshots</url> | |
<snapshots> | |
<enabled>true</enabled> | |
</snapshots> | |
<releases> | |
<enabled>false</enabled> | |
</releases> | |
</repository> | |
</repositories> | |
<properties> | |
<!-- client --> | |
<gwt.version>2.5.1</gwt.version> | |
<gwtp.version>1.0.1</gwtp.version> | |
<gin.version>2.0.0</gin.version> | |
<arcbees-core.version>1.0-SNAPSHOT</arcbees-core.version> | |
<gwt.style>OBF</gwt.style> | |
<gwt-bootstrap.version>2.2.1.0</gwt-bootstrap.version> | |
<!-- server --> | |
<gae.version>1.8.0</gae.version> | |
<guice.version>3.0</guice.version> | |
<objectify.version>4.0b1</objectify.version> | |
<persistence-api.version>1.0.2</persistence-api.version> | |
<servlet-api.version>2.5</servlet-api.version> | |
<javax.validation.version>1.0.0.GA</javax.validation.version> | |
<guava-version>13.0.1</guava-version> | |
<!-- testing --> | |
<junit.version>4.11</junit.version> | |
<jukito.version>1.1</jukito.version> | |
<!-- maven --> | |
<gwt-maven-plugin.version>2.5.1</gwt-maven-plugin.version> | |
<maven-surefire-plugin.version>2.6</maven-surefire-plugin.version> | |
<maven-compiler-plugin.version>2.3.2</maven-compiler-plugin.version> | |
<maven-resources-plugin.version>2.5</maven-resources-plugin.version> | |
<maven-gae-plugin.version>0.9.6</maven-gae-plugin.version> | |
<maven-processor-plugin.version>2.0.5</maven-processor-plugin.version> | |
<maven-build-helper-plugin.version>1.7</maven-build-helper-plugin.version> | |
<target.jdk>1.6</target.jdk> | |
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | |
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> | |
<webappDirectory>${project.build.directory}/${project.build.finalName}</webappDirectory> | |
<!-- <gae.home>${settings.localRepository}/com/google/appengine/appengine-java-sdk/${gae.version}/appengine-java-sdk-${gae.version}</gae.home> --> | |
<gae.home>${settings.localRepository}/com/google/appengine/appengine-java-sdk/${gae.version}/appengine-java-sdk-${gae.version}/appengine-java-sdk-${gae.version}</gae.home> | |
</properties> | |
<build> | |
<outputDirectory>${webappDirectory}/WEB-INF/classes</outputDirectory> | |
<resources> | |
<resource> | |
<directory>src/main/resources</directory> | |
</resource> | |
<resource> | |
<directory>${project.build.directory}/generated-sources/apt</directory> | |
</resource> | |
<resource> | |
<directory>${project.build.directory}/generated-sources/gwt</directory> | |
</resource> | |
</resources> | |
<plugins> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-compiler-plugin</artifactId> | |
<version>${maven-compiler-plugin.version}</version> | |
<configuration> | |
<source>${target.jdk}</source> | |
<target>${target.jdk}</target> | |
<encoding>${project.build.sourceEncoding}</encoding> | |
<proc>none</proc> | |
</configuration> | |
</plugin> | |
<!-- JUnit Testing - skip *.GwtTest cases --> | |
<!-- 'mvn test' - runs the Jukito tests --> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-surefire-plugin</artifactId> | |
<version>${maven-surefire-plugin.version}</version> | |
<configuration> | |
<includes> | |
<include>**/*Test.java</include> | |
</includes> | |
<excludes> | |
<exclude>**/*GwtTest.java</exclude> | |
</excludes> | |
</configuration> | |
</plugin> | |
<!-- GWT --> | |
<!-- 'mvn gwt:run' - runs development mode --> | |
<!-- 'mvn gwt:debug' - runs debug mode --> | |
<!-- 'mvn gwt:compile' - compiles gwt --> | |
<!-- 'mvn integration-test' - runs the gwt tests (*GwtTest.java) --> | |
<plugin> | |
<groupId>org.codehaus.mojo</groupId> | |
<artifactId>gwt-maven-plugin</artifactId> | |
<version>${gwt.version}</version> | |
<configuration> | |
<strict>true</strict> | |
<testTimeOut>180</testTimeOut> | |
<!-- With multiple tests use GwtTestSuite.java for speed --> | |
<includes>**/*GwtTest.java</includes> | |
<mode>htmlunit</mode> | |
<extraJvmArgs>-Xss1024K -Xmx1024M -XX:MaxPermSize=256M</extraJvmArgs> | |
<logLevel>INFO</logLevel> | |
<style>${gwt.style}</style> | |
<copyWebapp>true</copyWebapp> | |
<hostedWebapp>${webappDirectory}</hostedWebapp> | |
<server>com.google.appengine.tools.development.gwt.AppEngineLauncher</server> | |
<appEngineVersion>${gae.version}</appEngineVersion> | |
<appEngineHome>${gae.home}</appEngineHome> | |
<extraJvmArgs>-Dappengine.sdk.root=${gae.home}</extraJvmArgs> | |
<runTarget>Project.html</runTarget> | |
<modules> | |
<module>com.utilitiessavings.usavappv7.Project</module> | |
</modules> | |
</configuration> | |
<executions> | |
<execution> | |
<goals> | |
<goal>compile</goal> | |
<goal>test</goal> | |
</goals> | |
</execution> | |
</executions> | |
</plugin> | |
<!-- Google App Engine Deployment --> | |
<plugin> | |
<groupId>net.kindleit</groupId> | |
<artifactId>maven-gae-plugin</artifactId> | |
<version>${maven-gae-plugin.version}</version> | |
<configuration> | |
<sdkDir>${gae.home}</sdkDir> | |
<!-- Add credentials to ~/.m2/settings.xml <id>appengine-credentials</id> --> | |
<serverId>appengine-credentials</serverId> | |
<splitJars>true</splitJars> | |
</configuration> | |
<executions> | |
<execution> | |
<id>deploy</id> | |
<goals> | |
<goal>deploy</goal> | |
</goals> | |
</execution> | |
</executions> | |
</plugin> | |
<!-- Run annotation processors on src/home/java sources --> | |
<plugin> | |
<groupId>org.bsc.maven</groupId> | |
<artifactId>maven-processor-plugin</artifactId> | |
<version>2.2.4</version> | |
<executions> | |
<execution> | |
<id>process</id> | |
<goals> | |
<goal>process</goal> | |
</goals> | |
<phase>generate-sources</phase> | |
</execution> | |
</executions> | |
<dependencies> | |
<dependency> | |
<groupId>com.gwtplatform</groupId> | |
<artifactId>gwtp-processors</artifactId> | |
<version>${gwtp.version}</version> | |
</dependency> | |
</dependencies> | |
</plugin> | |
<!-- Copy the generated classses --> | |
<plugin> | |
<groupId>org.codehaus.mojo</groupId> | |
<artifactId>build-helper-maven-plugin</artifactId> | |
<version>1.5</version> | |
<executions> | |
<execution> | |
<id>add-source</id> | |
<phase>generate-sources</phase> | |
<goals> | |
<goal>add-source</goal> | |
</goals> | |
<configuration> | |
<sources> | |
<source>${project.build.directory}/generated-sources/apt</source> | |
<source>${project.build.directory}/generated-sources/gwt</source> | |
</sources> | |
</configuration> | |
</execution> | |
</executions> | |
</plugin> | |
</plugins> | |
<pluginManagement> | |
<plugins> | |
<!-- lifecycle mapping --> | |
<plugin> | |
<groupId>org.eclipse.m2e</groupId> | |
<artifactId>lifecycle-mapping</artifactId> | |
<version>1.0.0</version> | |
<configuration> | |
<lifecycleMappingMetadata> | |
<pluginExecutions> | |
<pluginExecution> | |
<pluginExecutionFilter> | |
<groupId>org.bsc.maven</groupId> | |
<artifactId>maven-processor-plugin</artifactId> | |
<versionRange>[2.0.5,)</versionRange> | |
<goals> | |
<goal>generate-sources</goal> | |
</goals> | |
</pluginExecutionFilter> | |
<action> | |
<execute /> | |
</action> | |
</pluginExecution> | |
<pluginExecution> | |
<pluginExecutionFilter> | |
<groupId>org.bsc.maven</groupId> | |
<artifactId>maven-processor-plugin</artifactId> | |
<versionRange>[2.2.4,)</versionRange> | |
<goals> | |
<goal>process</goal> | |
</goals> | |
</pluginExecutionFilter> | |
<action> | |
<execute /> | |
</action> | |
</pluginExecution> | |
<pluginExecution> | |
<pluginExecutionFilter> | |
<groupId>org.codehaus.mojo</groupId> | |
<artifactId>build-helper-maven-plugin</artifactId> | |
<versionRange>[1.5,)</versionRange> | |
<goals> | |
<goal>add-source</goal> | |
</goals> | |
</pluginExecutionFilter> | |
<action> | |
<execute /> | |
</action> | |
</pluginExecution> | |
</pluginExecutions> | |
</lifecycleMappingMetadata> | |
</configuration> | |
</plugin> | |
</plugins> | |
</pluginManagement> | |
</build> | |
<dependencies> | |
<!-- Google Web Toolkit dependencies --> | |
<dependency> | |
<groupId>com.google.gwt</groupId> | |
<artifactId>gwt-user</artifactId> | |
<version>${gwt.version}</version> | |
<scope>provided</scope> | |
</dependency> | |
<dependency> | |
<groupId>com.google.gwt</groupId> | |
<artifactId>gwt-servlet</artifactId> | |
<version>${gwt.version}</version> | |
<scope>runtime</scope> | |
</dependency> | |
<!-- GWT-Platform dependencies --> | |
<dependency> | |
<groupId>com.gwtplatform</groupId> | |
<artifactId>gwtp-mvp-client</artifactId> | |
<version>${gwtp.version}</version> | |
<scope>provided</scope> | |
</dependency> | |
<dependency> | |
<groupId>com.gwtplatform</groupId> | |
<artifactId>gwtp-dispatch-client</artifactId> | |
<version>${gwtp.version}</version> | |
<scope>provided</scope> | |
</dependency> | |
<dependency> | |
<groupId>com.gwtplatform</groupId> | |
<artifactId>gwtp-dispatch-server-guice</artifactId> | |
<version>${gwtp.version}</version> | |
</dependency> | |
<dependency> | |
<groupId>com.gwtplatform</groupId> | |
<artifactId>gwtp-dispatch-shared</artifactId> | |
<version>${gwtp.version}</version> | |
</dependency> | |
<dependency> | |
<groupId>com.gwtplatform</groupId> | |
<artifactId>gwtp-processors</artifactId> | |
<version>${gwtp.version}</version> | |
<scope>provided</scope> | |
</dependency> | |
<!-- DI dependencies --> | |
<dependency> | |
<groupId>com.google.inject</groupId> | |
<artifactId>guice</artifactId> | |
<version>${guice.version}</version> | |
</dependency> | |
<dependency> | |
<groupId>com.google.inject.extensions</groupId> | |
<artifactId>guice-servlet</artifactId> | |
<version>${guice.version}</version> | |
</dependency> | |
<dependency> | |
<groupId>com.google.inject.extensions</groupId> | |
<artifactId>guice-assistedinject</artifactId> | |
<version>${guice.version}</version> | |
</dependency> | |
<dependency> | |
<groupId>com.google.gwt.inject</groupId> | |
<artifactId>gin</artifactId> | |
<version>${gin.version}</version> | |
<scope>provided</scope> | |
</dependency> | |
<!-- Google App Engine dependencies --> | |
<dependency> | |
<groupId>com.google.appengine</groupId> | |
<artifactId>appengine-api-1.0-sdk</artifactId> | |
<version>${gae.version}</version> | |
</dependency> | |
<dependency> | |
<groupId>com.google.appengine</groupId> | |
<artifactId>appengine-api-labs</artifactId> | |
<version>${gae.version}</version> | |
</dependency> | |
<dependency> | |
<groupId>com.google.appengine</groupId> | |
<artifactId>appengine-api-stubs</artifactId> | |
<version>${gae.version}</version> | |
<scope>test</scope> | |
</dependency> | |
<dependency> | |
<groupId>com.google.appengine</groupId> | |
<artifactId>appengine-testing</artifactId> | |
<version>${gae.version}</version> | |
<scope>test</scope> | |
</dependency> | |
<!-- Persistence dependencies --> | |
<dependency> | |
<groupId>javax.persistence</groupId> | |
<artifactId>persistence-api</artifactId> | |
<version>${persistence-api.version}</version> | |
</dependency> | |
<dependency> | |
<groupId>com.googlecode.objectify</groupId> | |
<artifactId>objectify</artifactId> | |
<version>${objectify.version}</version> | |
</dependency> | |
<dependency> | |
<groupId>javax.validation</groupId> | |
<artifactId>validation-api</artifactId> | |
<version>${javax.validation.version}</version> | |
</dependency> | |
<!-- Other dependencies --> | |
<dependency> | |
<groupId>javax.servlet</groupId> | |
<artifactId>servlet-api</artifactId> | |
<version>${servlet-api.version}</version> | |
<scope>runtime</scope> | |
</dependency> | |
<dependency> | |
<groupId>com.google.guava</groupId> | |
<artifactId>guava</artifactId> | |
<version>${guava-version}</version> | |
</dependency> | |
<dependency> | |
<groupId>com.google.guava</groupId> | |
<artifactId>guava-gwt</artifactId> | |
<version>${guava-version}</version> | |
</dependency> | |
<!-- Test dependencies --> | |
<dependency> | |
<groupId>junit</groupId> | |
<artifactId>junit</artifactId> | |
<version>${junit.version}</version> | |
<scope>test</scope> | |
</dependency> | |
<dependency> | |
<groupId>org.jukito</groupId> | |
<artifactId>jukito</artifactId> | |
<version>${jukito.version}</version> | |
<scope>test</scope> | |
</dependency> | |
<!-- GWT Bootstrap --> | |
<dependency> | |
<groupId>com.github.gwtbootstrap</groupId> | |
<artifactId>gwt-bootstrap</artifactId> | |
<version>2.3.2.0-SNAPSHOT</version> | |
<scope>provided</scope> | |
</dependency> | |
<!-- Lombok --> | |
<!-- <dependency> --> | |
<!-- <groupId>org.projectlombok</groupId> --> | |
<!-- <artifactId>lombok</artifactId> --> | |
<!-- <version>0.12.0</version> --> | |
<!-- </dependency> --> | |
<!-- JXL --> | |
<dependency> | |
<groupId>net.sourceforge.jexcelapi</groupId> | |
<artifactId>jxl</artifactId> | |
<version>2.6.12</version> | |
</dependency> | |
</dependencies> | |
</project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment