BAEL-15988 : pom files

This commit is contained in:
sampada 2020-02-11 10:39:59 +05:30
parent 03c30d1d72
commit f41b219d93
2 changed files with 246 additions and 268 deletions

View File

@ -19,6 +19,17 @@
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter</artifactId> <artifactId>spring-boot-starter</artifactId>
</dependency> </dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<dependency>
<groupId>de.codecentric</groupId>
<artifactId>chaos-monkey-spring-boot</artifactId>
<version>${chaos.monkey.version}</version>
</dependency>
</dependencies> </dependencies>
<build> <build>
@ -41,5 +52,6 @@
<properties> <properties>
<!-- The main class to start by executing java -jar --> <!-- The main class to start by executing java -jar -->
<start-class>com.baeldung.lazyinitialization.Application</start-class> <start-class>com.baeldung.lazyinitialization.Application</start-class>
<chaos.monkey.version>2.0.0</chaos.monkey.version>
</properties> </properties>
</project> </project>

View File

@ -1,268 +1,234 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" <project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 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"> 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> <modelVersion>4.0.0</modelVersion>
<artifactId>spring-boot</artifactId> <artifactId>spring-boot</artifactId>
<name>spring-boot</name> <name>spring-boot</name>
<packaging>war</packaging> <packaging>war</packaging>
<description>This is simple boot application for Spring boot actuator test</description> <description>This is simple boot application for Spring boot actuator test</description>
<version>0.0.1-SNAPSHOT</version> <version>0.0.1-SNAPSHOT</version>
<parent> <parent>
<artifactId>parent-boot-2</artifactId> <artifactId>parent-boot-2</artifactId>
<groupId>com.baeldung</groupId> <groupId>com.baeldung</groupId>
<version>0.0.1-SNAPSHOT</version> <version>0.0.1-SNAPSHOT</version>
<relativePath>../../parent-boot-2</relativePath> <relativePath>../../parent-boot-2</relativePath>
</parent> </parent>
<dependencies> <dependencies>
<!-- JUnit Jupiter dependencies --> <!-- JUnit Jupiter dependencies -->
<dependency> <dependency>
<groupId>org.junit.jupiter</groupId> <groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId> <artifactId>junit-jupiter-api</artifactId>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.junit.jupiter</groupId> <groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-engine</artifactId> <artifactId>junit-jupiter-engine</artifactId>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
<!-- JUnit platform launcher --> <!-- JUnit platform launcher -->
<!-- To be able to run tests from IDE directly --> <!-- To be able to run tests from IDE directly -->
<dependency> <dependency>
<groupId>org.junit.platform</groupId> <groupId>org.junit.platform</groupId>
<artifactId>junit-platform-launcher</artifactId> <artifactId>junit-platform-launcher</artifactId>
<version>${junit-platform.version}</version> <version>${junit-platform.version}</version>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-thymeleaf</artifactId> <artifactId>spring-boot-starter-thymeleaf</artifactId>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId> <artifactId>spring-boot-starter-web</artifactId>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-jpa</artifactId> <artifactId>spring-boot-starter-data-jpa</artifactId>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.ehcache</groupId> <groupId>org.ehcache</groupId>
<artifactId>ehcache</artifactId> <artifactId>ehcache</artifactId>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.hibernate</groupId> <groupId>org.hibernate</groupId>
<artifactId>hibernate-ehcache</artifactId> <artifactId>hibernate-ehcache</artifactId>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-actuator</artifactId> <artifactId>spring-boot-starter-actuator</artifactId>
</dependency> </dependency>
<dependency> <dependency>
<groupId>com.graphql-java</groupId> <groupId>com.graphql-java</groupId>
<artifactId>graphql-spring-boot-starter</artifactId> <artifactId>graphql-spring-boot-starter</artifactId>
<version>${graphql-spring-boot-starter.version}</version> <version>${graphql-spring-boot-starter.version}</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>com.graphql-java</groupId> <groupId>com.graphql-java</groupId>
<artifactId>graphql-java-tools</artifactId> <artifactId>graphql-java-tools</artifactId>
<version>${graphql-java-tools.version}</version> <version>${graphql-java-tools.version}</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>com.graphql-java</groupId> <groupId>com.graphql-java</groupId>
<artifactId>graphiql-spring-boot-starter</artifactId> <artifactId>graphiql-spring-boot-starter</artifactId>
<version>${graphiql-spring-boot-starter.version}</version> <version>${graphiql-spring-boot-starter.version}</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-tomcat</artifactId> <artifactId>spring-boot-starter-tomcat</artifactId>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId> <artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>io.dropwizard.metrics</groupId> <groupId>io.dropwizard.metrics</groupId>
<artifactId>metrics-core</artifactId> <artifactId>metrics-core</artifactId>
</dependency> </dependency>
<dependency> <dependency>
<groupId>com.h2database</groupId> <groupId>com.h2database</groupId>
<artifactId>h2</artifactId> <artifactId>h2</artifactId>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter</artifactId> <artifactId>spring-boot-starter</artifactId>
</dependency> </dependency>
<dependency> <dependency>
<groupId>com.jayway.jsonpath</groupId> <groupId>com.jayway.jsonpath</groupId>
<artifactId>json-path</artifactId> <artifactId>json-path</artifactId>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>com.google.guava</groupId> <groupId>com.google.guava</groupId>
<artifactId>guava</artifactId> <artifactId>guava</artifactId>
<version>${guava.version}</version> <version>${guava.version}</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.apache.tomcat</groupId> <groupId>org.apache.tomcat</groupId>
<artifactId>tomcat-servlet-api</artifactId> <artifactId>tomcat-servlet-api</artifactId>
<version>${tomee-servlet-api.version}</version> <version>${tomee-servlet-api.version}</version>
<scope>provided</scope> <scope>provided</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.togglz</groupId> <groupId>org.togglz</groupId>
<artifactId>togglz-spring-boot-starter</artifactId> <artifactId>togglz-spring-boot-starter</artifactId>
<version>${togglz.version}</version> <version>${togglz.version}</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.togglz</groupId> <groupId>org.togglz</groupId>
<artifactId>togglz-spring-security</artifactId> <artifactId>togglz-spring-security</artifactId>
<version>${togglz.version}</version> <version>${togglz.version}</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.apache.activemq</groupId> <groupId>org.apache.activemq</groupId>
<artifactId>artemis-server</artifactId> <artifactId>artemis-server</artifactId>
</dependency> </dependency>
<dependency> <dependency>
<groupId>com.rometools</groupId> <groupId>com.rometools</groupId>
<artifactId>rome</artifactId> <artifactId>rome</artifactId>
<version>${rome.version}</version> <version>${rome.version}</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>de.codecentric</groupId> <groupId>javax.validation</groupId>
<artifactId>chaos-monkey-spring-boot</artifactId> <artifactId>validation-api</artifactId>
<version>${chaos.monkey.version}</version> </dependency>
</dependency> </dependencies>
<dependency> <build>
<groupId>javax.validation</groupId> <finalName>spring-boot</finalName>
<artifactId>validation-api</artifactId> <resources>
</dependency> <resource>
</dependencies> <directory>src/main/resources</directory>
<filtering>true</filtering>
<build> </resource>
<finalName>spring-boot</finalName> </resources>
<resources>
<resource> <plugins>
<directory>src/main/resources</directory>
<filtering>true</filtering> <plugin>
</resource> <groupId>org.apache.maven.plugins</groupId>
</resources> <artifactId>maven-war-plugin</artifactId>
</plugin>
<plugins>
<plugin>
<plugin> <groupId>org.apache.maven.plugins</groupId>
<groupId>org.apache.maven.plugins</groupId> <artifactId>maven-resources-plugin</artifactId>
<artifactId>maven-war-plugin</artifactId> <configuration>
</plugin> <delimiters>
<delimiter>@</delimiter>
<plugin> </delimiters>
<groupId>pl.project13.maven</groupId> <useDefaultDelimiters>false</useDefaultDelimiters>
<artifactId>git-commit-id-plugin</artifactId> </configuration>
<version>${git-commit-id-plugin.version}</version> </plugin>
<executions> </plugins>
<execution>
<id>get-the-git-infos</id> </build>
<goals>
<goal>revision</goal> <profiles>
</goals> <profile>
<phase>initialize</phase> <id>autoconfiguration</id>
</execution> <build>
<execution> <plugins>
<id>validate-the-git-infos</id> <plugin>
<goals> <groupId>org.apache.maven.plugins</groupId>
<goal>validateRevision</goal> <artifactId>maven-surefire-plugin</artifactId>
</goals> <executions>
<phase>package</phase> <execution>
</execution> <phase>integration-test</phase>
</executions> <goals>
<configuration> <goal>test</goal>
<generateGitPropertiesFile>true</generateGitPropertiesFile> </goals>
<generateGitPropertiesFilename>${project.build.outputDirectory}/git.properties</generateGitPropertiesFilename> <configuration>
</configuration> <excludes>
</plugin> <exclude>**/*LiveTest.java</exclude>
<exclude>**/*IntegrationTest.java</exclude>
<plugin> <exclude>**/*IntTest.java</exclude>
<groupId>org.apache.maven.plugins</groupId> </excludes>
<artifactId>maven-resources-plugin</artifactId> <includes>
<configuration> <include>**/AutoconfigurationTest.java</include>
<delimiters> </includes>
<delimiter>@</delimiter> </configuration>
</delimiters> </execution>
<useDefaultDelimiters>false</useDefaultDelimiters> </executions>
</configuration> <configuration>
</plugin> <systemPropertyVariables>
</plugins> <test.mime>json</test.mime>
</systemPropertyVariables>
</build> </configuration>
</plugin>
<profiles> </plugins>
<profile> </build>
<id>autoconfiguration</id> </profile>
<build> </profiles>
<plugins>
<plugin> <properties>
<groupId>org.apache.maven.plugins</groupId> <!-- The main class to start by executing java -jar -->
<artifactId>maven-surefire-plugin</artifactId> <start-class>com.baeldung.intro.App</start-class>
<executions> <tomee-servlet-api.version>8.5.11</tomee-servlet-api.version>
<execution> <togglz.version>2.4.1.Final</togglz.version>
<phase>integration-test</phase> <rome.version>1.9.0</rome.version>
<goals> <graphql-spring-boot-starter.version>5.0.2</graphql-spring-boot-starter.version>
<goal>test</goal> <graphiql-spring-boot-starter.version>5.0.2</graphiql-spring-boot-starter.version>
</goals> <graphql-java-tools.version>5.2.4</graphql-java-tools.version>
<configuration> <guava.version>18.0</guava.version>
<excludes> <resource.delimiter>@</resource.delimiter>
<exclude>**/*LiveTest.java</exclude> </properties>
<exclude>**/*IntegrationTest.java</exclude>
<exclude>**/*IntTest.java</exclude> </project>
</excludes>
<includes>
<include>**/AutoconfigurationTest.java</include>
</includes>
</configuration>
</execution>
</executions>
<configuration>
<systemPropertyVariables>
<test.mime>json</test.mime>
</systemPropertyVariables>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<properties>
<!-- The main class to start by executing java -jar -->
<start-class>com.baeldung.intro.App</start-class>
<tomee-servlet-api.version>8.5.11</tomee-servlet-api.version>
<togglz.version>2.4.1.Final</togglz.version>
<rome.version>1.9.0</rome.version>
<chaos.monkey.version>2.0.0</chaos.monkey.version>
<graphql-spring-boot-starter.version>5.0.2</graphql-spring-boot-starter.version>
<graphiql-spring-boot-starter.version>5.0.2</graphiql-spring-boot-starter.version>
<graphql-java-tools.version>5.2.4</graphql-java-tools.version>
<guava.version>18.0</guava.version>
<git-commit-id-plugin.version>2.2.4</git-commit-id-plugin.version>
<resource.delimiter>@</resource.delimiter>
</properties>
</project>