pom.xml 3.19 KB
<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>net.ziemers</groupId>
	<artifactId>swxercise</artifactId>
	<packaging>war</packaging>
	<version>0.0.1-SNAPSHOT</version>
	<name>swXercise Maven Webapp</name>
	<url>http://maven.apache.org</url>
	<properties>
		<mvn-compiler-plugin-version>3.3</mvn-compiler-plugin-version>
		<jee-version>7.0</jee-version>
		<java-version>1.8</java-version>
		<jaxrs-version>2.0</jaxrs-version>
		<mysql-version>5.1.41</mysql-version>
		<hibernate-version>5.2.1.Final</hibernate-version>
		<junit-version>4.12</junit-version>
		<mockito-version>2.7.22</mockito-version>
		<dbunit-version>2.5.1</dbunit-version>
		<slf4j-version>1.7.25</slf4j-version>
		<jackson-version>2.8.8.1</jackson-version>

		<swxercise.schema>swxercise</swxercise.schema>
		<swxercise.host>localhost</swxercise.host>
		<swxercise.user>root</swxercise.user>
		<swxercise.password>root</swxercise.password>
		<swxercise.port>3306</swxercise.port>

		<!-- Legacy compatiblity -->
		<TEST_SCHEMA_NAME>swxercise_test</TEST_SCHEMA_NAME>
		<swxercise.test.schema>${TEST_SCHEMA_NAME}</swxercise.test.schema>
		<swxercise.test.host>localhost</swxercise.test.host>
		<swxercise.test.user>root</swxercise.test.user>
		<swxercise.test.password>root</swxercise.test.password>
		<swxercise.test.port>3306</swxercise.test.port>
	</properties>
	<dependencies>
		<dependency>
			<groupId>javax</groupId>
			<artifactId>javaee-api</artifactId>
			<version>${jee-version}</version>
		</dependency>
		<dependency>
			<groupId>javax.ws.rs</groupId>
			<artifactId>javax.ws.rs-api</artifactId>
			<version>${jaxrs-version}</version>
		</dependency>
		<dependency>
			<groupId>junit</groupId>
			<artifactId>junit</artifactId>
			<version>${junit-version}</version>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>org.slf4j</groupId>
			<artifactId>slf4j-api</artifactId>
			<version>${slf4j-version}</version>
		</dependency>
		<dependency>
			<groupId>org.mockito</groupId>
			<artifactId>mockito-core</artifactId>
			<version>${mockito-version}</version>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>org.dbunit</groupId>
			<artifactId>dbunit</artifactId>
			<version>${dbunit-version}</version>
		</dependency>
		<dependency>
			<groupId>org.hibernate</groupId>
			<artifactId>hibernate-core</artifactId>
			<version>${hibernate-version}</version>
		</dependency>
		<dependency>
			<groupId>mysql</groupId>
			<artifactId>mysql-connector-java</artifactId>
			<version>${mysql-version}</version>
		</dependency>
		<!-- dependency>
			<groupId>com.fasterxml.jackson.core</groupId>
			<artifactId>jackson-databind</artifactId>
			<version>${jackson-version}</version>
		</dependency -->
    </dependencies>
	<build>
		<finalName>swXercise</finalName>

		<plugins>
			<plugin>
				<artifactId>maven-compiler-plugin</artifactId>
				<version>${mvn-compiler-plugin-version}</version>
				<configuration>
					<source>${java-version}</source>
					<target>${java-version}</target>
				</configuration>
			</plugin>
		</plugins>
	</build>
</project>