From 01cae7accc0f239913a6c8bc5429f2947e7af214 Mon Sep 17 00:00:00 2001 From: dfilppi Date: Sat, 17 Mar 2018 05:02:42 +0000 Subject: fixing python build/deploy Change-Id: Ia5849d8f337fc9810631673ff01a7abfdb66a252 Issue-ID: SO-445 Signed-off-by: DeWayne Filppi --- aria/multivim-plugin/build.py | 0 aria/multivim-plugin/pom.xml | 183 +++++++++++++++++++++--------------------- 2 files changed, 93 insertions(+), 90 deletions(-) create mode 100644 aria/multivim-plugin/build.py (limited to 'aria/multivim-plugin') diff --git a/aria/multivim-plugin/build.py b/aria/multivim-plugin/build.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/aria/multivim-plugin/pom.xml b/aria/multivim-plugin/pom.xml index 8301a6a31c..a931af6d51 100644 --- a/aria/multivim-plugin/pom.xml +++ b/aria/multivim-plugin/pom.xml @@ -1,95 +1,98 @@ - 4.0.0 - pom - org.onap.so - multivim-plugin - multivim-plugin - 0.1.0-SNAPSHOT - ARIA MultiVIM plugin - - org.onap.oparent - oparent - 1.1.0-SNAPSHOT - + 4.0.0 + pom + org.onap.so + multivim-plugin + multivim-plugin + 1.2.0-SNAPSHOT + ARIA MultiVIM plugin + + org.onap.so + aria + 1.2.0-SNAPSHOT + ../pom.xml + - - - jitpack.io - https://jitpack.io - - + + UTF-8 + 2.7 + UTF-8 + ${project.name}-${project.version}-py2-none-any.whl + ${project.basedir}/src/main/python/multivim-plugin + **/*.py + http://192.168.33.1:8081/repository/pypi-internal/ + ecomp-snapshots + - - 2.7 - UTF-8 - ${project.artifactId}-${python_version}-py2-none-any.whl - ${project.basedir}/src/main/python/multivim-plugin - - - - - org.codehaus.mojo - build-helper-maven-plugin - 3.0.0 - - - write-python-version - - regex-property - - initialize - - python_version - -SNAPSHOT - ${project.version} - \.dev0 - false - - - - attach-artifacts - package - - attach-artifact - - - - - ${project.build.directory}/maven-python/dist/${wheel.name} - whl - - - - - - - - com.github.UltimateDogg - maven-python-distribute-plugin - 0.2.0 - - ${python_version} - ${python.sourceDirectory} - wheel - - - - package - prepare-package - - package - - - - process - process-sources - - process-sources - - - - - - + + + + org.codehaus.mojo + build-helper-maven-plugin + 3.0.0 + + + write-python-version + + regex-property + + initialize + + python_version + -SNAPSHOT + ${project.version} + \.dev0 + false + + + + + + org.codehaus.mojo + exec-maven-plugin + 1.6.0 + + + package + package + exec + + python + + ${project.basedir}/build.py + + + package + ${wheel.name} + ${python.sourceDirectory} + ${project.build.directory} + + + + + deploy + deploy + exec + + python + + ${project.basedir}/build.py + + + deploy + ${project.version} + ${onap.nexus.dockerregistry.snapshot} + ${onap.nexus.dockerregistry.release} + ${onap.nexus.pypiserver.baseurl} + ${onap.nexus.pypiserver.serverid} + ${project.build.directory}/${wheel.name} + + + + + + + + -- cgit 1.2.3-korg