summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorms236b <ms236B@att.com>2019-04-08 14:08:50 -0400
committerVijay Venkatesh Kumar <vv770d@att.com>2019-04-10 18:46:29 +0000
commitc3be58f099e0a46c688fb093fb72c042ff3cc87d (patch)
tree845ef3bc4efd9607feecbec3107eb666c2a781de
parent57aced65008ab5d1576cf0e899a796e08e7e9d0f (diff)
Fixed issues with deployment
Local code coverage is 56.9%. Fixed deployment issues for bp generator and tags/format Issue-ID: DCAEGEN2-1125 Change-Id: Ibe48c1e3fa887904594b9f4d04d10401b6323188 Signed-off-by: ms236b <ms236B@att.com>
-rw-r--r--blueprint-generator/README.md4
-rw-r--r--blueprint-generator/pom.xml32
-rw-r--r--pom.xml3
3 files changed, 31 insertions, 8 deletions
diff --git a/blueprint-generator/README.md b/blueprint-generator/README.md
index 1302d19..4eefd5d 100644
--- a/blueprint-generator/README.md
+++ b/blueprint-generator/README.md
@@ -12,13 +12,13 @@ This tool allows the user to create a blueprint from a component spec json file
- If you're on windows type this out before you add your flags
```bash
-java -cp "lib/blueprint-generator-onap-0.0.1-SNAPSHOT.jar;lib/*" org.onap.blueprintgenerator.core.BlueprintGenerator
+java -cp "lib/blueprint-generator-1.0.0-SNAPSHOT.jar;lib/*" org.onap.blueprintgenerator.core.BlueprintGenerator
```
-If you're on linux type this out before you add your flags
```bash
-java -cp blueprint-generator/lib/blueprint-generator-0.0.1-SNAPSHOT.jar:blueprint-generator/lib/* org.onap.blueprintgenerator.core.BlueprintGenerator
+java -cp blueprint-generator/lib/blueprint-generator-1.0.0-SNAPSHOT.jar:blueprint-generator/lib/* org.onap.blueprintgenerator.core.BlueprintGenerator
```
diff --git a/blueprint-generator/pom.xml b/blueprint-generator/pom.xml
index 6e00c71..e24255b 100644
--- a/blueprint-generator/pom.xml
+++ b/blueprint-generator/pom.xml
@@ -45,7 +45,6 @@
<build>
<plugins>
-
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
@@ -54,7 +53,26 @@
<target>1.7</target>
</configuration>
<version>2.0.2</version>
- </plugin>
+ </plugin>
+ <!-- the following plugins are invoked from oparent, we do not need them -->
+ <plugin>
+ <groupId>org.sonatype.plugins</groupId>
+ <artifactId>nexus-staging-maven-plugin</artifactId>
+ <version>1.6.7</version>
+ <configuration>
+ <skipNexusStagingDeployMojo>false</skipNexusStagingDeployMojo>
+ <skip>false</skip>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-deploy-plugin</artifactId>
+ <!-- This version supports the "deployAtEnd" parameter -->
+ <version>2.8</version>
+ <configuration>
+ <skip>false</skip>
+ </configuration>
+ </plugin>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<version>2.4.1</version>
@@ -145,6 +163,13 @@
</plugins>
</reporting>
+ <distributionManagement>
+ <snapshotRepository>
+ <id>onap-snapshots</id>
+ <url>https://nexus.onap.org/content/repositories/snapshots/</url>
+ </snapshotRepository>
+ </distributionManagement>
+
<dependencies>
<dependency>
@@ -183,9 +208,6 @@
<artifactId>jackson-annotations</artifactId>
<version>2.9.8</version>
</dependency>
-
-
-
</dependencies>
</project> \ No newline at end of file
diff --git a/pom.xml b/pom.xml
index d67457a..36ea89e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -89,6 +89,7 @@ ECOMP is a trademark and service mark of AT&T Intellectual Property.
<skip>true</skip>
</configuration>
</plugin>
+
<!-- maven-jar-plugin is called during "compile" phase by default behavior. we do not need it -->
<!-- <plugin>
<groupId>org.apache.maven.plugins</groupId>
@@ -127,7 +128,7 @@ ECOMP is a trademark and service mark of AT&T Intellectual Property.
<version>1.2.1</version>
<configuration>
<executable>${session.executionRootDirectory}/mvn-phase-script.sh</executable>
- <environmentVariables> -->
+ <environmentVariables>
<!-- make mvn properties as env for our script -->
<!-- make mvn properties as env for our script -->
<MVN_PROJECT_GROUPID>${project.groupId}</MVN_PROJECT_GROUPID>