Merge "Fetching data node by xpath - persistence layer"
[cps.git] / cps-application / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <project xmlns="http://maven.apache.org/POM/4.0.0"
3          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5     <modelVersion>4.0.0</modelVersion>
6
7     <parent>
8         <groupId>org.onap.cps</groupId>
9         <artifactId>cps-parent</artifactId>
10         <version>0.0.1-SNAPSHOT</version>
11         <relativePath>../cps-parent/pom.xml</relativePath>
12     </parent>
13
14     <artifactId>cps-application</artifactId>
15
16     <properties>
17         <minimum-coverage>0.0</minimum-coverage>
18     </properties>
19
20     <dependencies>
21         <dependency>
22             <groupId>org.springframework.boot</groupId>
23             <artifactId>spring-boot-starter-web</artifactId>
24             <exclusions>
25                 <exclusion>
26                     <groupId>org.springframework.boot</groupId>
27                     <artifactId>spring-boot-starter-tomcat</artifactId>
28                 </exclusion>
29             </exclusions>
30         </dependency>
31         <dependency>
32             <groupId>org.springframework.boot</groupId>
33             <artifactId>spring-boot-starter-actuator</artifactId>
34         </dependency>
35         <dependency>
36             <groupId>org.springframework.cloud</groupId>
37             <artifactId>spring-cloud-starter-sleuth</artifactId>
38         </dependency>
39     </dependencies>
40
41     <build>
42         <pluginManagement>
43             <plugins>
44                 <plugin>
45                     <groupId>com.google.cloud.tools</groupId>
46                     <artifactId>jib-maven-plugin</artifactId>
47                     <executions>
48                         <execution>
49                             <phase>package</phase>
50                             <id>build</id>
51                             <goals>
52                                 <goal>dockerBuild</goal>
53                             </goals>
54                         </execution>
55                         <execution>
56                             <phase>deploy</phase>
57                             <id>buildAndPush</id>
58                             <goals>
59                                 <goal>build</goal>
60                             </goals>
61                         </execution>
62                     </executions>
63                 </plugin>
64             </plugins>
65         </pluginManagement>
66         <plugins>
67             <plugin>
68                 <groupId>org.springframework.boot</groupId>
69                 <artifactId>spring-boot-maven-plugin</artifactId>
70             </plugin>
71             <plugin>
72                 <groupId>com.google.cloud.tools</groupId>
73                 <artifactId>jib-maven-plugin</artifactId>
74             </plugin>
75         </plugins>
76     </build>
77     <profiles>
78         <profile>
79             <id>cps-docker</id>
80             <activation>
81                 <activeByDefault>false</activeByDefault>
82             </activation>
83             <dependencies>
84                 <dependency>
85                     <groupId>${project.groupId}</groupId>
86                     <artifactId>cps-rest</artifactId>
87                 </dependency>
88             </dependencies>
89         </profile>
90         <profile>
91             <id>xnf-docker</id>
92             <activation>
93                 <activeByDefault>false</activeByDefault>
94             </activation>
95
96             <properties>
97                 <app>org.onap.cps.Application</app>
98                 <repository.name>nexus3.onap.org:10001/onap/cps-nf-proxy</repository.name>
99             </properties>
100
101             <dependencies>
102                 <dependency>
103                     <groupId>${project.groupId}</groupId>
104                     <artifactId>cps-nf-proxy-rest</artifactId>
105                 </dependency>
106             </dependencies>
107         </profile>
108         <profile>
109             <id>cps-xnf-docker</id>
110             <activation>
111                 <activeByDefault>false</activeByDefault>
112             </activation>
113
114             <properties>
115                 <app>org.onap.cps.Application</app>
116                 <repository.name>nexus3.onap.org:10001/onap/cps-and-nf-proxy</repository.name><!-- better naming? -->
117             </properties>
118
119             <dependencies>
120                 <dependency>
121                     <groupId>${project.groupId}</groupId>
122                     <artifactId>cps-rest</artifactId>
123                 </dependency>
124                 <dependency>
125                     <groupId>${project.groupId}</groupId>
126                     <artifactId>cps-nf-proxy-rest</artifactId>
127                 </dependency>
128             </dependencies>
129         </profile>
130     </profiles>
131 </project>