DR695H | eb3dd60 | 2017-09-08 15:20:22 -0400 | [diff] [blame] | 1 | <?xml version="1.0"?> |
Gary Wu | b7c6e95 | 2018-03-02 11:06:06 -0800 | [diff] [blame] | 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 | <parent> |
| 5 | <groupId>org.onap.oparent</groupId> |
| 6 | <artifactId>oparent</artifactId> |
Gary Wu | 5f029a3 | 2018-08-24 13:22:08 -0700 | [diff] [blame^] | 7 | <version>1.2.1-SNAPSHOT</version> |
Gary Wu | b7c6e95 | 2018-03-02 11:06:06 -0800 | [diff] [blame] | 8 | <relativePath>../oparent</relativePath> |
| 9 | </parent> |
| 10 | <packaging>pom</packaging> |
| 11 | <artifactId>oparent-python</artifactId> |
| 12 | <name>oparent/oparent-python</name> |
| 13 | <description>parent/oparent-python</description> |
| 14 | <properties> |
| 15 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 16 | </properties> |
| 17 | <repositories> |
| 18 | <repository> |
| 19 | <id>jitpack.io</id> |
| 20 | <url>https://jitpack.io</url> |
| 21 | </repository> |
| 22 | </repositories> |
| 23 | <pluginRepositories> |
| 24 | <pluginRepository> |
| 25 | <id>jitpack.io</id> |
| 26 | <url>https://jitpack.io</url> |
| 27 | </pluginRepository> |
| 28 | </pluginRepositories> |
| 29 | <build> |
| 30 | <pluginManagement> |
| 31 | <plugins> |
| 32 | <plugin> |
| 33 | <groupId>org.codehaus.mojo</groupId> |
| 34 | <artifactId>build-helper-maven-plugin</artifactId> |
| 35 | <version>3.0.0</version> |
| 36 | <executions> |
| 37 | <execution> |
| 38 | <id>write-python-version</id> |
| 39 | <goals> |
| 40 | <goal>regex-property</goal> |
| 41 | </goals> |
| 42 | <phase>initialize</phase> |
| 43 | <configuration> |
| 44 | <name>python_version</name> |
| 45 | <regex>-SNAPSHOT</regex> |
| 46 | <value>${project.version}</value> |
| 47 | <replacement>\.dev0</replacement> |
| 48 | <failIfNoMatch>false</failIfNoMatch> |
| 49 | </configuration> |
| 50 | </execution> |
| 51 | <execution> |
| 52 | <id>attach-artifacts</id> |
| 53 | <phase>package</phase> |
| 54 | <goals> |
| 55 | <goal>attach-artifact</goal> |
| 56 | </goals> |
| 57 | </execution> |
| 58 | </executions> |
| 59 | </plugin> |
| 60 | <plugin> |
| 61 | <groupId>com.github.UltimateDogg</groupId> |
| 62 | <artifactId>maven-python-distribute-plugin</artifactId> |
Gary Wu | 33ce2ae | 2018-05-09 07:06:12 -0700 | [diff] [blame] | 63 | <version>0.2.6</version> |
Gary Wu | b7c6e95 | 2018-03-02 11:06:06 -0800 | [diff] [blame] | 64 | <configuration> |
| 65 | <packageVersion>${python_version}</packageVersion> |
| 66 | <distributionType>wheel</distributionType> |
| 67 | </configuration> |
| 68 | <executions> |
| 69 | <execution> |
| 70 | <id>package</id> |
| 71 | <phase>prepare-package</phase> |
| 72 | <goals> |
| 73 | <goal>package</goal> |
| 74 | </goals> |
| 75 | </execution> |
| 76 | <execution> |
| 77 | <id>process</id> |
| 78 | <phase>process-sources</phase> |
| 79 | <goals> |
| 80 | <goal>process-sources</goal> |
| 81 | </goals> |
| 82 | </execution> |
| 83 | </executions> |
| 84 | </plugin> |
| 85 | <plugin> |
| 86 | <artifactId>exec-maven-plugin</artifactId> |
| 87 | <groupId>org.codehaus.mojo</groupId> |
| 88 | <version>1.1.1</version> |
| 89 | <executions> |
| 90 | <execution> |
| 91 | <id>tox-test</id> |
| 92 | <phase>test</phase> |
| 93 | <goals> |
| 94 | <goal>exec</goal> |
| 95 | </goals> |
| 96 | <configuration> |
| 97 | <executable>tox</executable> |
| 98 | </configuration> |
| 99 | </execution> |
| 100 | </executions> |
| 101 | </plugin> |
| 102 | </plugins> |
| 103 | </pluginManagement> |
| 104 | <plugins> |
| 105 | <plugin> |
| 106 | <groupId>org.codehaus.mojo</groupId> |
| 107 | <artifactId>build-helper-maven-plugin</artifactId> |
| 108 | <version>3.0.0</version> |
| 109 | <executions> |
| 110 | <execution> |
| 111 | <id>write-python-version</id> |
| 112 | <goals> |
| 113 | <goal>regex-property</goal> |
| 114 | </goals> |
| 115 | <phase>initialize</phase> |
| 116 | <configuration> |
| 117 | <name>python_version</name> |
| 118 | <regex>-SNAPSHOT</regex> |
| 119 | <value>${project.version}</value> |
| 120 | <replacement>\.dev0</replacement> |
| 121 | <failIfNoMatch>false</failIfNoMatch> |
| 122 | </configuration> |
| 123 | </execution> |
| 124 | <execution> |
| 125 | <id>attach-artifacts</id> |
| 126 | <phase>package</phase> |
| 127 | <goals> |
| 128 | <goal>attach-artifact</goal> |
| 129 | </goals> |
| 130 | <configuration> |
| 131 | <artifacts> |
DR695H | eb3dd60 | 2017-09-08 15:20:22 -0400 | [diff] [blame] | 132 | </artifacts> |
Gary Wu | b7c6e95 | 2018-03-02 11:06:06 -0800 | [diff] [blame] | 133 | <skipAttach>true</skipAttach> |
| 134 | </configuration> |
| 135 | </execution> |
| 136 | </executions> |
| 137 | </plugin> |
| 138 | </plugins> |
| 139 | </build> |
DR695H | eb3dd60 | 2017-09-08 15:20:22 -0400 | [diff] [blame] | 140 | </project> |