home  |  suche  |  kontakt/johner  |  institut 
studierende  |  tech-docs  |  mindmailer 

Maven: pom.xml

<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>
SOTE2
</groupId>
<artifactId>
HibernateExample
</artifactId>
<version>
0.0.1-SNAPSHOT
</version>
<description>
Ein Beispiel-Projekt, um Maven zu demonstrieren
</description>
<dependencies>
<!-- Junit -->
<dependency>
<groupId>
junit
</groupId>
<artifactId>
junit
</artifactId>
<version>
4.8.1
</version>
<scope>
test
</scope>
</dependency>
<!-- Hibernate -->
<dependency>
<groupId>
org.hibernate
</groupId>
<artifactId>
hibernate-core
</artifactId>
<version>
4.3.5.Final
</version>
</dependency>
<!-- Log4J -->
<dependency>
<groupId>
log4j
</groupId>
<artifactId>
log4j
</artifactId>
<version>
1.2.17
</version>
</dependency>
<!-- MySQL -->
<dependency>
<groupId>
mysql
</groupId>
<artifactId>
mysql-connector-java
</artifactId>
<version>
5.1.9
</version>
</dependency>
</dependencies>
<build>
<sourceDirectory>
src
</sourceDirectory>
<testSourceDirectory>
test
</testSourceDirectory>
<plugins>
<!-- Compile -->
<plugin>
<artifactId>
maven-compiler-plugin
</artifactId>
<version>
3.1
</version>
<configuration>
<source></source>
<target></target>
</configuration>
</plugin>
<!-- JUnit -->
<plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-surefire-plugin
</artifactId>
<version>
2.17
</version>
<configuration>
<systemPropertyVariables>
<surefire.security.manager>
java.lang.SecurityManager
</surefire.security.manager>
</systemPropertyVariables>
</configuration>
</plugin>
</plugins>
</build>
<reporting>
<plugins>
<!-- Junit Report -->
<plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-surefire-report-plugin
</artifactId>
<version>
2.17
</version>
</plugin>
</plugins>
</reporting>
</project>