2 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4 <modelVersion>4.0.0</modelVersion>
5 <packaging>pom</packaging>
6 <groupId>org.onap.oparent</groupId>
7 <artifactId>oparent-python</artifactId>
8 <version>1.0.0-SNAPSHOT</version>
9 <name>oparent/oparent-python</name>
10 <description>parent/oparent-python</description>
12 <groupId>org.onap.oparent</groupId>
13 <artifactId>oparent</artifactId>
14 <version>1.0.0-SNAPSHOT</version>
17 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
23 <groupId>org.codehaus.mojo</groupId>
24 <artifactId>build-helper-maven-plugin</artifactId>
25 <version>3.0.0</version>
28 <id>write-python-version</id>
30 <goal>regex-property</goal>
32 <phase>initialize</phase>
34 <name>python_version</name>
35 <regex>-SNAPSHOT</regex>
36 <value>${project.version}</value>
37 <replacement>\.dev0</replacement>
38 <failIfNoMatch>false</failIfNoMatch>
42 <id>attach-artifacts</id>
43 <phase>package</phase>
45 <goal>attach-artifact</goal>
51 <groupId>com.github.UltimateDogg</groupId>
52 <artifactId>maven-python-distribute-plugin</artifactId>
53 <version>0.2.0</version>
55 <packageVersion>${python_version}</packageVersion>
56 <distributionType>wheel</distributionType>
61 <phase>prepare-package</phase>
68 <phase>process-sources</phase>
70 <goal>process-sources</goal>
76 <artifactId>exec-maven-plugin</artifactId>
77 <groupId>org.codehaus.mojo</groupId>
78 <version>1.1.1</version>
87 <executable>tox</executable>
96 <groupId>org.codehaus.mojo</groupId>
97 <artifactId>build-helper-maven-plugin</artifactId>
98 <version>3.0.0</version>
101 <id>write-python-version</id>
103 <goal>regex-property</goal>
105 <phase>initialize</phase>
107 <name>python_version</name>
108 <regex>-SNAPSHOT</regex>
109 <value>${project.version}</value>
110 <replacement>\.dev0</replacement>
111 <failIfNoMatch>false</failIfNoMatch>
115 <id>attach-artifacts</id>
116 <phase>package</phase>
118 <goal>attach-artifact</goal>
123 <skipAttach>true</skipAttach>
132 <groupId>com.github.UltimateDogg</groupId>
133 <artifactId>maven-python-distribute-plugin</artifactId>
134 <version>0.2.0</version>