aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorguochuyicmri <guochuyi@chinamobile.com>2019-05-16 10:31:03 +0800
committerguochuyicmri <guochuyi@chinamobile.com>2019-05-16 10:31:04 +0800
commitefcc62df4ee431346cd986a74d05d7b8c11a2178 (patch)
tree331e64d1802b09ddbaf7de6b32090395c6754892
parent47792b037c6bcbcb4fe5a9429af9e4fb538d2ad4 (diff)
Fix usecase-ui code merge error
Change-Id: If5c5ea82451bb363c344b94bc9d876361aab74ae Issue-ID: USECASEUI-269 Signed-off-by: guochuyicmri <guochuyi@chinamobile.com>
-rw-r--r--pom.xml80
-rw-r--r--server/pom.xml1
-rw-r--r--standalone/pom.xml1
3 files changed, 79 insertions, 3 deletions
diff --git a/pom.xml b/pom.xml
index 591e459e..26709da8 100644
--- a/pom.xml
+++ b/pom.xml
@@ -15,14 +15,15 @@
limitations under the License.
-->
<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">
+ <modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.onap.oparent</groupId>
<artifactId>oparent</artifactId>
<version>2.0.0</version>
+ <relativePath />
</parent>
- <modelVersion>4.0.0</modelVersion>
<groupId>org.onap.usecase-ui.server</groupId>
<artifactId>usecase-ui-server-parent</artifactId>
<version>2.0.0</version>
@@ -30,6 +31,83 @@
<name>usecase-ui-server</name>
<description>project for usecase-ui server</description>
+ <properties>
+ <sonar.projectVersion>${project.version}</sonar.projectVersion>
+ <maven.build.timestamp.format>yyyyMMdd'T'HHmm</maven.build.timestamp.format>
+ <nexusproxy>https://nexus.onap.org</nexusproxy>
+ <releaseNexusPath>content/repositories/releases/</releaseNexusPath>
+ <snapshotNexusPath>content/repositories/snapshots/</snapshotNexusPath>
+ <publicNexusPath>content/repositories/public/</publicNexusPath>
+ <siteNexusPath>content/sites/site/${project.groupId}/${project.artifactId}/${project.version}/</siteNexusPath>
+ </properties>
+
+ <distributionManagement>
+ <repository>
+ <id>onap-releases</id>
+ <url>${nexusproxy}/${releaseNexusPath}</url>
+ </repository>
+ <snapshotRepository>
+ <id>onap-snapshots</id>
+ <url>${nexusproxy}/${snapshotNexusPath}</url>
+ </snapshotRepository>
+ <site>
+ <id>onap-site</id>
+ <url>dav:${nexusproxy}${siteNexusPath}</url>
+ </site>
+ </distributionManagement>
+
+ <!-- Specify the repositories here to avoid coordination of ~/.m2/settings.xml
+ files among developers. Use values (not properties) so oparent can be resolved. -->
+ <repositories>
+ <repository>
+ <id>onap-public</id>
+ <url>${nexusproxy}/${publicNexusPath}</url>
+ <snapshots>
+ <enabled>false</enabled>
+ </snapshots>
+ </repository>
+ <repository>
+ <id>onap-releases</id>
+ <url>${nexusproxy}/${releaseNexusPath}</url>
+ <snapshots>
+ <enabled>false</enabled>
+ </snapshots>
+ </repository>
+ <repository>
+ <id>onap-snapshots</id>
+ <url>${nexusproxy}/${snapshotNexusPath}</url>
+ <releases>
+ <enabled>false</enabled>
+ </releases>
+ </repository>
+ </repositories>
+
+ <!-- Specify the repositories here to avoid coordination of ~/.m2/settings.xml
+ files among all developers. -->
+ <pluginRepositories>
+ <pluginRepository>
+ <id>onap-plugin-public</id>
+ <url>${nexusproxy}/${publicNexusPath}</url>
+ <snapshots>
+ <enabled>false</enabled>
+ </snapshots>
+ </pluginRepository>
+ <pluginRepository>
+ <id>onap-plugin-release</id>
+ <url>${nexusproxy}/${releaseNexusPath}</url>
+ <snapshots>
+ <enabled>false</enabled>
+ </snapshots>
+ </pluginRepository>
+ <pluginRepository>
+ <id>onap-plugin-snapshots</id>
+ <url>${nexusproxy}/${snapshotNexusPath}</url>
+ <releases>
+ <enabled>false</enabled>
+ </releases>
+ </pluginRepository>
+ </pluginRepositories>
+
<modules>
<module>server</module>
<module>standalone</module>
diff --git a/server/pom.xml b/server/pom.xml
index 8133ea80..1e062d07 100644
--- a/server/pom.xml
+++ b/server/pom.xml
@@ -25,7 +25,6 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.onap.usecase-ui.server</groupId>
<artifactId>usecase-ui-server</artifactId>
- <version>2.0.0</version>
<packaging>jar</packaging>
<name>usecase-ui-server/server</name>
<description>project for usecase-ui server</description>
diff --git a/standalone/pom.xml b/standalone/pom.xml
index aec093f1..a6883293 100644
--- a/standalone/pom.xml
+++ b/standalone/pom.xml
@@ -23,7 +23,6 @@
<modelVersion>4.0.0</modelVersion>
<artifactId>standalone</artifactId>
- <version>2.0.0</version>
<packaging>pom</packaging>
<name>usecase-ui-server-standalone</name>