DR695H | eb3dd60 | 2017-09-08 15:20:22 -0400 | [diff] [blame] | 1 | <?xml version="1.0"?> |
Brian Freeman | bedb484 | 2019-11-01 08:48:01 -0500 | [diff] [blame^] | 2 | <!-- |
| 3 | Copyright (c) 2016-2018 Huawei Technologies Co., Ltd. |
| 4 | Modifications copyright (C) 2017-2019 AT&T Intellectual Property |
| 5 | |
| 6 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 7 | you may not use this file except in compliance with the License. |
| 8 | You may obtain a copy of the License at |
| 9 | |
| 10 | http://www.apache.org/licenses/LICENSE-2.0 |
| 11 | |
| 12 | Unless required by applicable law or agreed to in writing, software |
| 13 | distributed under the License is distributed on an "AS IS" BASIS, |
| 14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 15 | See the License for the specific language governing permissions and |
| 16 | limitations under the License. |
| 17 | --> |
Gary Wu | b7c6e95 | 2018-03-02 11:06:06 -0800 | [diff] [blame] | 18 | <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"> |
| 19 | <modelVersion>4.0.0</modelVersion> |
| 20 | <parent> |
| 21 | <groupId>org.onap.oparent</groupId> |
| 22 | <artifactId>oparent</artifactId> |
Brian Freeman | bedb484 | 2019-11-01 08:48:01 -0500 | [diff] [blame^] | 23 | <version>3.0.0-SNAPSHOT</version> |
Gary Wu | b7c6e95 | 2018-03-02 11:06:06 -0800 | [diff] [blame] | 24 | <relativePath>../oparent</relativePath> |
| 25 | </parent> |
| 26 | <packaging>pom</packaging> |
| 27 | <artifactId>oparent-python</artifactId> |
| 28 | <name>oparent/oparent-python</name> |
| 29 | <description>parent/oparent-python</description> |
| 30 | <properties> |
| 31 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 32 | </properties> |
| 33 | <repositories> |
| 34 | <repository> |
| 35 | <id>jitpack.io</id> |
| 36 | <url>https://jitpack.io</url> |
| 37 | </repository> |
| 38 | </repositories> |
| 39 | <pluginRepositories> |
| 40 | <pluginRepository> |
| 41 | <id>jitpack.io</id> |
| 42 | <url>https://jitpack.io</url> |
| 43 | </pluginRepository> |
| 44 | </pluginRepositories> |
| 45 | <build> |
| 46 | <pluginManagement> |
| 47 | <plugins> |
| 48 | <plugin> |
| 49 | <groupId>org.codehaus.mojo</groupId> |
| 50 | <artifactId>build-helper-maven-plugin</artifactId> |
| 51 | <version>3.0.0</version> |
| 52 | <executions> |
| 53 | <execution> |
| 54 | <id>write-python-version</id> |
| 55 | <goals> |
| 56 | <goal>regex-property</goal> |
| 57 | </goals> |
| 58 | <phase>initialize</phase> |
| 59 | <configuration> |
| 60 | <name>python_version</name> |
| 61 | <regex>-SNAPSHOT</regex> |
| 62 | <value>${project.version}</value> |
| 63 | <replacement>\.dev0</replacement> |
| 64 | <failIfNoMatch>false</failIfNoMatch> |
| 65 | </configuration> |
| 66 | </execution> |
| 67 | <execution> |
| 68 | <id>attach-artifacts</id> |
| 69 | <phase>package</phase> |
| 70 | <goals> |
| 71 | <goal>attach-artifact</goal> |
| 72 | </goals> |
| 73 | </execution> |
| 74 | </executions> |
| 75 | </plugin> |
| 76 | <plugin> |
| 77 | <groupId>com.github.UltimateDogg</groupId> |
| 78 | <artifactId>maven-python-distribute-plugin</artifactId> |
Gary Wu | 33ce2ae | 2018-05-09 07:06:12 -0700 | [diff] [blame] | 79 | <version>0.2.6</version> |
Gary Wu | b7c6e95 | 2018-03-02 11:06:06 -0800 | [diff] [blame] | 80 | <configuration> |
| 81 | <packageVersion>${python_version}</packageVersion> |
| 82 | <distributionType>wheel</distributionType> |
| 83 | </configuration> |
| 84 | <executions> |
| 85 | <execution> |
| 86 | <id>package</id> |
| 87 | <phase>prepare-package</phase> |
| 88 | <goals> |
| 89 | <goal>package</goal> |
| 90 | </goals> |
| 91 | </execution> |
| 92 | <execution> |
| 93 | <id>process</id> |
| 94 | <phase>process-sources</phase> |
| 95 | <goals> |
| 96 | <goal>process-sources</goal> |
| 97 | </goals> |
| 98 | </execution> |
| 99 | </executions> |
| 100 | </plugin> |
| 101 | <plugin> |
| 102 | <artifactId>exec-maven-plugin</artifactId> |
| 103 | <groupId>org.codehaus.mojo</groupId> |
| 104 | <version>1.1.1</version> |
| 105 | <executions> |
| 106 | <execution> |
| 107 | <id>tox-test</id> |
| 108 | <phase>test</phase> |
| 109 | <goals> |
| 110 | <goal>exec</goal> |
| 111 | </goals> |
| 112 | <configuration> |
| 113 | <executable>tox</executable> |
| 114 | </configuration> |
| 115 | </execution> |
| 116 | </executions> |
| 117 | </plugin> |
| 118 | </plugins> |
| 119 | </pluginManagement> |
| 120 | <plugins> |
| 121 | <plugin> |
| 122 | <groupId>org.codehaus.mojo</groupId> |
| 123 | <artifactId>build-helper-maven-plugin</artifactId> |
| 124 | <version>3.0.0</version> |
| 125 | <executions> |
| 126 | <execution> |
| 127 | <id>write-python-version</id> |
| 128 | <goals> |
| 129 | <goal>regex-property</goal> |
| 130 | </goals> |
| 131 | <phase>initialize</phase> |
| 132 | <configuration> |
| 133 | <name>python_version</name> |
| 134 | <regex>-SNAPSHOT</regex> |
| 135 | <value>${project.version}</value> |
| 136 | <replacement>\.dev0</replacement> |
| 137 | <failIfNoMatch>false</failIfNoMatch> |
| 138 | </configuration> |
| 139 | </execution> |
| 140 | <execution> |
| 141 | <id>attach-artifacts</id> |
| 142 | <phase>package</phase> |
| 143 | <goals> |
| 144 | <goal>attach-artifact</goal> |
| 145 | </goals> |
| 146 | <configuration> |
| 147 | <artifacts> |
DR695H | eb3dd60 | 2017-09-08 15:20:22 -0400 | [diff] [blame] | 148 | </artifacts> |
Gary Wu | b7c6e95 | 2018-03-02 11:06:06 -0800 | [diff] [blame] | 149 | <skipAttach>true</skipAttach> |
| 150 | </configuration> |
| 151 | </execution> |
| 152 | </executions> |
| 153 | </plugin> |
| 154 | </plugins> |
| 155 | </build> |
DR695H | eb3dd60 | 2017-09-08 15:20:22 -0400 | [diff] [blame] | 156 | </project> |