summaryrefslogtreecommitdiffstats
path: root/pom.xml
diff options
context:
space:
mode:
authorDR695H <dr695h@att.com>2017-09-08 18:17:35 -0400
committerDR695H <dr695h@att.com>2017-09-08 18:28:05 -0400
commit9acf6f336e65d3b58a9fb8dd3c9a3b16cd80d30d (patch)
treedcb302bd4b59718290e8ff9497eb78f1575d9b37 /pom.xml
parent781c67483dc02b17307f2f767bc5c88d9ac0eafc (diff)
the pom should use oparent-python
[TEST-48] instead of running everything customer use the python parent Change-Id: I0c9deaf6df1a54519f8ae5b7a668822941f76e6a Signed-off-by: DR695H <dr695h@att.com>
Diffstat (limited to 'pom.xml')
-rw-r--r--pom.xml48
1 files changed, 2 insertions, 46 deletions
diff --git a/pom.xml b/pom.xml
index 5f78574..3c98232 100644
--- a/pom.xml
+++ b/pom.xml
@@ -9,11 +9,10 @@
<description>heatbridge used to stitch together some holes in the onap tests for release one</description>
<parent>
<groupId>org.onap.oparent</groupId>
- <artifactId>oparent</artifactId>
+ <artifactId>oparent-python</artifactId>
<version>1.0.0-SNAPSHOT</version>
</parent>
<properties>
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<wheel.name>${project.artifactId}-${python_version}-py2-none-any.whl</wheel.name>
<python.sourceDirectory>${project.basedir}/heatbridge</python.sourceDirectory>
</properties>
@@ -22,28 +21,9 @@
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
- <version>3.0.0</version>
<executions>
<execution>
- <id>write-python-version</id>
- <goals>
- <goal>regex-property</goal>
- </goals>
- <phase>initialize</phase>
- <configuration>
- <name>python_version</name>
- <regex>-SNAPSHOT</regex>
- <value>${project.version}</value>
- <replacement>\.dev0</replacement>
- <failIfNoMatch>false</failIfNoMatch>
- </configuration>
- </execution>
- <execution>
<id>attach-artifacts</id>
- <phase>package</phase>
- <goals>
- <goal>attach-artifact</goal>
- </goals>
<configuration>
<artifacts>
<artifact>
@@ -51,6 +31,7 @@
<type>whl</type>
</artifact>
</artifacts>
+ <skipAttach>false</skipAttach>
</configuration>
</execution>
</executions>
@@ -58,43 +39,18 @@
<plugin>
<groupId>com.github.UltimateDogg</groupId>
<artifactId>maven-python-distribute-plugin</artifactId>
- <version>0.2.0</version>
<configuration>
- <packageVersion>${python_version}</packageVersion>
<sourceDirectory>${python.sourceDirectory}</sourceDirectory>
- <distributionType>wheel</distributionType>
</configuration>
- <executions>
- <execution>
- <id>package</id>
- <phase>prepare-package</phase>
- <goals>
- <goal>package</goal>
- </goals>
- </execution>
- <execution>
- <id>process</id>
- <phase>process-sources</phase>
- <goals>
- <goal>process-sources</goal>
- </goals>
- </execution>
- </executions>
</plugin>
<plugin>
<artifactId>exec-maven-plugin</artifactId>
<groupId>org.codehaus.mojo</groupId>
- <version>1.1.1</version>
<executions>
<execution>
<id>tox-test</id>
- <phase>test</phase>
- <goals>
- <goal>exec</goal>
- </goals>
<configuration>
<workingDirectory>${project.build.directory}/maven-python/heatbridge</workingDirectory>
- <executable>tox</executable>
</configuration>
</execution>
</executions>