e8e827bb53cbd5758f81e762675e0aad3dc1fef1
[vid.git] / vid-ext-services-simulator / 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     <groupId>org.onap.vid</groupId>
7     <artifactId>vid-ext-services-simulator</artifactId>
8     <version>1.0.0</version>
9     <name>VID Simulator</name>
10     <packaging>war</packaging>
11     <description>VID Simulator for mocking external peers</description>
12
13     <properties>
14         <encoding>UTF-8</encoding>
15         <epsdk.version>1.3.0</epsdk.version>
16         <springframework.version>4.2.0.RELEASE</springframework.version>
17         <hibernate.version>4.3.11.Final</hibernate.version>
18         <!-- Skip assembling the zip by default -->
19         <skipassembly>true</skipassembly>
20         <!-- Tests usually require some setup that maven cannot do, so skip. -->
21         <skiptests>true</skiptests>
22         <!-- this should be commented for local debugging -->
23         <!-- <deployenv>local</deployenv> -->
24         <nexusproxy>https://nexus.onap.org</nexusproxy>
25         <stagingNexusPath>content/repositories/staging/</stagingNexusPath>
26         <snapshotNexusPath>content/repositories/snapshots/</snapshotNexusPath>
27         <releaseNexusPath>content/repositories/releases/</releaseNexusPath>
28
29         <!-- "none" will skip cobertura by default; enable the profile "cobertura" to enable it -->
30         <coberturaBuildPhase>none</coberturaBuildPhase>
31     </properties>
32
33
34     <!--distributionManagement>
35         <repository>
36             <id>vid-releases</id>
37             <name>VID Release Repository</name>
38             <url>https://162.242.254.138:8443/repository/maven-releases</url>
39         </repository>
40
41         <snapshotRepository>
42             <id>vid-snapshots</id>
43             <name>VID Snapshot Repository</name>
44             <url>https://162.242.254.138:8443/repository/maven-snapshots</url>
45         </snapshotRepository>
46     </distributionManagement-->
47
48
49     <profiles>
50
51         <profile>
52             <id>onap</id>
53
54             <properties>
55                 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
56                 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
57                 <epsdk.version>1.1.0-SNAPSHOT</epsdk.version>
58                 <nexusproxy>https://nexus.onap.org</nexusproxy>
59                 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
60                 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
61                 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
62                 <sitePath>/content/sites/site/org/openecomp/vid/${project.version}</sitePath>
63             </properties>
64
65             <repositories>
66                 <repository>
67                     <id>oss-snapshots</id>
68                     <name>oss Central - Snapshots</name>
69                     <url>https://oss.sonatype.org/service/local/repositories/releases/content/</url>
70                 </repository>
71             </repositories>
72         </profile>
73
74         <profile>
75             <id>default</id>
76
77
78         </profile>
79
80         <!-- disable doclint, a new feature in Java 8, when generating javadoc -->
81         <profile>
82             <id>doclint-java8-disable</id>
83             <activation>
84                 <jdk>[1.8,)</jdk>
85             </activation>
86             <build>
87                 <plugins>
88                     <plugin>
89                         <groupId>org.apache.maven.plugins</groupId>
90                         <artifactId>maven-javadoc-plugin</artifactId>
91                         <version>2.10.4</version>
92                         <configuration>
93                             <additionalparam>-Xdoclint:none</additionalparam>
94                         </configuration>
95                     </plugin>
96                 </plugins>
97             </build>
98         </profile>
99
100         <profile>
101             <id>cobertura</id>
102             <properties>
103                 <coberturaBuildPhase>package</coberturaBuildPhase>
104             </properties>
105         </profile>
106     </profiles>
107
108     <dependencies>
109         <!-- mockserver -->
110         <dependency>
111             <groupId>org.mock-server</groupId>
112             <artifactId>mockserver-netty</artifactId>
113             <version>3.11</version>
114         </dependency>
115          <dependency>
116             <groupId>org.springframework</groupId>
117             <artifactId>spring-web</artifactId>
118             <version>4.3.4.RELEASE</version>
119         </dependency>
120         <dependency>
121             <groupId>org.springframework</groupId>
122             <artifactId>spring-webmvc</artifactId>
123             <version>4.3.4.RELEASE</version>
124         </dependency>
125          <dependency>
126             <groupId>com.fasterxml.jackson.core</groupId>
127             <artifactId>jackson-annotations</artifactId>
128             <version>2.8.7</version>
129         </dependency>
130         <dependency>
131             <groupId>javax.xml.bind</groupId>
132             <artifactId>jaxb-api</artifactId>
133             <version>2.2.11</version>
134         </dependency>
135     </dependencies>
136
137     <build>
138         <finalName>vidSimulator</finalName>
139         <plugins>
140             <plugin>
141                 <groupId>org.apache.maven.plugins</groupId>
142                 <artifactId>maven-compiler-plugin</artifactId>
143                 <version>3.1</version>
144                 <configuration>
145                     <source>1.8</source>
146                     <target>1.8</target>
147                 </configuration>
148             </plugin>
149         </plugins>
150     </build>
151
152    <!-- <build>
153         <finalName>vidSimulator</finalName>
154         <plugins>
155             <plugin>
156                 <groupId>org.springframework.boot</groupId>
157                 <artifactId>spring-boot-maven-plugin</artifactId>
158                 <version>1.5.6.RELEASE</version>
159             </plugin>
160         </plugins>
161     </build>
162 -->
163
164 </project>