Remove ODL distro from release-1.0.0 branch
[sdnc/oam.git] / pom.xml
diff --git a/pom.xml b/pom.xml
index 0114d78..ddb1776 100755 (executable)
--- a/pom.xml
+++ b/pom.xml
@@ -13,7 +13,7 @@
        <groupId>org.openecomp.sdnc.oam</groupId>
        <artifactId>sdnc-oam</artifactId>
 
-       <name>SDN-C OAM</name>
+       <name>sdnc-oam</name>
        <url>https://wiki.openecomp.org</url>
        <description>The SDN-C OAM component contains the components needed to operate, administer and maintain the SDN-C platform.</description>
 
           <url>dav:https://${openecomp.nexus.host}:${openecomp.nexus.port}/repository/sdn-c-javadoc/${project.artifactId}/${project.version}</url>
         </site>
     </distributionManagement>
+       <profiles>
+               <profile>
+                       <id>blackduck</id>
+                       <activation>
+                               <property>
+                                       <name>blackduck-scan</name>
+                               </property>
+                       </activation>
+                       <build>
+                               <pluginManagement>
+                                       <plugins>
+                                               <plugin>
+                                                       <groupId>com.blackducksoftware.integration</groupId>
+                                                       <artifactId>hub-maven-plugin</artifactId>
+                                                       <version>1.4.0</version>
+                                                       <inherited>false</inherited>
+                                                       <configuration>
+                                                               <hubProjectName>${project.name}</hubProjectName>
+                                                               <outputDirectory>${project.basedir}</outputDirectory>
+                                                       </configuration>
+                                                       <executions>
+                                                               <execution>
+                                                                       <id>create-bdio-file</id>
+                                                                       <phase>package</phase>
+                                                                       <goals>
+                                                                               <goal>createHubOutput</goal>
+                                                                       </goals>
+                                                               </execution>
+                                                       </executions>
+                                               </plugin>
+                                       </plugins>
+
+                               </pluginManagement>
+
+                       </build>
+
+               </profile>
+               <profile>
+                 <id>docker</id>
+                 <modules>
+                       <module>installation</module>
+                 </modules>
+               </profile>
+
+       </profiles>
 
        <build>
                <plugins>
-                       <!-- Blackduck plugin breaks release build
                        <plugin>
-                               <groupId>com.blackducksoftware.integration</groupId>
-                               <artifactId>hub-maven-plugin</artifactId>
-                               <version>1.4.0</version>
-                               <inherited>false</inherited>
+                               <groupId>org.apache.maven.plugins</groupId>
+                               <artifactId>maven-surefire-plugin</artifactId>
+                               <version>2.17</version>
                                <configuration>
-                                       <hubProjectName>${project.name}</hubProjectName>
-                                       <outputDirectory>${project.basedir}</outputDirectory>
+                                       <skipTests>true</skipTests>
+                               </configuration>
+                       </plugin>
+                       <plugin>
+                               <groupId>org.sonatype.plugins</groupId>
+                               <artifactId>nexus-staging-maven-plugin</artifactId>
+                               <version>1.6.7</version>
+                               <extensions>true</extensions>
+                               <configuration>
+                                       <nexusUrl>https://${openecomp.nexus.host}</nexusUrl>
+                                       <stagingProfileId>${openecomp.nexus.staging.profile-id}</stagingProfileId>
+                                       <serverId>${openecomp.nexus.staging.server-id}</serverId>
                                </configuration>
-                               <executions>
-                                       <execution>
-                                               <id>create-bdio-file</id>
-                                               <phase>package</phase>
-                                               <goals>
-                                                       <goal>createHubOutput</goal>
-                                               </goals>
-                                       </execution>
-                               </executions>
                        </plugin>
-                       -->
                </plugins>
 
        </build>
        <modules>
                <module>admportal</module>
-<!--           <module>chef</module> -->
                <module>platform-logic</module>
-                <module>installation</module>
-<!--
-               <module>license</module>
--->
        </modules>
+
        <organization>
                <name>AT&amp;T</name>
        </organization>
-       <version>1.0.0</version>
+       <version>1.0.0-SNAPSHOT</version>
 
 
 </project>