Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version='1.0' encoding='UTF-8'?>
- <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">
- <modelVersion>4.0.0</modelVersion>
- <groupId>com.audi.awsi.awsisecsol.service.aia-transformation-service</groupId>
- <artifactId>AIA-Transformation-Service-project</artifactId>
- <version>1.0.1-SNAPSHOT</version>
- <packaging>pom</packaging>
- <parent>
- <groupId>com.audi.awsi.service</groupId>
- <artifactId>awsi-service-parent</artifactId>
- <version>1.1.0</version>
- </parent>
- <properties>
- <!-- Framework -->
- <spring.boot.version>2.1.3.RELEASE</spring.boot.version>
- <!-- AWSI Library -->
- <awsi.service.library.version>2.1.1</awsi.service.library.version>
- <!-- Libraries -->
- <swagger.version>1.5.9</swagger.version>
- <swagger-ui.version>3.17.0</swagger-ui.version>
- <restassured.version>2.9.0</restassured.version>
- <infocukes.version>1.2.5</infocukes.version>
- <!-- Build tools -->
- <maven.compiler-plugin.version>3.1</maven.compiler-plugin.version>
- <maven.jar-plugin.version>2.6</maven.jar-plugin.version>
- <maven.surefire-plugin.version>2.19.1</maven.surefire-plugin.version>
- <maven.failsafe-plugin.version>2.18.1</maven.failsafe-plugin.version>
- <maven.swagger-plugin.version>3.1.3</maven.swagger-plugin.version>
- <!-- Misc -->
- <project.build.javaVersion>11</project.build.javaVersion>
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
- </properties>
- <modules>
- <module>AIA-Transformation-Service</module>
- <module>AIA-Transformation-Service-st</module>
- <module>AIA-Transformation-Service-lt</module>
- </modules>
- <dependencyManagement>
- <dependencies>
- <dependency>
- <groupId>com.audi.awsi.selfservice.service.template.library</groupId>
- <artifactId>awsi-base</artifactId>
- <version>${awsi.service.library.version}</version>
- </dependency>
- <dependency>
- <groupId>com.audi.awsi.selfservice.service.template.library</groupId>
- <artifactId>awsi-actuator</artifactId>
- <version>${awsi.service.library.version}</version>
- </dependency>
- <dependency>
- <groupId>com.audi.awsi.selfservice.service.template.library</groupId>
- <artifactId>awsi-jwt-authentication</artifactId>
- <version>${awsi.service.library.version}</version>
- </dependency>
- </dependencies>
- </dependencyManagement>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-dependency-plugin</artifactId>
- <version>2.10</version>
- <configuration>
- <artifactItems>
- <artifactItem>
- <groupId>${project.groupId}</groupId>
- <artifactId>AIA-Transformation-Service</artifactId>
- <version>${project.version}</version>
- <type>jar</type>
- <destFileName>service.jar</destFileName>
- </artifactItem>
- </artifactItems>
- <outputDirectory>target</outputDirectory>
- <overWriteIfNewer>true</overWriteIfNewer>
- </configuration>
- </plugin>
- </plugins>
- <pluginManagement>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <version>${maven.compiler-plugin.version}</version>
- <configuration>
- <source>${project.build.javaVersion}</source>
- <target>${project.build.javaVersion}</target>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jar-plugin</artifactId>
- <version>${maven.jar-plugin.version}</version>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <configuration>
- <forkCount>1</forkCount>
- <reuseForks>true</reuseForks>
- <argLine>-XX:+UnlockExperimentalVMOptions -XX:+UseCGroupMemoryLimitForHeap -XX:MaxRAMFraction=4 -XshowSettings:vm</argLine>
- </configuration>
- <version>${maven.surefire-plugin.version}</version>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-failsafe-plugin</artifactId>
- <version>${maven.failsafe-plugin.version}</version>
- <configuration>
- <includes>
- <include>**/*IT.java</include>
- </includes>
- <forkCount>1</forkCount>
- <reuseForks>true</reuseForks>
- <argLine>-XX:+UnlockExperimentalVMOptions -XX:+UseCGroupMemoryLimitForHeap -XX:MaxRAMFraction=4 -XshowSettings:vm</argLine>
- </configuration>
- <executions>
- <execution>
- <goals>
- <goal>integration-test</goal>
- <goal>verify</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-maven-plugin</artifactId>
- </plugin>
- <plugin>
- <groupId>com.github.kongchen</groupId>
- <artifactId>swagger-maven-plugin</artifactId>
- <version>${maven.swagger-plugin.version}</version>
- <executions>
- <execution>
- <phase>process-classes</phase>
- <goals>
- <goal>generate</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </pluginManagement>
- </build>
- <profiles>
- <profile>
- <id>release</id>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-enforcer-plugin</artifactId>
- <executions>
- <execution>
- <id>enforce-no-snapshots</id>
- <goals>
- <goal>enforce</goal>
- </goals>
- <configuration>
- <rules>
- <requireReleaseVersion>
- <message>No SNAPSHOT versions allowed!</message>
- </requireReleaseVersion>
- <requireReleaseDeps>
- <message>No SNAPSHOT dependencies allowed!</message>
- </requireReleaseDeps>
- </rules>
- <fail>true</fail>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- </profile>
- </profiles>
- </project>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement