Skip to content

Commit 44673e1

Browse files
authored
Merge pull request #598 from hazendaz/master
Site adjustments including hack to fix maven site issues on single module builds
2 parents 7ceb069 + 4556c07 commit 44673e1

File tree

1 file changed

+8
-13
lines changed

1 file changed

+8
-13
lines changed

pom.xml

Lines changed: 8 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<!--
33
4-
Copyright 2010-2023 the original author or authors.
4+
Copyright 2010-2024 the original author or authors.
55
66
Licensed under the Apache License, Version 2.0 (the "License");
77
you may not use this file except in compliance with the License.
@@ -27,7 +27,7 @@
2727

2828
<name>mybatis-parent</name>
2929
<description>The MyBatis parent POM.</description>
30-
<url>https://github.com/mybatis/parent</url>
30+
<url>https://www.mybatis.org/parent/</url>
3131
<inceptionYear>2010</inceptionYear>
3232
<organization>
3333
<name>MyBatis.org</name>
@@ -233,7 +233,7 @@
233233
<connection>scm:git:ssh://[email protected]/mybatis/parent.git</connection>
234234
<developerConnection>scm:git:ssh://[email protected]/mybatis/parent.git</developerConnection>
235235
<tag>HEAD</tag>
236-
<url>https://github.com/mybatis/parent</url>
236+
<url>https://github.com/mybatis/parent/</url>
237237
</scm>
238238
<issueManagement>
239239
<system>GitHub Issue Management</system>
@@ -261,7 +261,7 @@
261261

262262
<properties>
263263
<!-- Copyright -->
264-
<copyright>2023</copyright>
264+
<copyright>2024</copyright>
265265

266266
<!-- General configuration -->
267267
<allowed.build.jdks>[11,12),[17,18),[21,22),[22,23)</allowed.build.jdks>
@@ -306,9 +306,6 @@
306306
<!-- Due to maven bug, fix timestamp -->
307307
<timestamp>${maven.build.timestamp}</timestamp>
308308

309-
<!-- Parent Tracking on site -->
310-
<mybatis-parent.version>42-SNAPSHOT</mybatis-parent.version>
311-
312309
<!-- Dependency versions -->
313310
<asm.version>9.6</asm.version>
314311
<base-bundle.version>11</base-bundle.version>
@@ -370,6 +367,10 @@
370367
<!-- Add slow test groups here and annotate classes similar to @Tag('groupName'). -->
371368
<!-- Excluded groups are ran on github ci, to force here, pass -D"excludedGroups=" -->
372369
<excludedGroups />
370+
371+
<!-- Hack for single site builds so site:staging works as expected. Do not use with multi module!
372+
Instead adjust for fact that maven bug causes staging to be up one directory with 'reponame.git' -->
373+
<topSiteURL>${project.distributionManagement.site.url}</topSiteURL>
373374
</properties>
374375

375376
<build>
@@ -798,12 +799,6 @@
798799
<artifactId>maven-fluido-skin</artifactId>
799800
<version>${fluido.version}</version>
800801
</dependency>
801-
<dependency>
802-
<groupId>org.mybatis</groupId>
803-
<artifactId>mybatis-parent</artifactId>
804-
<version>${mybatis-parent.version}</version>
805-
<type>pom</type>
806-
</dependency>
807802
</dependencies>
808803
<!-- Execution like this will pick up in the normal site cycle -->
809804
<executions>

0 commit comments

Comments
 (0)