forked from windup/windup
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pom.xml
578 lines (539 loc) · 24.7 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
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
<?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>
<parent>
<groupId>org.jboss</groupId>
<artifactId>jboss-parent</artifactId>
<version>22</version>
<relativePath />
</parent>
<groupId>org.jboss.windup</groupId>
<artifactId>windup-parent</artifactId>
<version>6.0.1-SNAPSHOT</version>
<packaging>pom</packaging>
<name>Windup Parent</name>
<description>Migration Tools</description>
<properties>
<version.forge>3.10.0.Final</version.forge>
<version.furnace>2.29.1.Final</version.furnace>
<version.titangraph>1.0.0</version.titangraph>
<version.janusgraph>0.3.1</version.janusgraph>
<version.tinkerpop.blueprints>3.3.3</version.tinkerpop.blueprints>
<version.freemarker>2.3.31</version.freemarker>
<version.jacoco>0.7.9</version.jacoco>
<windup.scm.connection>scm:git:https://github.com/windup/windup.git</windup.scm.connection>
<windup.developer.connection>scm:git:git@github.com:windup/windup.git</windup.developer.connection>
<windup.scm.url>http://github.com/windup/windup</windup.scm.url>
<!-- This keeps javadoc from failing on projects with no actual .java source files -->
<maven.javadoc.failOnError>false</maven.javadoc.failOnError>
<skipDeleteDeps>true</skipDeleteDeps> <!-- Don't delete deps from local repo by default. -->
<forkCount>.5C</forkCount>
<jacoco.argLine /> <!-- Will be set by the JaCoCo Maven plugin when active. -->
<furnace.dot.skip>true</furnace.dot.skip> <!-- Default to not spending time generating the (expensive to generate) dot files -->
<surefire-argLine>-Xms512m -Xmx2048m -XX:MaxMetaspaceSize=768m -XX:ReservedCodeCacheSize=128m</surefire-argLine>
</properties>
<scm>
<tag>master</tag>
<connection>${windup.scm.connection}</connection>
<developerConnection>${windup.developer.connection}</developerConnection>
<url>${windup.scm.url}</url>
</scm>
<issueManagement>
<system>JBoss Jira</system>
<url>https://issues.jboss.org/browse/WINDUP</url>
</issueManagement>
<mailingLists>
<mailingList>
<name>Windup Rules Development and Usage</name>
<post>windup-users@lists.jboss.org</post>
<archive>http://lists.jboss.org/pipermail/windup-users/</archive>
</mailingList>
<mailingList>
<name>Windup Core Development</name>
<post>windup-dev@lists.jboss.org</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>
<repositories>
<repository>
<!--
In windup-graph-impl artifact, the janusgraph-berkeleyje dependency defines the 'oracleReleases' repository in order to retrieve
artifact com.sleepycat:je:7.4.5 from Oracle Maven repo (http://download.oracle.com/maven/com/sleepycat/je/7.4.5/je-7.4.5.pom)
BUT Maven 3.8.1 "Block external HTTP repositories by default" (https://issues.apache.org/jira/browse/MNG-7118) so
here the HTTP*S* version of Oracle Maven repo is defined.
-->
<id>oracleReleases-mirror</id>
<name>oracleReleases-mirror</name>
<url>https://download.oracle.com/maven/</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>
<modules>
<module>bom</module>
<module>windup-test-harness</module>
<module>module-spec</module>
<module>forks/jdt</module>
<module>forks/gremlin-shaded</module>
<module>graph</module>
<module>config</module>
<module>config-xml</module>
<module>config-groovy</module>
<module>decompiler</module>
<module>java-ast</module>
<module>rules-base</module>
<module>rules-java</module>
<module>rules-java-ee</module>
<module>rules-java-archives</module>
<module>rules-java-diva</module>
<module>rules-tattletale</module>
<module>rules-xml</module>
<module>rules-yaml</module>
<module>exec</module>
<module>tooling</module>
<module>reporting</module>
<module>rules-java-project</module>
<module>ui</module>
<module>utils</module>
<module>test-files</module>
<module>tests</module>
<module>test-util</module>
<module>server-provider-spi</module>
<module>bootstrap</module>
<module>bootstraps-themed</module>
</modules>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.jboss.windup</groupId>
<artifactId>windup-bom</artifactId>
<version>${project.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>org.json</groupId>
<artifactId>json</artifactId>
<version>20160810</version>
</dependency>
<!-- WINDUP-1595 The version in Tattletale's POM is obsolete 3.15, let's force newer. -->
<dependency>
<groupId>org.javassist</groupId>
<artifactId>javassist</artifactId>
<version>3.23.1-GA</version>
</dependency>
<dependency>
<groupId>javax.annotation</groupId>
<artifactId>javax.annotation-api</artifactId>
<version>1.3.1</version>
</dependency>
<dependency>
<groupId>javax.activation</groupId>
<artifactId>javax.activation-api</artifactId>
<version>1.2.0</version>
</dependency>
<dependency>
<groupId>javax.transaction</groupId>
<artifactId>javax.transaction-api</artifactId>
<version>1.2</version>
</dependency>
<dependency>
<groupId>javax.xml.bind</groupId>
<artifactId>jaxb-api</artifactId>
<version>2.3.0</version>
</dependency>
<dependency>
<groupId>com.sun.xml.bind</groupId>
<artifactId>jaxb-impl</artifactId>
<version>2.3.0.1</version>
</dependency>
<dependency>
<groupId>com.sun.xml.bind</groupId>
<artifactId>jaxb-core</artifactId>
<version>2.3.0.1</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-core</artifactId>
<version>2.13.2</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>2.13.4</version>
</dependency>
<dependency>
<groupId>commons-collections</groupId>
<artifactId>commons-collections</artifactId>
<version>3.2.2</version>
</dependency>
<dependency>
<groupId>commons-beanutils</groupId>
<artifactId>commons-beanutils</artifactId>
<version>1.9.4</version>
</dependency>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>2.11.0</version>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.13.1</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<resources>
<resource>
<directory>src/main/resources</directory>
</resource>
</resources>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<excludes>
<exclude>${testExcludeString}</exclude>
</excludes>
<!-- http://maven.apache.org/surefire/maven-surefire-plugin/faq.html#late-property-evaluation -->
<argLine>${surefire-argLine}</argLine>
<reuseForks>false</reuseForks>
</configuration>
</plugin>
</plugins>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.2</version>
<configuration>
<compilerVersion>11</compilerVersion>
<source>11</source>
<target>11</target>
<encoding>UTF-8</encoding>
<meminitial>128m</meminitial>
<maxmem>512m</maxmem>
<fork>true</fork>
<compilerArgs>
<arg>-J-Xss4m</arg>
</compilerArgs>
</configuration>
</plugin>
<plugin>
<groupId>org.jboss.forge.furnace</groupId>
<artifactId>furnace-maven-plugin</artifactId>
<version>${version.furnace}</version>
<executions>
<execution>
<id>generate-dot</id>
<phase>prepare-package</phase>
<goals>
<goal>generate-dot</goal>
</goals>
<configuration>
<attach>true</attach>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>xml-maven-plugin</artifactId>
<version>1.0.1</version>
</plugin>
</plugins>
</pluginManagement>
</build>
<profiles>
<profile>
<id>non-release</id>
<activation>
<property>
<name>!performRelease</name>
</property>
</activation>
<modules>
</modules>
</profile>
<profile>
<id>cleanup</id>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<executions>
<execution>
<id>deleteLocalRepoProjectArtifacts</id>
<goals>
<goal>remove-project-artifact</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<id>deleteLocalRepoProjectDeps</id>
<goals>
<goal>purge-local-repository</goal>
</goals>
<configuration>
<skip>${skipDeleteDeps}</skip>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>javadocDist</id>
<properties>
<javadoc.branding>Windup ${project.version} Javadoc</javadoc.branding>
</properties>
<build>
<plugins>
<!-- Create overview.html from README.asciidoc. -->
<plugin>
<groupId>org.asciidoctor</groupId>
<artifactId>asciidoctor-maven-plugin</artifactId>
<version>1.5.2</version>
<executions>
<execution>
<id>render-asciidoc</id>
<phase>validate</phase>
<inherited>false</inherited>
<goals>
<goal>process-asciidoc</goal>
</goals>
</execution>
</executions>
<configuration>
<sourceDirectory>${basedir}</sourceDirectory>
<sourceDocumentName>README.asciidoc</sourceDocumentName>
<outputDirectory>${basedir}/build/target/</outputDirectory>
<backend>html5</backend>
</configuration>
</plugin>
<!-- Aggregate Javadoc. -->
<plugin>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.10.2</version>
<executions>
<execution>
<id>javadocs-dist</id>
<phase>validate</phase>
<goals>
<goal>aggregate-jar</goal>
</goals>
<configuration>
<debug>true</debug>
<verbose>true</verbose>
<maxmemory>2400m</maxmemory>
<encoding>ISO-8859-1</encoding> <!-- Workaround for non-UTF-8 javadoc comments. -->
<overview>build/target/README.html</overview>
<windowtitle>${javadoc.branding} API</windowtitle>
<doctitle>${javadoc.branding} API</doctitle>
<header>${javadoc.branding}</header>
<footer>${javadoc.branding}</footer>
<detectLinks>true</detectLinks>
<additionalparam>-link http://docs.jboss.org/forge/javadoc/2.15.2-SNAPSHOT/</additionalparam>
<includeDependencySources>true</includeDependencySources>
<dependencySourceExcludes>
<dependencySourceExclude>com.tinkerpop.frames:frames</dependencySourceExclude>
</dependencySourceExcludes>
<excludePackageNames>com.tinkerpop.frames,com.tinkerpop.frames.*,com.strobel.*,org.eclipse.*,org.jetbrains.*</excludePackageNames>
<groups>
<group>
<title>Windup Rules</title>
<packages>org.jboss.windup.rules.*</packages>
</group>
<group>
<title>Windup Core</title>
<packages>org.jboss.windup.*</packages>
</group>
</groups>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<!-- profile primary for CI, but using locally is good too -->
<profile>
<id>findbugs</id>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>findbugs-maven-plugin</artifactId>
<version>${version.findbugs.plugin}</version>
<configuration>
<!--
Enables analysis which takes more memory but finds more bugs.
If you run out of memory, changes the value of the effort element
to 'Low'.
-->
<effort>Max</effort>
<!-- Build doesn't fail if problems are found -->
<failOnError>false</failOnError>
<!-- Reports all bugs (other values are medium and max) -->
<threshold>Low</threshold>
<!-- Produces XML report -->
<xmlOutput>true</xmlOutput>
<!-- Configures the directory in which the XML report is created -->
<findbugsXmlOutputDirectory>${project.build.directory}/findbugs</findbugsXmlOutputDirectory>
<onlyAnalyze>org.jboss.windup.*</onlyAnalyze>
<maxHeap>1024</maxHeap>
</configuration>
<executions>
<!--
Ensures that FindBugs inspects source code when project is compiled.
-->
<execution>
<id>analyze-compile</id>
<phase>compile</phase>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>xml-maven-plugin</artifactId>
<configuration>
<transformationSets>
<transformationSet>
<!-- Configures the source directory of XML files. -->
<dir>${project.build.directory}/findbugs</dir>
<!-- Configures the directory in which the FindBugs report is written.-->
<outputDir>${project.build.directory}/findbugs</outputDir>
<!-- Selects the used stylesheet. -->
<stylesheet>default.xsl</stylesheet>
<fileMappers>
<!-- Configures the file extension of the output files. -->
<fileMapper implementation="org.codehaus.plexus.components.io.filemappers.FileExtensionMapper">
<targetExtension>.html</targetExtension>
</fileMapper>
</fileMappers>
</transformationSet>
</transformationSets>
</configuration>
<executions>
<!-- Ensures that the XSLT transformation is run when the project is compiled. -->
<execution>
<phase>compile</phase>
<goals>
<goal>transform</goal>
</goals>
</execution>
</executions>
<dependencies>
<dependency>
<groupId>com.google.code.findbugs</groupId>
<artifactId>findbugs</artifactId>
<version>3.0.1</version>
</dependency>
</dependencies>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>jacoco</id>
<modules>
<!-- Relying on Maven to build this module as the last one. -->
<module>coverage-report</module>
</modules>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<excludes>
<exclude>${testExcludeString}</exclude>
</excludes>
<!-- http://maven.apache.org/surefire/maven-surefire-plugin/faq.html#late-property-evaluation -->
<argLine>-Xms512m -Xmx2048m -XX:MaxMetaspaceSize=768m -XX:ReservedCodeCacheSize=128m @{jacoco.argLine}</argLine>
<reuseForks>false</reuseForks>
</configuration>
</plugin>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>${version.jacoco}</version>
<executions>
<execution>
<id>default-prepare-agent</id>
<phase>initialize</phase>
<goals>
<goal>prepare-agent</goal>
</goals>
<configuration>
<includes>
<include>org.jboss.windup.*</include>
</includes>
<propertyName>jacoco.argLine</propertyName>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>surefire-jdk11</id>
<activation>
<property>
<name>jdk.version</name>
<value>11</value>
</property>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<excludes>
<exclude>${testExcludeString}</exclude>
<exclude>org.jboss.windup.tests.application.WindupArchitectureMediumBinaryModeProcyonTest</exclude>
</excludes>
<!-- http://maven.apache.org/surefire/maven-surefire-plugin/faq.html#late-property-evaluation -->
<argLine>${surefire-argLine} --add-modules java.se</argLine>
<reuseForks>false</reuseForks>
<forkCount>1</forkCount>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>