diff options
author | DR695H <dr695h@att.com> | 2017-07-28 17:20:23 -0400 |
---|---|---|
committer | DR695H <dr695h@att.com> | 2017-07-28 17:23:43 -0400 |
commit | a8dad8ef34999216b0e7622d8f8ffe506b03193e (patch) | |
tree | c73a294f2ac8047346c2b949b829272e7ce3f4de /pom.xml | |
parent | 6b2fddc76c6da6af42f4606acea392b221b00c81 (diff) |
adding maven based python build
[TEST-48] this changes the structure of the project
to be maven based
Change-Id: I89212c8a2e38f2febe6c2d54a9222e260bc371e4
Signed-off-by: DR695H <dr695h@att.com>
Diffstat (limited to 'pom.xml')
-rw-r--r-- | pom.xml | 70 |
1 files changed, 70 insertions, 0 deletions
@@ -0,0 +1,70 @@ +<?xml version="1.0"?> +<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"> + <modelVersion>4.0.0</modelVersion> + <packaging>pom</packaging> + <groupId>org.onap.testsuite</groupId> + <artifactId>heatbridge</artifactId> + <name>heatbridge</name> + <version>0.3</version> + <description>heatbridge used to stitch together some holes in the onap tests for release one</description> + <properties> + <wheel.name>${project.artifactId}-${project.version}-py2-none-any.whl</wheel.name> + </properties> + <build> + <plugins> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>build-helper-maven-plugin</artifactId> + <version>3.0.0</version> + <executions> + <execution> + <id>attach-artifacts</id> + <phase>package</phase> + <goals> + <goal>attach-artifact</goal> + </goals> + <configuration> + <artifacts> + <artifact> + <file>${project.build.directory}/py/dist/${wheel.name}</file> + <type>whl</type> + </artifact> + </artifacts> + </configuration> + </execution> + </executions> + </plugin> + <plugin> + <groupId>com.github.UltimateDogg</groupId> + <artifactId>maven-python-distribute-plugin</artifactId> + <version>0.1.9</version> + <configuration> + <sourceDirectory>heatbridge</sourceDirectory> + <distributionType>wheel</distributionType> + </configuration> + <executions> + <execution> + <phase>prepare-package</phase> + <goals> + <goal>package</goal> + </goals> + </execution> + </executions> + </plugin> + </plugins> + </build> + <dependencies> + <dependency> + <groupId>com.github.UltimateDogg</groupId> + <artifactId>maven-python-distribute-plugin</artifactId> + <version>0.1.9</version> + </dependency> + </dependencies> + <pluginRepositories> + <pluginRepository> + <id>jitpack.io</id> + <url>https://jitpack.io</url> + </pluginRepository> + </pluginRepositories> +</project>
\ No newline at end of file |