|
2 | 2 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
3 | 3 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"> |
4 | 4 | <modelVersion>4.0.0</modelVersion> |
5 | | - <parent> |
6 | | - <groupId>xalan</groupId> |
7 | | - <artifactId>xalan-j</artifactId> |
8 | | - <version>2.7.3</version> |
9 | | - </parent> |
10 | 5 | <groupId>org.mmbase.xalan</groupId> |
11 | 6 | <artifactId>xalan</artifactId> |
| 7 | + <version>2.7.3-1</version> |
| 8 | + |
12 | 9 | <name>Apache Xalan-Java</name> |
13 | 10 | <description>Apache's XSLT processor</description> |
| 11 | + <url>https://github.com/mmbase/xalan-java/</url> |
| 12 | + <scm> |
| 13 | + <url>${project.url}</url> |
| 14 | + </scm> |
| 15 | + <developers> |
| 16 | + <developer> |
| 17 | + <id>michiel</id> |
| 18 | + <name>Michiel Meeuwissen</name> |
| 19 | + </developer> |
| 20 | + </developers> |
| 21 | + <licenses> |
| 22 | + <license> |
| 23 | + <name>Apache License, Version 2.0</name> |
| 24 | + <url>https://www.apache.org/licenses/LICENSE-2.0.txt</url> |
| 25 | + <distribution>repo</distribution> |
| 26 | + </license> |
| 27 | + </licenses> |
14 | 28 | <properties> |
| 29 | + <xalan.version>2.7.3</xalan.version> |
15 | 30 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
16 | 31 | </properties> |
17 | 32 | <build> |
|
32 | 47 | </resources> |
33 | 48 |
|
34 | 49 | <plugins> |
35 | | - <plugin> |
36 | | - <groupId>org.apache.maven.plugins</groupId> |
37 | | - <artifactId>maven-surefire-plugin</artifactId> |
38 | | - </plugin> |
39 | 50 | <!-- https://github.com/vbmacher/cup-maven-plugin |
40 | 51 |
|
41 | 52 | NOTE: There is an XPathParser.java in both xalan/xsltc/compiler/ and |
|
87 | 98 |
|
88 | 99 | <plugin> |
89 | 100 | <groupId>org.apache.maven.plugins</groupId> |
90 | | - <artifactId>maven-shade-plugin</artifactId> |
| 101 | + <artifactId>maven-resources-plugin</artifactId> |
| 102 | + <version>3.3.1</version> |
| 103 | + </plugin> |
| 104 | + <plugin> |
| 105 | + <groupId>org.sonatype.central</groupId> |
| 106 | + <artifactId>central-publishing-maven-plugin</artifactId> |
| 107 | + <version>0.9.0</version> |
| 108 | + <extensions>true</extensions> |
| 109 | + <configuration> |
| 110 | + <publishingServerId>central</publishingServerId> |
| 111 | + <autoPublish>true</autoPublish> |
| 112 | + <waitUntil>published</waitUntil> |
| 113 | + <ignorePublishedComponents>true</ignorePublishedComponents> |
| 114 | + </configuration> |
| 115 | + </plugin> |
| 116 | + <plugin> |
| 117 | + <artifactId>maven-gpg-plugin</artifactId> |
| 118 | + <version>3.2.8</version> |
91 | 119 | <executions> |
92 | 120 | <execution> |
93 | | - <phase>package</phase> |
| 121 | + <id>sign-artifacts</id> |
| 122 | + <phase>verify</phase> |
94 | 123 | <goals> |
95 | | - <goal>shade</goal> |
| 124 | + <goal>sign</goal> |
96 | 125 | </goals> |
97 | | - <configuration> |
98 | | - <artifactSet> |
99 | | - <excludes> |
100 | | - <exclude>com.github.vbmacher:java-cup</exclude> |
101 | | - <exclude>commons-logging:commons-logging</exclude> |
102 | | - <exclude>org.apache.commons:commons-lang3</exclude> |
103 | | - <exclude>org.apache.ant:ant</exclude> |
104 | | - <exclude>org.apache.ant:ant-launcher</exclude> |
105 | | - <exclude>xalan:serializer</exclude> |
106 | | - <exclude>de.jflex:jflex</exclude> |
107 | | - </excludes> |
108 | | - </artifactSet> |
109 | | - <relocations> |
110 | | - <!-- We could instead make java-cup-runtime another dependency |
111 | | - provided externally, and perhaps should, but this |
112 | | - replicates the ant build's practice of including it |
113 | | - while keeping it from interfering with a user instance. |
114 | | - TODO: REVIEW. |
115 | | - --> |
116 | | - <relocation> |
117 | | - <pattern>java_cup.runtime</pattern> |
118 | | - <shadedPattern>org.apache.xalan.shaded.java_cup.runtime</shadedPattern> |
119 | | - </relocation> |
120 | | - </relocations> |
121 | | - </configuration> |
122 | 126 | </execution> |
123 | 127 | </executions> |
124 | 128 | </plugin> |
125 | | - |
126 | | - <!-- Copy generated jarfile up to xalan-java/build/, |
127 | | - for backward compatibility with Ant builds. --> |
128 | | - <plugin> |
129 | | - <groupId>org.apache.maven.plugins</groupId> |
130 | | - <artifactId>maven-dependency-plugin</artifactId> |
131 | | - </plugin> |
132 | | - <!-- And -source.jar --> |
133 | | - <plugin> |
134 | | - <groupId>org.apache.maven.plugins</groupId> |
135 | | - <artifactId>maven-resources-plugin</artifactId> |
136 | | - </plugin> |
137 | | - |
138 | 129 | </plugins> |
139 | 130 |
|
140 | 131 | </build> |
|
143 | 134 | <dependency> |
144 | 135 | <groupId>xalan</groupId> |
145 | 136 | <artifactId>serializer</artifactId> |
146 | | - </dependency> |
147 | | - <!-- For javadoc generation only, hence 'provided' scope --> |
148 | | - <dependency> |
149 | | - <groupId>xalan</groupId> |
150 | | - <artifactId>${xalan.taglet.artifactId}</artifactId> |
151 | | - <scope>provided</scope> |
| 137 | + <version>${xalan.version}</version> |
152 | 138 | </dependency> |
153 | 139 |
|
154 | 140 | <!-- https://mvnrepository.com/artifact/org.apache.bcel/bcel --> |
|
237 | 223 | <dependency> |
238 | 224 | <groupId>org.junit.jupiter</groupId> |
239 | 225 | <artifactId>junit-jupiter-engine</artifactId> |
| 226 | + <version>5.14.1</version> |
240 | 227 | <scope>test</scope> |
241 | 228 | </dependency> |
242 | 229 | <dependency> |
243 | 230 | <groupId>org.junit.jupiter</groupId> |
244 | 231 | <artifactId>junit-jupiter-params</artifactId> |
| 232 | + <version>5.14.1</version> |
245 | 233 | <scope>test</scope> |
246 | 234 | </dependency> |
247 | 235 | <dependency> |
248 | 236 | <groupId>org.mockito</groupId> |
249 | 237 | <artifactId>mockito-inline</artifactId> |
| 238 | + <version>5.2.0</version> |
250 | 239 | <scope>test</scope> |
251 | 240 | </dependency> |
252 | 241 | <dependency> |
253 | 242 | <groupId>org.mockito</groupId> |
254 | 243 | <artifactId>mockito-junit-jupiter</artifactId> |
| 244 | + <version>5.3.0</version> |
255 | 245 | <scope>test</scope> |
256 | 246 | </dependency> |
257 | 247 |
|
|
263 | 253 | <activation> |
264 | 254 | <!-- |
265 | 255 | Activate by default. Workaround for 'activeByDefault', which is broken |
266 | | - by design, see https://issues.apache.org/jira/browse/MNG-4917. |
| 256 | + by design, see |
267 | 257 | --> |
268 | 258 | <jdk>[1,)</jdk> |
269 | 259 | </activation> |
|
272 | 262 | <plugin> |
273 | 263 | <groupId>org.apache.maven.plugins</groupId> |
274 | 264 | <artifactId>maven-javadoc-plugin</artifactId> |
| 265 | + <version>3.12.0</version> |
| 266 | + <configuration> |
| 267 | + <excludePackageNames>xalan2jtaglet</excludePackageNames> |
| 268 | + <doclint>none</doclint> |
| 269 | + <tags> |
| 270 | + <tag> |
| 271 | + <name>xsl.usage</name> |
| 272 | + <placement>a</placement> |
| 273 | + <head>XSL Usage:</head> |
| 274 | + </tag> |
| 275 | + </tags> |
| 276 | + </configuration> |
| 277 | + |
| 278 | + <executions> |
| 279 | + <execution> |
| 280 | + <id>attach-javadocs</id> |
| 281 | + <goals> |
| 282 | + <goal>jar</goal> |
| 283 | + </goals> |
| 284 | + </execution> |
| 285 | + </executions> |
275 | 286 | </plugin> |
276 | 287 | </plugins> |
277 | 288 | </build> |
|
290 | 301 | <plugin> |
291 | 302 | <groupId>org.apache.maven.plugins</groupId> |
292 | 303 | <artifactId>maven-source-plugin</artifactId> |
| 304 | + <version>3.4.0</version> |
| 305 | + <executions> |
| 306 | + <execution> |
| 307 | + <id>attach-sources</id> |
| 308 | + <goals> |
| 309 | + <goal>jar-no-fork</goal> |
| 310 | + </goals> |
| 311 | + </execution> |
| 312 | + </executions> |
293 | 313 | </plugin> |
294 | 314 | </plugins> |
295 | 315 | </build> |
|
0 commit comments