pom.xml 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  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. <parent>
  7. <groupId>com.jnpf</groupId>
  8. <artifactId>jnpf-datareport-univer</artifactId>
  9. <version>5.2.0-RELEASE</version>
  10. </parent>
  11. <artifactId>jnpf-datareport-univer-entity</artifactId>
  12. <dependencies>
  13. <dependency>
  14. <groupId>com.jnpf</groupId>
  15. <artifactId>jnpf-datareport-univer-common${jnpf.datareport.core.jdk.version}</artifactId>
  16. <version>${project.version}</version>
  17. </dependency>
  18. </dependencies>
  19. <profiles>
  20. <profile>
  21. <!--JAR包加密-->
  22. <id>encrypted</id>
  23. <activation>
  24. <jdk>[,]</jdk>
  25. </activation>
  26. <build>
  27. <plugins>
  28. <!--复制驱动包-->
  29. <plugin>
  30. <groupId>org.apache.maven.plugins</groupId>
  31. <artifactId>maven-dependency-plugin</artifactId>
  32. <executions>
  33. <execution>
  34. <id>copy-dependencies</id>
  35. <phase>clean</phase>
  36. <goals>
  37. <goal>copy-dependencies</goal>
  38. </goals>
  39. <configuration>
  40. <includeGroupIds>com.jnpf</includeGroupIds>
  41. <includeArtifactIds>jnpf-datareport-univer-model${jnpf.datareport.core.jdk.version}</includeArtifactIds>
  42. <outputDirectory>${project.build.directory}/copylib</outputDirectory>
  43. </configuration>
  44. </execution>
  45. </executions>
  46. </plugin>
  47. </plugins>
  48. </build>
  49. </profile>
  50. </profiles>
  51. </project>