Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <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>
- <groupId>com.example</groupId>
- <artifactId>foo</artifactId>
- <packaging>war</packaging>
- <version>2.3.79</version>
- <name>Foo</name>
- <description>Hare</description>
- <organization>
- <name>Comap</name>
- <url>http://example.com/</url>
- </organization>
- <!-- Team -->
- <developers>
- <developer>
- <name>blah</name>
- <email>blah@example.com</email>
- </developer>
- </developers>
- <scm>
- <connection>scm:svn:http://host-svn/bar/foo/trunk</connection>
- <developerConnection>scm:svn:http://host-svn/bar/foo/trunk
- </developerConnection>
- <tag>HEAD</tag>
- <url>scm:svn:http://host-svn/bar/foo/trunk</url>
- </scm>
- <repositories>
- <repository>
- <id>public</id>
- <url>http://foo-ci:8080/nexus/content/groups/public</url>
- </repository>
- </repositories>
- <pluginRepositories>
- <pluginRepository>
- <id>public</id>
- <url>http://foo-ci:8080/nexus/content/groups/public</url>
- </pluginRepository>
- </pluginRepositories>
- <properties>
- <Access.Secure>false</Access.Secure>
- <build.type></build.type>
- <spring.version>3.2.15.RELEASE</spring.version>
- <cxf.version>2.7.3</cxf.version>
- <gwt.version>2.7.0</gwt.version>
- <gwt.maven.plugin.version>2.7.0</gwt.maven.plugin.version>
- <oracle.jdbc.version>11.1.0.7.0</oracle.jdbc.version>
- <resteazy.version>2.3.2.Final</resteazy.version>
- <jaxws.api.version>2.2.1</jaxws.api.version>
- <jaxws.rt.version>2.2.6</jaxws.rt.version>
- <jaxws.tools.version>2.2.6</jaxws.tools.version>
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- <warname.template>foo_${project.version}_${buildNumber}${build.type}</warname.template>
- <java.sources.version>1.8</java.sources.version>
- <java.target.version>1.8</java.target.version>
- <java.jdk.version>1.8</java.jdk.version>
- </properties>
- <build>
- <finalName>foo.war</finalName>
- <defaultGoal>package</defaultGoal>
- <resources>
- <resource>
- <directory>src/main/resources</directory>
- <filtering>true</filtering>
- </resource>
- </resources>
- <testResources>
- <testResource>
- <directory>${project.basedir}/src/main/webapp</directory>
- </testResource>
- <testResource>
- <directory>${project.basedir}/src/test/resources</directory>
- </testResource>
- </testResources>
- <!-- The Compiler Plugin is used to compile the
- sources of your project. -->
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <version>2.5.1</version>
- <configuration>
- <source>${java.sources.version}</source>
- <target>${java.target.version}</target>
- <compilerVersion>${java.jdk.version}</compilerVersion>
- <encoding>${project.build.sourceEncoding}</encoding>
- </configuration>
- </plugin>
- <!-- The Surefire Plugin is used during the test phase of the build lifecycle
- to execute the unit tests of an application. It generates reports in two
- different file formats:
- - Plain text files (*.txt)
- - XML files (*.xml) -->
- <plugin>
- <artifactId>maven-surefire-plugin</artifactId>
- <version>2.16</version>
- <configuration>
- <additionalClasspathElements>
- <additionalClasspathElement>${project.build.sourceDirectory}</additionalClasspathElement>
- <additionalClasspathElement>${project.build.testSourceDirectory}</additionalClasspathElement>
- </additionalClasspathElements>
- <useManifestOnlyJar>false</useManifestOnlyJar>
- <forkMode>always</forkMode>
- <systemProperties>
- <property>
- <name>gwt.args</name>
- <value>-out "${project.build.directory}/gwt-compile-test"</value>
- </property>
- </systemProperties>
- <includes>
- <include>**/*GwtTestSuite.java</include>
- <include>**/*Test.java</include>
- </includes>
- <excludes>
- <exclude>**/*GwtTest.java</exclude>
- </excludes>
- </configuration>
- </plugin>
- <!-- GWT Maven Plugin supports :
- - GWT compiler execution for packaging your application into a WAR Compile and Debug;
- - generate GWT internationalization ("i18n") interfaces from bundles
- Internationalization;
- - running tests (or test suites) based on GWTTestCase framework as part
- of Maven build, Testing Support;
- - run (or debug) in DevMode from Maven DevMode;
- - generate boiler code for GWT-RPC Async interface from;
- synchronous server-side interfaces Generate Async interfaces for GWT-RPC;
- - integrate nicelly into Eclipse, thanks to M2Eclipse and the Google
- Plugin for Eclipse;
- Actual: 'org.codehaus.mojo:gwt-maven-plugin:2.7.0'
- -->
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>gwt-maven-plugin</artifactId>
- <version>${gwt.maven.plugin.version}</version>
- <executions>
- <execution>
- <goals>
- <goal>compile</goal>
- </goals>
- <configuration>
- <compileReport>false</compileReport>
- <optimizationLevel>0</optimizationLevel>
- <style>pretty</style>
- <localWorkers>1</localWorkers>
- <strict>true</strict>
- <!-- style ::= {detailed | pretty | obfuscated} -->
- <extraJvmArgs>-Xmx1024m -Dgwt.jjs.maxThreads=1</extraJvmArgs>
- <!-- logLevel ::= { ERROR | WARN | INFO | TRACE | DEBUG | SPAM | ALL } -->
- <!--<logLevel>TRACE</logLevel>-->
- <modules>
- <module>com.example.foo.gwt.Foo</module>
- </modules>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <!-- The Properties Maven Plugin is here to make life a little easier
- when dealing with properties. It provides goals to read and write
- properties from and to files, and also to set system properties. -->
- <!--For automatically switching security on while delivery-->
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>properties-maven-plugin</artifactId>
- <version>1.0-alpha-2</version>
- <executions>
- <execution>
- <phase>generate-resources</phase>
- <goals>
- <goal>write-project-properties</goal>
- </goals>
- <configuration>
- <outputFile>
- ${project.build.directory}/${project.build.finalName}/WEB-INF/AccessSecure.properties
- </outputFile>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <!-- Cobertura is a free Java tool that calculates the percentage
- of code accessed by tests. It can be used to identify which
- parts of your Java program are lacking test coverage.
- It is based on jcoverage. -->
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>cobertura-maven-plugin</artifactId>
- <version>2.5.2</version>
- <configuration>
- <formats>
- <format>xml</format>
- </formats>
- <check/>
- </configuration>
- </plugin>
- <!-- FindBugs looks for bugs in Java programs. It is based on the concept of bug patterns.
- A bug pattern is a code idiom that is often an error. Bug patterns arise for a variety of reasons:
- - Difficult language features
- - Misunderstood API methods
- - Misunderstood invariants when code is modified during maintenance
- - Garden variety mistakes: typos, use of the wrong boolean operator -->
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>findbugs-maven-plugin</artifactId>
- <version>3.0.0</version>
- <configuration>
- <xmlOutput>false</xmlOutput>
- <excludeFilterFile>${basedir}/src/main/findbugs/excludeBugsFile.xml</excludeFilterFile>
- </configuration>
- </plugin>
- <!-- The PMD Plugin allows you to automatically run the PMD code analysis tool
- on your project's source code and generate a site report with its results.
- It also supports the separate Copy/Paste Detector tool (or CPD) distributed
- with PMD. -->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-pmd-plugin</artifactId>
- <version>3.1</version>
- <configuration>
- <aggregate>true</aggregate>
- <sourceEncoding>${project.build.sourceEncoding}</sourceEncoding>
- <minimumTokens>100</minimumTokens>
- <targetJdk>${java.jdk.version}</targetJdk>
- <linkXRef>false</linkXRef>
- </configuration>
- </plugin>
- <!-- This mojo is designed to get a unique build number for each time you build
- your project. So while your version may remain constant at 1.0-SNAPSHOT
- for many iterations until release, you will have a build number that can
- uniquely identify each build during that time. The build number is obtained
- from scm. You can then place that build number in metadata, which can be
- accessed from your app, if desired. -->
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>buildnumber-maven-plugin</artifactId>
- <version>1.2</version>
- <executions>
- <execution>
- <phase>validate</phase>
- <goals>
- <goal>create</goal>
- </goals>
- </execution>
- </executions>
- <configuration>
- <doCheck>false</doCheck>
- <doUpdate>false</doUpdate>
- <providerImplementations>
- <svn>javasvn</svn>
- </providerImplementations>
- </configuration>
- <dependencies>
- <dependency>
- <groupId>org.tmatesoft.svnkit</groupId>
- <artifactId>svnkit</artifactId>
- <version>1.7.5</version>
- </dependency>
- </dependencies>
- </plugin>
- <!-- The plugin offers the following goals:
- - xml:validate validates XML files against a schema. If the files
- aren't matching a certain schema, one may simply
- check, whether they are well formed.
- - xml:transform transforms XML files by applying XSLT stylesheets. -->
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>xml-maven-plugin</artifactId>
- <version>1.0</version>
- <executions>
- <execution>
- <goals>
- <goal>validate</goal>
- </goals>
- </execution>
- </executions>
- <configuration>
- <validationSets>
- <validationSet>
- <dir>${basedir}/src/main/resources/com/example/foo/dao</dir>
- </validationSet>
- <validationSet>
- <dir>${basedir}/src/main/resources/mapping</dir>
- </validationSet>
- <validationSet>
- <dir>${basedir}/src/main/webapp/WEB-INF</dir>
- <includes>
- <include>*.xml</include>
- </includes>
- </validationSet>
- <validationSet>
- <dir>${basedir}/src/main/wsdl</dir>
- <includes>
- <include>*.wsdl</include>
- </includes>
- </validationSet>
- </validationSets>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-resources-plugin</artifactId>
- <version>2.6</version>
- <executions>
- <execution>
- <id>copy-meta-inf</id>
- <phase>process-resources</phase>
- <goals>
- <goal>copy-resources</goal>
- </goals>
- <configuration>
- <outputDirectory>${project.build.directory}/${project.build.finalName}/META-INF</outputDirectory>
- <resources>
- <resource>
- <directory>src/main/META-INF</directory>
- </resource>
- </resources>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-war-plugin</artifactId>
- <version>2.4</version>
- <configuration>
- <warName>${warname.template}</warName>
- <packagingExcludes>
- **/.gwt-tmp/,
- **/.junit_symbolMaps/,
- WEB-INF/classes/com/example/foo/gwt/client/,
- WEB-INF/classes/com/example/foo/gwt/rebind/,
- test/,
- com.example.foo.gwt.FooTestModule/,
- WEB-INF/classes/com/example/foo/gwt/client/FooTestModule.class,
- WEB-INF/deploy/,
- WEB-INF/jboss-*.xml
- </packagingExcludes>
- <archive>
- <manifest>
- <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
- </manifest>
- <manifestEntries>
- <Implementation-Build>${buildNumber}</Implementation-Build>
- </manifestEntries>
- </archive>
- </configuration>
- </plugin>
- </plugins>
- </build>
- <reporting>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-javadoc-plugin</artifactId>
- <version>2.10.1</version>
- <configuration>
- <excludePackageNames>com.*</excludePackageNames>
- </configuration>
- </plugin>
- </plugins>
- </reporting>
- <dependencies>
- <!-- GWT -->
- <!-- Actual: 'com.google.gwt:gwt-user:2.7.0' -->
- <dependency>
- <groupId>com.google.gwt</groupId>
- <artifactId>gwt-user</artifactId>
- <version>${gwt.version}</version>
- <scope>provided</scope>
- </dependency>
- <!-- Actual: 'com.google.gwt:gwt-servlet:2.7.0' -->
- <dependency>
- <groupId>com.google.gwt</groupId>
- <artifactId>gwt-servlet</artifactId>
- <version>${gwt.version}</version>
- </dependency>
- <!--
- The Server Library for GWT is a collection of Java
- server side components for the Google Web Toolkit
- AJAX framework with the focus on the Spring framework
- by facilitating publishing of Spring beans as RPC
- services with support for Hibernate-managed entities.
- -->
- <dependency>
- <groupId>net.sf.gwt-widget</groupId>
- <artifactId>gwt-sl</artifactId>
- <version>1.2</version>
- </dependency>
- <!--
- The Apache Log4j Implementation
- Actual: 'org.apache.logging.log4j:log4j-core:2.1'
- -->
- <dependency>
- <groupId>log4j</groupId>
- <artifactId>log4j</artifactId>
- <version>1.2.17</version>
- </dependency>
- <!--
- Java library which enables encryption in java
- apps with minimum effort.
- Actual: 'org.jasypt:jasypt:1.9.2'
- -->
- <dependency>
- <groupId>org.jasypt</groupId>
- <artifactId>jasypt</artifactId>
- <version>1.9.0</version>
- </dependency>
- <!--
- Actual: 'org.jasypt:jasypt-spring3:1.9.
- -->
- <dependency>
- <groupId>org.jasypt</groupId>
- <artifactId>jasypt-spring3</artifactId>
- <version>1.9.0</version>
- </dependency>
- <!-- Spring -->
- <dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring-core</artifactId>
- <version>${spring.version}</version>
- </dependency>
- <dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring-jdbc</artifactId>
- <version>${spring.version}</version>
- </dependency>
- <dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring-webmvc</artifactId>
- <version>${spring.version}</version>
- </dependency>
- <dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring-context-support</artifactId>
- <version>${spring.version}</version>
- </dependency>
- <dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring-test</artifactId>
- <version>${spring.version}</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.hibernate</groupId>
- <artifactId>hibernate-validator-annotation-processor</artifactId>
- <version>4.1.0.Final</version>
- </dependency>
- <!-- Code Generation Library. Newest version is 'cglib:cglib:3.1' -->
- <dependency>
- <groupId>cglib</groupId>
- <artifactId>cglib-nodep</artifactId>
- <version>2.2.2</version>
- <scope>runtime</scope>
- </dependency>
- <!-- Oracle -->
- <dependency>
- <groupId>oracle.jdbc</groupId>
- <artifactId>ojdbc6</artifactId>
- <version>${oracle.jdbc.version}</version>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>oracle.jdbc</groupId>
- <artifactId>orai18n</artifactId>
- <version>${oracle.jdbc.version}</version>
- <scope>provided</scope>
- </dependency>
- <!-- Class persistence framework. Latest version is 'org.mybatis:mybatis-spring:1.2.2' -->
- <dependency>
- <groupId>org.mybatis</groupId>
- <artifactId>mybatis-spring</artifactId>
- <version>1.1.1</version>
- </dependency>
- <!-- CXF libraries -->
- <dependency>
- <groupId>org.apache.cxf</groupId>
- <artifactId>cxf-api</artifactId>
- <version>${cxf.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.cxf</groupId>
- <artifactId>cxf-rt-ws-security</artifactId>
- <version>${cxf.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.cxf</groupId>
- <artifactId>cxf-rt-frontend-jaxws</artifactId>
- <version>${cxf.version}</version>
- <exclusions>
- <exclusion>
- <artifactId>asm</artifactId>
- <groupId>asm</groupId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>org.apache.cxf</groupId>
- <artifactId>cxf-rt-transports-http-jetty</artifactId>
- <version>2.7.7</version>
- </dependency>
- <!--
- JUnit is a unit testing framework for Java,
- created by Erich Gamma and Kent Beck.
- Actual: 'junit:junit:4.12'
- -->
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>4.12</version>
- <scope>test</scope>
- </dependency>
- <!--
- Mock objects library for java
- Actual: 'org.mockito:mockito-all:1.10.19'
- -->
- <dependency>
- <groupId>org.mockito</groupId>
- <artifactId>mockito-all</artifactId>
- <version>1.10.8</version>
- <scope>test</scope>
- </dependency>
- <!-- Third-party web-services stubs -->
- <dependency>
- <groupId>com.huawei</groupId>
- <artifactId>cmsservice</artifactId>
- <version>NGINMobileR002C01LUA501_cxf_2.7.3</version>
- </dependency>
- <dependency>
- <groupId>com.pontis</groupId>
- <artifactId>pontisclient</artifactId>
- <version>1.1.0_cxf_2.7.3</version>
- </dependency>
- <dependency>
- <groupId>com.comverse</groupId>
- <artifactId>customercareservice</artifactId>
- <version>20160104_cxf_2.7.3</version>
- </dependency>
- <dependency>
- <groupId>com.comverse</groupId>
- <artifactId>subscriberservice</artifactId>
- <version>20160104_cxf_2.7.3</version>
- </dependency>
- <dependency>
- <groupId>com.comverse</groupId>
- <artifactId>fflistinstancememberservice</artifactId>
- <version>20160104_cxf_2.7.3</version>
- </dependency>
- <dependency>
- <groupId>com.comverse</groupId>
- <artifactId>samlsignonws</artifactId>
- <version>20160104_cxf_2.7.3</version>
- </dependency>
- <dependency>
- <groupId>com.comverse</groupId>
- <artifactId>offerrctermservice</artifactId>
- <version>20160104_cxf_2.7.3</version>
- </dependency>
- <dependency>
- <groupId>com.comverse</groupId>
- <artifactId>resellerversionservice</artifactId>
- <version>20160104_cxf_2.7.3</version>
- </dependency>
- <!--
- Apache HttpComponents Client
- Actual: 'org.apache.httpcomponents:httpclient:4.4'
- -->
- <dependency>
- <groupId>org.apache.httpcomponents</groupId>
- <artifactId>httpclient</artifactId>
- <version>4.3.4</version>
- </dependency>
- <!--
- Actual: 'org.apache.httpcomponents:httpcore:4.4'
- -->
- <dependency>
- <groupId>org.apache.httpcomponents</groupId>
- <artifactId>httpcore</artifactId>
- <version>4.3.2</version>
- </dependency>
- <!--
- The Apache Commons Digester package lets you configure an XML
- to Java object mapping module which triggers certain actions
- called rules whenever a particular pattern of nested XML
- elements is recognized.
- Actual: 'org.apache.commons:commons-digester3:3.2'
- -->
- <dependency>
- <groupId>commons-digester</groupId>
- <artifactId>commons-digester</artifactId>
- <version>2.1</version>
- </dependency>
- <!--
- Tools to assist in the reading of configuration/preferences
- files in various formats.
- Actual: 'commons-configuration:commons-configuration:1.10'
- -->
- <dependency>
- <groupId>commons-configuration</groupId>
- <artifactId>commons-configuration</artifactId>
- <version>1.6</version>
- <exclusions>
- <exclusion>
- <groupId>commons-beanutils</groupId>
- <artifactId>commons-beanutils-core</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <!-- Resteasy JAXB Provider
- Actual: 'org.jboss.resteasy:resteasy-jaxb-provider:3.0.10.Final'
- -->
- <dependency>
- <groupId>org.jboss.resteasy</groupId>
- <artifactId>resteasy-jaxb-provider</artifactId>
- <version>${resteazy.version}</version>
- <exclusions>
- <exclusion>
- <groupId>javax.servlet</groupId>
- <artifactId>servlet-api</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <!-- Resteasy Spring Integration
- Actual: 'org.jboss.resteasy:resteasy-spring:3.0.10.Final'
- -->
- <dependency>
- <groupId>org.jboss.resteasy</groupId>
- <artifactId>resteasy-spring</artifactId>
- <version>${resteazy.version}</version>
- </dependency>
- <!-- Caching. This is the ehcache core module. Pair it
- with other modules for added functionality.
- Actual: 'net.sf.ehcache:ehcache-core:2.6.10'
- -->
- <dependency>
- <groupId>net.sf.ehcache</groupId>
- <artifactId>ehcache-core</artifactId>
- <version>2.6.3</version>
- </dependency>
- <!-- Apache POI - Java API To Access Microsoft
- Format Files. Actual: 'org.apache.poi:poi:3.11'
- -->
- <dependency>
- <groupId>org.apache.poi</groupId>
- <artifactId>poi</artifactId>
- <version>3.9</version>
- </dependency>
- <!-- Date and time library to replace JDK
- date handling. Actual: 'joda-time:joda-time:2.7'
- -->
- <dependency>
- <groupId>joda-time</groupId>
- <artifactId>joda-time</artifactId>
- <version>2.7</version>
- </dependency>
- <!--
- Mapping (Copping) objects
- Actual: 'net.sf.dozer:dozer:5.5.1'
- -->
- <dependency>
- <groupId>net.sf.dozer</groupId>
- <artifactId>dozer</artifactId>
- <version>5.4.0</version>
- </dependency>
- <!-- JSon mapping -->
- <dependency>
- <groupId>com.google.code.gson</groupId>
- <artifactId>gson</artifactId>
- <version>2.2.4</version>
- </dependency>
- <!--
- Don't touch. This jar MUST be at the end
- Actual: 'com.google.gwt:gwt-dev:2.7.0'
- -->
- <dependency>
- <groupId>com.google.gwt</groupId>
- <artifactId>gwt-dev</artifactId>
- <version>${gwt.version}</version>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>javax.xml.ws</groupId>
- <artifactId>jaxws-api</artifactId>
- <version>${jaxws.api.version}</version>
- </dependency>
- <dependency>
- <groupId>com.sun.xml.ws</groupId>
- <artifactId>jaxws-rt</artifactId>
- <version>${jaxws.rt.version}</version>
- </dependency>
- <dependency>
- <groupId>com.sun.xml.ws</groupId>
- <artifactId>jaxws-tools</artifactId>
- <version>${jaxws.tools.version}</version>
- </dependency>
- <!--
- A set of annotations used for code
- inspection support and code documentation.
- -->
- <dependency>
- <groupId>com.intellij</groupId>
- <artifactId>annotations</artifactId>
- <version>12.0</version>
- </dependency>
- </dependencies>
- </project>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement