summaryrefslogtreecommitdiffstats
path: root/engine
diff options
context:
space:
mode:
authorArthur Martella <arthur.martella.1@att.com>2019-05-30 17:41:18 -0400
committerArthur Martella <arthur.martella.1@att.com>2019-05-30 17:41:18 -0400
commit2a7f837ecf218af72cf815af6c1e23bff667f4a1 (patch)
tree3ba9ff0dcf6bd28bbe171728a0edc2056249acc5 /engine
parenteec0a18dce7679ac24601097e86257eeb9e211e3 (diff)
Add pom.xml files for all FGPS components
Change-Id: Ie689e43fdb59e1f184977167085b6e03b932dd3d Issue-ID: OPTFRA-516 Signed-off-by: Martella, Arthur <arthur.martella.1@att.com>
Diffstat (limited to 'engine')
-rw-r--r--engine/assembly.xml37
-rw-r--r--engine/pom.xml80
2 files changed, 117 insertions, 0 deletions
diff --git a/engine/assembly.xml b/engine/assembly.xml
new file mode 100644
index 0000000..886dc33
--- /dev/null
+++ b/engine/assembly.xml
@@ -0,0 +1,37 @@
+<!--
+ 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>fgps-engine</id>
+ <formats>
+ <format>zip</format>
+ </formats>
+ <fileSets>
+ <fileSet>
+ <includes>
+ <include>*/**</include>
+ </includes>
+ <excludes>
+ <exclude>**/*.pyc</exclude>
+ <exclude>target/**</exclude>
+ <exclude>docker/**</exclude>
+ <exclude>cover/**</exclude>
+ <exclude>pom.xml</exclude>
+ <exclude>assembly.xml</exclude>
+ <exclude>xunit-results.xml</exclude>
+ </excludes>
+ </fileSet>
+ </fileSets>
+ <baseDirectory>conductor</baseDirectory>
+</assembly>
diff --git a/engine/pom.xml b/engine/pom.xml
new file mode 100644
index 0000000..400b1ae
--- /dev/null
+++ b/engine/pom.xml
@@ -0,0 +1,80 @@
+<?xml version="1.0"?>
+<!--
+ Copyright (c) 2019 AT&T. 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>2.0.0</version>
+ </parent>
+
+ <properties>
+ <onap.nexus.url>https://nexus.onap.org</onap.nexus.url>
+ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+ <maven.build.timestamp.format>yyyyMMdd'T'HHmm</maven.build.timestamp.format>
+ </properties>
+
+ <groupId>org.onap.fgps</groupId>
+ <artifactId>fgps-engine</artifactId>
+
+ <name>fgps-engine</name>
+ <version>0.0.1-SNAPSHOT</version>
+ <description>Fine Grained Placement Service</description>
+
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>exec-maven-plugin</artifactId>
+ <groupId>org.codehaus.mojo</groupId>
+ <executions>
+ <execution>
+ <id>tox-test</id>
+ <phase>test</phase>
+ <goals>
+ <goal>exec</goal>
+ </goals>
+ <configuration>
+ <executable>
+ ${session.executionRootDirectory}/sonar.sh
+ </executable>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <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>