Fix client setup for recovery after server timeout
[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-SNAPSHOT</client-test.version>
43                 <client-config.version>1.0.0-SNAPSHOT</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         </properties>
48         <modules>
49                 <module>acumos-fgw-client-config</module>
50                 <module>acumos-fgw-client-test</module>
51                 <module>acumos-fgw-client</module>
52                 <module>gateway</module>
53         </modules>
54         <dependencyManagement>
55                 <dependencies>
56                         <dependency>
57                                 <groupId>org.acumos.federation</groupId>
58                                 <artifactId>acumos-fgw-client-test</artifactId>
59                                 <version>${client-test.version}</version>
60                         </dependency>
61                         <dependency>
62                                 <groupId>org.acumos.federation</groupId>
63                                 <artifactId>acumos-fgw-client-config</artifactId>
64                                 <version>${client-config.version}</version>
65                         </dependency>
66                         <dependency>
67                                 <groupId>org.projectlombok</groupId>
68                                 <artifactId>lombok</artifactId>
69                                 <version>${lombok.version}</version>
70                         </dependency>
71                         <dependency>
72                                 <groupId>org.springframework</groupId>
73                                 <artifactId>spring-test</artifactId>
74                                 <version>${spring-test.version}</version>
75                         </dependency>
76                 </dependencies>
77         </dependencyManagement>
78         <build>
79                 <pluginManagement>
80                         <plugins>
81                                 <plugin>
82                                         <groupId>org.projectlombok</groupId>
83                                         <artifactId>lombok-maven-plugin</artifactId>
84                                         <version>${lombok-plugin.version}</version>
85                                         <executions>
86                                                 <execution>
87                                                         <phase>generate-sources</phase>
88                                                         <goals>
89                                                                 <goal>delombok</goal>
90                                                         </goals>
91                                                 </execution>
92                                         </executions>
93                                 </plugin>
94                                 <plugin>
95                                         <groupId>org.apache.maven.plugins</groupId>
96                                         <artifactId>maven-compiler-plugin</artifactId>
97                                         <configuration>
98                                                 <source>1.8</source>
99                                                 <target>1.8</target>
100                                         </configuration>
101                                 </plugin>
102                                 <plugin>
103                                         <groupId>org.jacoco</groupId>
104                                         <artifactId>jacoco-maven-plugin</artifactId>
105                                         <version>${jacoco.version}</version>
106                                         <executions>
107                                                 <execution>
108                                                         <id>default-prepare-agent</id>
109                                                         <goals>
110                                                                 <goal>prepare-agent</goal>
111                                                         </goals>
112                                                 </execution>
113                                                 <execution>
114                                                         <id>default-report</id>
115                                                         <phase>prepare-package</phase>
116                                                         <goals>
117                                                                 <goal>report</goal>
118                                                         </goals>
119                                                 </execution>
120                                         </executions>
121                                 </plugin>
122                         </plugins>
123                 </pluginManagement>
124                 <plugins>
125                         <!-- make installed sub-module pom files stand-alone -->
126                         <plugin>
127                                 <groupId>org.codehaus.mojo</groupId>
128                                 <artifactId>flatten-maven-plugin</artifactId>
129                                 <configuration>
130                                         <pomElements>
131                                                 <name>keep</name>
132                                         </pomElements>
133                                 </configuration>
134                                 <executions>
135                                         <execution>
136                                                 <id>flatten</id>
137                                                 <phase>process-resources</phase>
138                                                 <goals>
139                                                         <goal>flatten</goal>
140                                                 </goals>
141                                         </execution>
142                                         <execution>
143                                                 <id>flatten.clean</id>
144                                                 <phase>clean</phase>
145                                                 <goals>
146                                                         <goal>clean</goal>
147                                                 </goals>
148                                         </execution>
149                                 </executions>
150                         </plugin>
151                         <!-- support sonar in multi-module project -->
152                         <plugin>
153                                 <groupId>org.sonarsource.scanner.maven</groupId>
154                                 <artifactId>sonar-maven-plugin</artifactId>
155                                 <version>3.4.0.905</version>
156                         </plugin>
157                         <!-- do not install the root pom, only needed for build -->
158                         <plugin>
159                                 <groupId>org.apache.maven.plugins</groupId>
160                                 <artifactId>maven-install-plugin</artifactId>
161                                 <version>2.5.2</version>
162                                 <inherited>false</inherited>
163                                 <configuration>
164                                         <skip>true</skip>
165                                 </configuration>
166                         </plugin>
167                         <!-- do not deploy the root pom, only needed for build -->
168                         <plugin>
169                                 <groupId>org.apache.maven.plugins</groupId>
170                                 <artifactId>maven-deploy-plugin</artifactId>
171                                 <version>2.8</version>
172                                 <inherited>false</inherited>
173                                 <configuration>
174                                         <skip>true</skip>
175                                 </configuration>
176                         </plugin>
177                 </plugins>
178         </build>
179 </project>