|
25 | 25 |
|
26 | 26 | <licenses> |
27 | 27 | <license> |
28 | | - <name>>GNU Lesser General Public License, version 3</name> |
| 28 | + <name>GNU Lesser General Public License, version 3</name> |
29 | 29 | <url>https://opensource.org/licenses/LGPL-3</url> |
30 | 30 | <distribution>repo</distribution> |
31 | 31 | </license> |
|
40 | 40 |
|
41 | 41 | <properties> |
42 | 42 | <xproc.xmlcalabash.module.namespace>http://exist-db.org/xquery/xproc/xmlcalabash</xproc.xmlcalabash.module.namespace> |
43 | | - <xmlcalabash.version>1.1.15-96</xmlcalabash.version> |
| 43 | + <existdb.version>5.2.0</existdb.version> |
| 44 | + <xmlcalabash.version>1.1.30-99</xmlcalabash.version> |
| 45 | + <saxon.version>9.9.1-6</saxon.version> <!-- NOTE this must be compatible with the version used by both eXist-db and XML Calabash --> |
| 46 | + <xmlresolver.version>1.0.4</xmlresolver.version> <!-- NOTE this must be compatible with the version used by XML Calabash --> |
| 47 | + <xmlapis.version>1.4.01</xmlapis.version> <!-- NOTE this must be compatible with the version used by eXist-db --> |
44 | 48 |
|
45 | 49 | <java.version>1.8</java.version> |
46 | 50 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
|
59 | 63 | <dependency> |
60 | 64 | <groupId>org.exist-db</groupId> |
61 | 65 | <artifactId>exist-core</artifactId> |
62 | | - <version>3.0</version> |
| 66 | + <version>${existdb.version}</version> |
63 | 67 | <scope>provided</scope> |
64 | 68 | </dependency> |
65 | 69 | <dependency> |
|
68 | 72 | <version>${xmlcalabash.version}</version> |
69 | 73 | </dependency> |
70 | 74 | <dependency> |
71 | | - <groupId>com.google.code.findbugs</groupId> |
72 | | - <artifactId>jsr305</artifactId> |
73 | | - <version>3.0.2</version> |
| 75 | + <groupId>org.xmlresolver</groupId> |
| 76 | + <artifactId>xmlresolver</artifactId> |
| 77 | + <version>${xmlresolver.version}</version> |
| 78 | + </dependency> |
| 79 | + <dependency> |
| 80 | + <groupId>net.sf.saxon</groupId> |
| 81 | + <artifactId>Saxon-HE</artifactId> |
| 82 | + <version>9.9.1-6</version> |
| 83 | + </dependency> |
| 84 | + <dependency> |
| 85 | + <groupId>com.evolvedbinary.j8fu</groupId> |
| 86 | + <artifactId>j8fu</artifactId> |
| 87 | + <version>1.23.0</version> |
| 88 | + </dependency> |
| 89 | + <dependency> |
| 90 | + <groupId>org.apache.logging.log4j</groupId> |
| 91 | + <artifactId>log4j-api</artifactId> |
| 92 | + <version>2.13.1</version> |
| 93 | + </dependency> |
| 94 | + <dependency> |
| 95 | + <groupId>xml-apis</groupId> |
| 96 | + <artifactId>xml-apis</artifactId> |
| 97 | + <version>${xmlapis.version}</version> |
74 | 98 | </dependency> |
75 | 99 | <dependency> |
76 | 100 | <groupId>junit</groupId> |
77 | 101 | <artifactId>junit</artifactId> |
78 | 102 | <version>4.13</version> |
79 | 103 | <scope>test</scope> |
80 | 104 | </dependency> |
81 | | - |
82 | 105 | </dependencies> |
83 | 106 |
|
84 | 107 | <build> |
| 108 | + |
| 109 | + <testResources> |
| 110 | + <testResource> |
| 111 | + <directory>src/test/resources</directory> |
| 112 | + <filtering>false</filtering> |
| 113 | + </testResource> |
| 114 | + <testResource> |
| 115 | + <directory>src/test/resources-filtered</directory> |
| 116 | + <filtering>true</filtering> |
| 117 | + </testResource> |
| 118 | + </testResources> |
| 119 | + |
85 | 120 | <plugins> |
86 | 121 | <plugin> |
87 | 122 | <groupId>com.mycila</groupId> |
|
118 | 153 | </excludes> |
119 | 154 | </configuration> |
120 | 155 | </plugin> |
| 156 | + <plugin> |
| 157 | + <groupId>org.apache.maven.plugins</groupId> |
| 158 | + <artifactId>maven-dependency-plugin</artifactId> |
| 159 | + <version>3.1.2</version> |
| 160 | + <executions> |
| 161 | + <execution> |
| 162 | + <id>analyze</id> |
| 163 | + <goals> |
| 164 | + <goal>analyze-only</goal> |
| 165 | + </goals> |
| 166 | + </execution> |
| 167 | + </executions> |
| 168 | + </plugin> |
121 | 169 | <plugin> |
122 | 170 | <groupId>org.apache.maven.plugins</groupId> |
123 | 171 | <artifactId>maven-compiler-plugin</artifactId> |
|
149 | 197 | </execution> |
150 | 198 | </executions> |
151 | 199 | </plugin> |
| 200 | + <plugin> |
| 201 | + <groupId>org.apache.maven.plugins</groupId> |
| 202 | + <artifactId>maven-surefire-plugin</artifactId> |
| 203 | + <version>3.0.0-M4</version> |
| 204 | + <configuration> |
| 205 | + <argLine>-Dlog4j.configurationFile=${project.build.testOutputDirectory}/log4j2.xml</argLine> |
| 206 | + </configuration> |
| 207 | + </plugin> |
152 | 208 | <plugin> |
153 | 209 | <groupId>org.apache.maven.plugins</groupId> |
154 | 210 | <artifactId>maven-jar-plugin</artifactId> |
|
262 | 318 | <shadedClassifierName>exist</shadedClassifierName> |
263 | 319 | <artifactSet> |
264 | 320 | <excludes> |
265 | | - <exclude>com.thaiopensource:jing</exclude> |
| 321 | + <exclude>com.ibm.icu:icu4j</exclude> |
| 322 | + <exclude>xml-apis:xml-apis</exclude> |
| 323 | + <exclude>xerces:xercesImpl</exclude> |
| 324 | + <exclude>org.relaxng:jing</exclude> |
| 325 | + <exclude>org.ccil.cowan.tagsoup:tagsoup</exclude> |
| 326 | + <exclude>com.google.code.findbugs:jsr305</exclude> |
| 327 | + <exclude>isorelax:isorelax</exclude> |
| 328 | + <exclude>javax.servlet:javax.servlet-api</exclude> |
266 | 329 | <exclude>commons-codec:commons-codec</exclude> |
267 | 330 | <exclude>commons-io:commons-io</exclude> |
268 | 331 | <exclude>commons-logging:commons-logging</exclude> |
269 | 332 | <exclude>org.apache.logging.log4j:*</exclude> |
270 | 333 | <exclude>org.apache.ant:*</exclude> |
271 | 334 | <exclude>net.sf.saxon:Saxon-HE</exclude> |
272 | | - <exclude>javax.servlet:javax.servlet-api</exclude> |
273 | 335 | <exclude>org.apache.httpcomponents:*</exclude> |
274 | 336 | <exclude>commons-fileupload:commons-fileupload</exclude> |
275 | 337 | <exclude>org.slf4j:*</exclude> |
276 | | - <exclude>isorelax:isorelax</exclude> |
| 338 | + <exclude>com.evolvedbinary.j8fu:j8fu</exclude> |
277 | 339 | </excludes> |
278 | 340 | </artifactSet> |
279 | 341 | <transformers> |
|
290 | 352 | <resource>META-INF/README.md</resource> |
291 | 353 | <file>README.md</file> |
292 | 354 | </transformer> |
| 355 | + <transformer implementation="org.apache.maven.plugins.shade.resource.DontIncludeResourceTransformer"> |
| 356 | + <resource>log4j2.xml</resource> |
| 357 | + </transformer> |
293 | 358 | </transformers> |
294 | 359 | </configuration> |
295 | 360 | </execution> |
|
0 commit comments