forked from shiningpanda/tutorial-python-java
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpom.xml
More file actions
109 lines (103 loc) · 2.69 KB
/
pom.xml
File metadata and controls
109 lines (103 loc) · 2.69 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
<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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.shiningpanda</groupId>
<artifactId>parent</artifactId>
<version>0.3</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>setuptools</artifactId>
<packaging>pom</packaging>
<properties>
<install.goal>develop</install.goal>
</properties>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<configuration>
<executable>python</executable>
<workingDirectory>${basedir}</workingDirectory>
<environmentVariables>
<VERSION>${project.version}</VERSION>
<BUILD_NUMBER>${buildNumber}</BUILD_NUMBER>
<TIMESTAMP>${timestamp}</TIMESTAMP>
</environmentVariables>
</configuration>
<executions>
<execution>
<id>setuptools clean</id>
<phase>clean</phase>
<goals>
<goal>exec</goal>
</goals>
<configuration>
<arguments>
<argument>setup.py</argument>
<argument>clean</argument>
</arguments>
</configuration>
</execution>
<execution>
<id>setuptools install</id>
<phase>compile</phase>
<goals>
<goal>exec</goal>
</goals>
<configuration>
<arguments>
<argument>setup.py</argument>
<argument>${install.goal}</argument>
</arguments>
</configuration>
</execution>
<execution>
<id>setuptools test</id>
<phase>test</phase>
<goals>
<goal>exec</goal>
</goals>
<configuration>
<skip>${maven.test.skip}</skip>
<arguments>
<argument>setup.py</argument>
<argument>nosetests</argument>
</arguments>
</configuration>
</execution>
<execution>
<id>setuptools deploy</id>
<phase>deploy</phase>
<goals>
<goal>exec</goal>
</goals>
<configuration>
<arguments>
<argument>setup.py</argument>
<argument>register</argument>
<argument>sdist</argument>
<argument>upload</argument>
</arguments>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</pluginManagement>
</build>
<profiles>
<profile>
<id>cis</id>
<activation>
<property>
<name>cis</name>
</property>
</activation>
<properties>
<install.goal>install</install.goal>
</properties>
</profile>
</profiles>
</project>