Created
February 9, 2017 21:19
-
-
Save x5gtrn/ea1f5cc708e3fceec2703d51fa3eed06 to your computer and use it in GitHub Desktop.
(FOR SAMPLE) 2 pom.xml of the web appication which I made 2 years ago.
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
<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.x5gtrn</groupId> | |
<artifactId>x5gtrn-core</artifactId> | |
<packaging>jar</packaging> | |
<version>1.0-SNAPSHOT</version> | |
<name>x5gtrn-core</name> | |
<properties> | |
<spring.version>4.0.0.RELEASE</spring.version> | |
<spring-data-commons.version>1.6.2.RELEASE</spring-data-commons.version> | |
<jackson.version>2.2.3</jackson.version> | |
<aws-java-sdk.version>1.7.7</aws-java-sdk.version> | |
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | |
</properties> | |
<repositories> | |
<repository> <!-- for SNAPSHOT of spring-test-mvc --> | |
<id>spring-maven-snapshot</id> | |
<url>http://maven.springframework.org/snapshot</url> | |
<releases> | |
<enabled>false</enabled> | |
</releases> | |
</repository> | |
<repository> <!-- Spring 4.0.0.RELEASE depends on aspectjweaver 1.8.0.M1 --> | |
<id>org.springframework.maven.milestone</id> | |
<name>Spring Maven Milestone Repository</name> | |
<url>http://maven.springframework.org/milestone</url> | |
<releases> | |
<enabled>true</enabled> | |
</releases> | |
</repository> | |
<repository> <!-- for SNAPSHOT of spring-data-dynamodb --> | |
<id>opensourceagility-snapshots</id> | |
<url>https://raw.github.com/OpenSourceAgility/opensourceagility-mvn-repo/master/snapshots</url> | |
<releases> | |
<enabled>false</enabled> | |
</releases> | |
<snapshots> | |
<enabled>true</enabled> | |
</snapshots> | |
</repository> | |
<repository> <!-- for spring-data-mirage --> | |
<id>xet.jp-release</id> | |
<name>xet.jp-release</name> | |
<url>http://maven.xet.jp/release</url> | |
</repository> | |
</repositories> | |
<dependencies> | |
<dependency> | |
<groupId>mysql</groupId> | |
<artifactId>mysql-connector-java</artifactId> | |
<version>5.1.26</version> | |
<scope>runtime</scope> | |
</dependency> | |
<dependency> | |
<groupId>org.projectlombok</groupId> | |
<artifactId>lombok</artifactId> | |
<version>1.12.2</version> | |
<scope>provided</scope> | |
</dependency> | |
<dependency> | |
<groupId>javax.servlet</groupId> | |
<artifactId>javax.servlet-api</artifactId> | |
<version>3.0.1</version> | |
<scope>provided</scope> | |
</dependency> | |
<dependency> | |
<groupId>org.springframework</groupId> | |
<artifactId>spring-context</artifactId> | |
<version>${spring.version}</version> | |
</dependency> | |
<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-aspects</artifactId> | |
<version>${spring.version}</version> | |
</dependency> | |
<dependency> | |
<groupId>org.springframework</groupId> | |
<artifactId>spring-web</artifactId> | |
<version>${spring.version}</version> | |
</dependency> | |
<dependency> | |
<groupId>org.springframework</groupId> | |
<artifactId>spring-webmvc</artifactId> | |
<version>${spring.version}</version> | |
</dependency> | |
<dependency> | |
<groupId>org.springframework.data</groupId> | |
<artifactId>spring-data-commons</artifactId> | |
<version>${spring-data-commons.version}</version> | |
</dependency> | |
<dependency> | |
<groupId>jp.sf.amateras</groupId> | |
<artifactId>mirage</artifactId> | |
<version>1.2.2</version> | |
</dependency> | |
<dependency> | |
<groupId>org.springframework.data</groupId> | |
<artifactId>spring-data-mirage</artifactId> | |
<version>0.2.4.RELEASE</version> | |
</dependency> | |
<dependency> | |
<groupId>com.amazonaws</groupId> | |
<artifactId>aws-java-sdk</artifactId> | |
<version>${aws-java-sdk.version}</version> | |
</dependency> | |
<dependency> | |
<groupId>org.socialsignin</groupId> | |
<artifactId>spring-data-dynamodb</artifactId> | |
<version>1.0.0-SNAPSHOT</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.core</groupId> | |
<artifactId>jackson-core</artifactId> | |
<version>${jackson.version}</version> | |
</dependency> | |
<dependency> | |
<groupId>ch.qos.logback</groupId> | |
<artifactId>logback-classic</artifactId> | |
<version>1.0.13</version> | |
</dependency> | |
<dependency><!-- legacy use --> | |
<groupId>log4j</groupId> | |
<artifactId>log4j</artifactId> | |
<version>1.2.17</version> | |
</dependency> | |
<dependency><!-- legacy use --> | |
<groupId>ch.ethz.ganymed</groupId> | |
<artifactId>ganymed-ssh2</artifactId> | |
<version>build210</version> | |
</dependency> | |
<dependency> | |
<groupId>commons-fileupload</groupId> | |
<artifactId>commons-fileupload</artifactId> | |
<version>1.3</version> | |
</dependency> | |
<dependency> | |
<groupId>org.springframework</groupId> | |
<artifactId>spring-test</artifactId> | |
<version>${spring.version}</version> | |
<scope>test</scope> | |
</dependency> | |
<dependency> | |
<groupId>org.springframework</groupId> | |
<artifactId>spring-test-mvc</artifactId> | |
<version>1.0.0.BUILD-SNAPSHOT</version> | |
<scope>test</scope> | |
</dependency> | |
<dependency> | |
<groupId>org.mockito</groupId> | |
<artifactId>mockito-all</artifactId> | |
<version>1.9.5</version> | |
<scope>test</scope> | |
</dependency> | |
<dependency> | |
<groupId>junit</groupId> | |
<artifactId>junit</artifactId> | |
<version>4.11</version> | |
<scope>test</scope> | |
</dependency> | |
</dependencies> | |
<build> | |
<finalName>x45-core</finalName> | |
<plugins> | |
<plugin> | |
<artifactId>maven-compiler-plugin</artifactId> | |
<version>3.1</version> | |
<configuration> | |
<source>1.7</source> | |
<target>1.7</target> | |
<encoding>UTF-8</encoding> | |
</configuration> | |
</plugin> | |
<plugin> | |
<groupId>org.codehaus.mojo</groupId> | |
<artifactId>aspectj-maven-plugin</artifactId> | |
<version>1.5</version> | |
<configuration> | |
<source>1.7</source> | |
<target>1.7</target> | |
<complianceLevel>1.7</complianceLevel> | |
<aspectLibraries> | |
<aspectLibrary> | |
<groupId>org.springframework</groupId> | |
<artifactId>spring-aspects</artifactId> | |
</aspectLibrary> | |
</aspectLibraries> | |
</configuration> | |
<!-- | |
<executions> | |
<execution> | |
<goals> | |
<goal>compile</goal> | |
<goal>test-compile</goal> | |
</goals> | |
</execution> | |
</executions> | |
--> | |
</plugin> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-surefire-plugin</artifactId> | |
<version>2.16</version> | |
<configuration> | |
<includes> | |
<include>**/*Test.java</include> | |
</includes> | |
<!-- don't care if IntelliJ IDEA shows "element not allowed here" --> | |
<encoding>UTF-8</encoding> | |
<inputEncoding>UTF-8</inputEncoding> | |
<outputEncoding>UTF-8</outputEncoding> | |
</configuration> | |
</plugin> | |
</plugins> | |
</build> | |
</project> |
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
<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.x5gtrn</groupId> | |
<artifactId>com.dskgraph</artifactId> | |
<packaging>war</packaging> | |
<version>1.0-SNAPSHOT</version> | |
<name>com.dskgraph</name> | |
<properties> | |
<x5gtrn-core.version>1.0-SNAPSHOT</x5gtrn-core.version> | |
<spring.version>4.0.0.RELEASE</spring.version> | |
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | |
<maven.build.timestamp.format>yyyyMMddHHmmss</maven.build.timestamp.format> | |
<beanstalk.versionLabel>${maven.build.timestamp}</beanstalk.versionLabel> | |
</properties> | |
<repositories> | |
<repository> <!-- for SNAPSHOT of spring-test-mvc --> | |
<id>spring-maven-snapshot</id> | |
<url>http://maven.springframework.org/snapshot</url> | |
<snapshots> | |
<enabled>true</enabled> | |
</snapshots> | |
</repository> | |
</repositories> | |
<dependencies> | |
<dependency> | |
<groupId>com.x5gtrn</groupId> | |
<artifactId>x5gtrn-core</artifactId> | |
<version>${x5gtrn-core.version}</version> | |
</dependency> | |
<dependency> | |
<groupId>org.projectlombok</groupId> | |
<artifactId>lombok</artifactId> | |
<version>1.12.2</version> | |
<scope>provided</scope> | |
</dependency> | |
<dependency> | |
<groupId>javax.servlet</groupId> | |
<artifactId>javax.servlet-api</artifactId> | |
<version>3.0.1</version> | |
<scope>provided</scope> | |
</dependency> | |
<dependency> | |
<groupId>javax.servlet.jsp</groupId> | |
<artifactId>javax.servlet.jsp-api</artifactId> | |
<version>2.2.1</version> | |
<scope>provided</scope> | |
</dependency> | |
<dependency><!-- legacy use --> | |
<groupId>commons-lang</groupId> | |
<artifactId>commons-lang</artifactId> | |
<version>2.6</version> | |
</dependency> | |
<dependency><!-- legacy use --> | |
<groupId>javax.mail</groupId> | |
<artifactId>mail</artifactId> | |
<version>1.4.7</version> | |
</dependency> | |
<dependency><!-- legacy use --> | |
<groupId>org.apache.httpcomponents</groupId> | |
<artifactId>httpclient</artifactId> | |
<version>4.2</version> | |
</dependency> | |
<dependency><!-- legacy use --> | |
<groupId>net.arnx</groupId> | |
<artifactId>jsonic</artifactId> | |
<version>1.2.10</version> | |
</dependency> | |
<dependency><!-- legacy use --> | |
<groupId>javax.servlet</groupId> | |
<artifactId>jstl</artifactId> | |
<version>1.2</version> | |
</dependency> | |
<dependency> | |
<groupId>commons-fileupload</groupId> | |
<artifactId>commons-fileupload</artifactId> | |
<version>1.3</version> | |
</dependency> | |
<dependency> | |
<groupId>org.springframework</groupId> | |
<artifactId>spring-test</artifactId> | |
<version>${spring.version}</version> | |
<scope>test</scope> | |
</dependency> | |
<dependency> | |
<groupId>org.springframework</groupId> | |
<artifactId>spring-test-mvc</artifactId> | |
<version>1.0.0.BUILD-SNAPSHOT</version> | |
<scope>test</scope> | |
</dependency> | |
<dependency> | |
<groupId>org.mockito</groupId> | |
<artifactId>mockito-all</artifactId> | |
<version>1.9.5</version> | |
<scope>test</scope> | |
</dependency> | |
<dependency> | |
<groupId>junit</groupId> | |
<artifactId>junit</artifactId> | |
<version>4.11</version> | |
<scope>test</scope> | |
</dependency> | |
</dependencies> | |
<build> | |
<finalName>com.dskgraph</finalName> | |
<plugins> | |
<plugin> | |
<artifactId>maven-compiler-plugin</artifactId> | |
<version>3.1</version> | |
<configuration> | |
<source>1.7</source> | |
<target>1.7</target> | |
<encoding>UTF-8</encoding> | |
</configuration> | |
</plugin> | |
<plugin> | |
<groupId>org.codehaus.mojo</groupId> | |
<artifactId>aspectj-maven-plugin</artifactId> | |
<version>1.5</version> | |
<configuration> | |
<source>1.7</source> | |
<target>1.7</target> | |
<complianceLevel>1.7</complianceLevel> | |
<aspectLibraries> | |
<aspectLibrary> | |
<groupId>org.springframework</groupId> | |
<artifactId>spring-aspects</artifactId> | |
</aspectLibrary> | |
</aspectLibraries> | |
</configuration> | |
<!-- | |
<executions> | |
<execution> | |
<goals> | |
<goal>compile</goal> | |
<goal>test-compile</goal> | |
</goals> | |
</execution> | |
</executions> | |
--> | |
</plugin> | |
<plugin> | |
<groupId>br.com.ingenieux</groupId> | |
<artifactId>beanstalk-maven-plugin</artifactId> | |
<version>1.3.1</version> | |
<configuration> | |
<verbose>true</verbose> | |
<serverId>system-x5gtrn.com</serverId> | |
<s3Bucket>application-builds</s3Bucket> | |
<s3Key>${project.artifactId}/${project.build.finalName}_${env.BAM_VERSION_LABEL}.war</s3Key> | |
<versionLabel>${env.BAM_VERSION_LABEL}</versionLabel> | |
<applicationName>dskgraph</applicationName> | |
<!-- Bamboo Task will set these variables --> | |
<region>${env.EB_ENV_REGEON}</region> | |
<environmentRef>${env.EB_ENV_NAME}</environmentRef> | |
</configuration> | |
</plugin> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-surefire-plugin</artifactId> | |
<version>2.16</version> | |
<configuration> | |
<includes> | |
<include>**/*Test.java</include> | |
</includes> | |
<!-- don't care if IntelliJ IDEA shows "element not allowed here" --> | |
<encoding>UTF-8</encoding> | |
<inputEncoding>UTF-8</inputEncoding> | |
<outputEncoding>UTF-8</outputEncoding> | |
</configuration> | |
</plugin> | |
</plugins> | |
</build> | |
</project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment