From 7255e446ce150bc0dea57c46e96f9f83d77590d8 Mon Sep 17 00:00:00 2001 From: DR695H Date: Fri, 4 Aug 2017 17:22:23 -0400 Subject: adding tox support to maven python build [TEST-48] tox is run in maven execute plugin to allow tests to be run Change-Id: Ibd66129a94e1529e236dd57c73d823df21ae14b0 Signed-off-by: DR695H --- pom.xml | 44 +++++++++++++++++++++++++++++++++----------- 1 file changed, 33 insertions(+), 11 deletions(-) (limited to 'pom.xml') diff --git a/pom.xml b/pom.xml index 75547aa..6001d9a 100644 --- a/pom.xml +++ b/pom.xml @@ -3,13 +3,15 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 pom - org.onap.testsuite + org.onap.testsuite.heatbridge heatbridge heatbridge 0.3 heatbridge used to stitch together some holes in the onap tests for release one + UTF-8 ${project.artifactId}-${project.version}-py2-none-any.whl + ${project.basedir}/heatbridge @@ -27,7 +29,7 @@ - ${project.build.directory}/py/dist/${wheel.name} + ${project.build.directory}/maven-python/dist/${wheel.name} whl @@ -38,18 +40,44 @@ com.github.UltimateDogg maven-python-distribute-plugin - 0.1.9 + 0.2.0 - heatbridge + ${python.sourceDirectory} wheel + package prepare-package package + + process + process-sources + + process-sources + + + + + + exec-maven-plugin + org.codehaus.mojo + 1.1.1 + + + tox-test + test + + exec + + + ${project.build.directory}/maven-python/heatbridge + tox + + @@ -58,13 +86,7 @@ com.github.UltimateDogg maven-python-distribute-plugin - 0.1.9 + 0.2.0 - - - jitpack.io - https://jitpack.io - - \ No newline at end of file -- cgit 1.2.3-korg