Advertisement
Guest User

Untitled

a guest
Nov 7th, 2016
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.36 KB | None | 0 0
  1. <persistence xmlns="http://xmlns.jcp.org/xml/ns/persistence"
  2. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/persistence
  4. http://xmlns.jcp.org/xml/ns/persistence/persistence_2_1.xsd"
  5. version="2.1">
  6. <persistence-unit name="postgres" transaction-type="RESOURCE_LOCAL">
  7. <provider>org.hibernate.jpa.HibernatePersistenceProvider</provider>
  8. <class>co.entity.Pais</class>
  9. <class>co.entity.PilaEntity</class>
  10. <class>co.entity.PilaNovedad</class>
  11. <class>co.entity.PilaPago</class>
  12. <class>co.entity.PilaRisk</class>
  13. <class>co.entity.PilaSuperEntity</class>
  14. <class>co.edu.entity.PilaUser</class>
  15. <class>co.edu.entity.PilaUserIntermediary</class>
  16. <class>co.edu.entity.PilaUserSuperEntity</class>
  17.  
  18. <properties>
  19. <property name="hibernate.connection.url" value="jdbc:postgresql://localhost/pila" />
  20. <property name="hibernate.connection.driver_class" value="org.postgresql.Driver" />
  21. <property name="hibernate.connection.username" value="user" />
  22. <property name="hibernate.connection.password" value="password" />
  23.  
  24. <property name="hibernate.dialect" value="org.hibernate.dialect.PostgreSQLDialect" />
  25. <property name="hibernate.hbm2ddl.auto" value="create-drop" />
  26. </properties>
  27. </persistence-unit>
  28. </persistence>
  29.  
  30. <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">
  31. <modelVersion>4.0.0</modelVersion>
  32. <groupId>PilaPayments</groupId>
  33. <artifactId>PilaPayments</artifactId>
  34. <version>0.0.1-SNAPSHOT</version>
  35. <packaging>war</packaging>
  36. <build>
  37. <sourceDirectory>src</sourceDirectory>
  38. <plugins>
  39. <plugin>
  40. <artifactId>maven-compiler-plugin</artifactId>
  41. <version>3.5.1</version>
  42. <configuration>
  43. <source>1.8</source>
  44. <target>1.8</target>
  45. </configuration>
  46. </plugin>
  47. <plugin>
  48. <artifactId>maven-war-plugin</artifactId>
  49. <version>3.0.0</version>
  50. <configuration>
  51. <warSourceDirectory>WebContent</warSourceDirectory>
  52. </configuration>
  53. </plugin>
  54. </plugins>
  55. </build>
  56. <dependencies>
  57. <!-- https://mvnrepository.com/artifact/org.json/json -->
  58. <dependency>
  59. <groupId>org.json</groupId>
  60. <artifactId>json</artifactId>
  61. <version>20160212</version>
  62. </dependency>
  63. <dependency>
  64. <groupId>javax.ws.rs</groupId>
  65. <artifactId>javax.ws.rs-api</artifactId>
  66. <version>2.0.1</version>
  67. </dependency>
  68. <dependency>
  69. <groupId>org.glassfish.jersey.containers</groupId>
  70. <artifactId>jersey-container-servlet</artifactId>
  71. <version>2.22.2</version>
  72. </dependency>
  73. <dependency>
  74. <groupId>org.glassfish.jersey.core</groupId>
  75. <artifactId>jersey-server</artifactId>
  76. <version>2.22.2</version>
  77. </dependency>
  78. <dependency>
  79. <groupId>org.glassfish.jersey.core</groupId>
  80. <artifactId>jersey-client</artifactId>
  81. <version>2.22.2</version>
  82. </dependency>
  83. <dependency>
  84. <groupId>org.glassfish.jersey.core</groupId>
  85. <artifactId>jersey-common</artifactId>
  86. <version>2.22.2</version>
  87. </dependency>
  88. <dependency>
  89. <groupId>org.glassfish.jersey.containers</groupId>
  90. <artifactId>jersey-container-servlet-core</artifactId>
  91. <version>2.22.2</version>
  92. </dependency>
  93. <!-- https://mvnrepository.com/artifact/org.glassfish.jersey.bundles.repackaged/jersey-guava -->
  94. <dependency>
  95. <groupId>org.glassfish.jersey.bundles.repackaged</groupId>
  96. <artifactId>jersey-guava</artifactId>
  97. <version>2.22.2</version>
  98. </dependency>
  99. <!-- https://mvnrepository.com/artifact/org.glassfish.hk2/hk2-api -->
  100. <dependency>
  101. <groupId>org.glassfish.hk2</groupId>
  102. <artifactId>hk2-api</artifactId>
  103. <version>2.4.0</version>
  104. </dependency>
  105.  
  106. <!-- https://mvnrepository.com/artifact/org.glassfish.hk2/hk2-locator -->
  107. <dependency>
  108. <groupId>org.glassfish.hk2</groupId>
  109. <artifactId>hk2-locator</artifactId>
  110. <version>2.4.0</version>
  111. </dependency>
  112. <!-- https://mvnrepository.com/artifact/org.glassfish.hk2/hk2-utils -->
  113. <dependency>
  114. <groupId>org.glassfish.hk2</groupId>
  115. <artifactId>hk2-utils</artifactId>
  116. <version>2.4.0</version>
  117. </dependency>
  118. <!-- https://mvnrepository.com/artifact/javax.validation/validation-api -->
  119. <dependency>
  120. <groupId>javax.validation</groupId>
  121. <artifactId>validation-api</artifactId>
  122. <version>1.1.0.Final</version>
  123. </dependency>
  124. <!-- https://mvnrepository.com/artifact/org.apache.logging.log4j/log4j-core -->
  125. <dependency>
  126. <groupId>org.apache.logging.log4j</groupId>
  127. <artifactId>log4j-core</artifactId>
  128. <version>2.6.2</version>
  129. </dependency>
  130. <!-- https://mvnrepository.com/artifact/org.glassfish.jersey.media/jersey-media-json-jackson -->
  131. <dependency>
  132. <groupId>org.glassfish.jersey.media</groupId>
  133. <artifactId>jersey-media-json-jackson</artifactId>
  134. <version>2.22.2</version>
  135. </dependency>
  136. <!-- https://mvnrepository.com/artifact/com.fasterxml.jackson.jaxrs/jackson-jaxrs-json-provider -->
  137. <dependency>
  138. <groupId>com.fasterxml.jackson.jaxrs</groupId>
  139. <artifactId>jackson-jaxrs-json-provider</artifactId>
  140. <version>2.7.8</version>
  141. </dependency>
  142. <!-- https://mvnrepository.com/artifact/org.glassfish.jersey.ext/jersey-entity-filtering -->
  143. <dependency>
  144. <groupId>org.glassfish.jersey.ext</groupId>
  145. <artifactId>jersey-entity-filtering</artifactId>
  146. <version>2.22.2</version>
  147. </dependency>
  148. <dependency>
  149. <groupId>javax.persistence</groupId>
  150. <artifactId>persistence-api</artifactId>
  151. <version>1.0.2</version>
  152. </dependency>
  153. <dependency>
  154. <groupId>org.hibernate</groupId>
  155. <artifactId>hibernate-entitymanager</artifactId>
  156. <version>5.2.3.Final</version>
  157. </dependency>
  158. <dependency>
  159. <groupId>org.hibernate.javax.persistence</groupId>
  160. <artifactId>hibernate-jpa-2.1-api</artifactId>
  161. <version>1.0.0.Final</version>
  162. </dependency>
  163. <dependency>
  164. <groupId>postgresql</groupId>
  165. <artifactId>postgresql</artifactId>
  166. <version>9.1-901-1.jdbc4</version>
  167. </dependency>
  168. </dependencies>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement