forked from windup/windup-maven-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pom.xml
309 lines (278 loc) · 11 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
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
<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>
<parent>
<groupId>org.jboss</groupId>
<artifactId>jboss-parent</artifactId>
<version>22</version>
<relativePath />
</parent>
<groupId>org.jboss.windup.plugin</groupId>
<artifactId>windup-maven-plugin</artifactId>
<version>5.2.1-SNAPSHOT</version>
<packaging>maven-plugin</packaging>
<name>Windup Maven Plugin</name>
<url>http://windup.jboss.org</url>
<licenses>
<license>
<name>Eclipse Public License version 1.0</name>
<url>http://www.eclipse.org/legal/epl-v10.html</url>
</license>
</licenses>
<prerequisites>
<maven>3.2</maven>
</prerequisites>
<scm>
<tag>master</tag>
<url>http://github.com/windup/windup-maven-plugin</url>
<connection>scm:git:https://github.com/windup/windup-maven-plugin.git</connection>
<developerConnection>scm:git:[email protected]:windup/windup-maven-plugin.git</developerConnection>
</scm>
<organization>
<name>JBoss by Red Hat</name>
<url>http://www.jboss.org</url>
</organization>
<issueManagement>
<system>JBoss Jira</system>
<url>https://issues.jboss.org/browse/WINDUP</url>
</issueManagement>
<mailingLists>
<mailingList>
<name>Windup Rules Development and Usage</name>
<post>[email protected]</post>
<archive>http://lists.jboss.org/pipermail/windup-users/</archive>
</mailingList>
<mailingList>
<name>Windup Core Development</name>
<post>[email protected]</post>
<archive>http://lists.jboss.org/pipermail/windup-dev/</archive>
</mailingList>
</mailingLists>
<distributionManagement>
<snapshotRepository>
<id>ossrh</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
<repository>
<id>ossrh</id>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
</distributionManagement>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.target>1.8</maven.compiler.target>
<maven.compiler.source>1.8</maven.compiler.source>
<version.windupcore>5.2.1-SNAPSHOT</version.windupcore>
<version.windup-rulesets>${version.windupcore}</version.windup-rulesets>
<!-- For now, we need to pass this to the Mojo explicitly (through META-INF/versions.properties),
but it should be possible to figure that out from the Windup POM. -->
<version.forge>3.9.2.Final</version.forge>
<version.furnace>2.28.4.Final</version.furnace>
</properties>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.jboss.windup</groupId>
<artifactId>windup-bom</artifactId>
<version>${version.windupcore}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>org.jboss.windup.rules</groupId>
<artifactId>windup-rulesets</artifactId>
<version>${version.windup-rulesets}</version>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<!-- Maven plugin API -->
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-plugin-api</artifactId>
<version>3.3.9</version>
</dependency>
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-artifact</artifactId>
<version>3.3.9</version>
</dependency>
<dependency>
<groupId>org.apache.maven.plugin-tools</groupId>
<artifactId>maven-plugin-annotations</artifactId>
<version>3.4</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-utils</artifactId>
<version>3.0.22</version>
</dependency>
<!-- Logging and tests -->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.12</version>
<scope>test</scope>
</dependency>
<!-- Windup dependencies -->
<!-- This should be the addon which contains all the core Windup dependencies you need to run Windup. -->
<dependency>
<groupId>org.jboss.windup</groupId>
<artifactId>windup-tooling</artifactId>
<classifier>forge-addon</classifier>
</dependency>
<!-- But it isn't. The needed rest is referenced as deps in bootstrap. -->
<dependency>
<groupId>org.jboss.windup</groupId>
<artifactId>windup-bootstrap</artifactId>
</dependency>
<!-- Rules and data -->
<dependency>
<groupId>org.jboss.windup.maven</groupId>
<artifactId>nexus-indexer-data</artifactId>
<type>zip</type>
</dependency>
<dependency>
<groupId>org.jboss.windup.rules</groupId>
<artifactId>windup-rulesets</artifactId>
</dependency>
<dependency>
<groupId>org.jboss.windup.rules.apps</groupId>
<artifactId>windup-rules-java-project</artifactId>
<classifier>forge-addon</classifier>
</dependency>
<dependency>
<groupId>org.jboss.windup.rules.apps</groupId>
<artifactId>windup-rules-tattletale</artifactId>
<classifier>forge-addon</classifier>
<scope>provided</scope> <!-- Only needs a constant. -->
</dependency>
<!-- Furnace -->
<dependency>
<groupId>org.jboss.forge.furnace</groupId>
<artifactId>furnace-se</artifactId>
</dependency>
<dependency>
<groupId>org.jboss.forge.furnace</groupId>
<artifactId>furnace-api</artifactId>
</dependency>
<dependency>
<groupId>org.jboss.forge.furnace.container</groupId>
<!-- Windup switched from :cdi to :simple due to problems with Titan classloading. -->
<artifactId>simple</artifactId>
<classifier>forge-addon</classifier>
</dependency>
<!-- Forge -->
<dependency>
<groupId>org.jboss.forge.addon</groupId>
<artifactId>core</artifactId>
<classifier>forge-addon</classifier>
</dependency>
<dependency>
<groupId>org.apache.maven.plugin-testing</groupId>
<artifactId>maven-plugin-testing-harness</artifactId>
<version>3.3.0</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.eclipse.platform</groupId>
<artifactId>org.eclipse.core.resources</artifactId>
<version>3.13.200</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.eclipse.platform</groupId>
<artifactId>org.eclipse.text</artifactId>
<version>3.8.0</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.eclipse.platform</groupId>
<artifactId>org.eclipse.equinox.common</artifactId>
<version>3.14.100</version>
<scope>provided</scope>
</dependency>
</dependencies>
<build>
<resources>
<resource>
<directory>src/main/resources</directory>
<filtering>true</filtering>
</resource>
</resources>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-plugin-plugin</artifactId>
<!-- <version>3.4</version> -->
<configuration>
<goalPrefix>windup</goalPrefix>
<skipErrorNoDescriptorsFound>true</skipErrorNoDescriptorsFound>
</configuration>
<executions>
<execution>
<id>mojo-descriptor</id>
<goals>
<goal>descriptor</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>run-integration-test</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-invoker-plugin</artifactId>
<version>1.10</version>
<configuration>
<debug>true</debug>
<cloneProjectsTo>${project.build.directory}/it</cloneProjectsTo>
<pomIncludes>
<pomInclude>*/pom.xml</pomInclude>
</pomIncludes>
<postBuildHookScript>verify</postBuildHookScript>
<localRepositoryPath>${project.build.directory}/local-repo</localRepositoryPath>
<settingsFile>src/it/settings.xml</settingsFile>
<goals>
<goal>clean</goal>
<goal>test-compile</goal>
</goals>
</configuration>
<executions>
<execution>
<id>integration-test</id>
<goals>
<goal>install</goal>
<goal>integration-test</goal>
<goal>verify</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>java9+</id>
<activation>
<jdk>[9,)</jdk>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<argLine>--add-modules=java.se</argLine>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>