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