Fully HTTPS support in the dcaedt-be
[sdc/dcae-d/dt-be-main.git] / 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" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4     <modelVersion>4.0.0</modelVersion>
5     <groupId>org.onap.sdc.dcae-d.dt-be-main</groupId>
6     <artifactId>dcae_dt_be_main</artifactId>
7     <version>1.3.1-SNAPSHOT</version>
8     <packaging>pom</packaging>
9     <name>dcae-d dt-be-main</name>
10
11     <parent>
12         <groupId>org.onap.oparent</groupId>
13         <artifactId>oparent</artifactId>
14         <version>2.0.0</version>
15         <relativePath/>
16     </parent>
17
18     <properties>
19         <maven.build.timestamp.format>yyyyMMdd'T'HHmm</maven.build.timestamp.format>
20         <docker.tag>${project.version}-${maven.build.timestamp}</docker.tag>
21         <docker.latest.tag>${project.version}-latest</docker.latest.tag>
22         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
23         <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
24         <java.version>1.8</java.version>
25         <nexus.proxy>https://nexus.onap.org</nexus.proxy>
26         <maven-checkstyle-plugin.version>2.17</maven-checkstyle-plugin.version>
27         <springboot.version>1.5.9.RELEASE</springboot.version>
28         <staging.profile.id>176c31dfe190a</staging.profile.id>
29         <sitePath>/content/sites/site/org/openecomp/sdc/${project.version}</sitePath>
30         <sonar.branch>${project.version}</sonar.branch>
31     </properties>
32
33     <dependencyManagement>
34         <dependencies>
35             <dependency>
36                 <groupId>org.springframework.boot</groupId>
37                 <artifactId>spring-boot-starter-parent</artifactId>
38                 <version>${springboot.version}</version>
39                 <scope>import</scope>
40                 <type>pom</type>
41             </dependency>
42         </dependencies>
43     </dependencyManagement>
44
45     <dependencies>
46         <dependency>
47             <groupId>org.onap.sdc.dcae-d.dt-be-property</groupId>
48             <artifactId>DCAE-DT-PROPERTY</artifactId>
49             <version>1.3.1</version>
50             <exclusions>
51                 <exclusion>
52                     <groupId>org.slf4j</groupId>
53                     <artifactId>slf4j-api</artifactId>
54                 </exclusion>
55                 <exclusion>
56                     <groupId>org.slf4j</groupId>
57                     <artifactId>log4j-over-slf4j</artifactId>
58                 </exclusion>
59                 <exclusion>
60                     <groupId>log4j</groupId>
61                     <artifactId>log4j</artifactId>
62                 </exclusion>
63             </exclusions>
64         </dependency>
65     </dependencies>
66
67
68     <build>
69         <plugins>
70             <plugin>
71                 <artifactId>maven-checkstyle-plugin</artifactId>
72                 <version>${maven-checkstyle-plugin.version}</version>
73                 <configuration>
74                     <suppressionsLocation>checkstyle-suppressions.xml</suppressionsLocation>
75                     <suppressionsFileExpression>checkstyle.suppressions.file</suppressionsFileExpression>
76                 </configuration>
77             </plugin>
78             <plugin>
79                 <groupId>org.jacoco</groupId>
80                 <artifactId>jacoco-maven-plugin</artifactId>
81                 <version>0.7.9</version>
82                 <executions>
83                     <execution>
84                         <id>default-prepare-agent</id>
85                         <goals>
86                             <goal>prepare-agent</goal>
87                         </goals>
88                     </execution>
89                     <execution>
90                         <id>default-report</id>
91                         <goals>
92                             <goal>report</goal>
93                         </goals>
94                     </execution>
95                 </executions>
96             </plugin>
97             <!-- Site Plugin -->
98             <plugin>
99                 <groupId>org.apache.maven.plugins</groupId>
100                 <artifactId>maven-site-plugin</artifactId>
101                 <version>3.4</version>
102                 <dependencies>
103                     <dependency>
104                         <groupId>org.apache.maven.wagon</groupId>
105                         <artifactId>wagon-webdav-jackrabbit</artifactId>
106                         <version>2.10</version>
107                     </dependency>
108                 </dependencies>
109             </plugin>
110             <plugin>
111                 <groupId>org.codehaus.mojo</groupId>
112                 <artifactId>build-helper-maven-plugin</artifactId>
113                 <version>1.8</version>
114                 <executions>
115                     <execution>
116                         <id>parse-version</id>
117                         <goals>
118                             <goal>parse-version</goal>
119                         </goals>
120                     </execution>
121                 </executions>
122             </plugin>
123             <plugin>
124                 <groupId>org.apache.maven.plugins</groupId>
125                 <artifactId>maven-compiler-plugin</artifactId>
126                 <configuration>
127                     <source>1.8</source>
128                     <target>1.8</target>
129                 </configuration>
130             </plugin>
131         </plugins>
132     </build>
133
134     <profiles>
135         <profile>
136             <id>all</id>
137             <activation>
138                 <activeByDefault>true</activeByDefault>
139             </activation>
140             <modules>
141                 <module>dcaedt_validator</module>
142                 <module>dcaedt_catalog</module>
143                 <module>dcaedt_be</module>
144                 <module>dcaedt_tools</module>
145             </modules>
146         </profile>
147     </profiles>
148
149     <repositories>
150         <!-- LF repositories -->
151         <repository>
152             <id>ecomp-releases</id>
153             <name>Release Repository</name>
154             <url>${nexus.proxy}/content/repositories/releases/</url>
155         </repository>
156         <repository>
157             <id>ecomp-snapshots</id>
158             <name>Snapshots Repository</name>
159             <url>${nexus.proxy}/content/repositories/snapshots/</url>
160         </repository>
161         <repository>
162             <id>ecomp-public</id>
163             <name>Public Repository</name>
164             <url>${nexus.proxy}/content/repositories/public/</url>
165         </repository>
166         <!-- LF repositories END-->
167     </repositories>
168
169     <distributionManagement>
170         <repository>
171             <id>ecomp-releases</id>
172             <name>Release Repository</name>
173             <url>${nexus.proxy}/content/repositories/releases/</url>
174         </repository>
175         <snapshotRepository>
176             <id>ecomp-snapshots</id>
177             <name>Snapshot Repository</name>
178             <url>${nexus.proxy}/content/repositories/snapshots/</url>
179         </snapshotRepository>
180         <site>
181             <id>ecomp-site</id>
182             <url>dav:${nexus.proxy}${sitePath}</url>
183         </site>
184     </distributionManagement>
185 </project>