remove license plugin and sonar proj name 49/12049/3
authorVijay <vv770d@att.com>
Tue, 12 Sep 2017 20:51:23 +0000 (20:51 +0000)
committerVijay <vv770d@att.com>
Wed, 13 Sep 2017 03:35:24 +0000 (03:35 +0000)
Change-Id: I1605d96395f964edc648d9a4b9ec4c088607ed4d
Signed-off-by: Vijay <vv770d@att.com>
Issue-Id: DCAEGEN2-70,DCAEGEN2-73
Signed-off-by: Vijay <vv770d@att.com>
docker-build.sh
pom.xml

index 004cf76..9f0b392 100644 (file)
@@ -91,7 +91,7 @@ cp -p ${APP_DIR}/Dockerfile ${STAGE}/Dockerfile
 #
 # build the docker image. tag and then push to the remote repo
 #
-IMAGE='dcaegen2-ves-collector'
+IMAGE='onap/dcaegen2-ves-collector'
 VERSION="${VERSION//[^0-9.]/}"
 VERSION2=$(echo "$VERSION" | cut -f1-2 -d'.')
 
diff --git a/pom.xml b/pom.xml
index 386f6ad..5160bf8 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -10,7 +10,7 @@
        <groupId>org.onap.dcaegen2.collectors.ves</groupId>
        <artifactId>VESCollector</artifactId>
        <version>1.1.4-SNAPSHOT</version>
-       <name>VESCollector</name>
+       <name>dcaegen2-collectors-ves</name>
        <description>VESCollector</description>
 
        <properties>
@@ -20,7 +20,6 @@
                <surefire.plugin.version>2.19.1</surefire.plugin.version>
                <surefire.report.plugin.version>2.19.1</surefire.report.plugin.version>
                <failsafe.plugin.version>2.19.1</failsafe.plugin.version>
-               <sonar.plugin.version>3.2</sonar.plugin.version>
                <pmd.plugin.version>3.5</pmd.plugin.version>
                <jacoco.plugin.version>0.7.7.201606060606</jacoco.plugin.version>
                <findbugs.plugin.version>3.0.2</findbugs.plugin.version>
@@ -47,7 +46,6 @@
                <jacoco.ut.execution.data.file>${project.build.directory}/coverage-reports/jacoco-ut.exec
                </jacoco.ut.execution.data.file>
                <dependency.locations.enabled>false</dependency.locations.enabled>
-               <!-- <sonar.host.url>http://localhost:9000</sonar.host.url> -->
                <!-- <maven.test.skip>true</maven.test.skip> -->
        
           <nexusproxy>https://nexus.onap.org</nexusproxy>
                                        </executions>
                                </plugin>
 
-                               <plugin>
-                                       <groupId>org.codehaus.mojo</groupId>
-                                       <artifactId>license-maven-plugin</artifactId>
-                                       <version>1.10</version>
-                                       <configuration>
-                                               <addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage>
-                                               <processStartTag>============LICENSE_START=======================================================</processStartTag>
-                                               <processEndTag>============LICENSE_END=========================================================</processEndTag>
-                                               <sectionDelimiter>================================================================================</sectionDelimiter>
-                                               <licenseName>apache_v2</licenseName>
-                                               <inceptionYear>2017</inceptionYear>
-                                               <organizationName>AT&amp;T Intellectual Property. All rights
-                                                       reserved.</organizationName>
-                                               <projectName>PROJECT</projectName>
-                                               <canUpdateCopyright>true</canUpdateCopyright>
-                                               <canUpdateDescription>true</canUpdateDescription>
-                                               <canUpdateLicense>true</canUpdateLicense>
-                                               <emptyLineAfterHeader>true</emptyLineAfterHeader>
-                                       </configuration>
-                                       <executions>
-                                               <execution>
-                                                       <id>first</id>
-                                                       <goals>
-                                                               <goal>update-file-header</goal>
-                                                       </goals>
-                                                       <phase>process-sources</phase>
-                                               </execution>
-                                       </executions>
-                               </plugin>
-                               <plugin>
-                                       <groupId>org.apache.maven.plugins</groupId>
-                                       <artifactId>maven-site-plugin</artifactId>
-                                       <version>3.6</version>
-                                       <dependencies>
-                                               <dependency>
-                                                       <groupId>org.apache.maven.wagon</groupId>
-                                                       <artifactId>wagon-webdav-jackrabbit</artifactId>
-                                                       <version>2.10</version>
-                                               </dependency>
-                                       </dependencies>
-                               </plugin>
-
-
                                <!-- MAVEN JAVADOC PLUGIN -->
                                <plugin>
                                        <groupId>org.apache.maven.plugins</groupId>
                                </plugin>
 
 
-                               <!-- SONAR PLUGIN -->
-                               <plugin>
-                                       <groupId>org.codehaus.mojo</groupId>
-                                       <artifactId>sonar-maven-plugin</artifactId>
-                                       <version>${sonar.plugin.version}</version>
-                               </plugin>
-
-                               <!-- DEPLOY PLUGIN -->
-                               <plugin>
-                                       <groupId>org.apache.maven.plugins</groupId>
-                                       <artifactId>maven-deploy-plugin</artifactId>
-                                       <version>${deploy.plugin.version}</version>
-                               </plugin>
                                <!-- JACOCO CODE COVERAGE PLUGIN -->
                                <plugin>
                                        <groupId>org.jacoco</groupId>
                                                </environmentVariables>
                                        </configuration>
                                </plugin>
-                               <plugin>
-                                       <groupId>org.apache.maven.plugins</groupId>
-                                       <artifactId>maven-enforcer-plugin</artifactId>
-                                       <version>3.0.0-M1</version>
-                                       <configuration>
-                                               <skip>true</skip>
-                                       </configuration>
-                               </plugin>
 
                        </plugins>
                </pluginManagement>
                                <artifactId>jacoco-maven-plugin</artifactId>
                        </plugin>
 
-                       <plugin>
-                               <groupId>org.apache.maven.plugins</groupId>
-                               <artifactId>maven-deploy-plugin</artifactId>
-                       </plugin>
                        <plugin>
                                <groupId>com.blackducksoftware.integration</groupId>
                                <artifactId>hub-maven-plugin</artifactId>
                                <artifactId>maven-assembly-plugin</artifactId>
                        </plugin>
 
-                       <plugin>
-                               <groupId>org.apache.maven.plugins</groupId>
-                               <artifactId>maven-site-plugin</artifactId>
-                       </plugin>
-
                        <!-- <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>findbugs-maven-plugin</artifactId> 
                                </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-checkstyle-plugin</artifactId> 
                                </plugin> -->
 
-                       <plugin>
-                               <groupId>org.sonatype.plugins</groupId>
-                               <artifactId>nexus-staging-maven-plugin</artifactId>
-                               <version>1.6.7</version>
-                               <extensions>true</extensions>
-                               <configuration>
-                                       <serverId>ecomp-staging</serverId>
-                                       <nexusUrl>${nexusproxy}</nexusUrl>
-                                       <stagingProfileId>176c31dfe190a</stagingProfileId>
-                               </configuration>
-                       </plugin>
 
                        <plugin>
                                <groupId>org.codehaus.mojo</groupId>