Add intial pom.xml inheriting from oparent-python 59/29559/1
authorDileep Ranganathan <dileep.ranganathan@intel.com>
Mon, 29 Jan 2018 14:36:20 +0000 (06:36 -0800)
committerDileep Ranganathan <dileep.ranganathan@intel.com>
Mon, 29 Jan 2018 15:15:12 +0000 (07:15 -0800)
Created pom.xml for integrating with ci

Change-Id: Ie6bec4b7d4d3bf4b86074b7405f882fee0bccab9
Issue-ID: OPTFRA-59
Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
conductor/assembly.xml [new file with mode: 0644]
conductor/pom.xml [new file with mode: 0644]
pom.xml [new file with mode: 0644]

diff --git a/conductor/assembly.xml b/conductor/assembly.xml
new file mode 100644 (file)
index 0000000..b190852
--- /dev/null
@@ -0,0 +1,36 @@
+<!--
+ Copyright (c) 2018 Intel Corporation. All rights reserved.
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at:
+       http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+-->
+<assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0"
+          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+          xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0 http://maven.apache.org/xsd/assembly-1.1.0.xsd">
+    <id>conductor</id>
+    <formats>
+        <format>zip</format>
+    </formats>
+    <fileSets>
+        <fileSet>
+            <includes>
+                <include>LICENSE</include>
+                <include>README.rst</include>
+                <include>conductor/**</include>
+                <include>doc/**</include>
+                <include>etc/**</include>
+                <include>requirements.txt</include>
+            </includes>
+            <excludes>
+                <exclude>**/*.pyc</exclude>
+            </excludes>
+        </fileSet>
+    </fileSets>
+    <baseDirectory>conductor</baseDirectory>
+</assembly>
diff --git a/conductor/pom.xml b/conductor/pom.xml
new file mode 100644 (file)
index 0000000..f12574a
--- /dev/null
@@ -0,0 +1,56 @@
+<?xml version="1.0"?>
+<!--
+    Copyright (c) 2018 Intel Corporation. All rights reserved.
+
+    Licensed under the Apache License, Version 2.0 (the "License"); you may
+    not use this file except in compliance with the License. You may obtain
+    a copy of the License at
+
+        http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+    WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+    License for the specific language governing permissions and limitations
+    under the License.
+-->
+<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/xsd/maven-4.0.0.xsd">
+    <modelVersion>4.0.0</modelVersion>
+    <packaging>pom</packaging>
+
+    <parent>
+        <groupId>org.onap.optf.has</groupId>
+        <version>1.1.0-SNAPSHOT</version>
+        <artifactId>optf-has-root</artifactId>
+    </parent>
+
+    <groupId>org.onap.optf.has</groupId>
+    <artifactId>optf-has-conductor</artifactId>
+    <version>1.1.0-SNAPSHOT</version>
+
+    <name>optf-has-conductor</name>
+    <description>Homing Allocation Service/Conductor</description>
+    <build>
+        <plugins>
+            <plugin>
+                <artifactId>maven-assembly-plugin</artifactId>
+                <configuration>
+                    <appendAssemblyId>false</appendAssemblyId>
+                    <descriptors>
+                        <descriptor>assembly.xml</descriptor>
+                    </descriptors>
+                </configuration>
+                <executions>
+                    <execution>
+                        <id>make-assembly</id>
+                        <phase>package</phase>
+                        <goals>
+                            <goal>single</goal>
+                        </goals>
+                    </execution>
+                </executions>
+            </plugin>
+        </plugins>
+    </build>
+</project>
diff --git a/pom.xml b/pom.xml
new file mode 100644 (file)
index 0000000..d10dd2b
--- /dev/null
+++ b/pom.xml
@@ -0,0 +1,56 @@
+<?xml version="1.0"?>
+<!--
+    Copyright (c) 2018 Intel Corporation. All rights reserved.
+
+    Licensed under the Apache License, Version 2.0 (the "License"); you may
+    not use this file except in compliance with the License. You may obtain
+    a copy of the License at
+
+        http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+    WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+    License for the specific language governing permissions and limitations
+    under the License.
+-->
+<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/xsd/maven-4.0.0.xsd">
+    <modelVersion>4.0.0</modelVersion>
+    <packaging>pom</packaging>
+
+    <parent>
+        <groupId>org.onap.oparent</groupId>
+        <artifactId>oparent-python</artifactId>
+        <version>1.1.0-SNAPSHOT</version>
+    </parent>
+
+    <groupId>org.onap.optf.has</groupId>
+    <artifactId>optf-has-root</artifactId>
+
+    <name>optf-has-root</name>
+    <version>1.1.0-SNAPSHOT</version>
+    <description>Homing Allocation Service</description>
+
+    <modules>
+        <module>conductor</module>
+        <!--<module>docs</module>-->
+    </modules>
+
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-release-plugin</artifactId>
+            </plugin>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-deploy-plugin</artifactId>
+                <version>2.7</version>
+                <configuration>
+                    <retryFailedDeploymentCount>2</retryFailedDeploymentCount>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
+</project>