minor pom cleanup

This commit is contained in:
eugenp 2016-12-08 12:25:34 +02:00
parent de1e6a26cc
commit 906953e947

View File

@ -1,141 +1,133 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" <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"> 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>
<groupId>com.baeldung</groupId> <groupId>com.baeldung</groupId>
<artifactId>spring-boot</artifactId> <artifactId>spring-boot</artifactId>
<version>0.0.1-SNAPSHOT</version> <version>0.0.1-SNAPSHOT</version>
<packaging>war</packaging> <packaging>war</packaging>
<name>Spring Boot Actuator</name> <name>Spring Boot Actuator</name>
<description>This is simple boot application for Spring boot actuator test</description> <description>This is simple boot application for Spring boot actuator test</description>
<!-- Inherit defaults from Spring Boot --> <!-- Inherit defaults from Spring Boot -->
<parent> <parent>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId> <artifactId>spring-boot-starter-parent</artifactId>
<version>1.4.2.RELEASE</version> <version>1.4.2.RELEASE</version>
<relativePath /> <!-- lookup parent from repository --> <relativePath /> <!-- lookup parent from repository -->
</parent> </parent>
<properties> <dependencies>
<!-- The main class to start by executing java -jar --> <dependency>
<start-class>org.baeldung.boot.DemoApplication</start-class> <groupId>org.springframework.boot</groupId>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <artifactId>spring-boot-starter-thymeleaf</artifactId>
<java.version>1.8</java.version> </dependency>
<spring.version>4.3.4.RELEASE</spring.version> <dependency>
</properties> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<dependencies> <dependency>
<dependency> <groupId>org.springframework.boot</groupId>
<groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-data-jpa</artifactId>
<artifactId>spring-boot-starter-thymeleaf</artifactId> </dependency>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<dependency> <dependency>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-jpa</artifactId> <artifactId>spring-boot-starter-actuator</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-security</artifactId>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.springframework.boot</groupId> <groupId>io.dropwizard.metrics</groupId>
<artifactId>spring-boot-starter-security</artifactId> <artifactId>metrics-core</artifactId>
</dependency> </dependency>
<dependency> <dependency>
<groupId>io.dropwizard.metrics</groupId> <groupId>com.h2database</groupId>
<artifactId>metrics-core</artifactId> <artifactId>h2</artifactId>
</dependency> </dependency>
<dependency> <dependency>
<groupId>com.h2database</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>h2</artifactId> <artifactId>spring-boot-starter-test</artifactId>
</dependency> <scope>test</scope>
</dependency>
<dependency> <dependency>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId> <artifactId>spring-boot-starter</artifactId>
<scope>test</scope> </dependency>
</dependency> <dependency>
<groupId>com.jayway.jsonpath</groupId>
<artifactId>json-path</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-mail</artifactId>
</dependency>
<dependency>
<groupId>org.subethamail</groupId>
<artifactId>subethasmtp</artifactId>
<version>3.1.7</version>
<scope>test</scope>
</dependency>
<dependency> <dependency>
<groupId>org.springframework.boot</groupId> <groupId>org.webjars</groupId>
<artifactId>spring-boot-starter</artifactId> <artifactId>bootstrap</artifactId>
</dependency> <version>3.3.7-1</version>
<dependency> </dependency>
<groupId>com.jayway.jsonpath</groupId> <dependency>
<artifactId>json-path</artifactId> <groupId>org.webjars</groupId>
<scope>test</scope> <artifactId>jquery</artifactId>
</dependency> <version>3.1.1</version>
<dependency> </dependency>
<groupId>org.springframework.boot</groupId> </dependencies>
<artifactId>spring-boot-starter-mail</artifactId>
</dependency>
<dependency>
<groupId>org.subethamail</groupId>
<artifactId>subethasmtp</artifactId>
<version>3.1.7</version>
<scope>test</scope>
</dependency>
<dependency> <build>
<groupId>org.webjars</groupId> <finalName>spring-boot</finalName>
<artifactId>bootstrap</artifactId> <resources>
<version>3.3.7-1</version> <resource>
</dependency> <directory>src/main/resources</directory>
<dependency> <filtering>true</filtering>
<groupId>org.webjars</groupId> </resource>
<artifactId>jquery</artifactId> </resources>
<version>3.1.1</version>
</dependency>
</dependencies>
<build> <plugins>
<finalName>spring-boot</finalName>
<resources>
<resource>
<directory>src/main/resources</directory>
<filtering>true</filtering>
</resource>
</resources>
<plugins> <plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<mainClass>org.baeldung.boot.DemoApplication</mainClass>
<layout>ZIP</layout>
<requiresUnpack>
<dependency>
<groupId>org.jruby</groupId>
<artifactId>jruby-complete</artifactId>
</dependency>
</requiresUnpack>
</configuration>
</plugin>
<plugin> <plugin>
<groupId>org.springframework.boot</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>spring-boot-maven-plugin</artifactId> <artifactId>maven-compiler-plugin</artifactId>
<configuration> <configuration>
<mainClass>org.baeldung.boot.DemoApplication</mainClass> <source>1.8</source>
<layout>ZIP</layout> <target>1.8</target>
<requiresUnpack> </configuration>
<dependency> </plugin>
<groupId>org.jruby</groupId>
<artifactId>jruby-complete</artifactId>
</dependency>
</requiresUnpack>
</configuration>
</plugin>
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId> <artifactId>maven-war-plugin</artifactId>
<configuration> </plugin>
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
</plugin>
<plugin> <plugin>
<groupId>pl.project13.maven</groupId> <groupId>pl.project13.maven</groupId>
@ -156,7 +148,7 @@
</plugins> </plugins>
</build> </build>
<profiles> <profiles>
<profile> <profile>
@ -193,41 +185,13 @@
</profile> </profile>
</profiles> </profiles>
<repositories>
<repository> <properties>
<id>spring-snapshots</id> <!-- The main class to start by executing java -jar -->
<name>Spring Snapshots</name> <start-class>org.baeldung.boot.DemoApplication</start-class>
<url>https://repo.spring.io/snapshot</url> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<snapshots> <java.version>1.8</java.version>
<enabled>true</enabled> <spring.version>4.3.4.RELEASE</spring.version>
</snapshots> </properties>
</repository>
<repository>
<id>spring-milestones</id>
<name>Spring Milestones</name>
<url>https://repo.spring.io/milestone</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>spring-snapshots</id>
<name>Spring Snapshots</name>
<url>https://repo.spring.io/snapshot</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
</pluginRepository>
<pluginRepository>
<id>spring-milestones</id>
<name>Spring Milestones</name>
<url>https://repo.spring.io/milestone</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
</pluginRepository>
</pluginRepositories>
</project> </project>