pom.xml 3.01 KB
Newer Older
1 2 3 4
<?xml version="1.0"?>
<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>
5 6
    <artifactId>spring-boot-admin-dependencies</artifactId>
    <packaging>pom</packaging>
7 8
    <name>Spring Boot Admin Dependencies</name>
    <description>Spring Boot Admin Dependencies</description>
9 10 11
    <parent>
        <groupId>de.codecentric</groupId>
        <artifactId>spring-boot-admin</artifactId>
12
        <version>${revision}</version>
13 14 15 16 17 18 19
        <relativePath>..</relativePath>
    </parent>
    <dependencyManagement>
        <dependencies>
            <dependency>
                <groupId>de.codecentric</groupId>
                <artifactId>spring-boot-admin-server</artifactId>
20
                <version>${revision}</version>
Johannes Edmeier committed
21
            </dependency>            <dependency>
22 23
                <groupId>de.codecentric</groupId>
                <artifactId>spring-boot-admin-server-ui</artifactId>
24
                <version>${revision}</version>
25 26 27
            </dependency>
            <dependency>
                <groupId>de.codecentric</groupId>
Johannes Edmeier committed
28
                <artifactId>spring-boot-admin-client</artifactId>
29
                <version>${revision}</version>
30 31 32
            </dependency>
            <dependency>
                <groupId>de.codecentric</groupId>
33
                <artifactId>spring-boot-admin-starter-client</artifactId>
34 35 36 37
                <version>${revision}</version>
            </dependency>
            <dependency>
                <groupId>de.codecentric</groupId>
38
                <artifactId>spring-boot-admin-starter-server</artifactId>
39
                <version>${revision}</version>
40 41 42
            </dependency>
        </dependencies>
    </dependencyManagement>
43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70
    <build>
        <plugins>
            <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>flatten-maven-plugin</artifactId>
                <inherited>false</inherited>
                <executions>
                    <execution>
                        <!-- Flatten and simplify our own POM for install/deploy -->
                        <id>flatten</id>
                        <phase>process-resources</phase>
                        <goals>
                            <goal>flatten</goal>
                        </goals>
                        <configuration>
                            <updatePomFile>true</updatePomFile>
                            <flattenMode>bom</flattenMode>
                            <pomElements>
                                <properties>remove</properties>
                                <distributionManagement>remove</distributionManagement>
                                <dependencyManagement>resolve</dependencyManagement>
                            </pomElements>
                        </configuration>
                    </execution>
                </executions>
            </plugin>
        </plugins>
    </build>
71
</project>