Advertisement
sombriks

pox.xml spring + flyway + jpa + jersey

Jul 23rd, 2016
239
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 3.43 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/maven-v4_0_0.xsd">
  3.     <modelVersion>4.0.0</modelVersion>
  4.     <groupId>br.com.sinax</groupId>
  5.     <artifactId>cadmusical</artifactId>
  6.     <packaging>war</packaging>
  7.     <version>0.0.1-SNAPSHOT</version>
  8.     <name>cadmusical Maven Webapp</name>
  9.     <url>http://maven.apache.org</url>
  10.     <dependencies>
  11.         <dependency>
  12.             <groupId>junit</groupId>
  13.             <artifactId>junit</artifactId>
  14.             <version>3.8.1</version>
  15.             <scope>test</scope>
  16.         </dependency>
  17.         <dependency>
  18.             <groupId>javax.servlet</groupId>
  19.             <artifactId>javax.servlet-api</artifactId>
  20.             <version>3.1.0</version>
  21.             <scope>provided</scope>
  22.         </dependency>
  23.         <dependency>
  24.             <groupId>org.flywaydb</groupId>
  25.             <artifactId>flyway-core</artifactId>
  26.             <version>3.2.1</version>
  27.         </dependency>
  28.         <dependency>
  29.             <groupId>org.springframework</groupId>
  30.             <artifactId>spring-context</artifactId>
  31.             <version>4.2.1.RELEASE</version>
  32.         </dependency>
  33.         <dependency>
  34.             <groupId>org.springframework</groupId>
  35.             <artifactId>spring-orm</artifactId>
  36.             <version>4.2.1.RELEASE</version>
  37.         </dependency>
  38.         <dependency>
  39.             <groupId>org.springframework</groupId>
  40.             <artifactId>spring-tx</artifactId>
  41.             <version>4.2.1.RELEASE</version>
  42.         </dependency>
  43.         <dependency>
  44.             <groupId>org.springframework.data</groupId>
  45.             <artifactId>spring-data-jpa</artifactId>
  46.             <version>1.9.0.RELEASE</version>
  47.         </dependency>
  48.         <dependency>
  49.             <groupId>org.springframework</groupId>
  50.             <artifactId>spring-web</artifactId>
  51.             <version>4.2.1.RELEASE</version>
  52.         </dependency>
  53.         <dependency>
  54.             <groupId>org.glassfish.jersey.ext</groupId>
  55.             <artifactId>jersey-spring3</artifactId>
  56.             <version>2.23.1</version>
  57.             <exclusions>
  58.                 <exclusion>
  59.                     <groupId>org.glassfish.hk2.external</groupId>
  60.                     <artifactId>bean-validator</artifactId>
  61.                 </exclusion>
  62.             </exclusions>
  63.         </dependency>
  64.         <dependency>
  65.             <groupId>org.postgresql</groupId>
  66.             <artifactId>postgresql</artifactId>
  67.             <version>9.2-1004-jdbc41</version>
  68.         </dependency>
  69.         <dependency>
  70.             <groupId>org.hibernate</groupId>
  71.             <artifactId>hibernate-core</artifactId>
  72.             <version>5.0.2.Final</version>
  73.         </dependency>
  74.         <dependency>
  75.             <groupId>org.hibernate</groupId>
  76.             <artifactId>hibernate-entitymanager</artifactId>
  77.             <version>5.0.2.Final</version>
  78.         </dependency>
  79.         <dependency>
  80.             <groupId>org.hibernate.javax.persistence</groupId>
  81.             <artifactId>hibernate-jpa-2.1-api</artifactId>
  82.             <version>1.0.0.Final</version>
  83.         </dependency>
  84.         <dependency>
  85.             <groupId>org.springframework</groupId>
  86.             <artifactId>spring-context-support</artifactId>
  87.             <version>4.2.1.RELEASE</version>
  88.         </dependency>
  89.         <dependency>
  90.             <groupId>org.slf4j</groupId>
  91.             <artifactId>slf4j-simple</artifactId>
  92.             <version>1.7.12</version>
  93.         </dependency>
  94.         <dependency>
  95.             <groupId>org.glassfish.jersey.media</groupId>
  96.             <artifactId>jersey-media-json-jackson</artifactId>
  97.             <version>2.23.1</version>
  98.         </dependency>
  99.     </dependencies>
  100.  
  101.     <build>
  102.  
  103.  
  104.         <plugins>
  105.             <plugin>
  106.                 <groupId>org.apache.maven.plugins</groupId>
  107.                 <artifactId>maven-compiler-plugin</artifactId>
  108.                 <version>3.5.1</version>
  109.                 <configuration>
  110.                     <source>1.8</source>
  111.                     <target>1.8</target>
  112.                 </configuration>
  113.             </plugin>
  114.         </plugins>
  115.  
  116.         <finalName>cadmusical</finalName>
  117.     </build>
  118. </project>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement