Add version.properties to support staging build
[oparent.git] / version / pom.xml
index 1ee3829..a88b9d4 100644 (file)
@@ -1,6 +1,6 @@
-<?xml version="1.0"?>
+<?xml version="1.0" encoding="UTF-8"?>
 <!--
-   Copyright (c) 2016 Huawei Technologies Co., Ltd.
+   Copyright (c) 2016-2017 Huawei Technologies Co., Ltd.
 
    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
   <groupId>org.onap.oparent</groupId>
   <artifactId>version</artifactId>
   <version>1.0.0-SNAPSHOT</version>
+  <name>oparent/version</name>
   <packaging>pom</packaging>
   <properties>
-    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
-    <nexusproxy>https://nexus.onap.org/content</nexusproxy>
+    <maven.compiler.source>1.8</maven.compiler.source>
+    <maven.compiler.target>1.8</maven.compiler.target>
     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
     <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
+    <onap.nexus.url>https://nexus.onap.org</onap.nexus.url>
   </properties>
   <distributionManagement>
     <repository>
-      <id>onap-releases</id>
-      <url>${nexusproxy}/repositories/releases</url>
+      <id>ecomp-releases</id>
+      <url>${onap.nexus.url}/content/repositories/releases</url>
     </repository>
     <snapshotRepository>
-      <id>onap-snapshots</id>
-      <url>${nexusproxy}/repositories/snapshots</url>
+      <id>ecomp-snapshots</id>
+      <url>${onap.nexus.url}/content/repositories/snapshots</url>
     </snapshotRepository>
   </distributionManagement>
-  <name>oparent/version</name>
 </project>