Skip failing staging deploy in parent pom.xml 39/9239/1
authorMarcus G K Williams <marcus.williams@intel.com>
Tue, 29 Aug 2017 23:06:38 +0000 (16:06 -0700)
committerMarcus G K Williams <marcus.williams@intel.com>
Tue, 29 Aug 2017 23:06:53 +0000 (16:06 -0700)
Issue-Id: CCSDK-67
Change-Id: Idc816f281e03aa568e1ea7bf1b7d4a43c9027a52
Signed-off-by: Marcus G K Williams <marcus.williams@intel.com>
pom.xml

diff --git a/pom.xml b/pom.xml
index 615c37b..cd7cb32 100755 (executable)
--- a/pom.xml
+++ b/pom.xml
 <?xml version="1.0" encoding="UTF-8"?>
 <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/maven-v4_0_0.xsd">
-
-       <modelVersion>4.0.0</modelVersion>
-       <packaging>pom</packaging>
-       <groupId>org.onap.ccsdk.parent</groupId>
-       <artifactId>parent</artifactId>
-       <version>0.0.1-SNAPSHOT</version>
-
-       <name>Parent POMs</name>
-       <url>http://wiki.onap.org</url>
-       <description>Parent POMs to be used by clients of CCSDK</description>
-
-       <properties>
-               <!-- ONAP repositories -->
-               <onap.nexus.host>nexus.onap.org</onap.nexus.host>
-               <onap.nexus.port>443</onap.nexus.port>
-               <onap.nexus.protocol>https</onap.nexus.protocol>
-               <onap.nexus.public-url>${onap.nexus.protocol}://${onap.nexus.host}:${onap.nexus.port}/content/groups/public</onap.nexus.public-url>
-               <onap.nexus.release-url>${onap.nexus.protocol}://${onap.nexus.host}:${onap.nexus.port}/content/repositories/releases</onap.nexus.release-url>
-               <onap.nexus.snapshot-url>${onap.nexus.protocol}://${onap.nexus.host}:${onap.nexus.port}/content/repositories/snapshots</onap.nexus.snapshot-url>
-               <onap.nexus.staging.server-id>ecomp-releases</onap.nexus.staging.server-id>
-               <onap.nexus.staging.profile-id></onap.nexus.staging.profile-id>
-
-       </properties>
-
-
-       <repositories>
-               <repository>
-                       <id>onap-public</id>
-                       <url>${onap.nexus.public-url}</url>
-                       <releases>
-                               <enabled>true</enabled>
-                               <!-- <updatePolicy>always</updatePolicy> <updatePolicy>never</updatePolicy>
-                                       <updatePolicy>daily</updatePolicy> <updatePolicy>interval:in minutes</updatePolicy> -->
-                               <updatePolicy>never</updatePolicy>
-                       </releases>
-                       <snapshots>
-                               <enabled>true</enabled>
-                               <updatePolicy>always</updatePolicy>
-                               <!-- <updatePolicy>always</updatePolicy> <updatePolicy>never</updatePolicy>
-                                       <updatePolicy>daily</updatePolicy> <updatePolicy>interval:30</updatePolicy> -->
-                       </snapshots>
-               </repository>
-               <repository>
-                       <id>ecomp-release</id>
-                       <name>onap-repository-releases</name>
-                       <url>${onap.nexus.release-url}</url>
-                       <releases>
-                               <enabled>true</enabled>
-                               <updatePolicy>never</updatePolicy>
-                       </releases>
-                       <snapshots>
-                               <enabled>false</enabled>
-                       </snapshots>
-               </repository>
-               <repository>
-                       <id>ecomp-snapshot</id>
-                       <name>onap-repository-snapshots</name>
-                       <url>${onap.nexus.snapshot-url}</url>
-                       <releases>
-                               <enabled>false</enabled>
-                       </releases>
-                       <snapshots>
-                               <enabled>true</enabled>
-                       </snapshots>
-               </repository>
-               <repository>
-                       <id>opendaylight-mirror</id>
-                       <name>opendaylight-mirror</name>
-                       <url>${opendaylight.nexus.public-url}</url>
-                       <releases>
-                               <enabled>true</enabled>
-                               <updatePolicy>never</updatePolicy>
-                       </releases>
-                       <snapshots>
-                               <enabled>false</enabled>
-                       </snapshots>
-               </repository>
-               <repository>
-                       <id>opendaylight-snapshot</id>
-                       <name>opendaylight-snapshot</name>
-                       <url>${opendaylight.nexus.snapshot-url}</url>
-                       <releases>
-                               <enabled>false</enabled>
-                       </releases>
-                       <snapshots>
-                               <enabled>true</enabled>
-                       </snapshots>
-               </repository>
-
-       </repositories>
-
-       <distributionManagement>
-               <repository>
-                       <id>ecomp-releases</id>
-                       <name>onap-repository-releases</name>
-                       <url>${onap.nexus.release-url}</url>
-               </repository>
-               <snapshotRepository>
-                       <id>ecomp-snapshots</id>
-                       <name>onap-repository-snapshots</name>
-                       <url>${onap.nexus.snapshot-url}</url>
-               </snapshotRepository>
-       </distributionManagement>
-
-       <build>
-               <pluginManagement>
-                       <plugins>
-                               <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>
-                                               <dependency>
-                                                       <groupId>org.apache.maven.doxia</groupId>
-                                                       <artifactId>doxia-core</artifactId>
-                                                       <version>1.7</version>
-                                               </dependency>
-                                               <dependency>
-                                                       <groupId>org.apache.maven.doxia</groupId>
-                                                       <artifactId>doxia-sink-api</artifactId>
-                                                       <version>1.7</version>
-                                               </dependency>
-                                               <dependency>
-                                                       <groupId>org.apache.maven.doxia</groupId>
-                                                       <artifactId>doxia-logging-api</artifactId>
-                                                       <version>1.7</version>
-                                               </dependency>
-                                       </dependencies>
-                                       <executions>
-                                               <execution>
-                                                       <id>attach-descriptor</id>
-                                                       <goals>
-                                                               <goal>attach-descriptor</goal>
-                                                       </goals>
-                                               </execution>
-                                       </executions>
-                               </plugin>
-                               <plugin>
-                                       <groupId>org.apache.maven.plugins</groupId>
-                                       <artifactId>maven-compiler-plugin</artifactId>
-                                       <version>2.5.1</version>
-                                       <configuration>
-                                               <source>${java.version.source}</source>
-                                               <target>${java.version.target}</target>
-                                       </configuration>
-                               </plugin>
-                               <plugin>
-                                       <groupId>org.codehaus.mojo</groupId>
-                                       <artifactId>sonar-maven-plugin</artifactId>
-                                       <version>3.2</version>
-                               </plugin>
-                               <plugin>
-                                       <artifactId>maven-source-plugin</artifactId>
-                                       <version>2.1.1</version>
-                                       <executions>
-                                               <execution>
-                                                       <id>bundle-sources</id>
-                                                       <phase>package</phase>
-                                                       <goals>
-                                                               <!-- produce source artifact for main project sources -->
-                                                               <goal>jar-no-fork</goal>
-
-                                                               <!-- produce source artifact for project test sources -->
-                                                               <goal>test-jar-no-fork</goal>
-                                                       </goals>
-                                               </execution>
-                                       </executions>
-                               </plugin>
-
-
-                       </plugins>
-
-               </pluginManagement>
-
-               <plugins>
-
-                       <plugin>
-                               <groupId>org.codehaus.mojo</groupId>
-                               <artifactId>properties-maven-plugin</artifactId>
-                               <version>1.0.0</version>
-                               <executions>
-                                       <execution>
-                                               <goals>
-                                                       <goal>set-system-properties</goal>
-                                               </goals>
-                                               <configuration>
-                                                       <properties>
-                                                               <property>
-                                                                       <name>maven.wagon.http.ssl.allowall</name>
-                                                                       <value>${ssl.allowall}</value>
-                                                               </property>
-                                                               <property>
-                                                                       <name>maven.wagon.http.ssl.insecure</name>
-                                                                       <value>${ssl.insecure}</value>
-                                                               </property>
-                                                       </properties>
-                                               </configuration>
-                                       </execution>
-                               </executions>
-                       </plugin>
-                       <plugin>
-                               <groupId>org.codehaus.mojo</groupId>
-                               <artifactId>versions-maven-plugin</artifactId>
-                               <version>2.3</version>
-                       </plugin>
-                       <plugin>
-                               <artifactId>maven-scm-plugin</artifactId>
-                               <version>1.8.1</version>
-                               <configuration>
-                                       <tag>${project.artifactId}-${project.version}</tag>
-                               </configuration>
-                       </plugin>
-               </plugins>
-       </build>
-       <organization>
-               <name>ONAP</name>
-       </organization>
-
-       <modules>
-               <module>odlparent-boron-sr3</module>
-               <module>odlparent-carbon-sr1</module>
-       </modules>
+    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+
+    <modelVersion>4.0.0</modelVersion>
+    <packaging>pom</packaging>
+    <groupId>org.onap.ccsdk.parent</groupId>
+    <artifactId>parent</artifactId>
+    <version>0.0.1-SNAPSHOT</version>
+
+    <name>Parent POMs</name>
+    <url>http://wiki.onap.org</url>
+    <description>Parent POMs to be used by clients of CCSDK</description>
+
+    <properties>
+        <!-- ONAP repositories -->
+        <onap.nexus.host>nexus.onap.org</onap.nexus.host>
+        <onap.nexus.port>443</onap.nexus.port>
+        <onap.nexus.protocol>https</onap.nexus.protocol>
+        <onap.nexus.public-url>${onap.nexus.protocol}://${onap.nexus.host}:${onap.nexus.port}/content/groups/public</onap.nexus.public-url>
+        <onap.nexus.release-url>${onap.nexus.protocol}://${onap.nexus.host}:${onap.nexus.port}/content/repositories/releases</onap.nexus.release-url>
+        <onap.nexus.snapshot-url>${onap.nexus.protocol}://${onap.nexus.host}:${onap.nexus.port}/content/repositories/snapshots</onap.nexus.snapshot-url>
+        <onap.nexus.staging.server-id>ecomp-releases</onap.nexus.staging.server-id>
+        <onap.nexus.staging.profile-id></onap.nexus.staging.profile-id>
+
+    </properties>
+
+
+    <repositories>
+        <repository>
+            <id>onap-public</id>
+            <url>${onap.nexus.public-url}</url>
+            <releases>
+                <enabled>true</enabled>
+                <!-- <updatePolicy>always</updatePolicy> <updatePolicy>never</updatePolicy>
+                    <updatePolicy>daily</updatePolicy> <updatePolicy>interval:in minutes</updatePolicy> -->
+                <updatePolicy>never</updatePolicy>
+            </releases>
+            <snapshots>
+                <enabled>true</enabled>
+                <updatePolicy>always</updatePolicy>
+                <!-- <updatePolicy>always</updatePolicy> <updatePolicy>never</updatePolicy>
+                    <updatePolicy>daily</updatePolicy> <updatePolicy>interval:30</updatePolicy> -->
+            </snapshots>
+        </repository>
+        <repository>
+            <id>ecomp-release</id>
+            <name>onap-repository-releases</name>
+            <url>${onap.nexus.release-url}</url>
+            <releases>
+                <enabled>true</enabled>
+                <updatePolicy>never</updatePolicy>
+            </releases>
+            <snapshots>
+                <enabled>false</enabled>
+            </snapshots>
+        </repository>
+        <repository>
+            <id>ecomp-snapshot</id>
+            <name>onap-repository-snapshots</name>
+            <url>${onap.nexus.snapshot-url}</url>
+            <releases>
+                <enabled>false</enabled>
+            </releases>
+            <snapshots>
+                <enabled>true</enabled>
+            </snapshots>
+        </repository>
+        <repository>
+            <id>opendaylight-mirror</id>
+            <name>opendaylight-mirror</name>
+            <url>${opendaylight.nexus.public-url}</url>
+            <releases>
+                <enabled>true</enabled>
+                <updatePolicy>never</updatePolicy>
+            </releases>
+            <snapshots>
+                <enabled>false</enabled>
+            </snapshots>
+        </repository>
+        <repository>
+            <id>opendaylight-snapshot</id>
+            <name>opendaylight-snapshot</name>
+            <url>${opendaylight.nexus.snapshot-url}</url>
+            <releases>
+                <enabled>false</enabled>
+            </releases>
+            <snapshots>
+                <enabled>true</enabled>
+            </snapshots>
+        </repository>
+
+    </repositories>
+
+    <distributionManagement>
+        <repository>
+            <id>ecomp-releases</id>
+            <name>onap-repository-releases</name>
+            <url>${onap.nexus.release-url}</url>
+        </repository>
+        <snapshotRepository>
+            <id>ecomp-snapshots</id>
+            <name>onap-repository-snapshots</name>
+            <url>${onap.nexus.snapshot-url}</url>
+        </snapshotRepository>
+    </distributionManagement>
+
+    <build>
+        <pluginManagement>
+            <plugins>
+                <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>
+                        <dependency>
+                            <groupId>org.apache.maven.doxia</groupId>
+                            <artifactId>doxia-core</artifactId>
+                            <version>1.7</version>
+                        </dependency>
+                        <dependency>
+                            <groupId>org.apache.maven.doxia</groupId>
+                            <artifactId>doxia-sink-api</artifactId>
+                            <version>1.7</version>
+                        </dependency>
+                        <dependency>
+                            <groupId>org.apache.maven.doxia</groupId>
+                            <artifactId>doxia-logging-api</artifactId>
+                            <version>1.7</version>
+                        </dependency>
+                    </dependencies>
+                    <executions>
+                        <execution>
+                            <id>attach-descriptor</id>
+                            <goals>
+                                <goal>attach-descriptor</goal>
+                            </goals>
+                        </execution>
+                    </executions>
+                </plugin>
+                <plugin>
+                    <groupId>org.apache.maven.plugins</groupId>
+                    <artifactId>maven-compiler-plugin</artifactId>
+                    <version>2.5.1</version>
+                    <configuration>
+                        <source>${java.version.source}</source>
+                        <target>${java.version.target}</target>
+                    </configuration>
+                </plugin>
+                <plugin>
+                    <groupId>org.codehaus.mojo</groupId>
+                    <artifactId>sonar-maven-plugin</artifactId>
+                    <version>3.2</version>
+                </plugin>
+                <plugin>
+                    <artifactId>maven-source-plugin</artifactId>
+                    <version>2.1.1</version>
+                    <executions>
+                        <execution>
+                            <id>bundle-sources</id>
+                            <phase>package</phase>
+                            <goals>
+                                <!-- produce source artifact for main project sources -->
+                                <goal>jar-no-fork</goal>
+
+                                <!-- produce source artifact for project test sources -->
+                                <goal>test-jar-no-fork</goal>
+                            </goals>
+                        </execution>
+                    </executions>
+                </plugin>
+
+
+            </plugins>
+
+        </pluginManagement>
+
+        <plugins>
+
+            <plugin>
+                <groupId>org.codehaus.mojo</groupId>
+                <artifactId>properties-maven-plugin</artifactId>
+                <version>1.0.0</version>
+                <executions>
+                    <execution>
+                        <goals>
+                            <goal>set-system-properties</goal>
+                        </goals>
+                        <configuration>
+                            <properties>
+                                <property>
+                                    <name>maven.wagon.http.ssl.allowall</name>
+                                    <value>${ssl.allowall}</value>
+                                </property>
+                                <property>
+                                    <name>maven.wagon.http.ssl.insecure</name>
+                                    <value>${ssl.insecure}</value>
+                                </property>
+                            </properties>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+            <plugin>
+                <groupId>org.codehaus.mojo</groupId>
+                <artifactId>versions-maven-plugin</artifactId>
+                <version>2.3</version>
+            </plugin>
+            <plugin>
+                <artifactId>maven-scm-plugin</artifactId>
+                <version>1.8.1</version>
+                <configuration>
+                    <tag>${project.artifactId}-${project.version}</tag>
+                </configuration>
+            </plugin>
+            <plugin>
+                <groupId>org.sonatype.plugins</groupId>
+                <artifactId>nexus-staging-maven-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <id>injected-nexus-deploy</id>
+                        <phase>deploy</phase>
+                        <goals>
+                            <goal>deploy</goal>
+                        </goals>
+                    </execution>
+                </executions>
+                <configuration>
+                    <skipStaging>true</skipStaging>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
+    <organization>
+        <name>ONAP</name>
+    </organization>
+
+    <modules>
+        <module>odlparent-boron-sr3</module>
+        <module>odlparent-carbon-sr1</module>
+    </modules>
 </project>