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>
6 <groupId>org.onap.ccsdk.parent</groupId>
7 <artifactId>springboot-aggregator</artifactId>
8 <version>2.2.0-SNAPSHOT</version>
11 <groupId>org.onap.ccsdk.parent</groupId>
12 <artifactId>spring-boot-setup</artifactId>
13 <version>2.2.0-SNAPSHOT</version>
14 <packaging>pom</packaging>
16 <name>ONAP :: ${project.groupId} :: ${project.artifactId}</name>
17 <description>Root POM to be used in place of spring-boot parent for CCSDK based projects</description>
18 <url>http://wiki.onap.org</url>
23 <artifactId>maven-resources-plugin</artifactId>
24 <version>2.6</version>
27 <id>create-springboot1-parent-pom</id>
29 <goal>copy-resources</goal>
30 </goals><!-- here the phase you need -->
31 <phase>validate</phase>
33 <outputDirectory>../springboot1</outputDirectory>
36 <directory>src/main/resources</directory>
38 <include>pom-template.xml</include>
40 <filtering>true</filtering>
43 <escapeString>\</escapeString>
45 <filter>${basedir}/src/main/properties/springboot1.properties</filter>
47 <encoding>UTF-8</encoding>
51 <id>create-springboot2-parent-pom</id>
53 <goal>copy-resources</goal>
54 </goals><!-- here the phase you need -->
55 <phase>validate</phase>
57 <outputDirectory>../springboot2</outputDirectory>
60 <directory>src/main/resources</directory>
62 <include>pom-template.xml</include>
64 <filtering>true</filtering>
67 <escapeString>\</escapeString>
69 <filter>${basedir}/src/main/properties/springboot2.properties</filter>
71 <encoding>UTF-8</encoding>
75 <id>create-springboot25-parent-pom</id>
77 <goal>copy-resources</goal>
78 </goals><!-- here the phase you need -->
79 <phase>validate</phase>
81 <outputDirectory>../springboot25</outputDirectory>
84 <directory>src/main/resources</directory>
86 <include>pom-template.xml</include>
88 <filtering>true</filtering>
91 <escapeString>\</escapeString>
93 <filter>${basedir}/src/main/properties/springboot25.properties</filter>
95 <encoding>UTF-8</encoding>
101 <groupId>com.coderplus.maven.plugins</groupId>
102 <artifactId>copy-rename-maven-plugin</artifactId>
103 <version>1.0.1</version>
106 <id>rename-springboot1-parent-pom</id>
107 <phase>validate</phase>
112 <sourceFile>../springboot1/pom-template.xml</sourceFile>
113 <destinationFile>../springboot1/pom.xml</destinationFile>
117 <id>rename-springboot2-parent-pom</id>
118 <phase>validate</phase>
123 <sourceFile>../springboot2/pom-template.xml</sourceFile>
124 <destinationFile>../springboot2/pom.xml</destinationFile>
128 <id>rename-springboot25-parent-pom</id>
129 <phase>validate</phase>
134 <sourceFile>../springboot25/pom-template.xml</sourceFile>
135 <destinationFile>../springboot25/pom.xml</destinationFile>