Change usecase-ui server project version
[usecase-ui/server.git] / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3     Copyright (C) 2017 CMCC, Inc. and others. All rights reserved.
4
5     Licensed under the Apache License, Version 2.0 (the "License");
6     you may not use this file except in compliance with the License.
7     You may obtain a copy of the License at
8
9         http://www.apache.org/licenses/LICENSE-2.0
10
11     Unless required by applicable law or agreed to in writing, software
12     distributed under the License is distributed on an "AS IS" BASIS,
13     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14     See the License for the specific language governing permissions and
15     limitations under the License.
16  -->
17 <project xmlns="http://maven.apache.org/POM/4.0.0" 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">
18     <modelVersion>4.0.0</modelVersion>
19
20     <parent>
21         <groupId>org.onap.oparent</groupId>
22         <artifactId>oparent</artifactId>
23         <version>2.0.0</version>
24         <relativePath />
25     </parent>
26
27     <groupId>org.onap.usecase-ui.server</groupId>
28     <artifactId>usecase-ui-server-parent</artifactId>
29     <version>2.0.0</version>
30     <packaging>pom</packaging>
31     <name>usecase-ui-server</name>
32     <description>project for usecase-ui server</description>
33
34     <properties>
35         <sonar.projectVersion>${project.version}</sonar.projectVersion>
36         <maven.build.timestamp.format>yyyyMMdd'T'HHmm</maven.build.timestamp.format>
37         <nexusproxy>https://nexus.onap.org</nexusproxy>
38         <releaseNexusPath>content/repositories/releases/</releaseNexusPath>
39         <snapshotNexusPath>content/repositories/snapshots/</snapshotNexusPath>
40         <publicNexusPath>content/repositories/public/</publicNexusPath>
41         <siteNexusPath>content/sites/site/${project.groupId}/${project.artifactId}/${project.version}/</siteNexusPath>
42     </properties>
43
44     <!-- Specify the repositories here to avoid coordination of ~/.m2/settings.xml 
45         files among developers. Use values (not properties) so oparent can be resolved. -->
46     <repositories>
47         <repository>
48             <id>onap-public</id>
49             <url>${nexusproxy}/${publicNexusPath}</url>
50             <snapshots>
51                 <enabled>false</enabled>
52             </snapshots>
53         </repository>
54         <repository>
55             <id>onap-releases</id>
56             <url>${nexusproxy}/${releaseNexusPath}</url>
57             <snapshots>
58                 <enabled>false</enabled>
59             </snapshots>
60         </repository>
61         <repository>
62             <id>onap-snapshots</id>
63             <url>${nexusproxy}/${snapshotNexusPath}</url>
64             <releases>
65                 <enabled>false</enabled>
66             </releases>
67         </repository>
68     </repositories>
69
70     <!-- Specify the repositories here to avoid coordination of ~/.m2/settings.xml 
71         files among all developers. -->
72     <pluginRepositories>
73         <pluginRepository>
74             <id>onap-plugin-public</id>
75             <url>${nexusproxy}/${publicNexusPath}</url>
76             <snapshots>
77                 <enabled>false</enabled>
78             </snapshots>
79         </pluginRepository>
80         <pluginRepository>
81             <id>onap-plugin-release</id>
82             <url>${nexusproxy}/${releaseNexusPath}</url>
83             <snapshots>
84                 <enabled>false</enabled>
85             </snapshots>
86         </pluginRepository>
87         <pluginRepository>
88             <id>onap-plugin-snapshots</id>
89             <url>${nexusproxy}/${snapshotNexusPath}</url>
90             <releases>
91                 <enabled>false</enabled>
92             </releases>
93         </pluginRepository>
94     </pluginRepositories>
95
96     <modules>
97         <module>server</module>
98         <module>standalone</module>
99     </modules>
100
101     <build>
102         <plugins>
103             <plugin>
104                 <groupId>org.apache.maven.plugins</groupId>
105                 <artifactId>maven-compiler-plugin</artifactId>
106                 <version>3.3</version>
107                 <configuration>
108                     <source>1.8</source>
109                     <target>1.8</target>
110                 </configuration>
111             </plugin>
112             <plugin>
113                 <groupId>org.apache.maven.plugins</groupId>
114                 <artifactId>maven-deploy-plugin</artifactId>
115                 <version>2.8</version>
116             </plugin>
117         </plugins>
118     </build>
119 </project>