pom.xml 917 B

123456789101112131415161718192021222324252627282930313233
  1. <project xmlns="http://maven.apache.org/POM/4.0.0"
  2. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <groupId>TrainingJava</groupId>
  6. <artifactId>TrainingJava</artifactId>
  7. <version>0.0.1-SNAPSHOT</version>
  8. <name>TrainingMaven</name>
  9. <dependencies>
  10. <!-- https://mvnrepository.com/artifact/mysql/mysql-connector-java -->
  11. <dependency>
  12. <groupId>mysql</groupId>
  13. <artifactId>mysql-connector-java</artifactId>
  14. <version>5.1.40</version>
  15. </dependency>
  16. </dependencies>
  17. <build>
  18. <sourceDirectory>src</sourceDirectory>
  19. <plugins>
  20. <plugin>
  21. <artifactId>maven-compiler-plugin</artifactId>
  22. <version>3.7.0</version>
  23. <configuration>
  24. <source>1.8</source>
  25. <target>1.8</target>
  26. </configuration>
  27. </plugin>
  28. </plugins>
  29. </build>
  30. </project>