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