Release federation
[federation.git] / pom.xml
1 <?xml version="1.0"?>
2 <!--<![CDATA[
3 ===============LICENSE_START=======================================================
4 Acumos
5 ===================================================================================
6 Copyright (C) 2017-2019 AT&T Intellectual Property & Tech Mahindra. All rights reserved.
7 ===================================================================================
8 This Acumos software file is distributed by AT&T and Tech Mahindra
9 under the Apache License, Version 2.0 (the "License");
10 you may not use this file except in compliance with the License.
11 You may obtain a copy of the License at
12
13 http://www.apache.org/licenses/LICENSE-2.0
14
15 This file is distributed on an "AS IS" BASIS,
16 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 See the License for the specific language governing permissions and
18 limitations under the License.
19 ===============LICENSE_END=========================================================
20 ]]>-->
21 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
22         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
23         <modelVersion>4.0.0</modelVersion>
24         <parent>
25                 <groupId>org.springframework.boot</groupId>
26                 <artifactId>spring-boot-starter-parent</artifactId>
27                 <version>2.1.4.RELEASE</version>
28                 <relativePath/><!-- lookup parent from repository -->
29         </parent>
30         <groupId>org.acumos.federation</groupId>
31         <artifactId>federation-parent</artifactId>
32         <!-- this version is not used (due to flattening) -->
33         <version>0</version>
34         <packaging>pom</packaging>
35         <name>Federation Parent</name>
36         <properties>
37                 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
38                 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
39                 <build.number>0</build.number>
40                 <skipTests>false</skipTests>
41                 <!-- dependency versions -->
42                 <client-test.version>1.0.0</client-test.version>
43                 <client-config.version>1.0.0</client-config.version>
44                 <jacoco.version>0.8.4</jacoco.version>
45                 <lombok-plugin.version>1.18.6.0</lombok-plugin.version>
46                 <spring-test.version>5.1.2.RELEASE</spring-test.version>
47                 <maven.compiler.release>8</maven.compiler.release>
48         </properties>
49         <modules>
50                 <module>acumos-fgw-client-config</module>
51                 <module>acumos-fgw-client-test</module>
52                 <module>acumos-fgw-client</module>
53                 <module>gateway</module>
54         </modules>
55         <dependencyManagement>
56                 <dependencies>
57                         <dependency>
58                                 <groupId>org.acumos.federation</groupId>
59                                 <artifactId>acumos-fgw-client-test</artifactId>
60                                 <version>${client-test.version}</version>
61                         </dependency>
62                         <dependency>
63                                 <groupId>org.acumos.federation</groupId>
64                                 <artifactId>acumos-fgw-client-config</artifactId>
65                                 <version>${client-config.version}</version>
66                         </dependency>
67                         <dependency>
68                                 <groupId>org.projectlombok</groupId>
69                                 <artifactId>lombok</artifactId>
70                                 <version>${lombok.version}</version>
71                         </dependency>
72                         <dependency>
73                                 <groupId>org.springframework</groupId>
74                                 <artifactId>spring-test</artifactId>
75                                 <version>${spring-test.version}</version>
76                         </dependency>
77                 </dependencies>
78         </dependencyManagement>
79         <build>
80                 <pluginManagement>
81                         <plugins>
82                                 <plugin>
83                                         <groupId>org.projectlombok</groupId>
84                                         <artifactId>lombok-maven-plugin</artifactId>
85                                         <version>${lombok-plugin.version}</version>
86                                         <executions>
87                                                 <execution>
88                                                         <phase>generate-sources</phase>
89                                                         <goals>
90                                                                 <goal>delombok</goal>
91                                                         </goals>
92                                                 </execution>
93                                         </executions>
94                                 </plugin>
95                                 <plugin>
96                                         <groupId>org.jacoco</groupId>
97                                         <artifactId>jacoco-maven-plugin</artifactId>
98                                         <version>${jacoco.version}</version>
99                                         <executions>
100                                                 <execution>
101                                                         <id>default-prepare-agent</id>
102                                                         <goals>
103                                                                 <goal>prepare-agent</goal>
104                                                         </goals>
105                                                 </execution>
106                                                 <execution>
107                                                         <id>default-report</id>
108                                                         <phase>prepare-package</phase>
109                                                         <goals>
110                                                                 <goal>report</goal>
111                                                         </goals>
112                                                 </execution>
113                                         </executions>
114                                 </plugin>
115                         </plugins>
116                 </pluginManagement>
117                 <plugins>
118                         <!-- make installed sub-module pom files stand-alone -->
119                         <plugin>
120                                 <groupId>org.codehaus.mojo</groupId>
121                                 <artifactId>flatten-maven-plugin</artifactId>
122                                 <configuration>
123                                         <pomElements>
124                                                 <name>keep</name>
125                                         </pomElements>
126                                 </configuration>
127                                 <executions>
128                                         <execution>
129                                                 <id>flatten</id>
130                                                 <phase>process-resources</phase>
131                                                 <goals>
132                                                         <goal>flatten</goal>
133                                                 </goals>
134                                         </execution>
135                                         <execution>
136                                                 <id>flatten.clean</id>
137                                                 <phase>clean</phase>
138                                                 <goals>
139                                                         <goal>clean</goal>
140                                                 </goals>
141                                         </execution>
142                                 </executions>
143                         </plugin>
144                         <!-- support sonar in multi-module project -->
145                         <plugin>
146                                 <groupId>org.sonarsource.scanner.maven</groupId>
147                                 <artifactId>sonar-maven-plugin</artifactId>
148                                 <version>3.6.0.1398</version>
149                         </plugin>
150                         <!-- do not install the root pom, only needed for build -->
151                         <plugin>
152                                 <groupId>org.apache.maven.plugins</groupId>
153                                 <artifactId>maven-install-plugin</artifactId>
154                                 <version>2.5.2</version>
155                                 <inherited>false</inherited>
156                                 <configuration>
157                                         <skip>true</skip>
158                                 </configuration>
159                         </plugin>
160                         <!-- do not deploy the root pom, only needed for build -->
161                         <plugin>
162                                 <groupId>org.apache.maven.plugins</groupId>
163                                 <artifactId>maven-deploy-plugin</artifactId>
164                                 <version>2.8</version>
165                                 <inherited>false</inherited>
166                                 <configuration>
167                                         <skip>true</skip>
168                                 </configuration>
169                         </plugin>
170                 </plugins>
171         </build>
172 </project>