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