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.testsuite.python-testing-utils</groupId>
6 <artifactId>robotframework-onap</artifactId>
7 <name>robotframework-onap</name>
8 <version>0.4.0-SNAPSHOT</version>
9 <description>Scripts written to be used during robot framework testing</description>
11 <groupId>org.onap.oparent</groupId>
12 <artifactId>oparent-python</artifactId>
13 <version>1.2.3</version>
17 <!-- this wont work because pip applies a regex to names while this doesnt https://www.python.org/dev/peps/pep-0427/#id12
18 <wheel.name>${project.artifactId}-${python_version}-py2-none-any.whl</wheel.name>-->
19 <wheel.name>robotframework_onap-${python_version}-py2-none-any.whl</wheel.name>
20 <python.sourceDirectory>${project.basedir}</python.sourceDirectory>
21 <python.pypi.repository>https://nexus3.onap.org/repository/PyPi.snapshot/</python.pypi.repository>
26 <groupId>org.codehaus.mojo</groupId>
27 <artifactId>build-helper-maven-plugin</artifactId>
30 <id>attach-artifacts</id>
34 <file>${project.build.directory}/maven-python/dist/${wheel.name}</file>
38 <skipAttach>false</skipAttach>
44 <groupId>com.github.UltimateDogg</groupId>
45 <artifactId>maven-python-distribute-plugin</artifactId>
56 <goal>process-sources</goal>
61 <sourceDirectory>${python.sourceDirectory}</sourceDirectory>
65 <artifactId>exec-maven-plugin</artifactId>
66 <groupId>org.codehaus.mojo</groupId>
71 <workingDirectory>${project.build.directory}</workingDirectory>