You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

115 lines
4.6 KiB

1 year ago
1 year ago
  1. <?xml version="1.0"?>
  2. <project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"
  3. xmlns="http://maven.apache.org/POM/4.0.0"
  4. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  5. <modelVersion>4.0.0</modelVersion>
  6. <parent>
  7. <groupId>com.digiwin.athena.opt</groupId>
  8. <artifactId>athena_parent</artifactId>
  9. <version>1.0.0.1000</version>
  10. </parent>
  11. <artifactId>demo-athenaopt_backend</artifactId>
  12. <properties>
  13. <backend.output.path>${project.build.directory}/${project.name}</backend.output.path>
  14. </properties>
  15. <build>
  16. <sourceDirectory>src/main/java</sourceDirectory>
  17. <plugins>
  18. <plugin>
  19. <artifactId>maven-compiler-plugin</artifactId>
  20. <version>3.8.0</version>
  21. <configuration>
  22. <source>1.8</source>
  23. <target>1.8</target>
  24. </configuration>
  25. </plugin>
  26. <plugin>
  27. <artifactId>maven-jar-plugin</artifactId>
  28. <version>2.3.1</version>
  29. <configuration>
  30. <outputDirectory>${backend.output.path}/lib</outputDirectory>
  31. </configuration>
  32. </plugin>
  33. <plugin>
  34. <artifactId>maven-dependency-plugin</artifactId>
  35. <version>2.4</version>
  36. <executions>
  37. <execution>
  38. <id>copy-dependencies</id>
  39. <phase>package</phase>
  40. <goals>
  41. <goal>copy-dependencies</goal>
  42. </goals>
  43. <configuration>
  44. <outputDirectory>${backend.output.path}/lib</outputDirectory>
  45. </configuration>
  46. </execution>
  47. </executions>
  48. </plugin>
  49. <plugin>
  50. <artifactId>maven-resources-plugin</artifactId>
  51. <version>3.0.2</version>
  52. <executions>
  53. <execution>
  54. <id>copy-resource-bin</id>
  55. <phase>generate-sources</phase>
  56. <goals>
  57. <goal>copy-resources</goal>
  58. </goals>
  59. <configuration>
  60. <outputDirectory>${backend.output.path}/platform/bin</outputDirectory>
  61. <resources>
  62. <resource>
  63. <directory>platform/bin</directory>
  64. </resource>
  65. </resources>
  66. </configuration>
  67. </execution>
  68. <execution>
  69. <id>copy-resource-conf</id>
  70. <phase>generate-sources</phase>
  71. <goals>
  72. <goal>copy-resources</goal>
  73. </goals>
  74. <configuration>
  75. <outputDirectory>${backend.output.path}/conf</outputDirectory>
  76. <resources>
  77. <resource>
  78. <directory>conf</directory>
  79. </resource>
  80. </resources>
  81. </configuration>
  82. </execution>
  83. <execution>
  84. <id>copy-resource-lang</id>
  85. <phase>generate-sources</phase>
  86. <goals>
  87. <goal>copy-resources</goal>
  88. </goals>
  89. <configuration>
  90. <outputDirectory>${backend.output.path}/lang</outputDirectory>
  91. <resources>
  92. <resource>
  93. <directory>lang</directory>
  94. </resource>
  95. </resources>
  96. </configuration>
  97. </execution>
  98. </executions>
  99. </plugin>
  100. </plugins>
  101. <resources>
  102. <resource>
  103. <directory>src/main/java</directory>
  104. <includes>
  105. <include>**/*.xml</include>
  106. </includes>
  107. <filtering>false</filtering>
  108. </resource>
  109. <resource>
  110. <directory>src/main/resources</directory>
  111. </resource>
  112. </resources>
  113. </build>
  114. </project>