summaryrefslogtreecommitdiffstats
path: root/dcae-cli
diff options
context:
space:
mode:
authorLusheng Ji <lji@research.att.com>2017-09-21 04:19:47 +0000
committerLusheng Ji <lji@research.att.com>2017-09-21 04:19:59 +0000
commit0e903b99b3e003aed6e3124284b80634e20c42fb (patch)
tree3f7982674a6e1d335d932370b94ca83720ec606f /dcae-cli
parent249fa95e2bea21f840f3ee5c8311a0bfe13a1b3c (diff)
Add script for uploading schema artifacts
Issue-Id: DCAEGEN2-60 Change-Id: If51aacf59ec5c556f4bc37a7c02af2ac8c66edd5 Signed-off-by: Lusheng Ji <lji@research.att.com>
Diffstat (limited to 'dcae-cli')
-rw-r--r--dcae-cli/pom.xml67
1 files changed, 2 insertions, 65 deletions
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 @@ ECOMP is a trademark and service mark of AT&T Intellectual Property.
<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 @@ ECOMP is a trademark and service mark of AT&T Intellectual Property.
<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 @@ ECOMP is a trademark and service mark of AT&T Intellectual Property.
<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 @@ ECOMP is a trademark and service mark of AT&T Intellectual Property.
<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 @@ ECOMP is a trademark and service mark of AT&T Intellectual Property.
<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 @@ ECOMP is a trademark and service mark of AT&T Intellectual Property.
<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 @@ ECOMP is a trademark and service mark of AT&T Intellectual Property.
<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 @@ ECOMP is a trademark and service mark of AT&T Intellectual Property.
<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>