Add script for uploading schema artifacts

Issue-Id: DCAEGEN2-60
Change-Id: If51aacf59ec5c556f4bc37a7c02af2ac8c66edd5
Signed-off-by: Lusheng Ji <lji@research.att.com>
diff --git a/dcae-cli/pom.xml b/dcae-cli/pom.xml
index e7f5534..f0f907a 100644
--- a/dcae-cli/pom.xml
+++ b/dcae-cli/pom.xml
@@ -21,13 +21,13 @@
 <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.dcaegen2.platform</groupId>
+    <groupId>org.onap.dcaegen2.platform.cli</groupId>
     <artifactId>cli</artifactId>
     <version>1.0.0-SNAPSHOT</version>
   </parent>
   <groupId>org.onap.dcaegen2.platform.cli</groupId>
   <artifactId>dcae-cli</artifactId>
-  <name>dcae-cli</name>
+  <name>dcaegen2-platform-cli-dcae-cli</name>
   <version>1.0.0-SNAPSHOT</version>
   <url>http://maven.apache.org</url>
   <properties>
@@ -155,19 +155,10 @@
               <goal>exec</goal>
             </goals>
             <configuration>
-              <executable>${session.executionRootDirectory}/mvn-phase-script.sh</executable>
               <arguments>
                 <argument>${project.artifactId}</argument>
                 <argument>clean</argument>
               </arguments>
-              <environmentVariables>
-                <!-- make mvn properties as env for our script -->
-                <MVN_PROJECT_GROUPID>${project.groupId}</MVN_PROJECT_GROUPID>
-                <MVN_PROJECT_ARTIFACTID>${project.artifactId}</MVN_PROJECT_ARTIFACTID>
-                <MVN_PROJECT_VERSION>${project.version}</MVN_PROJECT_VERSION>
-                <MVN_NEXUSPROXY>${onap.nexus.url}</MVN_NEXUSPROXY>
-                <!--MVN_DOCKERREG_URL>${docker.push.registry}</MVN_DOCKERREG_URL-->
-              </environmentVariables>
             </configuration>
           </execution>
           <execution>
@@ -177,19 +168,10 @@
               <goal>exec</goal>
             </goals>
             <configuration>
-              <executable>mvn-phase-script.sh</executable>
               <arguments>
                 <argument>${project.artifactId}</argument>
                 <argument>generate-sources</argument>
               </arguments>
-              <environmentVariables>
-                <!-- make mvn properties as env for our script -->
-                <MVN_PROJECT_GROUPID>${project.groupId}</MVN_PROJECT_GROUPID>
-                <MVN_PROJECT_ARTIFACTID>${project.artifactId}</MVN_PROJECT_ARTIFACTID>
-                <MVN_PROJECT_VERSION>${project.version}</MVN_PROJECT_VERSION>
-                <MVN_NEXUSPROXY>${onap.nexus.url}</MVN_NEXUSPROXY>
-                <!--MVN_DOCKERREG_URL>${docker.push.registry}</MVN_DOCKERREG_URL-->
-              </environmentVariables>
             </configuration>
           </execution>
           <execution>
@@ -199,19 +181,10 @@
               <goal>exec</goal>
             </goals>
             <configuration>
-              <executable>mvn-phase-script.sh</executable>
               <arguments>
                 <argument>${project.artifactId}</argument>
                 <argument>compile</argument>
               </arguments>
-              <environmentVariables>
-                <!-- make mvn properties as env for our script -->
-                <MVN_PROJECT_GROUPID>${project.groupId}</MVN_PROJECT_GROUPID>
-                <MVN_PROJECT_ARTIFACTID>${project.artifactId}</MVN_PROJECT_ARTIFACTID>
-                <MVN_PROJECT_VERSION>${project.version}</MVN_PROJECT_VERSION>
-                <MVN_NEXUSPROXY>${onap.nexus.url}</MVN_NEXUSPROXY>
-                <!--MVN_DOCKERREG_URL>${docker.push.registry}</MVN_DOCKERREG_URL-->
-              </environmentVariables>
             </configuration>
           </execution>
           <execution>
@@ -221,19 +194,10 @@
               <goal>exec</goal>
             </goals>
             <configuration>
-              <executable>mvn-phase-script.sh</executable>
               <arguments>
                 <argument>${project.artifactId}</argument>
                 <argument>package</argument>
               </arguments>
-              <environmentVariables>
-                <!-- make mvn properties as env for our script -->
-                <MVN_PROJECT_GROUPID>${project.groupId}</MVN_PROJECT_GROUPID>
-                <MVN_PROJECT_ARTIFACTID>${project.artifactId}</MVN_PROJECT_ARTIFACTID>
-                <MVN_PROJECT_VERSION>${project.version}</MVN_PROJECT_VERSION>
-                <MVN_NEXUSPROXY>${onap.nexus.url}</MVN_NEXUSPROXY>
-                <!--MVN_DOCKERREG_URL>${docker.push.registry}</MVN_DOCKERREG_URL-->
-              </environmentVariables>
             </configuration>
           </execution>
           <execution>
@@ -243,19 +207,10 @@
               <goal>exec</goal>
             </goals>
             <configuration>
-              <executable>mvn-phase-script.sh</executable>
               <arguments>
                 <argument>${project.artifactId}</argument>
                 <argument>test</argument>
               </arguments>
-              <environmentVariables>
-                <!-- make mvn properties as env for our script -->
-                <MVN_PROJECT_GROUPID>${project.groupId}</MVN_PROJECT_GROUPID>
-                <MVN_PROJECT_ARTIFACTID>${project.artifactId}</MVN_PROJECT_ARTIFACTID>
-                <MVN_PROJECT_VERSION>${project.version}</MVN_PROJECT_VERSION>
-                <MVN_NEXUSPROXY>${onap.nexus.url}</MVN_NEXUSPROXY>
-                <!--MVN_DOCKERREG_URL>${docker.push.registry}</MVN_DOCKERREG_URL-->
-              </environmentVariables>
             </configuration>
           </execution>
           <execution>
@@ -265,19 +220,10 @@
               <goal>exec</goal>
             </goals>
             <configuration>
-              <executable>mvn-phase-script.sh</executable>
               <arguments>
                 <argument>${project.artifactId}</argument>
                 <argument>install</argument>
               </arguments>
-              <environmentVariables>
-                <!-- make mvn properties as env for our script -->
-                <MVN_PROJECT_GROUPID>${project.groupId}</MVN_PROJECT_GROUPID>
-                <MVN_PROJECT_ARTIFACTID>${project.artifactId}</MVN_PROJECT_ARTIFACTID>
-                <MVN_PROJECT_VERSION>${project.version}</MVN_PROJECT_VERSION>
-                <MVN_NEXUSPROXY>${onap.nexus.url}</MVN_NEXUSPROXY>
-                <!--MVN_DOCKERREG_URL>${docker.push.registry}</MVN_DOCKERREG_URL-->
-              </environmentVariables>
             </configuration>
           </execution>
           <execution>
@@ -287,19 +233,10 @@
               <goal>exec</goal>
             </goals>
             <configuration>
-              <executable>mvn-phase-script.sh</executable>
               <arguments>
                 <argument>${project.artifactId}</argument>
                 <argument>deploy</argument>
               </arguments>
-              <environmentVariables>
-                <!-- make mvn properties as env for our script -->
-                <MVN_PROJECT_GROUPID>${project.groupId}</MVN_PROJECT_GROUPID>
-                <MVN_PROJECT_ARTIFACTID>${project.artifactId}</MVN_PROJECT_ARTIFACTID>
-                <MVN_PROJECT_VERSION>${project.version}</MVN_PROJECT_VERSION>
-                <MVN_NEXUSPROXY>${onap.nexus.url}</MVN_NEXUSPROXY>
-                <!--MVN_DOCKERREG_URL>${docker.push.registry}</MVN_DOCKERREG_URL-->
-              </environmentVariables>
             </configuration>
           </execution>
         </executions>