forked from qooxdoo-archive/maven-central-integration
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pom.xml
176 lines (163 loc) · 4.85 KB
/
pom.xml
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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
<?xml version="1.0" encoding="UTF-8"?>
<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">
<modelVersion>4.0.0</modelVersion>
<groupId>org.qooxdoo</groupId>
<artifactId>qooxdoo-sdk</artifactId>
<version>1.6</version>
<name>qooxdoo SDK maven integration</name>
<description>qooxdoo-sdk is used to create a JAR of the qooxdoo SDK and provide it at Maven Central.</description>
<url>http://qooxdoo.org</url>
<inceptionYear>2005</inceptionYear>
<parent>
<groupId>org.qooxdoo</groupId>
<artifactId>qooxdoo-maven-parent</artifactId>
<version>1.6</version>
</parent>
<licenses>
<license>
<name>LGPL</name>
<url>http://www.gnu.org/licenses/lgpl.html</url>
<distribution>repo</distribution>
</license>
<license>
<name>EPL</name>
<url>http://www.eclipse.org/org/documents/epl-v10.php</url>
<distribution>repo</distribution>
</license>
</licenses>
<organization>
<name>1&1 Internet AG</name>
<url>http://1and1.org</url>
</organization>
<developers>
<developer>
<name>Alexander Steitz</name>
<email>maven at qooxdoo.org</email>
<organization>1&1 Internet AG</organization>
<organizationUrl>http://qooxdoo.org</organizationUrl>
<roles>
<role>Developer</role>
</roles>
<timezone>+2</timezone>
</developer>
<developer>
<name>Daniel Wagner</name>
<email>maven at qooxdoo.org</email>
<organization>1&1 Internet AG</organization>
<organizationUrl>http://qooxdoo.org</organizationUrl>
<roles>
<role>Developer</role>
</roles>
<timezone>+2</timezone>
</developer>
</developers>
<issueManagement>
<system>Bugzilla</system>
<url>http://bugzilla.qooxdoo.org/</url>
</issueManagement>
<scm>
<connection>scm:git:git://github.com/qooxdoo/qooxdoo.git</connection>
<developerConnection>scm:git:[email protected]:qooxdoo/qooxdoo.git</developerConnection>
<url>https://github.com/qooxdoo/qooxdoo</url>
</scm>
<profiles>
<!-- Download the sdk from the scm -->
<profile>
<id>get-sdk-from-scm</id>
<activation>
<file>
<missing>target/classes/qooxdoo-sdk/version.txt</missing>
</file>
</activation>
<build>
<plugins>
<!-- Download the sdk from sourceforge -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>wagon-maven-plugin</artifactId>
<version>1.0-beta-3</version>
<executions>
<execution>
<id>download-sdk-release</id>
<phase>generate-resources</phase>
<goals>
<goal>download-single</goal>
</goals>
<configuration>
<url>http://downloads.sourceforge.net/qooxdoo</url>
<fromFile>qooxdoo-${project.version}-sdk.zip</fromFile>
<toDir>${project.build.directory}/downloads</toDir>
</configuration>
</execution>
</executions>
</plugin>
<!-- Unpack the downloaded sdk -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.2</version>
<executions>
<execution>
<id>prepare</id>
<phase>process-resources</phase>
<configuration>
<tasks>
<unzip src="${project.build.directory}/downloads/qooxdoo-${project.version}-sdk.zip" dest="target/classes" />
<move file="target/classes/qooxdoo-${project.version}-sdk" tofile="target/classes/qooxdoo-sdk" />
</tasks>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<!-- Run integration tests -->
<profile>
<id>run-its</id>
<activation>
<property>
<name>skipTests</name>
<value>!true</value>
</property>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-invoker-plugin</artifactId>
<version>1.3</version>
<configuration>
<debug>true</debug>
<projectsDirectory>src/it</projectsDirectory>
<pomIncludes>
<pomInclude>unpack-sdk/pom.xml</pomInclude>
</pomIncludes>
<postBuildHookScript>verify</postBuildHookScript>
<localRepositoryPath>${project.build.directory}/local-repo</localRepositoryPath>
<goals>
<goal>clean</goal>
<goal>integration-test</goal>
</goals>
<settingsFile>src/it/settings.xml</settingsFile>
<cloneProjectsTo>${project.build.directory}/it</cloneProjectsTo>
</configuration>
<executions>
<execution>
<id>integration-test</id>
<goals>
<goal>install</goal>
<goal>run</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>