Last active
November 8, 2017 05:51
-
-
Save BenDol/75c9299b20cb285a8f57a89aa00bf28e 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/maven-v4_0_0.xsd"> | |
| <parent> | |
| <groupId>com.insclix.mvc</groupId> | |
| <artifactId>mvc-demo</artifactId> | |
| <version>1.0-SNAPSHOT</version> | |
| </parent> | |
| <modelVersion>4.0.0</modelVersion> | |
| <artifactId>mvc</artifactId> | |
| <packaging>war</packaging> | |
| <name>MVC</name> | |
| <description> | |
| A GWT framework. | |
| </description> | |
| <properties> | |
| <webappDirectory>${project.build.directory}/${project.build.finalName}</webappDirectory> | |
| <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | |
| <skipTests>true</skipTests> | |
| <argLine></argLine> | |
| <profileLine></profileLine> | |
| </properties> | |
| <repositories> | |
| <repository> | |
| <id>jboss</id> | |
| <name>JBoss Public Repo</name> | |
| <url>https://repository.jboss.org/nexus/content/groups/public</url> | |
| </repository> | |
| <repository> | |
| <id>sonatype-public</id> | |
| <name>Sonatype Public Snapshots Repo</name> | |
| <url>https://oss.sonatype.org/content/repositories/public</url> | |
| </repository> | |
| </repositories> | |
| <pluginRepositories> | |
| <pluginRepository> | |
| <id>public-snapshots-repo</id> | |
| <url>https://oss.sonatype.org/content/repositories/public/</url> | |
| <releases> | |
| <enabled>true</enabled> | |
| </releases> | |
| <snapshots> | |
| <enabled>true</enabled> | |
| </snapshots> | |
| </pluginRepository> | |
| <pluginRepository> | |
| <id>jboss</id> | |
| <name>JBoss Public Repo</name> | |
| <url>https://repository.jboss.org/nexus/content/groups/public</url> | |
| </pluginRepository> | |
| </pluginRepositories> | |
| <dependencyManagement> | |
| <dependencies> | |
| <dependency> | |
| <groupId>org.jboss.errai.bom</groupId> | |
| <artifactId>errai-bom</artifactId> | |
| <version>${errai.version}</version> | |
| <type>pom</type> | |
| <scope>import</scope> | |
| </dependency> | |
| </dependencies> | |
| </dependencyManagement> | |
| <dependencies> | |
| <!-- It is important that the Hibernate dependencies come before the GWT dependencies | |
| (or Errai dependencies that transitively include GWT). Otherwise, you get | |
| NoSuchMethodError on JPA2 calls like EntityManagerFactory.getMetamodel(). --> | |
| <dependency> | |
| <groupId>org.hibernate</groupId> | |
| <artifactId>hibernate-entitymanager</artifactId> | |
| </dependency> | |
| <!-- Errai --> | |
| <dependency> | |
| <groupId>com.insclix</groupId> | |
| <artifactId>insclix-core-ui</artifactId> | |
| <version>${insclix-core.version}</version> | |
| </dependency> | |
| <!-- GWT --> | |
| <dependency> | |
| <groupId>com.google.gwt</groupId> | |
| <artifactId>gwt-user</artifactId> | |
| </dependency> | |
| <dependency> | |
| <groupId>com.google.gwt</groupId> | |
| <artifactId>gwt-dev</artifactId> | |
| </dependency> | |
| <!-- GwtMaterial --> | |
| <dependency> | |
| <groupId>com.github.gwtmaterialdesign</groupId> | |
| <artifactId>gwt-material</artifactId> | |
| <version>${gwt-material.version}</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>com.github.gwtmaterialdesign</groupId> | |
| <artifactId>gwt-material-themes</artifactId> | |
| <version>${gwt-material.version}</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>com.github.gwtmaterialdesign</groupId> | |
| <artifactId>gwt-material-addins</artifactId> | |
| <version>${gwt-material.version}</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>com.github.gwtmaterialdesign</groupId> | |
| <artifactId>gwt-material-jquery</artifactId> | |
| <version>${gwt-material.version}</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>com.github.gwtmaterialdesign</groupId> | |
| <artifactId>gwt-material-table</artifactId> | |
| <version>${gwt-material.version}</version> | |
| </dependency> | |
| <!-- Apache Mail --> | |
| <dependency> | |
| <groupId>org.apache.commons</groupId> | |
| <artifactId>commons-email</artifactId> | |
| <version>1.4</version> | |
| </dependency> | |
| <!-- Spring --> | |
| <dependency> | |
| <groupId>org.springframework</groupId> | |
| <artifactId>spring-beans</artifactId> | |
| <version>${spring.version}</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.springframework</groupId> | |
| <artifactId>spring-tx</artifactId> | |
| <version>${spring.version}</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.springframework</groupId> | |
| <artifactId>spring-aop</artifactId> | |
| <version>${spring.version}</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.springframework</groupId> | |
| <artifactId>spring-expression</artifactId> | |
| <version>${spring.version}</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.springframework</groupId> | |
| <artifactId>spring-orm</artifactId> | |
| <version>${spring.version}</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.springframework</groupId> | |
| <artifactId>spring-context</artifactId> | |
| <version>${spring.version}</version> | |
| <exclusions> | |
| <exclusion> | |
| <groupId>commons-logging</groupId> | |
| <artifactId>commons-logging</artifactId> | |
| </exclusion> | |
| </exclusions> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.springframework</groupId> | |
| <artifactId>spring-core</artifactId> | |
| <version>${spring.version}</version> | |
| <exclusions> | |
| <exclusion> | |
| <groupId>commons-logging</groupId> | |
| <artifactId>commons-logging</artifactId> | |
| </exclusion> | |
| </exclusions> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.springframework</groupId> | |
| <artifactId>spring-web</artifactId> | |
| <version>${spring.version}</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.springframework</groupId> | |
| <artifactId>spring-test</artifactId> | |
| <version>${spring.version}</version> | |
| </dependency> | |
| <!-- Hibernate --> | |
| <dependency> | |
| <groupId>org.hibernate</groupId> | |
| <artifactId>hibernate-core</artifactId> | |
| <version>${hibernate.version}</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.hibernate</groupId> | |
| <artifactId>hibernate-ehcache</artifactId> | |
| <version>${hibernate.version}</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.hibernate</groupId> | |
| <artifactId>hibernate-validator</artifactId> | |
| <version>${hibernate-validator.version}</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.hibernate</groupId> | |
| <artifactId>hibernate-validator</artifactId> | |
| <version>${hibernate-validator.version}</version> | |
| <classifier>sources</classifier> | |
| <scope>compile</scope> | |
| </dependency> | |
| <!-- Jersey --> | |
| <dependency> | |
| <groupId>org.glassfish.jersey.containers</groupId> | |
| <artifactId>jersey-container-servlet</artifactId> | |
| <version>${jersey.version}</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.glassfish.jersey.media</groupId> | |
| <artifactId>jersey-media-json-jackson</artifactId> | |
| <version>${jersey.version}</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.glassfish.jersey.ext</groupId> | |
| <artifactId>jersey-spring3</artifactId> | |
| <version>${jersey.version}</version> | |
| <exclusions> | |
| <exclusion> | |
| <artifactId>spring-context</artifactId> | |
| <groupId>org.springframework</groupId> | |
| </exclusion> | |
| <exclusion> | |
| <artifactId>spring-beans</artifactId> | |
| <groupId>org.springframework</groupId> | |
| </exclusion> | |
| <exclusion> | |
| <artifactId>spring-core</artifactId> | |
| <groupId>org.springframework</groupId> | |
| </exclusion> | |
| <exclusion> | |
| <artifactId>spring-web</artifactId> | |
| <groupId>org.springframework</groupId> | |
| </exclusion> | |
| <exclusion> | |
| <artifactId>jersey-server</artifactId> | |
| <groupId>org.glassfish.jersey.core</groupId> | |
| </exclusion> | |
| <exclusion> | |
| <artifactId> | |
| jersey-container-servlet-core | |
| </artifactId> | |
| <groupId>org.glassfish.jersey.containers</groupId> | |
| </exclusion> | |
| <exclusion> | |
| <artifactId>hk2</artifactId> | |
| <groupId>org.glassfish.hk2</groupId> | |
| </exclusion> | |
| </exclusions> | |
| </dependency> | |
| <!-- Jackson --> | |
| <dependency> | |
| <groupId>com.fasterxml.jackson.core</groupId> | |
| <artifactId>jackson-core</artifactId> | |
| <version>${jackson.version}</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>com.fasterxml.jackson.core</groupId> | |
| <artifactId>jackson-databind</artifactId> | |
| <version>${jackson.version}</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>com.fasterxml.jackson.core</groupId> | |
| <artifactId>jackson-annotations</artifactId> | |
| <version>${jackson.version}</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>com.fasterxml.jackson.datatype</groupId> | |
| <artifactId>jackson-datatype-hibernate3</artifactId> | |
| <version>${jackson.version}</version> | |
| </dependency> | |
| <!-- Google Vision API --> | |
| <dependency> | |
| <groupId>com.google.apis</groupId> | |
| <artifactId>google-api-services-vision</artifactId> | |
| <version>v1-rev360-1.22.0</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>com.google.api-client</groupId> | |
| <artifactId>google-api-client</artifactId> | |
| <version>1.22.0</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>com.google.zxing</groupId> | |
| <artifactId>core</artifactId> | |
| <version>3.3.0</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>com.google.zxing</groupId> | |
| <artifactId>javase</artifactId> | |
| <version>3.3.0</version> | |
| </dependency> | |
| <!-- Weld (for Tomcat Support) --> | |
| <dependency> | |
| <groupId>org.jboss.weld.servlet</groupId> | |
| <artifactId>weld-servlet-core</artifactId> | |
| <version>${weld.version}</version> | |
| <exclusions> | |
| <exclusion> | |
| <groupId>org.jboss.spec.javax.el</groupId> | |
| <artifactId>jboss-el-api_3.0_spec</artifactId> | |
| </exclusion> | |
| </exclusions> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.jboss.weld.se</groupId> | |
| <artifactId>weld-se-core</artifactId> | |
| <version>${weld.version}</version> | |
| <scope>compile</scope> | |
| <exclusions> | |
| <exclusion> | |
| <groupId>javax.el</groupId> | |
| <artifactId>el-api</artifactId> | |
| </exclusion> | |
| </exclusions> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.jboss</groupId> | |
| <artifactId>jandex</artifactId> | |
| <version>1.2.2.Final</version> | |
| </dependency> | |
| <!-- JUnit --> | |
| <dependency> | |
| <groupId>junit</groupId> | |
| <artifactId>junit</artifactId> | |
| <scope>provided</scope> | |
| </dependency> | |
| <dependency> | |
| <groupId>commons-logging</groupId> | |
| <artifactId>commons-logging</artifactId> | |
| <version>1.2</version> | |
| </dependency> | |
| </dependencies> | |
| <build> | |
| <sourceDirectory>src/main/java</sourceDirectory> | |
| <outputDirectory>${webappDirectory}/WEB-INF/classes</outputDirectory> | |
| <resources> | |
| <resource> | |
| <directory>src/main/java</directory> | |
| <excludes> | |
| <exclude>**/*.java</exclude> | |
| </excludes> | |
| </resource> | |
| <resource> | |
| <directory>src/main/resources</directory> | |
| </resource> | |
| </resources> | |
| <plugins> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-war-plugin</artifactId> | |
| <version>${maven-war-plugin.version}</version> | |
| <configuration> | |
| <warName>${project.artifactId}</warName> | |
| <outputFileNameMapping>@{artifactId}@-@{baseVersion}@@{dashClassifier?}@.@{extension}@</outputFileNameMapping> | |
| <webResources> | |
| <resource> | |
| <!-- this is relative to the pom.xml directory --> | |
| <directory>src/main/webapp</directory> | |
| </resource> | |
| </webResources> | |
| </configuration> | |
| </plugin> | |
| <plugin> | |
| <artifactId>maven-source-plugin</artifactId> | |
| <version>${maven-source-plugin.version}</version> | |
| <executions> | |
| <execution> | |
| <id>attach-sources</id> | |
| <phase>package</phase> | |
| <goals> | |
| <goal>jar-no-fork</goal> | |
| </goals> | |
| </execution> | |
| </executions> | |
| </plugin> | |
| <plugin> | |
| <groupId>net.ltgt.gwt.maven</groupId> | |
| <artifactId>gwt-maven-plugin</artifactId> | |
| <version>${gwt-maven-plugin.version}</version> | |
| <extensions>true</extensions> | |
| <configuration> | |
| <moduleName>com.insclix.mvc.App</moduleName> | |
| <style>OBFUSCATED</style> | |
| <logLevel>INFO</logLevel> | |
| <sourceLevel>${java.version}</sourceLevel> | |
| <jvmArgs> | |
| <jvmArg>${argLine}</jvmArg> | |
| <jvmArg>-Xmx1g</jvmArg> | |
| <jvmArg>-Xms1g</jvmArg> | |
| <jvmArg>-XX:CompileThreshold=7000</jvmArg> | |
| <jvmArg>-Derrai.dev.context=${errai.dev.context}</jvmArg> | |
| <jvmArg>-Derrai.client.local.class.pattern=${errai.client.class.pattern}</jvmArg> | |
| <jvmArg>${profileLine}</jvmArg> | |
| </jvmArgs> | |
| <optimize>9</optimize> | |
| <compilerArgs> | |
| <arg>-compileReport</arg> | |
| <arg>-XcompilerMetrics</arg> | |
| </compilerArgs> | |
| <warDir>${webappDirectory}</warDir> | |
| <webappDirectory>${webappDirectory}</webappDirectory> | |
| <classpathScope>compile+runtime</classpathScope> | |
| <failOnError>true</failOnError> | |
| </configuration> | |
| <executions> | |
| <execution> | |
| <goals> | |
| <goal>compile</goal> | |
| <goal>test</goal> | |
| </goals> | |
| </execution> | |
| </executions> | |
| </plugin> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-clean-plugin</artifactId> | |
| <version>${maven-clean-plugin.version}</version> | |
| <configuration> | |
| <filesets> | |
| <fileset> | |
| <directory>${basedir}</directory> | |
| <includes> | |
| <include>www-test/**</include> | |
| <include>.gwt/**</include> | |
| <include>.errai/**</include> | |
| <include>src/main/webapp/auction/**</include> | |
| <include>src/main/webapp/WEB-INF/deploy/**</include> | |
| <include>src/main/webapp/WEB-INF/lib/**</include> | |
| <include>src/main/webapp/WEB-INF/classes/**</include> | |
| <include>**/*.JUnit/**</include> | |
| <include>monitordb.*</include> | |
| </includes> | |
| </fileset> | |
| </filesets> | |
| </configuration> | |
| </plugin> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-deploy-plugin</artifactId> | |
| <version>${maven-deploy-plugin.version}</version> | |
| <configuration> | |
| <skip>true</skip> | |
| </configuration> | |
| </plugin> | |
| <!-- Tests are skipped by default because they require additional GWT dependencies. | |
| Run mvn with -Pintegration-test to enable testing. --> | |
| <plugin> | |
| <artifactId>maven-surefire-plugin</artifactId> | |
| <version>2.5</version> | |
| <configuration> | |
| <skipTests>${skipTests}</skipTests> | |
| </configuration> | |
| </plugin> | |
| <plugin> | |
| <groupId>org.codehaus.mojo</groupId> | |
| <artifactId>license-maven-plugin</artifactId> | |
| <version>1.5</version> | |
| <configuration> | |
| <licenseName>apache_v2</licenseName> | |
| <inceptionYear>2015</inceptionYear> | |
| <organizationName>Doltech</organizationName> | |
| <projectName>Errai Prototype</projectName> | |
| <lineLength>19</lineLength> | |
| <addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage> | |
| <includes> | |
| <include>**/*.java</include> | |
| <include>**/*.xml</include> | |
| </includes> | |
| <excludes> | |
| <exclude>**/WEB-INF/beans.xml</exclude> | |
| </excludes> | |
| </configuration> | |
| <executions> | |
| <execution> | |
| <id>license</id> | |
| <phase>process-sources</phase> | |
| <goals> | |
| <goal>update-file-header</goal> | |
| </goals> | |
| </execution> | |
| </executions> | |
| </plugin> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-compiler-plugin</artifactId> | |
| <configuration> | |
| <source>1.8</source> | |
| <target>1.8</target> | |
| </configuration> | |
| </plugin> | |
| </plugins> | |
| </build> | |
| <profiles> | |
| <profile> | |
| <id>dev</id> | |
| <build> | |
| <plugins> | |
| <plugin> | |
| <groupId>net.ltgt.gwt.maven</groupId> | |
| <artifactId>gwt-maven-plugin</artifactId> | |
| <configuration> | |
| <style combine.self="override">PRETTY</style> | |
| <draftCompile combine.self="override">true</draftCompile> | |
| <optimize combine.self="override">0</optimize> | |
| <compilerArgs combine.self="override"/> | |
| </configuration> | |
| </plugin> | |
| </plugins> | |
| </build> | |
| </profile> | |
| </profiles> | |
| </project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment