|
| 1 | +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 2 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
| 3 | + <modelVersion>4.0.0</modelVersion> |
| 4 | + |
| 5 | + <groupId>com.mt</groupId> |
| 6 | + <artifactId>maven-web-application</artifactId> |
| 7 | + <packaging>war</packaging> |
| 8 | + <version>0.0.1-SNAPSHOT</version> |
| 9 | + |
| 10 | + <name>maven-web-application</name> |
| 11 | + |
| 12 | + <description>Maven Web Project for Java Project</description> |
| 13 | + |
| 14 | + <organization> |
| 15 | + <name>Landmark Technologies</name> |
| 16 | + <url>http://landmarktechnologies.com/</url> |
| 17 | + </organization> |
| 18 | + |
| 19 | + <properties> |
| 20 | + <jdk.version>1.8</jdk.version> |
| 21 | + <spring.version>5.1.2.RELEASE</spring.version> |
| 22 | + <junit.version>4.11</junit.version> |
| 23 | + <log4j.version>1.2.17</log4j.version> |
| 24 | + <sonar.host.url>http:172.31.27.227:9000/</sonar.host.url> |
| 25 | + <sonar.login>admin</sonar.login> |
| 26 | + <sonar.password>admin@123</sonar.password> |
| 27 | + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 28 | + <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> |
| 29 | + |
| 30 | + </properties> |
| 31 | + |
| 32 | + <dependencies> |
| 33 | + |
| 34 | + <dependency> |
| 35 | + <groupId>org.json</groupId> |
| 36 | + <artifactId>json</artifactId> |
| 37 | + <version>20160212</version> |
| 38 | + </dependency> |
| 39 | + |
| 40 | + <!-- test dependencies --> |
| 41 | + <dependency> |
| 42 | + <groupId>junit</groupId> |
| 43 | + <artifactId>junit</artifactId> |
| 44 | + <version>3.8.1</version> |
| 45 | + <scope>test</scope> |
| 46 | + </dependency> |
| 47 | + |
| 48 | + <dependency> |
| 49 | + <groupId>javax.servlet</groupId> |
| 50 | + <artifactId>javax.servlet-api</artifactId> |
| 51 | + <version>3.1.0</version> |
| 52 | + <scope>provided</scope> |
| 53 | + </dependency> |
| 54 | + |
| 55 | + <dependency> |
| 56 | + <groupId>org.mockito</groupId> |
| 57 | + <artifactId>mockito-core</artifactId> |
| 58 | + <version>1.9.5</version> |
| 59 | + <scope>test</scope> |
| 60 | + </dependency> |
| 61 | + |
| 62 | + <!-- compile dependencies --> |
| 63 | + |
| 64 | + <dependency> |
| 65 | + <groupId>org.springframework</groupId> |
| 66 | + <artifactId>spring-core</artifactId> |
| 67 | + <version>${spring.version}</version> |
| 68 | + </dependency> |
| 69 | + <dependency> |
| 70 | + <groupId>org.springframework</groupId> |
| 71 | + <artifactId>spring-web</artifactId> |
| 72 | + <version>${spring.version}</version> |
| 73 | + </dependency> |
| 74 | + <dependency> |
| 75 | + <groupId>org.springframework</groupId> |
| 76 | + <artifactId>spring-webmvc</artifactId> |
| 77 | + <version>${spring.version}</version> |
| 78 | + </dependency> |
| 79 | + <dependency> |
| 80 | + <groupId>org.springframework</groupId> |
| 81 | + <artifactId>spring-context</artifactId> |
| 82 | + <version>${spring.version}</version> |
| 83 | + </dependency> |
| 84 | + |
| 85 | + <!-- provided dependencies --> |
| 86 | + |
| 87 | + <dependency> |
| 88 | + <groupId>javax.servlet</groupId> |
| 89 | + <artifactId>javax.servlet-api</artifactId> |
| 90 | + <version>3.1.0</version> |
| 91 | + <scope>provided</scope> |
| 92 | + </dependency> |
| 93 | + |
| 94 | + </dependencies> |
| 95 | + |
| 96 | + <distributionManagement> |
| 97 | + <repository> |
| 98 | + <id>nexus</id> |
| 99 | + <name>Landmark Technologies Releases Nexus Repository</name> |
| 100 | + <url> http://172.31.18.29:8081/repository/ebay-bts-releases/</url> |
| 101 | + </repository> |
| 102 | + |
| 103 | + <snapshotRepository> |
| 104 | + <id>nexus</id> |
| 105 | + <name>Landmark Technologies Snapshot Nexus Repository </name> |
| 106 | + <url>http://172.31.18.29:8081/repository/ebay-bts-snapshot/</url> |
| 107 | + </snapshotRepository> |
| 108 | + |
| 109 | + </distributionManagement> |
| 110 | + |
| 111 | + <build> |
| 112 | + <finalName>web-app</finalName> |
| 113 | + |
| 114 | + <plugins> |
| 115 | + <plugin> |
| 116 | + <groupId>org.apache.maven.plugins</groupId> |
| 117 | + <artifactId>maven-compiler-plugin</artifactId> |
| 118 | + <version>3.3</version> |
| 119 | + <configuration> |
| 120 | + <source>${jdk.version}</source> |
| 121 | + <target>${jdk.version}</target> |
| 122 | + </configuration> |
| 123 | + </plugin> |
| 124 | + |
| 125 | + <plugin> |
| 126 | + <groupId>org.eclipse.jetty</groupId> |
| 127 | + <artifactId>jetty-maven-plugin</artifactId> |
| 128 | + <version>9.2.11.v20150529</version> |
| 129 | + <configuration> |
| 130 | + <scanIntervalSeconds>10</scanIntervalSeconds> |
| 131 | + <webApp> |
| 132 | + <contextPath>/maven-web-application</contextPath> |
| 133 | + </webApp> |
| 134 | + </configuration> |
| 135 | + </plugin> |
| 136 | + |
| 137 | + <plugin> |
| 138 | + <groupId>org.apache.maven.plugins</groupId> |
| 139 | + <artifactId>maven-eclipse-plugin</artifactId> |
| 140 | + <version>2.9</version> |
| 141 | + <configuration> |
| 142 | + <downloadSources>true</downloadSources> |
| 143 | + <downloadJavadocs>true</downloadJavadocs> |
| 144 | + <wtpversion>2.0</wtpversion> |
| 145 | + <wtpContextName>maven-web-application</wtpContextName> |
| 146 | + </configuration> |
| 147 | + </plugin> |
| 148 | + |
| 149 | +</plugins> |
| 150 | + </build> |
| 151 | + |
| 152 | + |
| 153 | +</project> |
0 commit comments