blob: a9339edcd284d1a048428ec97bce753c6766bbc0 [file] [log] [blame]
Aharoni, Pavel (pa0916)ca3cb012018-10-22 15:29:57 +03001<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3 <!--/*-
4 * ============LICENSE_START=======================================================
5 * OSAM Core
6 * ================================================================================
7 * Copyright (C) 2018 AT&T
8 * ================================================================================
9 * Licensed 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 * Unless required by applicable law or agreed to in writing, software
16 * distributed under the License is distributed on an "AS IS" BASIS,
17 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18 * See the License for the specific language governing permissions and
19 * limitations under the License.
20 * ============LICENSE_END=========================================================
21 */-->
22
23 <modelVersion>4.0.0</modelVersion>
24 <groupId>org.onap.osam</groupId>
25 <artifactId>osam-core-parent</artifactId>
26 <packaging>pom</packaging>
27 <name>OSAM Core Parent</name>
28
29 <profiles>
30 <!-- DO NOT CHANGE THE *ORDER* IN WHICH THESE PROFILES ARE DEFINED! -->
31
32 <profile>
33 <id>onap</id>
34 <activation>
35 <activeByDefault>true</activeByDefault>
36 </activation>
37 <modules>
Aharoni, Pavel (pa0916)0a8080c2018-11-22 15:45:19 +020038 <module>osam-common</module>
Aharoni, Pavel (pa0916)d2946182018-12-17 11:21:02 +020039 <module>onap-enabler</module>
40 <module>osam-core-framework</module>
Aharoni, Pavel (pa0916)ca3cb012018-10-22 15:29:57 +030041 </modules>
42 <repositories>
43 <repository>
44 <id>ecomp-releases</id>
45 <name>VID Release Repository</name>
46 <url>${nexusproxy}/${releaseNexusPath}</url>
47 </repository>
48 <repository>
49 <id>ecomp-snapshots</id>
50 <name>VID Snapshot Repository</name>
51 <url>${nexusproxy}/${snapshotNexusPath}</url>
52 </repository>
53 <repository>
54 <id>ecomp-staging</id>
55 <name>VID Staging Repository</name>
56 <url>${nexusproxy}/${stagingNexusPath}</url>
57 </repository>
58 <repository>
59 <!-- Snapshots repository has ECOMP snapshot artifacts -->
60 <id>oss-snapshots</id>
61 <name>oss Central - Snapshots</name>
62 <url>https://oss.sonatype.org/service/local/repositories/releases/content/</url>
63 </repository>
64 </repositories>
65
66 <distributionManagement>
67 <repository>
68 <id>ecomp-releases</id>
69 <name>VID Release Repository</name>
70 <url>${nexusproxy}/${releaseNexusPath}</url>
71 </repository>
72 <snapshotRepository>
73 <id>ecomp-snapshots</id>
74 <name>VID Snapshot Repository</name>
75 <url>${nexusproxy}/${snapshotNexusPath}</url>
76 </snapshotRepository>
77 <!-- added for javadoc -->
78 <site>
79 <id>ecomp-site</id>
80 <url>dav:${nexusproxy}${sitePath}</url>
81 </site>
82 </distributionManagement>
83
84 </profile>
85
86 <profile>
87 <id>docker</id>
88 <modules>
89 <module>osam-core-be</module>
90 <module>osam-core</module>
91 <module>deliveries</module>
92 </modules>
93 </profile>
94 </profiles>
95
96 <properties>
97 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
98 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
99 <build.version>0.0.1-SNAPSHOT</build.version>
100 <nexusproxy>https://nexus.onap.org</nexusproxy>
101 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
102 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
103 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
104 <sitePath>/content/sites/site/org/onap/vid/${project.version}</sitePath>
105 </properties>
106
107 <build>
108 <plugins>
109 <plugin>
110 <groupId>org.codehaus.mojo</groupId>
111 <artifactId>versions-maven-plugin</artifactId>
112 <version>1.3.1</version>
113 </plugin>
114 <plugin>
115 <groupId>org.sonatype.plugins</groupId>
116 <artifactId>nexus-staging-maven-plugin</artifactId>
117 <version>1.6.7</version>
118 <extensions>true</extensions>
119 <configuration>
120 <nexusUrl>${nexusproxy}</nexusUrl>
121 <stagingProfileId>176c31dfe190a</stagingProfileId>
122 <serverId>ecomp-staging</serverId>
123 </configuration>
124 </plugin>
125
126 <plugin>
127 <groupId>org.apache.maven.plugins</groupId>
128 <artifactId>maven-site-plugin</artifactId>
129 <version>3.6</version>
130 <dependencies>
131 <dependency>
132 <groupId>org.apache.maven.wagon</groupId>
133 <artifactId>wagon-webdav-jackrabbit</artifactId>
134 <version>2.10</version>
135 </dependency>
136 </dependencies>
137 </plugin>
138 <plugin>
139 <groupId>org.apache.maven.plugins</groupId>
140 <artifactId>maven-deploy-plugin</artifactId>
141 <version>2.8</version>
142 </plugin>
143
144 <plugin>
145 <groupId>org.apache.maven.plugins</groupId>
146 <artifactId>maven-surefire-plugin</artifactId>
147 <version>2.17</version>
148 </plugin>
149
150 <plugin>
151 <groupId>org.apache.maven.plugins</groupId>
152 <artifactId>maven-compiler-plugin</artifactId>
153 <version>2.3.2</version>
154
155 <configuration>
156 <debug>true</debug>
157 <compilerArgument>-Xlint</compilerArgument>
158 <verbose>true</verbose>
159 <showDeprecation>true</showDeprecation>
160 <showWarnings>true</showWarnings>
161 <source>1.8</source>
162 <target>1.8</target>
163 </configuration>
164 </plugin>
165 <plugin>
166 <groupId>org.sonarsource.scanner.maven</groupId>
167 <artifactId>sonar-maven-plugin</artifactId>
168 <version>3.3.0.603</version>
169 </plugin>
170 <plugin>
171 <groupId>com.blackducksoftware.integration</groupId>
172 <artifactId>hub-maven-plugin</artifactId>
173 <version>1.4.0</version>
174 <inherited>false</inherited>
175 <configuration>
176 <hubProjectName>${project.name}</hubProjectName>
177 <outputDirectory>${project.basedir}</outputDirectory>
178 </configuration>
179 <executions>
180 <execution>
181 <id>create-bdio-file</id>
182 <phase>package</phase>
183 <goals>
184 <goal>createHubOutput</goal>
185 </goals>
186 </execution>
187 </executions>
188 </plugin>
189 </plugins>
190 </build>
191
192 <!-- added for javadoc -->
193 <pluginRepositories>
194 <!-- Black Duck plugin dependencies -->
195 <pluginRepository>
196 <id>JCenter</id>
197 <name>JCenter Repository</name>
198 <url>http://jcenter.bintray.com</url>
199 </pluginRepository>
200
201 <pluginRepository>
202 <id>Restlet</id>
203 <name>Restlet Repository</name>
204 <url>http://maven.restlet.com</url>
205 </pluginRepository>
206 </pluginRepositories>
207 <reporting>
208 <plugins>
209
210 <plugin>
211 <groupId>org.apache.maven.plugins</groupId>
212 <artifactId>maven-javadoc-plugin</artifactId>
213 <version>2.10.4</version>
214 <configuration>
215 <failOnError>false</failOnError>
216 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
217 <docletArtifact>
218 <groupId>org.umlgraph</groupId>
219 <artifactId>umlgraph</artifactId>
220 <version>5.6</version>
221 </docletArtifact>
222 <additionalparam>-views</additionalparam>
223 <useStandardDocletOptions>true</useStandardDocletOptions>
224 </configuration>
225 </plugin>
226 </plugins>
227 </reporting>
228 <dependencies>
229 <dependency>
230 <groupId>junit</groupId>
231 <artifactId>junit</artifactId>
232 <version>4.11</version>
233 <scope>test</scope>
234 </dependency>
235
236 <!--Overide versions for latest security fixes-->
237 <dependency>
238 <groupId>ch.qos.logback</groupId>
239 <artifactId>logback-core</artifactId>
240 <version>1.2.3</version>
241 </dependency>
242 <dependency>
243 <groupId>ch.qos.logback</groupId>
244 <artifactId>logback-classic</artifactId>
245 <version>1.2.3</version>
246 </dependency>
247 <dependency>
248 <groupId>commons-collections</groupId>
249 <artifactId>commons-collections</artifactId>
250 <version>3.2.2</version>
251 </dependency>
252 <dependency>
253 <groupId>org.apache.poi</groupId>
254 <artifactId>poi</artifactId>
255 <version>3.17</version>
256 </dependency>
257 <dependency>
258 <groupId>org.apache.httpcomponents</groupId>
259 <artifactId>httpclient</artifactId>
260 <version>4.5.3</version>
261 </dependency>
262 </dependencies>
Aharoni, Pavel (pa0916)d2946182018-12-17 11:21:02 +0200263 <version>0.0.2</version>
Aharoni, Pavel (pa0916)ca3cb012018-10-22 15:29:57 +0300264</project>