pom.xml 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. <?xml version="1.0"?>
  2. <project
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
  4. xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  5. <modelVersion>4.0.0</modelVersion>
  6. <parent>
  7. <groupId>org.datagear</groupId>
  8. <artifactId>datagear</artifactId>
  9. <version>3.0.0</version>
  10. </parent>
  11. <artifactId>datagear-connection</artifactId>
  12. <name>datagear-connection</name>
  13. <dependencies>
  14. <dependency>
  15. <groupId>org.datagear</groupId>
  16. <artifactId>datagear-util</artifactId>
  17. <version>${project.version}</version>
  18. </dependency>
  19. <dependency>
  20. <groupId>org.apache.commons</groupId>
  21. <artifactId>commons-dbcp2</artifactId>
  22. </dependency>
  23. <dependency>
  24. <groupId>com.github.ben-manes.caffeine</groupId>
  25. <artifactId>caffeine</artifactId>
  26. </dependency>
  27. </dependencies>
  28. <build>
  29. <plugins>
  30. <plugin>
  31. <groupId>org.apache.maven.plugins</groupId>
  32. <artifactId>maven-antrun-plugin</artifactId>
  33. <version>${maven-antrun-plugin.version}</version>
  34. <executions>
  35. <!-- 拷贝LICENSE文件 -->
  36. <execution>
  37. <id>copyLICENSE</id>
  38. <phase>prepare-package</phase>
  39. <goals>
  40. <goal>run</goal>
  41. </goals>
  42. <configuration>
  43. <tasks>
  44. <copy file="../LICENSE" todir="${project.build.outputDirectory}" />
  45. </tasks>
  46. </configuration>
  47. </execution>
  48. </executions>
  49. </plugin>
  50. </plugins>
  51. </build>
  52. </project>