Advertisement
Guest User

POM for buidling SE JPA project

a guest
May 22nd, 2012
317
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 2.32 KB | None | 0 0
  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/xsd/maven-4.0.0.xsd">
  3.     <modelVersion>4.0.0</modelVersion>
  4.  
  5.     <groupId>my.group.id</groupId>
  6.     <artifactId>projectName</artifactId>
  7.     <version>0.0.1</version>
  8.     <packaging>jar</packaging>
  9.  
  10.     <name>projectName</name>
  11.     <url>http://maven.apache.org</url>
  12.  
  13.     <properties>
  14.         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  15.     </properties>
  16.  
  17.     <repositories>
  18.         <repository>
  19.             <id>hsqldb</id>
  20.             <name>JBoss Thirdparty Releases (for hsqldb)</name>
  21.             <url>https://repository.jboss.org/nexus/content/repositories/thirdparty-releases</url>
  22.         </repository>
  23.  
  24.         <repository>
  25.             <id>JBoss</id>
  26.             <name>jboss-maven2-release-repository</name>
  27.             <url>https://oss.sonatype.org/content/repositories/JBoss</url>
  28.         </repository>
  29.     </repositories>
  30.  
  31.     <pluginRepositories>
  32.         <pluginRepository>
  33.             <id>central</id>
  34.             <name>Maven Plugin Repository</name>
  35.             <url>http://repo1.maven.org/maven2</url>
  36.             <layout>default</layout>
  37.             <snapshots>
  38.                 <enabled>false</enabled>
  39.             </snapshots>
  40.             <releases>
  41.                 <updatePolicy>never</updatePolicy>
  42.             </releases>
  43.         </pluginRepository>
  44.     </pluginRepositories>
  45.  
  46.     <build>
  47.         <plugins>
  48.             <plugin>
  49.                 <groupId>org.apache.maven.plugins</groupId>
  50.                 <artifactId>maven-compiler-plugin</artifactId>
  51.                 <version>2.0.2</version>
  52.                 <configuration>
  53.                     <source>1.6</source>
  54.                     <target>1.6</target>
  55.                 </configuration>
  56.             </plugin>
  57.         </plugins>
  58.     </build>
  59.  
  60.     <dependencies>
  61.         <dependency>
  62.             <groupId>junit</groupId>
  63.             <artifactId>junit</artifactId>
  64.             <version>3.8.1</version>
  65.             <scope>test</scope>
  66.         </dependency>
  67.         <dependency>
  68.             <groupId>mysql</groupId>
  69.             <artifactId>mysql-connector-java</artifactId>
  70.             <version>5.1.6</version>
  71.         </dependency>
  72.         <dependency>
  73.             <groupId>hsqldb</groupId>
  74.             <artifactId>hsqldb</artifactId>
  75.             <version>1.8.0.2</version>
  76.         </dependency>
  77.         <dependency>
  78.             <groupId>org.hibernate</groupId>
  79.             <artifactId>hibernate-entitymanager</artifactId>
  80.             <version>4.1.3.Final</version>
  81.         </dependency>
  82.         <dependency>
  83.             <groupId>log4j</groupId>
  84.             <artifactId>log4j</artifactId>
  85.             <version>1.2.16</version>
  86.         </dependency>
  87.     </dependencies>
  88. </project>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement