pom.xml 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <modelVersion>4.0.0</modelVersion>
  6. <groupId>org.academiadecodigo.enuminatti</groupId>
  7. <artifactId>HibernateBootstrap</artifactId>
  8. <version>0.0.1</version>
  9. <dependencies>
  10. <dependency>
  11. <groupId>org.hibernate</groupId>
  12. <artifactId>hibernate-core</artifactId>
  13. <version>5.2.11.Final</version>
  14. </dependency>
  15. <dependency>
  16. <groupId>org.hibernate.javax.persistence</groupId>
  17. <artifactId>hibernate-jpa-2.1-api</artifactId>
  18. <version>1.0.0.Final</version>
  19. </dependency>
  20. <dependency>
  21. <groupId>mysql</groupId>
  22. <artifactId>mysql-connector-java</artifactId>
  23. <version>5.1.44</version>
  24. </dependency>
  25. </dependencies>
  26. <build>
  27. <plugins>
  28. <plugin>
  29. <artifactId>maven-assembly-plugin</artifactId>
  30. <groupId>org.apache.maven.plugins</groupId>
  31. <version>2.6</version>
  32. <configuration>
  33. <archive>
  34. <manifest>
  35. <mainClass>org.academiadecodigo.enuminatti.hibernatebootstrap.Main</mainClass>
  36. </manifest>
  37. </archive>
  38. <descriptorRefs>
  39. <descriptorRef>jar-with-dependencies</descriptorRef>
  40. </descriptorRefs>
  41. </configuration>
  42. <executions>
  43. <execution>
  44. <phase>package</phase>
  45. <goals>
  46. <goal>single</goal>
  47. </goals>
  48. </execution>
  49. </executions>
  50. </plugin>
  51. <!-- Change compiler to work with Java version 1.7 -->
  52. <plugin>
  53. <groupId>org.apache.maven.plugins</groupId>
  54. <artifactId>maven-compiler-plugin</artifactId>
  55. <version>2.3.2</version>
  56. <configuration>
  57. <source>1.8</source>
  58. <target>1.8</target>
  59. </configuration>
  60. </plugin>
  61. </plugins>
  62. </build>
  63. </project>