Created
October 17, 2016 18:47
-
-
Save akkida746/c657e6e858d270df5308aa571a443f94 to your computer and use it in GitHub Desktop.
Create war using 'mvn clean install', just like exporting war in eclipse
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
<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>gdi_oms</groupId> | |
<artifactId>gdi_oms</artifactId> | |
<version>0.0.1-SNAPSHOT</version> | |
<packaging>war</packaging> | |
<properties> | |
<cxf.version>3.1.6</cxf.version> | |
</properties> | |
<dependencies> | |
<!-- CXF --> | |
<dependency> | |
<groupId>org.apache.cxf</groupId> | |
<artifactId>cxf-rt-management</artifactId> | |
<version>${cxf.version}</version> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.cxf</groupId> | |
<artifactId>cxf-integration-jca</artifactId> | |
<version>${cxf.version}</version> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.cxf</groupId> | |
<artifactId>cxf-rt-frontend-jaxws</artifactId> | |
<version>${cxf.version}</version> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.cxf</groupId> | |
<artifactId>cxf-rt-frontend-jaxrs</artifactId> | |
<version>${cxf.version}</version> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.cxf</groupId> | |
<artifactId>cxf-rt-frontend-js</artifactId> | |
<version>${cxf.version}</version> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.cxf</groupId> | |
<artifactId>cxf-rt-transports-http</artifactId> | |
<version>${cxf.version}</version> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.cxf</groupId> | |
<artifactId>cxf-rt-transports-http-jetty</artifactId> | |
<version>${cxf.version}</version> | |
</dependency> | |
<!-- Spring --> | |
<dependency> | |
<groupId>org.springframework</groupId> | |
<artifactId>spring-beans</artifactId> | |
<version>4.1.9.RELEASE</version> | |
</dependency> | |
<dependency> | |
<groupId>org.springframework</groupId> | |
<artifactId>spring-web</artifactId> | |
<version>4.1.9.RELEASE</version> | |
</dependency> | |
<dependency> | |
<groupId>org.springframework</groupId> | |
<artifactId>spring-webmvc</artifactId> | |
<version>4.1.9.RELEASE</version> | |
</dependency> | |
<dependency> | |
<groupId>org.springframework</groupId> | |
<artifactId>spring-aop</artifactId> | |
<version>4.1.9.RELEASE</version> | |
</dependency> | |
<dependency> | |
<groupId>org.springframework</groupId> | |
<artifactId>spring-core</artifactId> | |
<version>4.3.2.RELEASE</version> | |
</dependency> | |
<dependency> | |
<groupId>org.springframework</groupId> | |
<artifactId>spring-context-support</artifactId> | |
<version>4.3.2.RELEASE</version> | |
</dependency> | |
<dependency> | |
<groupId>org.springframework</groupId> | |
<artifactId>spring-tx</artifactId> | |
<version>4.1.9.RELEASE</version> | |
</dependency> | |
<dependency> | |
<groupId>org.springframework.batch</groupId> | |
<artifactId>spring-batch-infrastructure</artifactId> | |
<version>3.0.6.RELEASE</version> | |
</dependency> | |
<dependency> | |
<groupId>org.springframework.batch</groupId> | |
<artifactId>spring-batch-core</artifactId> | |
<version>3.0.6.RELEASE</version> | |
</dependency> | |
<dependency> | |
<groupId>org.springframework</groupId> | |
<artifactId>spring-oxm</artifactId> | |
<version>4.3.2.RELEASE</version> | |
</dependency> | |
<dependency> | |
<groupId>org.springframework</groupId> | |
<artifactId>spring-jdbc</artifactId> | |
<version>4.2.5.RELEASE</version> | |
</dependency> | |
<dependency> | |
<groupId>org.springframework.batch</groupId> | |
<artifactId>spring-batch-test</artifactId> | |
<version>3.0.6.RELEASE</version> | |
</dependency> | |
<dependency> | |
<groupId>org.springframework.integration</groupId> | |
<artifactId>spring-integration-file</artifactId> | |
<version>4.1.3.RELEASE</version> | |
</dependency> | |
<dependency> | |
<groupId>org.springframework.batch</groupId> | |
<artifactId>spring-batch-integration</artifactId> | |
<version>3.0.3.RELEASE</version> | |
</dependency> | |
<dependency> | |
<groupId>org.springframework</groupId> | |
<artifactId>spring-aspects</artifactId> | |
<version>4.1.9.RELEASE</version> | |
</dependency> | |
<dependency> | |
<groupId>org.springframework</groupId> | |
<artifactId>spring-support</artifactId> | |
<version>2.0.6</version> | |
</dependency> | |
<dependency> | |
<groupId>org.springframework.ws</groupId> | |
<artifactId>spring-oxm</artifactId> | |
<version>1.5.9</version> | |
</dependency> | |
<dependency> | |
<groupId>org.springframework</groupId> | |
<artifactId>spring-expression</artifactId> | |
<version>4.1.9.RELEASE</version> | |
</dependency> | |
<dependency> | |
<groupId>org.springframework</groupId> | |
<artifactId>spring-messaging</artifactId> | |
<version>4.0.0.RELEASE</version> | |
</dependency> | |
<!-- Spring Security --> | |
<dependency> | |
<groupId>org.springframework.security</groupId> | |
<artifactId>spring-security-core</artifactId> | |
<version>4.1.3.RELEASE</version> | |
</dependency> | |
<dependency> | |
<groupId>org.springframework.security</groupId> | |
<artifactId>spring-security-web</artifactId> | |
<version>4.1.3.RELEASE</version> | |
</dependency> | |
<dependency> | |
<groupId>org.springframework.security</groupId> | |
<artifactId>spring-security-config</artifactId> | |
<version>4.1.3.RELEASE</version> | |
</dependency> | |
<dependency> | |
<groupId>org.springframework.security.oauth</groupId> | |
<artifactId>spring-security-oauth2</artifactId> | |
<version>2.0.11.RELEASE</version> | |
</dependency> | |
<dependency> | |
<groupId>aspectj</groupId> | |
<artifactId>aspectjweaver</artifactId> | |
<version>1.5.4</version> | |
</dependency> | |
<dependency> | |
<groupId>org.jasypt</groupId> | |
<artifactId>jasypt-spring31</artifactId> | |
<version>1.9.2</version> | |
<scope>compile</scope> | |
</dependency> | |
<!-- AOP dependency --> | |
<dependency> | |
<groupId>cglib</groupId> | |
<artifactId>cglib</artifactId> | |
<version>2.2</version> | |
</dependency> | |
<dependency> | |
<groupId>org.jvnet.jaxb2_commons</groupId> | |
<artifactId>jaxb2-basics-runtime</artifactId> | |
<version>0.6.4</version> | |
</dependency> | |
<!-- Quatrz --> | |
<dependency> | |
<groupId>org.quartz-scheduler</groupId> | |
<artifactId>quartz</artifactId> | |
<version>2.2.1</version> | |
</dependency> | |
<!-- Others --> | |
<dependency> | |
<groupId>org.apache.mina</groupId> | |
<artifactId>mina-core</artifactId> | |
<version>2.0.9</version> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.wss4j</groupId> | |
<artifactId>wss4j-bindings</artifactId> | |
<version>2.1.5</version> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.wss4j</groupId> | |
<artifactId>wss4j-policy</artifactId> | |
<version>2.1.5</version> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.wss4j</groupId> | |
<artifactId>wss4j-ws-security-common</artifactId> | |
<version>2.1.5</version> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.wss4j</groupId> | |
<artifactId>wss4j-ws-security-dom</artifactId> | |
<version>2.1.5</version> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.wss4j</groupId> | |
<artifactId>wss4j-ws-security-policy-stax</artifactId> | |
<version>2.1.5</version> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.wss4j</groupId> | |
<artifactId>wss4j-ws-security-stax</artifactId> | |
<version>2.1.5</version> | |
</dependency> | |
<dependency> | |
<groupId>antlr</groupId> | |
<artifactId>antlr</artifactId> | |
<version>2.7.7</version> | |
</dependency> | |
<dependency> | |
<groupId>com.sun.xml.messaging.saaj</groupId> | |
<artifactId>saaj-impl</artifactId> | |
<version>1.3.15</version> | |
</dependency> | |
<dependency> | |
<groupId>javax.activation</groupId> | |
<artifactId>activation</artifactId> | |
<version>1.1.1</version> | |
</dependency> | |
<dependency> | |
<groupId>net.sf.dozer</groupId> | |
<artifactId>dozer</artifactId> | |
<version>5.4.0</version> | |
</dependency> | |
<dependency> | |
<groupId>javax.mail</groupId> | |
<artifactId>mail</artifactId> | |
<version>1.4.7</version> | |
</dependency> | |
<dependency> | |
<groupId>javax.persistence</groupId> | |
<artifactId>persistence-api</artifactId> | |
<version>1.0.2</version> | |
</dependency> | |
<dependency> | |
<groupId>log4j</groupId> | |
<artifactId>log4j</artifactId> | |
<version>1.2.12</version> | |
</dependency> | |
<dependency> | |
<groupId>commons-dbcp</groupId> | |
<artifactId>commons-dbcp</artifactId> | |
<version>1.4</version> | |
</dependency> | |
<dependency> | |
<groupId>hsqldb</groupId> | |
<artifactId>hsqldb</artifactId> | |
<version>1.8.0.7</version> | |
</dependency> | |
<dependency> | |
<groupId>junit</groupId> | |
<artifactId>junit</artifactId> | |
<version>4.12</version> | |
</dependency> | |
<dependency> | |
<groupId>commons-collections</groupId> | |
<artifactId>commons-collections</artifactId> | |
<version>3.2.1</version> | |
</dependency> | |
<dependency> | |
<groupId>commons-net</groupId> | |
<artifactId>commons-net</artifactId> | |
<version>3.3</version> | |
</dependency> | |
<dependency> | |
<groupId>javax.validation</groupId> | |
<artifactId>validation-api</artifactId> | |
<version>1.1.0.Final</version> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.geronimo.specs</groupId> | |
<artifactId>geronimo-validation_1.0_spec</artifactId> | |
<version>1.1</version> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.bval</groupId> | |
<artifactId>org.apache.bval.bundle</artifactId> | |
<version>0.5</version> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.httpcomponents</groupId> | |
<artifactId>httpclient</artifactId> | |
<version>4.2.5</version> | |
</dependency> | |
<dependency> | |
<groupId>xerces</groupId> | |
<artifactId>xercesImpl</artifactId> | |
<version>2.11.0</version> | |
</dependency> | |
<dependency> | |
<groupId>org.codehaus.jackson</groupId> | |
<artifactId>jackson-mapper-asl</artifactId> | |
<version>1.9.9</version> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.oltu.oauth2</groupId> | |
<artifactId>org.apache.oltu.oauth2.client</artifactId> | |
<version>1.0.2</version> | |
</dependency> | |
</dependencies> | |
<build> | |
<sourceDirectory>src</sourceDirectory> | |
<finalName>gdi_oms</finalName> | |
<plugins> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-compiler-plugin</artifactId> | |
<version>3.5.1</version> | |
<configuration> | |
<source>1.7</source> | |
<target>1.7</target> | |
</configuration> | |
</plugin> | |
<plugin> | |
<artifactId>maven-war-plugin</artifactId> | |
<version>2.4</version> | |
<configuration> | |
<warSourceDirectory>WebContent</warSourceDirectory> | |
<failOnMissingWebXml>false</failOnMissingWebXml> | |
</configuration> | |
</plugin> | |
</plugins> | |
</build> | |
</project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment