Created
December 3, 2013 16:24
-
-
Save cybrown/7772248 to your computer and use it in GitHub Desktop.
pom.xml for jee, hibernate and mysql
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
<?xml version="1.0" encoding="UTF-8"?> | |
<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>test</groupId> | |
<artifactId>test</artifactId> | |
<version>1.0-SNAPSHOT</version> | |
<packaging>war</packaging> | |
<dependencies> | |
<dependency> | |
<groupId>org.apache.tomcat</groupId> | |
<artifactId>tomcat-catalina</artifactId> | |
<version>7.0.47</version> | |
<scope>provided</scope> | |
</dependency> | |
<dependency> | |
<groupId>org.hibernate</groupId> | |
<artifactId>hibernate-core</artifactId> | |
<version>4.2.7.SP1</version> | |
</dependency> | |
<dependency> | |
<groupId>mysql</groupId> | |
<artifactId>mysql-connector-java</artifactId> | |
<version>5.1.27</version> | |
</dependency> | |
<dependency> | |
<groupId>org.hibernate</groupId> | |
<artifactId>hibernate-entitymanager</artifactId> | |
<version>4.2.7.SP1</version> | |
</dependency> | |
</dependencies> | |
<build> | |
<directory>${project.basedir}/target</directory> | |
<outputDirectory>${project.build.directory}/classes</outputDirectory> | |
<finalName>${project.artifactId}-${project.version}</finalName> | |
<testOutputDirectory>${project.build.directory}/test-classes</testOutputDirectory> | |
<sourceDirectory>${project.basedir}/src/main/java</sourceDirectory> | |
<testSourceDirectory>${project.basedir}/src/test/java</testSourceDirectory> | |
<resources> | |
<resource> | |
<directory>${project.basedir}/src/main/resources</directory> | |
</resource> | |
</resources> | |
<testResources> | |
<testResource> | |
<directory>${project.basedir}/src/test/resources</directory> | |
</testResource> | |
</testResources> | |
</build> | |
</project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment