blob: 2c80fa930ac2d777fb38ea0dabcc8b021b9f3d1e [file] [log] [blame]
Aharoni, Pavel (pa0916)ca3cb012018-10-22 15:29:57 +03001<?xml version="1.0" encoding="UTF-8"?>
2<!--/*-
3 * ============LICENSE_START=======================================================
4 * OSAM Core
5 * ================================================================================
6 * Copyright (C) 2018 AT&T
7 * ================================================================================
8 * Licensed under the Apache License, Version 2.0 (the "License");
9 * you may not use this file except in compliance with the License.
10 * You may obtain a copy of the License at
11 *
12 * http://www.apache.org/licenses/LICENSE-2.0
13 *
14 * Unless required by applicable law or agreed to in writing, software
15 * distributed under the License 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
22<project xmlns="http://maven.apache.org/POM/4.0.0"
23 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
24 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
25 <modelVersion>4.0.0</modelVersion>
26 <groupId>org.onap.osam</groupId>
27 <artifactId>osam-core-ext-services-simulator</artifactId>
28 <version>1.0.0</version>
29 <name>OSAM Core Simulator</name>
30 <packaging>war</packaging>
31 <description>OSAM Core Simulator for mocking external peers</description>
32
33 <properties>
34 <encoding>UTF-8</encoding>
35 <epsdk.version>1.3.0</epsdk.version>
36 <springframework.version>4.2.0.RELEASE</springframework.version>
37 <hibernate.version>4.3.11.Final</hibernate.version>
38 <!-- Skip assembling the zip by default -->
39 <skipassembly>true</skipassembly>
40 <!-- Tests usually require some setup that maven cannot do, so skip. -->
41 <skiptests>true</skiptests>
42 <!-- this should be commented for local debugging -->
43 <!-- <deployenv>local</deployenv> -->
44 <nexusproxy>https://nexus.onap.org</nexusproxy>
45 <stagingNexusPath>content/repositories/staging/</stagingNexusPath>
46 <snapshotNexusPath>content/repositories/snapshots/</snapshotNexusPath>
47 <releaseNexusPath>content/repositories/releases/</releaseNexusPath>
48
49 <!-- "none" will skip cobertura by default; enable the profile "cobertura" to enable it -->
50 <coberturaBuildPhase>none</coberturaBuildPhase>
51 </properties>
52
53
54 <!--distributionManagement>
55 <repository>
56 <id>vid-releases</id>
57 <name>VID Release Repository</name>
58 <url>https://162.242.254.138:8443/repository/maven-releases</url>
59 </repository>
60
61 <snapshotRepository>
62 <id>vid-snapshots</id>
63 <name>VID Snapshot Repository</name>
64 <url>https://162.242.254.138:8443/repository/maven-snapshots</url>
65 </snapshotRepository>
66 </distributionManagement-->
67
68
69 <profiles>
70
71 <profile>
72 <id>onap</id>
73
74 <properties>
75 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
76 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
77 <epsdk.version>1.1.0-SNAPSHOT</epsdk.version>
78 <nexusproxy>https://nexus.onap.org</nexusproxy>
79 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
80 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
81 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
82 <sitePath>/content/sites/site/org/openecomp/vid/${project.version}</sitePath>
83 </properties>
84
85 <repositories>
86 <repository>
87 <id>oss-snapshots</id>
88 <name>oss Central - Snapshots</name>
89 <url>https://oss.sonatype.org/service/local/repositories/releases/content/</url>
90 </repository>
91 </repositories>
92 </profile>
93
94 <profile>
95 <id>default</id>
96
97
98 </profile>
99
100 <!-- disable doclint, a new feature in Java 8, when generating javadoc -->
101 <profile>
102 <id>doclint-java8-disable</id>
103 <activation>
104 <jdk>[1.8,)</jdk>
105 </activation>
106 <build>
107 <plugins>
108 <plugin>
109 <groupId>org.apache.maven.plugins</groupId>
110 <artifactId>maven-javadoc-plugin</artifactId>
111 <version>2.10.4</version>
112 <configuration>
113 <additionalparam>-Xdoclint:none</additionalparam>
114 </configuration>
115 </plugin>
116 </plugins>
117 </build>
118 </profile>
119
120 <profile>
121 <id>cobertura</id>
122 <properties>
123 <coberturaBuildPhase>package</coberturaBuildPhase>
124 </properties>
125 </profile>
126 </profiles>
127
128 <dependencies>
129 <!-- mockserver -->
130 <dependency>
131 <groupId>org.mock-server</groupId>
132 <artifactId>mockserver-netty</artifactId>
133 <version>3.11</version>
134 </dependency>
135 <dependency>
136 <groupId>org.springframework</groupId>
137 <artifactId>spring-web</artifactId>
138 <version>4.3.4.RELEASE</version>
139 </dependency>
140 <dependency>
141 <groupId>org.springframework</groupId>
142 <artifactId>spring-webmvc</artifactId>
143 <version>4.3.4.RELEASE</version>
144 </dependency>
145 <dependency>
146 <groupId>com.fasterxml.jackson.core</groupId>
147 <artifactId>jackson-annotations</artifactId>
148 <version>2.8.7</version>
149 </dependency>
150 <dependency>
151 <groupId>javax.xml.bind</groupId>
152 <artifactId>jaxb-api</artifactId>
153 <version>2.2.11</version>
154 </dependency>
155 </dependencies>
156
157 <build>
158 <finalName>simulator</finalName>
159 <plugins>
160 <plugin>
161 <groupId>org.codehaus.mojo</groupId>
162 <artifactId>license-maven-plugin</artifactId>
163 <version>1.16</version>
164 <configuration>
165 <addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage>
166 <processStartTag>============LICENSE_START=======================================================</processStartTag>
167 <processEndTag>============LICENSE_END=========================================================</processEndTag>
168 <sectionDelimiter>================================================================================</sectionDelimiter>
169 <licenseName>apache_v2</licenseName>
170 <inceptionYear>2018</inceptionYear>
171 <organizationName>AT&amp;T</organizationName>
172 <projectName>OSAM</projectName>
173 <canUpdateCopyright>true</canUpdateCopyright>
174 <canUpdateDescription>true</canUpdateDescription>
175 <canUpdateLicense>true</canUpdateLicense>
176 <emptyLineAfterHeader>true</emptyLineAfterHeader>
177 <verbose>false</verbose>
178 <includes>
179 <include>**/*.java</include>
180 </includes>
181 </configuration>
182 <executions>
183 <execution>
184 <id>first</id>
185 <goals>
186 <goal>update-file-header</goal>
187 </goals>
188 <phase>process-sources</phase>
189 </execution>
190 </executions>
191 </plugin>
192 <plugin>
193 <groupId>org.apache.maven.plugins</groupId>
194 <artifactId>maven-compiler-plugin</artifactId>
195 <version>3.1</version>
196 <configuration>
197 <source>1.8</source>
198 <target>1.8</target>
199 </configuration>
200 </plugin>
201 </plugins>
202 </build>
203
204</project>