|
| 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>java-web-app</artifactId> |
| 7 | + <packaging>war</packaging> |
| 8 | + <version>1.0</version> |
| 9 | + |
| 10 | + <name>Maven Web Application</name> |
| 11 | + <url>http://mithuntechnologies.com</url> |
| 12 | + |
| 13 | + <description>Maven Web Project</description> |
| 14 | + |
| 15 | + <organization> |
| 16 | + <name>Mithun Technologies</name> |
| 17 | + <url>http://mithuntechnologies.com/</url> |
| 18 | + </organization> |
| 19 | + |
| 20 | + <properties> |
| 21 | + <!-- versions --> |
| 22 | + |
| 23 | + <spring.version>5.0.2.RELEASE</spring.version> |
| 24 | + <junit.version>4.12</junit.version> |
| 25 | + <log4j.version>1.2.17</log4j.version> |
| 26 | + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 27 | + <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> |
| 28 | + </properties> |
| 29 | + |
| 30 | + <dependencies> |
| 31 | + |
| 32 | + <!-- test dependencies --> |
| 33 | + <dependency> |
| 34 | + <groupId>junit</groupId> |
| 35 | + <artifactId>junit</artifactId> |
| 36 | + <version>${junit.version}</version> |
| 37 | + <scope>test</scope> |
| 38 | + </dependency> |
| 39 | + |
| 40 | + <dependency> |
| 41 | + <groupId>org.springframework</groupId> |
| 42 | + <artifactId>spring-test</artifactId> |
| 43 | + <version>3.2.3.RELEASE</version> |
| 44 | + <scope>test</scope> |
| 45 | + </dependency> |
| 46 | + |
| 47 | + <dependency> |
| 48 | + <groupId>org.mockito</groupId> |
| 49 | + <artifactId>mockito-core</artifactId> |
| 50 | + <version>1.9.5</version> |
| 51 | + <scope>test</scope> |
| 52 | + </dependency> |
| 53 | + |
| 54 | + <!-- compile dependencies --> |
| 55 | + |
| 56 | + <dependency> |
| 57 | + <groupId>org.springframework</groupId> |
| 58 | + <artifactId>spring-core</artifactId> |
| 59 | + <version>${spring.version}</version> |
| 60 | + </dependency> |
| 61 | + <dependency> |
| 62 | + <groupId>org.springframework</groupId> |
| 63 | + <artifactId>spring-web</artifactId> |
| 64 | + <version>${spring.version}</version> |
| 65 | + </dependency> |
| 66 | + <dependency> |
| 67 | + <groupId>org.springframework</groupId> |
| 68 | + <artifactId>spring-webmvc</artifactId> |
| 69 | + <version>${spring.version}</version> |
| 70 | + </dependency> |
| 71 | + <dependency> |
| 72 | + <groupId>org.springframework</groupId> |
| 73 | + <artifactId>spring-context</artifactId> |
| 74 | + <version>${spring.version}</version> |
| 75 | + </dependency> |
| 76 | + |
| 77 | + <!-- provided dependencies --> |
| 78 | + |
| 79 | + <dependency> |
| 80 | + <groupId>javax.servlet</groupId> |
| 81 | + <artifactId>javax.servlet-api</artifactId> |
| 82 | + <version>3.1.0</version> |
| 83 | + <scope>provided</scope> |
| 84 | + </dependency> |
| 85 | + |
| 86 | + <dependency> |
| 87 | + <groupId>javax.servlet</groupId> |
| 88 | + <artifactId>jstl</artifactId> |
| 89 | + <version>1.2</version> |
| 90 | + </dependency> |
| 91 | + |
| 92 | + <!-- https://mvnrepository.com/artifact/ch.qos.logback/logback-classic --> |
| 93 | + <dependency> |
| 94 | + <groupId>ch.qos.logback</groupId> |
| 95 | + <artifactId>logback-classic</artifactId> |
| 96 | + <version>1.2.3</version> |
| 97 | + </dependency> |
| 98 | + |
| 99 | + </dependencies> |
| 100 | + |
| 101 | + <!-- <distributionManagement> |
| 102 | + <repository> |
| 103 | + <id>nexus</id> |
| 104 | + <name>Mithun Technologies Releases Nexus Repository</name> |
| 105 | + <url>http://13.235.8.113:8081/repository/flipkart-release/</url> |
| 106 | + </repository> |
| 107 | + <snapshotRepository> |
| 108 | + <id>nexus</id> |
| 109 | + <name>Mithun Technologies Snapshot Nexus Repository </name> |
| 110 | + <url>http://13.235.8.113:8081/repository/flipkart-snapshot/</url> |
| 111 | + </snapshotRepository> |
| 112 | + </distributionManagement> --> |
| 113 | + |
| 114 | + <build> |
| 115 | + <plugins> |
| 116 | + <plugin> |
| 117 | + <groupId>org.apache.maven.plugins</groupId> |
| 118 | + <artifactId>maven-compiler-plugin</artifactId> |
| 119 | + <version>2.5.1</version> |
| 120 | + <inherited>true</inherited> |
| 121 | + <configuration> |
| 122 | + <source>1.8</source> |
| 123 | + <target>1.8</target> |
| 124 | + </configuration> |
| 125 | + </plugin> |
| 126 | + </plugins> |
| 127 | + </build> |
| 128 | + |
| 129 | + |
| 130 | +</project> |
0 commit comments