2 <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">
3 <modelVersion>4.0.0</modelVersion>
4 <packaging>pom</packaging>
5 <groupId>org.onap.so</groupId>
6 <artifactId>multivim-plugin</artifactId>
7 <name>multivim-plugin</name>
8 <version>0.0.1-SNAPSHOT</version>
9 <description>ARIA MultiVIM plugin</description>
11 <groupId>org.onap.oparent</groupId>
12 <artifactId>oparent</artifactId>
13 <version>1.0.0-SNAPSHOT</version>
19 <url>https://jitpack.io</url>
24 <python_version>2.7</python_version>
25 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
26 <wheel.name>${project.artifactId}-${python_version}-py2-none-any.whl</wheel.name>
27 <python.sourceDirectory>${project.basedir}/src/main/python/multivim-plugin</python.sourceDirectory>
32 <groupId>org.codehaus.mojo</groupId>
33 <artifactId>build-helper-maven-plugin</artifactId>
34 <version>3.0.0</version>
37 <id>write-python-version</id>
39 <goal>regex-property</goal>
41 <phase>initialize</phase>
43 <name>python_version</name>
44 <regex>-SNAPSHOT</regex>
45 <value>${project.version}</value>
46 <replacement>\.dev0</replacement>
47 <failIfNoMatch>false</failIfNoMatch>
51 <id>attach-artifacts</id>
52 <phase>package</phase>
54 <goal>attach-artifact</goal>
59 <file>${project.build.directory}/maven-python/dist/${wheel.name}</file>
68 <groupId>com.github.UltimateDogg</groupId>
69 <artifactId>maven-python-distribute-plugin</artifactId>
70 <version>0.2.0</version>
72 <packageVersion>${python_version}</packageVersion>
73 <sourceDirectory>${python.sourceDirectory}</sourceDirectory>
74 <distributionType>wheel</distributionType>
79 <phase>prepare-package</phase>
86 <phase>process-sources</phase>
88 <goal>process-sources</goal>