Fixed issues with deployment 50/84550/7
authorms236b <ms236B@att.com>
Mon, 8 Apr 2019 18:08:50 +0000 (14:08 -0400)
committerVijay Venkatesh Kumar <vv770d@att.com>
Wed, 10 Apr 2019 18:46:29 +0000 (18:46 +0000)
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>
blueprint-generator/README.md
blueprint-generator/pom.xml
pom.xml

index 1302d19..4eefd5d 100644 (file)
@@ -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
 ```
 
 
index 6e00c71..e24255b 100644 (file)
@@ -45,7 +45,6 @@
 
        <build>
                <plugins>
-
                        <plugin>
                                <groupId>org.apache.maven.plugins</groupId>
                                <artifactId>maven-compiler-plugin</artifactId>
                                        <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>
                </plugins>
        </reporting>
 
+    <distributionManagement>
+        <snapshotRepository>
+            <id>onap-snapshots</id>
+            <url>https://nexus.onap.org/content/repositories/snapshots/</url>
+        </snapshotRepository>
+    </distributionManagement>
+
 
        <dependencies>
                <dependency>
                        <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 (file)
--- 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>