| home | suche | kontakt/johner | institut | hinweise studierende | tech-docs | blog | mindmailer |
![]() |
<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">
</project>
<modelVersion>
4.0.0
</modelVersion>
<groupId>
de.htwg.sote
</groupId>
<artifactId>
example
</artifactId>
<packaging>
jar
</packaging>
<name>
Project to demonstrate Maven and Hibernate
</name>
<version>
0.0.1-SNAPSHOT
</version>
<description>
The Project is just to demonstrate Maven and Hibernate
</description>
<url>
http://www.johner.org
</url>
<organization>
</organization>
<name>
HTWG Konstanz
</name>
<url>
http://www.htwg-konstanz.de
</url>
<properties>
</properties>
<maven.compiler.source>
1.6
</maven.compiler.source>
<maven.compiler.target>
1.6
</maven.compiler.target>
<dependencies>
</dependencies>
<dependency>
</dependency>
<groupId>
org.hibernate
</groupId>
<artifactId>
hibernate
</artifactId>
<version>
3.2.7.ga
</version>
<dependency>
</dependency>
<groupId>
org.hibernate
</groupId>
<artifactId>
hibernate-annotations
</artifactId>
<version>
3.4.0.GA
</version>
<dependency>
</dependency>
<groupId>
org.slf4j
</groupId>
<artifactId>
slf4j-log4j12
</artifactId>
<version>
1.4.0
</version>
<dependency>
</dependency>
<groupId>
junit
</groupId>
<artifactId>
junit
</artifactId>
<version>
4.8.1
</version>
<scope>
test
</scope>
<dependency>
</dependency>
<groupId>
mysql
</groupId>
<artifactId>
mysql-connector-java
</artifactId>
<version>
5.1.16
</version>
<build>
</build>
<plugins>
</plugins>
<!-- Execution of unit tests Generates output for reporting plugin -->
<plugin>
</plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-surefire-plugin
</artifactId>
<version>
2.5
</version><!-- Compile Java Code -->
<plugin>
</plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-compiler-plugin
</artifactId>
<version>
2.0.2
</version>
<configuration>
</configuration>
<source>
${maven.compiler.source}
</source>
<target>
${maven.compiler.target}
</target>
<plugin>
</plugin>
<artifactId>
maven-resources-plugin
</artifactId>
<version>
2.3
</version>
<executions>
</executions>
<execution>
</execution>
<id>
copy-hibernate-config-file
</id>
<phase>
process-resources
</phase>
<goals>
</goals>
<goal>
copy-resources
</goal>
<configuration>
</configuration>
<overwrite>
true
</overwrite>
<outputDirectory>
${basedir}/target/classes
</outputDirectory>
<resources>
</resources>
<resource>
</resource>
<directory>
src/main/java
</directory>
<includes>
</includes>
<include>
hibernate.cfg.xml
</include>
<plugin>
</plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-site-plugin
</artifactId>
<version>
3.0-beta-3
</version>
<reporting>
</reporting>
<plugins>
</plugins>
<!-- JavaDoc -->
<plugin>
</plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-javadoc-plugin
</artifactId>
<version>
2.7
</version><!-- JXR Plugin produces a cross-reference of the project's sources. The
generated reports make it easier for the user to reference or find specific
lines of code. It is also handy when used with the PMD Plugin for referencing
errors found in the code -->
<plugin>
</plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-jxr-plugin
</artifactId>
<version>
2.2
</version><!-- PMD scans Java source code and looks for potential problems like:
- Possible bugs - empty try/catch/finally/switch statements - Dead code -
unused local variables, parameters and private methods - Suboptimal code
- wasteful String/StringBuffer usage - Overcomplicated expressions - unnecessary
if statements, for loops that could be while loops - Duplicate code - copied/pasted
code means copied/pasted bugs -->
<plugin>
</plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-pmd-plugin
</artifactId>
<version>
2.5
</version>
<configuration>
</configuration>
<linkXref>
true
</linkXref>
<targetJdk>
1.5
</targetJdk><!-- creates the web interface version of the test results -->
<plugin>
</plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-surefire-report-plugin
</artifactId>
<version>
2.6
</version><!-- JDepend determines architecture metrics as (cyclic) dependencies
of packages -->
<plugin>
</plugin>
<groupId>
org.codehaus.mojo
</groupId>
<artifactId>
jdepend-maven-plugin
</artifactId>
<version>
2.0-beta-2
</version><!-- Cobertura determines statement and branch coverage -->
<plugin>
</plugin>
<groupId>
org.codehaus.mojo
</groupId>
<artifactId>
cobertura-maven-plugin
</artifactId>
<version>
2.3
</version>
<configuration>
</configuration>
<formats>
</formats>
<format>
xml
</format>
<format>
html
</format><!-- Checkstyle verifies compliance with coding stanards/guidelines -->
<plugin>
</plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-checkstyle-plugin
</artifactId>
<version>
2.1
</version>
<configuration>
</configuration>
<configLocation>
${basedir}/src/main/resources/checkstyle/protege.xml
</configLocation><!-- Findbugs -->
<plugin>
</plugin>
<groupId>
org.codehaus.mojo
</groupId>
<artifactId>
findbugs-maven-plugin
</artifactId>
<version>
2.3.1
</version><!-- source measurement suite for Java which produces quantity & complexity
metrics -->
<plugin>
</plugin>
<groupId>
org.codehaus.mojo
</groupId>
<artifactId>
javancss-maven-plugin
</artifactId>
<version>
2.0-beta-2
</version><!-- XRadar summarizing/consolidating reports -->
<plugin>
</plugin>
<groupId>
net.sf.xradar
</groupId>
<artifactId>
maven-xradar-plugin
</artifactId>
<version>
1.2.2
</version>
<configuration>
</configuration>
<autoRadar>
false
</autoRadar><!-- false to execute only the plugins declared -->
<!-- Generated with xml2html.xslt, Linkwerk.com -->
