Advertisement
Guest User

Untitled

a guest
Apr 25th, 2019
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.42 KB | None | 0 0
  1. <?xml version='1.0' encoding='UTF-8'?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  3. <modelVersion>4.0.0</modelVersion>
  4.  
  5. <groupId>com.audi.awsi.awsisecsol.service.aia-transformation-service</groupId>
  6. <artifactId>AIA-Transformation-Service-project</artifactId>
  7. <version>1.0.1-SNAPSHOT</version>
  8. <packaging>pom</packaging>
  9.  
  10. <parent>
  11. <groupId>com.audi.awsi.service</groupId>
  12. <artifactId>awsi-service-parent</artifactId>
  13. <version>1.1.0</version>
  14. </parent>
  15.  
  16. <properties>
  17. <!-- Framework -->
  18. <spring.boot.version>2.1.3.RELEASE</spring.boot.version>
  19.  
  20. <!-- AWSI Library -->
  21. <awsi.service.library.version>2.1.1</awsi.service.library.version>
  22.  
  23.  
  24. <!-- Libraries -->
  25. <swagger.version>1.5.9</swagger.version>
  26. <swagger-ui.version>3.17.0</swagger-ui.version>
  27. <restassured.version>2.9.0</restassured.version>
  28. <infocukes.version>1.2.5</infocukes.version>
  29.  
  30. <!-- Build tools -->
  31. <maven.compiler-plugin.version>3.1</maven.compiler-plugin.version>
  32. <maven.jar-plugin.version>2.6</maven.jar-plugin.version>
  33. <maven.surefire-plugin.version>2.19.1</maven.surefire-plugin.version>
  34. <maven.failsafe-plugin.version>2.18.1</maven.failsafe-plugin.version>
  35. <maven.swagger-plugin.version>3.1.3</maven.swagger-plugin.version>
  36.  
  37. <!-- Misc -->
  38. <project.build.javaVersion>11</project.build.javaVersion>
  39. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  40. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  41. </properties>
  42.  
  43. <modules>
  44. <module>AIA-Transformation-Service</module>
  45. <module>AIA-Transformation-Service-st</module>
  46. <module>AIA-Transformation-Service-lt</module>
  47. </modules>
  48.  
  49. <dependencyManagement>
  50. <dependencies>
  51. <dependency>
  52. <groupId>com.audi.awsi.selfservice.service.template.library</groupId>
  53. <artifactId>awsi-base</artifactId>
  54. <version>${awsi.service.library.version}</version>
  55. </dependency>
  56. <dependency>
  57. <groupId>com.audi.awsi.selfservice.service.template.library</groupId>
  58. <artifactId>awsi-actuator</artifactId>
  59. <version>${awsi.service.library.version}</version>
  60. </dependency>
  61. <dependency>
  62. <groupId>com.audi.awsi.selfservice.service.template.library</groupId>
  63. <artifactId>awsi-jwt-authentication</artifactId>
  64. <version>${awsi.service.library.version}</version>
  65. </dependency>
  66. </dependencies>
  67. </dependencyManagement>
  68.  
  69. <build>
  70. <plugins>
  71. <plugin>
  72. <groupId>org.apache.maven.plugins</groupId>
  73. <artifactId>maven-dependency-plugin</artifactId>
  74. <version>2.10</version>
  75. <configuration>
  76. <artifactItems>
  77. <artifactItem>
  78. <groupId>${project.groupId}</groupId>
  79. <artifactId>AIA-Transformation-Service</artifactId>
  80. <version>${project.version}</version>
  81. <type>jar</type>
  82. <destFileName>service.jar</destFileName>
  83. </artifactItem>
  84. </artifactItems>
  85. <outputDirectory>target</outputDirectory>
  86. <overWriteIfNewer>true</overWriteIfNewer>
  87. </configuration>
  88. </plugin>
  89. </plugins>
  90.  
  91. <pluginManagement>
  92. <plugins>
  93. <plugin>
  94. <groupId>org.apache.maven.plugins</groupId>
  95. <artifactId>maven-compiler-plugin</artifactId>
  96. <version>${maven.compiler-plugin.version}</version>
  97. <configuration>
  98. <source>${project.build.javaVersion}</source>
  99. <target>${project.build.javaVersion}</target>
  100. </configuration>
  101. </plugin>
  102.  
  103. <plugin>
  104. <groupId>org.apache.maven.plugins</groupId>
  105. <artifactId>maven-jar-plugin</artifactId>
  106. <version>${maven.jar-plugin.version}</version>
  107. </plugin>
  108.  
  109. <plugin>
  110. <groupId>org.apache.maven.plugins</groupId>
  111. <artifactId>maven-surefire-plugin</artifactId>
  112. <configuration>
  113. <forkCount>1</forkCount>
  114. <reuseForks>true</reuseForks>
  115. <argLine>-XX:+UnlockExperimentalVMOptions -XX:+UseCGroupMemoryLimitForHeap -XX:MaxRAMFraction=4 -XshowSettings:vm</argLine>
  116. </configuration>
  117. <version>${maven.surefire-plugin.version}</version>
  118. </plugin>
  119.  
  120. <plugin>
  121. <groupId>org.apache.maven.plugins</groupId>
  122. <artifactId>maven-failsafe-plugin</artifactId>
  123. <version>${maven.failsafe-plugin.version}</version>
  124. <configuration>
  125. <includes>
  126. <include>**/*IT.java</include>
  127. </includes>
  128. <forkCount>1</forkCount>
  129. <reuseForks>true</reuseForks>
  130. <argLine>-XX:+UnlockExperimentalVMOptions -XX:+UseCGroupMemoryLimitForHeap -XX:MaxRAMFraction=4 -XshowSettings:vm</argLine>
  131. </configuration>
  132. <executions>
  133. <execution>
  134. <goals>
  135. <goal>integration-test</goal>
  136. <goal>verify</goal>
  137. </goals>
  138. </execution>
  139. </executions>
  140. </plugin>
  141.  
  142. <plugin>
  143. <groupId>org.springframework.boot</groupId>
  144. <artifactId>spring-boot-maven-plugin</artifactId>
  145. </plugin>
  146.  
  147. <plugin>
  148. <groupId>com.github.kongchen</groupId>
  149. <artifactId>swagger-maven-plugin</artifactId>
  150. <version>${maven.swagger-plugin.version}</version>
  151. <executions>
  152. <execution>
  153. <phase>process-classes</phase>
  154. <goals>
  155. <goal>generate</goal>
  156. </goals>
  157. </execution>
  158. </executions>
  159. </plugin>
  160. </plugins>
  161. </pluginManagement>
  162. </build>
  163.  
  164. <profiles>
  165. <profile>
  166. <id>release</id>
  167. <build>
  168. <plugins>
  169. <plugin>
  170. <groupId>org.apache.maven.plugins</groupId>
  171. <artifactId>maven-enforcer-plugin</artifactId>
  172. <executions>
  173. <execution>
  174. <id>enforce-no-snapshots</id>
  175. <goals>
  176. <goal>enforce</goal>
  177. </goals>
  178. <configuration>
  179. <rules>
  180. <requireReleaseVersion>
  181. <message>No SNAPSHOT versions allowed!</message>
  182. </requireReleaseVersion>
  183. <requireReleaseDeps>
  184. <message>No SNAPSHOT dependencies allowed!</message>
  185. </requireReleaseDeps>
  186. </rules>
  187. <fail>true</fail>
  188. </configuration>
  189. </execution>
  190. </executions>
  191. </plugin>
  192. </plugins>
  193. </build>
  194. </profile>
  195. </profiles>
  196. </project>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement