diff options
author | 2018-01-29 06:36:20 -0800 | |
---|---|---|
committer | 2018-01-29 07:15:12 -0800 | |
commit | bfecfd9e7f8000ee0ebc26866853af9f7635012c (patch) | |
tree | 7c7ada1437bc006bb92a423aa2db7aa01984a7ef | |
parent | 23892e5ce744ebf5160e2037a319897702b4816b (diff) |
Add intial pom.xml inheriting from oparent-python
Created pom.xml for integrating with ci
Change-Id: Ie6bec4b7d4d3bf4b86074b7405f882fee0bccab9
Issue-ID: OPTFRA-59
Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
-rw-r--r-- | conductor/assembly.xml | 36 | ||||
-rw-r--r-- | conductor/pom.xml | 56 | ||||
-rw-r--r-- | pom.xml | 56 |
3 files changed, 148 insertions, 0 deletions
diff --git a/conductor/assembly.xml b/conductor/assembly.xml new file mode 100644 index 0000000..b190852 --- /dev/null +++ b/conductor/assembly.xml @@ -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 index 0000000..f12574a --- /dev/null +++ b/conductor/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.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> @@ -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> |