summaryrefslogtreecommitdiffstats
path: root/pom.xml
diff options
context:
space:
mode:
Diffstat (limited to 'pom.xml')
-rw-r--r--pom.xml106
1 files changed, 36 insertions, 70 deletions
diff --git a/pom.xml b/pom.xml
index 57f4d2c..94b04a6 100644
--- a/pom.xml
+++ b/pom.xml
@@ -33,6 +33,7 @@ ECOMP is a trademark and service mark of AT&T Intellectual Property.
<url>http://maven.apache.org</url>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+ <sonar.skip>true</sonar.skip>
<sonar.sources>.</sonar.sources>
<!-- customize the SONARQUBE URL -->
<!-- sonar.host.url>http://localhost:9000</sonar.host.url -->
@@ -70,6 +71,14 @@ ECOMP is a trademark and service mark of AT&T Intellectual Property.
<skip>true</skip>
</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>
<!-- first disable the default Java plugins at various stages -->
<!-- maven-resources-plugin is called during "*resource" phases by default behavior. it prepares the resources
dir. we do not need it -->
@@ -122,6 +131,26 @@ ECOMP is a trademark and service mark of AT&T Intellectual Property.
<skipTests>true</skipTests>
</configuration>
</plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>exec-maven-plugin</artifactId>
+ <version>1.2.1</version>
+ <configuration>
+ <executable>${session.executionRootDirectory}/mvn-phase-script.sh</executable>
+ <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_RAWREPO_BASEURL_UPLOAD>${onap.nexus.rawrepo.baseurl.upload}</MVN_RAWREPO_BASEURL_UPLOAD>
+ <MVN_RAWREPO_BASEURL_DOWNLOAD>${onap.nexus.rawrepo.baseurl.download}</MVN_RAWREPO_BASEURL_DOWNLOAD>
+ <MVN_RAWREPO_SERVERID>${onap.nexus.rawrepo.serverid}</MVN_RAWREPO_SERVERID>
+ <MVN_DOCKERREGISTRY_DAILY>${onap.nexus.dockerregistry.daily}</MVN_DOCKERREGISTRY_DAILY>
+ <MVN_DOCKERREGISTRY_RELEASE>${onap.nexus.dockerregistry.release}</MVN_DOCKERREGISTRY_RELEASE>
+ </environmentVariables>
+ </configuration>
+ </plugin>
</plugins>
</pluginManagement>
<plugins>
@@ -156,19 +185,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>__</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>
@@ -178,19 +198,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>__</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>
@@ -200,19 +211,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>__</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>
@@ -222,19 +224,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>__</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>
@@ -244,19 +237,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>__</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>
@@ -266,19 +250,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>__</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>
@@ -288,19 +263,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>__</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>