diff --git a/.asf.yaml b/.asf.yaml
index 09e58fc8d..d6a044a18 100644
--- a/.asf.yaml
+++ b/.asf.yaml
@@ -28,8 +28,15 @@ github:
squash: true
merge: false
rebase: true
+ protected_branches:
+ master: { }
+ maven-site-plugin-3.x: { }
+ maven-site-plugin-3.12.x: { }
+ pull_requests:
+ del_branch_on_merge: true
+ features:
+ issues: true
notifications:
commits: commits@maven.apache.org
issues: issues@maven.apache.org
pullrequests: issues@maven.apache.org
- jira_options: link label comment
diff --git a/.github/ISSUE_TEMPLATE/BUG.yml b/.github/ISSUE_TEMPLATE/BUG.yml
new file mode 100644
index 000000000..699181ff1
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/BUG.yml
@@ -0,0 +1,48 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+# https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/syntax-for-githubs-form-schema
+
+name: Bug Report
+description: File a bug report
+labels: ["bug"]
+
+body:
+ - type: markdown
+ attributes:
+ value: |
+ Thanks for taking the time to fill out this bug report.
+
+ Simple fixes in single PRs do not require issues.
+
+ **Do you use the latest project version?**
+
+ - type: input
+ id: version
+ attributes:
+ label: Affected version
+ validations:
+ required: true
+
+ - type: textarea
+ id: message
+ attributes:
+ label: Bug description
+ validations:
+ required: true
+
+
diff --git a/.github/ISSUE_TEMPLATE/FEATURE.yml b/.github/ISSUE_TEMPLATE/FEATURE.yml
new file mode 100644
index 000000000..ddfd1a45e
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/FEATURE.yml
@@ -0,0 +1,35 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+# https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/syntax-for-githubs-form-schema
+
+name: Feature request
+description: File a proposal for new feature, improvement
+labels: ["enhancement"]
+
+body:
+ - type: markdown
+ attributes:
+ value: |
+ Thanks for taking the time to fill out this new feature, improvement proposal.
+
+ - type: textarea
+ id: message
+ attributes:
+ label: New feature, improvement proposal
+ validations:
+ required: true
diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml
new file mode 100644
index 000000000..ba0544b5b
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/config.yml
@@ -0,0 +1,27 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+# https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/configuring-issue-templates-for-your-repository#configuring-the-template-chooser
+
+blank_issues_enabled: false
+
+contact_links:
+
+ - name: Project Mailing Lists
+ url: https://maven.apache.org/mailing-lists.html
+ about: Please ask a question or discuss here
+
diff --git a/.github/dependabot.yml b/.github/dependabot.yml
index eb730a80f..434646937 100644
--- a/.github/dependabot.yml
+++ b/.github/dependabot.yml
@@ -16,24 +16,19 @@
#
version: 2
updates:
-- package-ecosystem: maven
- directory: "/"
- schedule:
- interval: daily
- time: '04:00'
- open-pull-requests-limit: 10
- ignore:
- # ignore Java 8+ dependencies
- - dependency-name: org.mockito:mockito-core
- versions:
- - ">= 3.0"
- - dependency-name: org.apache.commons:commons-lang3
- versions:
- - ">= 3.9"
- - dependency-name: commons-io:commons-io
- versions:
- - ">= 2.7"
- # Ignore Maven 3.2.1+
- - dependency-name: org.apache.maven.plugin-testing:maven-plugin-testing-tools
- versions:
- - ">=3.2.0"
\ No newline at end of file
+
+ - package-ecosystem: "maven"
+ directory: "/"
+ schedule:
+ interval: "daily"
+
+ - package-ecosystem: "github-actions"
+ directory: "/"
+ schedule:
+ interval: "daily"
+
+ - package-ecosystem: "maven"
+ directory: "/"
+ schedule:
+ interval: "daily"
+ target-branch: "maven-site-plugin-3.x"
diff --git a/.github/release-drafter-3.x.yml b/.github/release-drafter-3.x.yml
new file mode 100644
index 000000000..7438f1117
--- /dev/null
+++ b/.github/release-drafter-3.x.yml
@@ -0,0 +1,18 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
+_extends: maven-gh-actions-shared:.github/release-drafter.yml
diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml
index e4262a51a..eaea796b4 100644
--- a/.github/release-drafter.yml
+++ b/.github/release-drafter.yml
@@ -16,4 +16,6 @@
# under the License.
_extends: maven-gh-actions-shared
-tag-template: maven-site-plugin-$NEXT_MINOR_VERSION
+
+include-pre-releases: true
+prerelease: true
diff --git a/.github/workflows/maven-verify.yml b/.github/workflows/maven-verify.yml
index bbd778653..932827cf9 100644
--- a/.github/workflows/maven-verify.yml
+++ b/.github/workflows/maven-verify.yml
@@ -24,4 +24,4 @@ on:
jobs:
build:
name: Verify
- uses: apache/maven-gh-actions-shared/.github/workflows/maven-verify.yml@v2
+ uses: apache/maven-gh-actions-shared/.github/workflows/maven-verify.yml@v4
diff --git a/.github/workflows/pr-automation.yml b/.github/workflows/pr-automation.yml
new file mode 100644
index 000000000..530759572
--- /dev/null
+++ b/.github/workflows/pr-automation.yml
@@ -0,0 +1,27 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
+name: PR Automation
+on:
+ pull_request_target:
+ types:
+ - closed
+
+jobs:
+ pr-automation:
+ name: PR Automation
+ uses: apache/maven-gh-actions-shared/.github/workflows/pr-automation.yml@v4
diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml
index 8f5959c96..00025e72f 100644
--- a/.github/workflows/release-drafter.yml
+++ b/.github/workflows/release-drafter.yml
@@ -22,6 +22,8 @@ on:
push:
branches:
- master
+ workflow_dispatch:
+
jobs:
update_release_draft:
- uses: apache/maven-gh-actions-shared/.github/workflows/release-drafter.yml@v2
+ uses: apache/maven-gh-actions-shared/.github/workflows/release-drafter.yml@v4
diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml
new file mode 100644
index 000000000..1f244a551
--- /dev/null
+++ b/.github/workflows/stale.yml
@@ -0,0 +1,28 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
+name: Stale
+
+on:
+ schedule:
+ - cron: '12 5 * * *'
+ issue_comment:
+ types: [ 'created' ]
+
+jobs:
+ stale:
+ uses: 'apache/maven-gh-actions-shared/.github/workflows/stale.yml@v4'
diff --git a/Jenkinsfile b/Jenkinsfile
index a6f5f3ddb..02ccc0c82 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -17,4 +17,4 @@
* under the License.
*/
-asfMavenTlpPlgnBuild(jdk:['8','11','14'], maven:['3.3.x', '3.5.x', '3.8.x'])
+asfMavenTlpPlgnBuild(jdk:['8','11','17'], maven:['3.6.x', '3.8.x', '3.9.x'])
diff --git a/LICENSE b/LICENSE
new file mode 100644
index 000000000..d64569567
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,202 @@
+
+ Apache License
+ Version 2.0, January 2004
+ http://www.apache.org/licenses/
+
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+ 1. Definitions.
+
+ "License" shall mean the terms and conditions for use, reproduction,
+ and distribution as defined by Sections 1 through 9 of this document.
+
+ "Licensor" shall mean the copyright owner or entity authorized by
+ the copyright owner that is granting the License.
+
+ "Legal Entity" shall mean the union of the acting entity and all
+ other entities that control, are controlled by, or are under common
+ control with that entity. For the purposes of this definition,
+ "control" means (i) the power, direct or indirect, to cause the
+ direction or management of such entity, whether by contract or
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
+ outstanding shares, or (iii) beneficial ownership of such entity.
+
+ "You" (or "Your") shall mean an individual or Legal Entity
+ exercising permissions granted by this License.
+
+ "Source" form shall mean the preferred form for making modifications,
+ including but not limited to software source code, documentation
+ source, and configuration files.
+
+ "Object" form shall mean any form resulting from mechanical
+ transformation or translation of a Source form, including but
+ not limited to compiled object code, generated documentation,
+ and conversions to other media types.
+
+ "Work" shall mean the work of authorship, whether in Source or
+ Object form, made available under the License, as indicated by a
+ copyright notice that is included in or attached to the work
+ (an example is provided in the Appendix below).
+
+ "Derivative Works" shall mean any work, whether in Source or Object
+ form, that is based on (or derived from) the Work and for which the
+ editorial revisions, annotations, elaborations, or other modifications
+ represent, as a whole, an original work of authorship. For the purposes
+ of this License, Derivative Works shall not include works that remain
+ separable from, or merely link (or bind by name) to the interfaces of,
+ the Work and Derivative Works thereof.
+
+ "Contribution" shall mean any work of authorship, including
+ the original version of the Work and any modifications or additions
+ to that Work or Derivative Works thereof, that is intentionally
+ submitted to Licensor for inclusion in the Work by the copyright owner
+ or by an individual or Legal Entity authorized to submit on behalf of
+ the copyright owner. For the purposes of this definition, "submitted"
+ means any form of electronic, verbal, or written communication sent
+ to the Licensor or its representatives, including but not limited to
+ communication on electronic mailing lists, source code control systems,
+ and issue tracking systems that are managed by, or on behalf of, the
+ Licensor for the purpose of discussing and improving the Work, but
+ excluding communication that is conspicuously marked or otherwise
+ designated in writing by the copyright owner as "Not a Contribution."
+
+ "Contributor" shall mean Licensor and any individual or Legal Entity
+ on behalf of whom a Contribution has been received by Licensor and
+ subsequently incorporated within the Work.
+
+ 2. Grant of Copyright License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ copyright license to reproduce, prepare Derivative Works of,
+ publicly display, publicly perform, sublicense, and distribute the
+ Work and such Derivative Works in Source or Object form.
+
+ 3. Grant of Patent License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ (except as stated in this section) patent license to make, have made,
+ use, offer to sell, sell, import, and otherwise transfer the Work,
+ where such license applies only to those patent claims licensable
+ by such Contributor that are necessarily infringed by their
+ Contribution(s) alone or by combination of their Contribution(s)
+ with the Work to which such Contribution(s) was submitted. If You
+ institute patent litigation against any entity (including a
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
+ or a Contribution incorporated within the Work constitutes direct
+ or contributory patent infringement, then any patent licenses
+ granted to You under this License for that Work shall terminate
+ as of the date such litigation is filed.
+
+ 4. Redistribution. You may reproduce and distribute copies of the
+ Work or Derivative Works thereof in any medium, with or without
+ modifications, and in Source or Object form, provided that You
+ meet the following conditions:
+
+ (a) You must give any other recipients of the Work or
+ Derivative Works a copy of this License; and
+
+ (b) You must cause any modified files to carry prominent notices
+ stating that You changed the files; and
+
+ (c) You must retain, in the Source form of any Derivative Works
+ that You distribute, all copyright, patent, trademark, and
+ attribution notices from the Source form of the Work,
+ excluding those notices that do not pertain to any part of
+ the Derivative Works; and
+
+ (d) If the Work includes a "NOTICE" text file as part of its
+ distribution, then any Derivative Works that You distribute must
+ include a readable copy of the attribution notices contained
+ within such NOTICE file, excluding those notices that do not
+ pertain to any part of the Derivative Works, in at least one
+ of the following places: within a NOTICE text file distributed
+ as part of the Derivative Works; within the Source form or
+ documentation, if provided along with the Derivative Works; or,
+ within a display generated by the Derivative Works, if and
+ wherever such third-party notices normally appear. The contents
+ of the NOTICE file are for informational purposes only and
+ do not modify the License. You may add Your own attribution
+ notices within Derivative Works that You distribute, alongside
+ or as an addendum to the NOTICE text from the Work, provided
+ that such additional attribution notices cannot be construed
+ as modifying the License.
+
+ You may add Your own copyright statement to Your modifications and
+ may provide additional or different license terms and conditions
+ for use, reproduction, or distribution of Your modifications, or
+ for any such Derivative Works as a whole, provided Your use,
+ reproduction, and distribution of the Work otherwise complies with
+ the conditions stated in this License.
+
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
+ any Contribution intentionally submitted for inclusion in the Work
+ by You to the Licensor shall be under the terms and conditions of
+ this License, without any additional terms or conditions.
+ Notwithstanding the above, nothing herein shall supersede or modify
+ the terms of any separate license agreement you may have executed
+ with Licensor regarding such Contributions.
+
+ 6. Trademarks. This License does not grant permission to use the trade
+ names, trademarks, service marks, or product names of the Licensor,
+ except as required for reasonable and customary use in describing the
+ origin of the Work and reproducing the content of the NOTICE file.
+
+ 7. Disclaimer of Warranty. Unless required by applicable law or
+ agreed to in writing, Licensor provides the Work (and each
+ Contributor provides its Contributions) on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+ implied, including, without limitation, any warranties or conditions
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+ PARTICULAR PURPOSE. You are solely responsible for determining the
+ appropriateness of using or redistributing the Work and assume any
+ risks associated with Your exercise of permissions under this License.
+
+ 8. Limitation of Liability. In no event and under no legal theory,
+ whether in tort (including negligence), contract, or otherwise,
+ unless required by applicable law (such as deliberate and grossly
+ negligent acts) or agreed to in writing, shall any Contributor be
+ liable to You for damages, including any direct, indirect, special,
+ incidental, or consequential damages of any character arising as a
+ result of this License or out of the use or inability to use the
+ Work (including but not limited to damages for loss of goodwill,
+ work stoppage, computer failure or malfunction, or any and all
+ other commercial damages or losses), even if such Contributor
+ has been advised of the possibility of such damages.
+
+ 9. Accepting Warranty or Additional Liability. While redistributing
+ the Work or Derivative Works thereof, You may choose to offer,
+ and charge a fee for, acceptance of support, warranty, indemnity,
+ or other liability obligations and/or rights consistent with this
+ License. However, in accepting such obligations, You may act only
+ on Your own behalf and on Your sole responsibility, not on behalf
+ of any other Contributor, and only if You agree to indemnify,
+ defend, and hold each Contributor harmless for any liability
+ incurred by, or claims asserted against, such Contributor by reason
+ of your accepting any such warranty or additional liability.
+
+ END OF TERMS AND CONDITIONS
+
+ APPENDIX: How to apply the Apache License to your work.
+
+ To apply the Apache License to your work, attach the following
+ boilerplate notice, with the fields enclosed by brackets "[]"
+ replaced with your own identifying information. (Don't include
+ the brackets!) The text should be enclosed in the appropriate
+ comment syntax for the file format. We also recommend that a
+ file or class name and description of purpose be included on the
+ same "printed page" as the copyright notice for easier
+ identification within third-party archives.
+
+ Copyright [yyyy] [name of copyright owner]
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
diff --git a/README.md b/README.md
index 67ab809f0..622933bdd 100644
--- a/README.md
+++ b/README.md
@@ -17,14 +17,15 @@
Contributing to [Apache Maven Site Plugin](https://maven.apache.org/plugins/maven-site-plugin/)
======================
-[][jira]
[][license]
-[](https://search.maven.org/artifact/org.apache.maven.plugins/maven-site-plugin)
+[](https://search.maven.org/artifact/org.apache.maven.plugins/maven-site-plugin)
+[](https://search.maven.org/artifact/org.apache.maven.plugins/maven-site-plugin)
+[](https://github.com/jvm-repo-rebuild/reproducible-central/blob/master/content/org/apache/maven/plugins/maven-site-plugin/README.md)
[][build]
[][test-results]
-You have found a bug or you have an idea for a cool new feature? Contributing
+You have found a bug, or you have an idea for a cool new feature? Contributing
code is a great way to give something back to the open source community. Before
you dig right into the code, there are a few guidelines that we need
contributors to follow so that we can have a chance of keeping on top of
@@ -33,7 +34,6 @@ things.
Getting Started
---------------
-+ Make sure you have a [JIRA account](https://issues.apache.org/jira/).
+ Make sure you have a [GitHub account](https://github.com/signup/free).
+ If you're planning to implement a new feature, it makes sense to discuss your changes
on the [dev list][ml-list] first.
@@ -59,37 +59,23 @@ There are some guidelines which will make applying PRs easier for us:
+ Create minimal diffs - disable on save actions like reformat source code or organize imports.
If you feel the source code should be reformatted, create a separate PR for this change.
+ Check for unnecessary whitespace with `git diff --check` before committing.
-+ Make sure your commit messages are in the proper format. Your commit message should contain the key of the JIRA issue.
-```
-[MSITE-XXX] - Subject of the JIRA Ticket
- Optional supplemental description.
-```
+ Make sure you have added the necessary tests (JUnit/IT) for your changes.
+ Run all the tests with `mvn -Prun-its verify` to assure nothing else was accidentally broken.
+ Submit a pull request to the repository in the Apache organization.
-+ Update your JIRA ticket and include a link to the pull request in the ticket.
If you plan to contribute on a regular basis, please consider filing a [contributor license agreement][cla].
-Making Trivial Changes
-----------------------
-
-For trivial changes to comments and documentation, it is not always
-necessary to create a new ticket in JIRA. In this case, it is appropriate to
-start the first line of a commit with '(doc)' instead of a ticket number.
-
Additional Resources
--------------------
+ [Contributing patches](https://maven.apache.org/guides/development/guide-maven-development.html#Creating_and_submitting_a_patch)
-+ [Apache Maven Site Plugin JIRA project page][jira]
+ [Contributor License Agreement][cla]
+ [General GitHub documentation](https://help.github.com/)
+ [GitHub pull request documentation](https://help.github.com/send-pull-requests/)
-+ [Apache Maven Twitter Account](https://twitter.com/ASFMavenProject)
-+ #Maven IRC channel on freenode.org
++ [Apache Maven X Account](https://x.com/ASFMavenProject)
++ [Apache Maven Bluesky Account](https://bsky.app/profile/maven.apache.org)
++ [Apache Maven Mastodon Account](https://mastodon.social/deck/@ASFMavenProject@fosstodon.org)
-[jira]: https://issues.apache.org/jira/projects/MSITE/
[license]: https://www.apache.org/licenses/LICENSE-2.0
[ml-list]: https://maven.apache.org/mailing-lists.html
[code-style]: https://maven.apache.org/developers/conventions/code.html
diff --git a/pom.xml b/pom.xml
index d8afa4598..8b8f52185 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1,5 +1,4 @@
-
-
4.0.0org.apache.maven.pluginsmaven-plugins
- 34
+ 45maven-site-plugin
- 3.12.1-SNAPSHOT
+ 4.0.0-M17-SNAPSHOTmaven-pluginApache Maven Site Plugin
@@ -176,16 +174,16 @@ under the License.
scm:git:https://gitbox.apache.org/repos/asf/maven-site-plugin.gitscm:git:https://gitbox.apache.org/repos/asf/maven-site-plugin.git
- https://github.com/apache/maven-site-plugin/tree/${project.scm.tag}HEAD
+ https://github.com/apache/maven-site-plugin/tree/${project.scm.tag}
- JIRA
- https://issues.apache.org/jira/browse/MSITE
+ GitHub Issues
+ https://github.com/apache/maven-site-plugin/issuesJenkins
- https://ci-builds.apache.org/job/Maven/job/maven-box/job/maven-site-plugin/
+ https://ci-maven.apache.org/job/Maven/job/maven-box/job/maven-site-plugin/
@@ -195,42 +193,46 @@ under the License.
- 3.2.58
-
+ 3.6.3
- 1.11.1
- 1.11.1
- 9.4.46.v20220331
- 3.5.1
+ 9.4.57.v20241219
+ 2.0.0
+ 2.0.0
+ 3.5.31.7.36
- 3.1.2
- 3.3.2
- 3.16.0
- 3.2.0
- 3.2.2
- 2.22.2
- 2.22.2
- 2022-04-16T21:02:16Z
-
+ 3.5.0
+ 3.10.1
+ 3.25.0
+ 3.5.0
+ 3.7.0
+ 3.5.1
+ 3.15.0
+ 3.2.1
+ 3.1.0
+ 4.0.0
+ 2.0.0-M11
+ 2024-07-17T13:43:56Z
+
+ 3.9.1org.apache.maven.reportingmaven-reporting-api
- 3.1.0
+ 4.0.0org.apache.maven.reportingmaven-reporting-exec
- 1.6.0
+ 2.0.0org.apache.maven.sharedmaven-shared-utils
- 3.3.4
+ 3.4.2
@@ -244,7 +246,7 @@ under the License.
org.apache.mavenmaven-compat${mavenVersion}
- provided
+ testorg.apache.maven
@@ -254,7 +256,7 @@ under the License.
org.apache.maven
- maven-aether-provider
+ maven-resolver-provider${mavenVersion}provided
@@ -286,34 +288,44 @@ under the License.
org.apache.mavenmaven-archiver
- 3.5.2
+ 3.6.6
+
+
+ commons-io
+ commons-io
+ 2.21.0org.apache.maven.plugin-toolsmaven-plugin-annotations
+ ${version.maven-plugin-tools}
+ provided
+
+
+ javax.inject
+ javax.inject
+ 1provided
- org.sonatype.sisu
- sisu-inject-plexus
- 1.4.2
+ org.eclipse.sisu
+ org.eclipse.sisu.plexusprovided
-
org.codehaus.plexusplexus-archiver
- 4.2.5
+ 4.11.0org.codehaus.plexusplexus-i18n
- 1.0-beta-10
+ 1.1.0org.codehaus.plexus
@@ -324,7 +336,10 @@ under the License.
org.codehaus.plexusplexus-utils
- 3.3.1
+
+
+ org.codehaus.plexus
+ plexus-xml
@@ -333,17 +348,11 @@ under the License.
doxia-sink-api${doxiaVersion}
-
org.apache.maven.doxiadoxia-core${doxiaVersion}
-
- org.apache.maven.doxia
- doxia-module-xhtml
- ${doxiaVersion}
- org.apache.maven.doxiadoxia-module-xhtml5
@@ -372,28 +381,11 @@ under the License.
${doxiaVersion}runtime
-
- org.apache.maven.doxia
- doxia-module-confluence
- ${doxiaVersion}
- runtime
-
-
- org.apache.maven.doxia
- doxia-module-docbook-simple
- ${doxiaVersion}
- runtime
-
-
- org.apache.maven.doxia
- doxia-module-twiki
- ${doxiaVersion}
- runtime
-
+
org.apache.maven.doxia
- doxia-decoration-model
+ doxia-site-model${doxiaSitetoolsVersion}
@@ -407,12 +399,6 @@ under the License.
org.apache.maven.doxiadoxia-integration-tools${doxiaSitetoolsVersion}
-
-
- org.codehaus.plexus
- plexus-container-default
-
-
@@ -436,6 +422,12 @@ under the License.
+
+ org.apache.commons
+ commons-lang3
+ 3.20.0
+
+
javax.servletjavax.servlet-api
@@ -449,6 +441,12 @@ under the License.
${jettyVersion}
+
+ org.eclipse.jetty
+ jetty-http
+ ${jettyVersion}
+
+
org.eclipse.jettyjetty-servlet
@@ -480,7 +478,24 @@ under the License.
${jettyVersion}test
-
+
+ org.junit.jupiter
+ junit-jupiter-api
+ test
+
+
+
+ org.junit.vintage
+ junit-vintage-engine
+ test
+
+
+ org.mockito
+ mockito-core
+ 4.11.0
+
+ test
+ org.slf4jslf4j-api
@@ -502,24 +517,11 @@ under the License.
test
-
- commons-io
- commons-io
- 2.11.0
- test
-
-
org.apache.maven.plugin-testingmaven-plugin-testing-harness
- 3.3.0
- test
-
-
- junit
- junit
- 4.13.2
+ 3.5.1test
@@ -529,6 +531,35 @@ under the License.
run-its
+
+ org.apache.maven.plugins
+ maven-clean-plugin
+
+
+
+ delete-0-byte-site-descriptors
+
+ clean
+
+ pre-integration-test
+
+ true
+
+
+ ${settings.localRepository}/org/apache/apache
+
+ **/*-site*.xml
+
+
+
+
+
+
+ org.apache.maven.pluginsmaven-invoker-plugin
@@ -537,6 +568,7 @@ under the License.
src/it/mrm/settings.xml${mrm.repository.url}
+ ${testingFluidoSkinVersion}clean
@@ -552,7 +584,12 @@ under the License.
org.codehaus.mojomrm-maven-plugin
- 1.3.0
+ 1.7.1
+
+
+
+
+
@@ -561,14 +598,6 @@ under the License.
-
-
-
- src/it/mrm/repository
-
-
-
-
@@ -579,9 +608,9 @@ under the License.
- org.codehaus.mojo
+ com.googlecode.l10n-maven-pluginl10n-maven-plugin
- 1.0-alpha-2
+ 1.8ca
diff --git a/src/it/mrm/settings.xml b/src/it/mrm/settings.xml
index d939e59e9..4ce9b3555 100644
--- a/src/it/mrm/settings.xml
+++ b/src/it/mrm/settings.xml
@@ -76,9 +76,9 @@ under the License.
msite604
- settingsId
- file://@project.build.directory@/it/MSITE-604/target/root
- settingsBase
+ settingsId
+ file://@project.build.directory@/it/MSITE-604/target/root
+ settingsBase
diff --git a/src/it/projects/MSITE-159/pom.xml b/src/it/projects/MSITE-159/pom.xml
index e2f3c88d6..374bf3772 100644
--- a/src/it/projects/MSITE-159/pom.xml
+++ b/src/it/projects/MSITE-159/pom.xml
@@ -31,6 +31,10 @@ under the License.
http://webhost.company.com/
+
+ @fluidoSkinVersion@
+
+
website
@@ -45,7 +49,7 @@ under the License.
maven-site-plugin@project.version@
- false
+ false
@@ -56,7 +60,7 @@ under the License.
maven-project-info-reports-plugin
- 2.3.1
+ @projectInfoReportsPluginVersion@
diff --git a/src/it/projects/MSITE-159/src/site/site.xml b/src/it/projects/MSITE-159/src/site/site.xml
index c666a02d1..5117797bd 100644
--- a/src/it/projects/MSITE-159/src/site/site.xml
+++ b/src/it/projects/MSITE-159/src/site/site.xml
@@ -19,8 +19,14 @@ specific language governing permissions and limitations
under the License.
-->
-
+
+
+ org.apache.maven.skins
+ maven-fluido-skin
+ ${fluidoSkinVersion}
+
@@ -35,4 +41,4 @@ under the License.
-
+
diff --git a/src/it/projects/MSITE-159/verify.bsh b/src/it/projects/MSITE-159/verify.bsh
index 8b9b875f3..34dc3f055 100644
--- a/src/it/projects/MSITE-159/verify.bsh
+++ b/src/it/projects/MSITE-159/verify.bsh
@@ -41,9 +41,9 @@ try
}
String content = FileUtils.fileRead( index, "UTF-8" );
- int index1 = content.indexOf( "Breadcrumb" );
- int index2 = content.indexOf( "Link" );
- int index3 = content.indexOf( "Menu" );
+ int index1 = content.indexOf( "Breadcrumb" );
+ int index2 = content.indexOf( "Link" );
+ int index3 = content.indexOf( "Menu" );
if ( index1 < 0 || index2 < 0 || index3 < 0 )
{
System.err.println( "index.html has incorrect links!" );
diff --git a/src/it/projects/MSITE-265/pom.xml b/src/it/projects/MSITE-265/pom.xml
index 7142d9034..44a89ca77 100644
--- a/src/it/projects/MSITE-265/pom.xml
+++ b/src/it/projects/MSITE-265/pom.xml
@@ -34,6 +34,7 @@ under the License.
3.0.5UTF-8
+ @fluidoSkinVersion@
@@ -42,7 +43,7 @@ under the License.
maven-site-plugin@project.version@
- en,ca,cs,da,de,es,fr,hu,it,ja,ko,nl,no,pl,pt,pt_BR,sk,sv,tr,zh_CN
+ default,en,ca,cs,da,de,es,fr,hu,it,ja,ko,nl,no,pl,pt,pt_BR,sk,sv,tr,zh_CN
@@ -52,7 +53,7 @@ under the License.
org.apache.maven.pluginsmaven-project-info-reports-plugin
- 2.1.2
+ @projectInfoReportsPluginVersion@
@@ -64,7 +65,7 @@ under the License.
org.codehaus.mojotaglist-maven-plugin
- 2.0
+ @taglistPluginVersion@
diff --git a/src/it/projects/MSITE-265/src/site/site.xml b/src/it/projects/MSITE-265/src/site/site.xml
index 2cfb48659..3dbd83748 100644
--- a/src/it/projects/MSITE-265/src/site/site.xml
+++ b/src/it/projects/MSITE-265/src/site/site.xml
@@ -19,15 +19,15 @@ specific language governing permissions and limitations
under the License.
-->
-
+org.apache.maven.skins
- maven-stylus-skin
- 1.5
+ maven-fluido-skin
+ ${fluidoSkinVersion}
@@ -41,4 +41,4 @@ under the License.
-
+
diff --git a/src/it/projects/MSITE-265/verify.bsh b/src/it/projects/MSITE-265/verify.bsh
index e4603090b..400667d82 100644
--- a/src/it/projects/MSITE-265/verify.bsh
+++ b/src/it/projects/MSITE-265/verify.bsh
@@ -71,9 +71,9 @@ try
System.err.println( "download.html doesn't contain Download Maven 3.0.5" );
return false;
}
- if ( downloadContent.indexOf( "charset=UTF-8" ) < 0 )
+ if ( downloadContent.indexOf( "charset=\"UTF-8\"" ) < 0 )
{
- System.err.println( "download.html doesn't contain 'charset=UTF-8' directive" );
+ System.err.println( "download.html doesn't contain 'charset=\"UTF-8\"' directive" );
return false;
}
if ( downloadContent.indexOf( "demo character: € (euro)" ) < 0 )
diff --git a/src/it/projects/MSITE-354/pom.xml b/src/it/projects/MSITE-354/pom.xml
index 543ff47d4..912ac9c61 100644
--- a/src/it/projects/MSITE-354/pom.xml
+++ b/src/it/projects/MSITE-354/pom.xml
@@ -54,12 +54,12 @@ under the License.
-
+
maven-project-info-reports-plugin
- 2.3.1
+ @projectInfoReportsPluginVersion@
diff --git a/src/it/projects/MSITE-456/pom.xml b/src/it/projects/MSITE-456/pom.xml
index a74e5bcb5..0e420c595 100644
--- a/src/it/projects/MSITE-456/pom.xml
+++ b/src/it/projects/MSITE-456/pom.xml
@@ -45,7 +45,7 @@ under the License.
org.apache.maven.pluginsmaven-project-info-reports-plugin
- 2.3.1
+ @projectInfoReportsPluginVersion@
diff --git a/src/it/projects/MSITE-456/verify.bsh b/src/it/projects/MSITE-456/verify.bsh
index f54f9bc69..b63853a7e 100644
--- a/src/it/projects/MSITE-456/verify.bsh
+++ b/src/it/projects/MSITE-456/verify.bsh
@@ -40,8 +40,8 @@ try
}
String content = FileUtils.fileRead( parentIndex, "UTF-8" );
- int index1 = content.indexOf( "MSITE-456 - child" );
- int index2 = content.indexOf( "Project Information" );
+ int index1 = content.indexOf( "MSITE-456 - child" );
+ int index2 = content.indexOf( "Project Information" );
if ( index1 < 0 || index2 < 0 )
@@ -75,8 +75,8 @@ try
}
content = FileUtils.fileRead( childIndex, "UTF-8" );
- index1 = content.indexOf( "MSITE-456 - parent" );
- index2 = content.indexOf( "Project Information" );
+ index1 = content.indexOf( "MSITE-456 - parent" );
+ index2 = content.indexOf( "Project Information" );
if ( index1 < 0 || index2 < 0 )
{
diff --git a/src/it/projects/MSITE-458/pom.xml b/src/it/projects/MSITE-458/pom.xml
index e6f60b0c3..43eb1293c 100644
--- a/src/it/projects/MSITE-458/pom.xml
+++ b/src/it/projects/MSITE-458/pom.xml
@@ -31,6 +31,7 @@ under the License.
UTF-8
+ @fluidoSkinVersion@
@@ -53,7 +54,7 @@ under the License.
maven-project-info-reports-plugin
- 2.4
+ @projectInfoReportsPluginVersion@
diff --git a/src/it/projects/MSITE-458/src/site/site.xml b/src/it/projects/MSITE-458/src/site/site.xml
index 1e4a3366d..f4bd950db 100644
--- a/src/it/projects/MSITE-458/src/site/site.xml
+++ b/src/it/projects/MSITE-458/src/site/site.xml
@@ -19,8 +19,15 @@ specific language governing permissions and limitations
under the License.
-->
-
+
+
+ org.apache.maven.skins
+ maven-fluido-skin
+ ${fluidoSkinVersion}
+
-
+
diff --git a/src/it/projects/MSITE-484/invoker.properties b/src/it/projects/MSITE-484/invoker.properties
index 5fcde54ed..978b68af6 100644
--- a/src/it/projects/MSITE-484/invoker.properties
+++ b/src/it/projects/MSITE-484/invoker.properties
@@ -14,5 +14,3 @@
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
-
-invoker.maven.version = 3.0+
diff --git a/src/it/projects/MSITE-484/parent-usage-test/src/test/java/AppTest.java b/src/it/projects/MSITE-484/parent-usage-test/src/test/java/AppTest.java
index 481d5f59f..c382e9a03 100644
--- a/src/it/projects/MSITE-484/parent-usage-test/src/test/java/AppTest.java
+++ b/src/it/projects/MSITE-484/parent-usage-test/src/test/java/AppTest.java
@@ -17,39 +17,19 @@
* under the License.
*/
-import junit.framework.Test;
-import junit.framework.TestCase;
-import junit.framework.TestSuite;
-
+import org.junit.jupiter.api.Test;
+import static org.junit.jupiter.api.Assertions.assertTrue;
/**
* Unit test for simple App.
*/
-public class AppTest
- extends TestCase
-{
- /**
- * Create the test case
- *
- * @param testName name of the test case
- */
- public AppTest( String testName )
- {
- super( testName );
- }
-
- /**
- * @return the suite of tests being tested
- */
- public static Test suite()
- {
- return new TestSuite( AppTest.class );
- }
-
+public class AppTest {
/**
* Rigourous Test :-)
*/
- public void testApp()
- {
- assertTrue( true );
+ @Test
+ public void testApp() {
+ assertTrue(true);
}
+
}
+
diff --git a/src/it/projects/MSITE-484/pom.xml b/src/it/projects/MSITE-484/pom.xml
index e8e50dc5e..8cd975c4a 100644
--- a/src/it/projects/MSITE-484/pom.xml
+++ b/src/it/projects/MSITE-484/pom.xml
@@ -28,6 +28,12 @@ under the License.
1.0-SNAPSHOTparenthttp://url
+
+
+ jira
+ http://example.com
+
+
@@ -47,7 +53,7 @@ under the License.
org.apache.maven.pluginsmaven-project-info-reports-plugin
- 2.2
+ @projectInfoReportsPluginVersion@false
@@ -56,8 +62,8 @@ under the License.
summaryindex
- cim
- issue-tracking
+ ci-management
+ issue-managementscm
diff --git a/src/it/projects/MSITE-484/verify.groovy b/src/it/projects/MSITE-484/verify.groovy
index 65845249b..134f02c25 100644
--- a/src/it/projects/MSITE-484/verify.groovy
+++ b/src/it/projects/MSITE-484/verify.groovy
@@ -18,11 +18,11 @@
* under the License.
*/
-assert new File( basedir, 'target/site/issue-tracking.html' ).exists();
+assert new File( basedir, 'target/site/issue-management.html' ).exists();
assert new File( basedir, 'parent-usage-test/target/site/xref/index.html' ).exists();
assert new File( basedir, 'parent-usage-test/target/site/xref-test/index.html' ).exists();
-assert new File( basedir, 'parent-usage-test/target/site/issue-tracking.html' ).exists();
+assert new File( basedir, 'parent-usage-test/target/site/issue-management.html' ).exists();
assert new File( basedir, 'parent-usage-test/target/site/apidocs' ).exists();
-return true;
\ No newline at end of file
+return true;
diff --git a/src/it/projects/MSITE-497/apps/app/pom.xml b/src/it/projects/MSITE-497/apps/app/pom.xml
index a8a17815e..af403b37e 100644
--- a/src/it/projects/MSITE-497/apps/app/pom.xml
+++ b/src/it/projects/MSITE-497/apps/app/pom.xml
@@ -32,14 +32,19 @@ under the License.
- log4j
- log4j
- 1.2.16
+ org.apache.logging.log4j
+ log4j-api
+ 2.20.0
- junit
- junit
- 3.8.2
+ org.apache.logging.log4j
+ log4j-core
+ 2.25.3
+
+
+ org.junit.jupiter
+ junit-jupiter-api
+ @versions.junit5@test
diff --git a/src/it/projects/MSITE-497/apps/app/src/main/java/org/apache/maven/App.java b/src/it/projects/MSITE-497/apps/app/src/main/java/org/apache/maven/App.java
index 0a9ac1777..35e450464 100644
--- a/src/it/projects/MSITE-497/apps/app/src/main/java/org/apache/maven/App.java
+++ b/src/it/projects/MSITE-497/apps/app/src/main/java/org/apache/maven/App.java
@@ -19,13 +19,14 @@
* under the License.
*/
-import org.apache.log4j.Logger;
+import org.apache.logging.log4j.LogManager;
+import org.apache.logging.log4j.Logger;
public class App
{
public static void main( String[] args )
{
- Logger mylogger = Logger.getLogger("MyLogger");
+ Logger mylogger = LogManager.getLogger("MyLogger");
mylogger.info( "Hello World!" );
}
}
diff --git a/src/it/projects/MSITE-497/apps/app/src/test/java/org/apache/maven/AppTest.java b/src/it/projects/MSITE-497/apps/app/src/test/java/org/apache/maven/AppTest.java
index d34491687..4f9aa8b31 100644
--- a/src/it/projects/MSITE-497/apps/app/src/test/java/org/apache/maven/AppTest.java
+++ b/src/it/projects/MSITE-497/apps/app/src/test/java/org/apache/maven/AppTest.java
@@ -19,39 +19,19 @@
* under the License.
*/
-import junit.framework.Test;
-import junit.framework.TestCase;
-import junit.framework.TestSuite;
-
+import org.junit.jupiter.api.Test;
+import static org.junit.jupiter.api.Assertions.assertTrue;
/**
* Unit test for simple App.
*/
-public class AppTest
- extends TestCase
-{
- /**
- * Create the test case
- *
- * @param testName name of the test case
- */
- public AppTest( String testName )
- {
- super( testName );
- }
-
- /**
- * @return the suite of tests being tested
- */
- public static Test suite()
- {
- return new TestSuite( AppTest.class );
- }
-
+public class AppTest {
/**
* Rigourous Test :-)
*/
- public void testApp()
- {
- assertTrue( true );
+ @Test
+ public void testApp() {
+ assertTrue(true);
}
+
}
+
diff --git a/src/it/projects/MSITE-497/pom.xml b/src/it/projects/MSITE-497/pom.xml
index 2e2129196..200f3cf7b 100644
--- a/src/it/projects/MSITE-497/pom.xml
+++ b/src/it/projects/MSITE-497/pom.xml
@@ -28,6 +28,10 @@ under the License.
pomparent
+
+ @fluidoSkinVersion@
+
+
apps
@@ -38,7 +42,7 @@ under the License.
org.apache.maven.pluginsmaven-compiler-plugin
- 2.3.1
+ 3.13.0org.apache.maven.plugins
@@ -48,8 +52,7 @@ under the License.
org.apache.maven.pluginsmaven-site-plugin
-
- 2.1.1
+ @project.version@org.apache.maven.plugins
@@ -70,27 +73,4 @@ under the License.
-
-
- maven-3
-
-
-
- ${basedir}
-
-
-
-
-
-
- org.apache.maven.plugins
- maven-site-plugin
- @project.version@
-
-
-
-
-
-
diff --git a/src/it/projects/MSITE-497/src/site/site.xml b/src/it/projects/MSITE-497/src/site/site.xml
index c8e55cd50..ebd094f47 100644
--- a/src/it/projects/MSITE-497/src/site/site.xml
+++ b/src/it/projects/MSITE-497/src/site/site.xml
@@ -19,8 +19,14 @@ specific language governing permissions and limitations
under the License.
-->
-
+
+
+ org.apache.maven.skins
+ maven-fluido-skin
+ ${fluidoSkinVersion}
+
@@ -30,4 +36,4 @@ under the License.
-
+
diff --git a/src/it/projects/MSITE-504/maven-plugin/pom.xml b/src/it/projects/MSITE-504/maven-plugin/pom.xml
index 03cdf5a0e..9049ffef0 100644
--- a/src/it/projects/MSITE-504/maven-plugin/pom.xml
+++ b/src/it/projects/MSITE-504/maven-plugin/pom.xml
@@ -33,11 +33,24 @@ under the License.
maven-plugin
+
+
+
+ org.apache.maven.plugins
+ maven-plugin-plugin
+ @mavenPluginPluginVersion@
+
+ MSITE-504
+
+
+
+
+
org.apache.mavenmaven-plugin-api
- 3.0-beta-3
+ @mavenVersion@
-
\ No newline at end of file
+
diff --git a/src/it/projects/MSITE-504/pom.xml b/src/it/projects/MSITE-504/pom.xml
index d0101fcbd..94486ca5b 100644
--- a/src/it/projects/MSITE-504/pom.xml
+++ b/src/it/projects/MSITE-504/pom.xml
@@ -32,7 +32,7 @@ under the License.
- 2.2
+ @mavenVersion@
@@ -52,4 +52,4 @@ under the License.
-
\ No newline at end of file
+
diff --git a/src/it/projects/MSITE-506/pom.xml b/src/it/projects/MSITE-506/pom.xml
index 9832859c0..290a38062 100644
--- a/src/it/projects/MSITE-506/pom.xml
+++ b/src/it/projects/MSITE-506/pom.xml
@@ -34,9 +34,9 @@ under the License.
- junit
- junit
- 3.8.2
+ org.junit.jupiter
+ junit-jupiter
+ 5.10.0test
@@ -46,7 +46,7 @@ under the License.
org.apache.maven.pluginsmaven-site-plugin
- @pom.version@
+ @project.version@
diff --git a/src/it/projects/MSITE-506/src/test/java/mavenjavadoc/AppTest.java b/src/it/projects/MSITE-506/src/test/java/mavenjavadoc/AppTest.java
index a35a2a287..061b54ec4 100644
--- a/src/it/projects/MSITE-506/src/test/java/mavenjavadoc/AppTest.java
+++ b/src/it/projects/MSITE-506/src/test/java/mavenjavadoc/AppTest.java
@@ -8,9 +8,9 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
@@ -19,38 +19,20 @@
* under the License.
*/
-import junit.framework.Test;
-import junit.framework.TestCase;
-import junit.framework.TestSuite;
+import org.junit.jupiter.api.Test;
+
+import static org.junit.jupiter.api.Assertions.assertTrue;
/**
* Unit test for simple App.
*/
-public class AppTest
- extends TestCase
+public class AppTest
{
- /**
- * Create the test case
- *
- * @param testName name of the test case
- */
- public AppTest( String testName )
- {
- super( testName );
- }
-
- /**
- * @return the suite of tests being tested
- */
- public static Test suite()
- {
- return new TestSuite( AppTest.class );
- }
-
/**
* Rigourous Test :-)
*/
- public void testApp()
+ @Test
+ void testApp()
{
assertTrue( true );
}
diff --git a/src/it/projects/MSITE-507/pom.xml b/src/it/projects/MSITE-507/pom.xml
index 149e449a6..4d80f87ff 100644
--- a/src/it/projects/MSITE-507/pom.xml
+++ b/src/it/projects/MSITE-507/pom.xml
@@ -22,81 +22,81 @@ under the License.
4.0.0
-
+
my.group.idmy-artifact-id1.0-SNAPSHOT
-
-
- 1.1.8
-
-
-
-
-
-
- org.apache.maven.plugins
- maven-site-plugin
+
+
+ 1.1.8
+
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-site-plugin@pom.version@
-
-
- org.apache.maven.plugins
- maven-project-info-reports-plugin
- 2.2
-
-
- org.apache.maven.plugins
- maven-jxr-plugin
- 2.2
-
- true
- utf-8
- utf-8
- xref/cedarsoft.css
-
-
-
- com.cedarsoft.maven
- cedarsoft-skin
- ${maven.skin.version}
-
-
-
-
-
-
-
-
-
- org.apache.maven.plugins
- maven-jxr-plugin
-
-
- com.cedarsoft.maven
- cedarsoft-skin
- ${maven.skin.version}
-
-
-
+
+
+ org.apache.maven.plugins
+ maven-project-info-reports-plugin
+ @projectInfoReportsPluginVersion@
+
+
+ org.apache.maven.plugins
+ maven-jxr-plugin
+ @jxrPluginVersion@
+
+ true
+ utf-8
+ utf-8
+ xref/cedarsoft.css
+
+
+
+ com.cedarsoft.maven
+ cedarsoft-skin
+ ${maven.skin.version}
+
+
+
+
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-jxr-plugin
+
+
+ com.cedarsoft.maven
+ cedarsoft-skin
+ ${maven.skin.version}
+
+
+ org.apache.maven.pluginsmaven-site-plugin
-
-
-
-
+
+
+
+
-
-
- org.apache.maven.plugins
- maven-jxr-plugin
-
- true
- utf-8
- utf-8
- xref/cedarsoft.css
-
-
+
+
+ org.apache.maven.plugins
+ maven-jxr-plugin
+
+ true
+ utf-8
+ utf-8
+ xref/cedarsoft.css
+
+ org.apache.maven.plugins
@@ -108,7 +108,7 @@ under the License.
-
-
+
+
diff --git a/src/it/projects/MSITE-512/parent-usage-test/src/test/java/AppTest.java b/src/it/projects/MSITE-512/parent-usage-test/src/test/java/AppTest.java
index 481d5f59f..c382e9a03 100644
--- a/src/it/projects/MSITE-512/parent-usage-test/src/test/java/AppTest.java
+++ b/src/it/projects/MSITE-512/parent-usage-test/src/test/java/AppTest.java
@@ -17,39 +17,19 @@
* under the License.
*/
-import junit.framework.Test;
-import junit.framework.TestCase;
-import junit.framework.TestSuite;
-
+import org.junit.jupiter.api.Test;
+import static org.junit.jupiter.api.Assertions.assertTrue;
/**
* Unit test for simple App.
*/
-public class AppTest
- extends TestCase
-{
- /**
- * Create the test case
- *
- * @param testName name of the test case
- */
- public AppTest( String testName )
- {
- super( testName );
- }
-
- /**
- * @return the suite of tests being tested
- */
- public static Test suite()
- {
- return new TestSuite( AppTest.class );
- }
-
+public class AppTest {
/**
* Rigourous Test :-)
*/
- public void testApp()
- {
- assertTrue( true );
+ @Test
+ public void testApp() {
+ assertTrue(true);
}
+
}
+
diff --git a/src/it/projects/MSITE-548/pom.xml b/src/it/projects/MSITE-548/pom.xml
index a7e5da50c..bd2ff5164 100644
--- a/src/it/projects/MSITE-548/pom.xml
+++ b/src/it/projects/MSITE-548/pom.xml
@@ -51,7 +51,7 @@ under the License.
maven-project-info-reports-plugin
- 2.3.1
+ @projectInfoReportsPluginVersion@
diff --git a/src/it/projects/MSITE-548/root/pom.xml b/src/it/projects/MSITE-548/root/pom.xml
index 514d23dc1..d8e8d9940 100644
--- a/src/it/projects/MSITE-548/root/pom.xml
+++ b/src/it/projects/MSITE-548/root/pom.xml
@@ -40,11 +40,11 @@ under the License.
-
- org.apache.maven.plugins
- maven-site-plugin
- @project.version@
-
+
+ org.apache.maven.plugins
+ maven-site-plugin
+ @project.version@
+
@@ -53,7 +53,7 @@ under the License.
maven-project-info-reports-plugin
- 2.3.1
+ @projectInfoReportsPluginVersion@
diff --git a/src/it/projects/MSITE-566/pom.xml b/src/it/projects/MSITE-566/pom.xml
index 93fc629d2..d8763fca8 100644
--- a/src/it/projects/MSITE-566/pom.xml
+++ b/src/it/projects/MSITE-566/pom.xml
@@ -32,6 +32,7 @@ under the License.
UTF-8Documentation
+ @fluidoSkinVersion@
diff --git a/src/it/projects/MSITE-566/src/site/site.xml b/src/it/projects/MSITE-566/src/site/site.xml
index 0e4d77103..c11e69dc7 100644
--- a/src/it/projects/MSITE-566/src/site/site.xml
+++ b/src/it/projects/MSITE-566/src/site/site.xml
@@ -19,12 +19,18 @@ specific language governing permissions and limitations
under the License.
-->
-
+
+
+ org.apache.maven.skins
+ maven-fluido-skin
+ ${fluidoSkinVersion}
+
-
+
diff --git a/src/it/projects/MSITE-566/verify.bsh b/src/it/projects/MSITE-566/verify.bsh
index 0c978aea1..94c81a597 100644
--- a/src/it/projects/MSITE-566/verify.bsh
+++ b/src/it/projects/MSITE-566/verify.bsh
@@ -66,7 +66,7 @@ try
content = FileUtils.fileRead( index, "UTF-8" );
index1 = content.indexOf( "MSITE-566 IT" );
- index2 = content.indexOf( "
Documentation
" );
+ index2 = content.indexOf( "
Documentation
" );
if ( index1 < 0 || index2 < 0 )
{
System.err.println( "generated site has unresolved properties!" );
diff --git a/src/it/projects/MSITE-582/child/src/site/site.xml b/src/it/projects/MSITE-582/child/src/site/site.xml
index 532d95292..7a2df146f 100644
--- a/src/it/projects/MSITE-582/child/src/site/site.xml
+++ b/src/it/projects/MSITE-582/child/src/site/site.xml
@@ -19,9 +19,14 @@ specific language governing permissions and limitations
under the License.
-->
-
+
+
+ org.apache.maven.skins
+ maven-fluido-skin
+ ${fluidoSkinVersion}
+
@@ -30,4 +35,4 @@ under the License.
-
+
diff --git a/src/it/projects/MSITE-582/pom.xml b/src/it/projects/MSITE-582/pom.xml
index 1617b4c57..bb472de4e 100644
--- a/src/it/projects/MSITE-582/pom.xml
+++ b/src/it/projects/MSITE-582/pom.xml
@@ -31,6 +31,10 @@ under the License.
Make it possible to remove breadcrumbs in child projects againhttp://www.example.com/parent/
+
+ @fluidoSkinVersion@
+
+
child
@@ -51,7 +55,7 @@ under the License.
org.apache.maven.pluginsmaven-project-info-reports-plugin
- 2.1.2
+ @projectInfoReportsPluginVersion@
diff --git a/src/it/projects/MSITE-582/src/site/site.xml b/src/it/projects/MSITE-582/src/site/site.xml
index c8533502b..9de237a60 100644
--- a/src/it/projects/MSITE-582/src/site/site.xml
+++ b/src/it/projects/MSITE-582/src/site/site.xml
@@ -19,9 +19,14 @@ specific language governing permissions and limitations
under the License.
-->
-
+
+
+ org.apache.maven.skins
+ maven-fluido-skin
+ ${fluidoSkinVersion}
+
@@ -32,4 +37,4 @@ under the License.
-
+
diff --git a/src/it/projects/MSITE-582/verify.groovy b/src/it/projects/MSITE-582/verify.groovy
index d24ed5566..d9c526aa8 100644
--- a/src/it/projects/MSITE-582/verify.groovy
+++ b/src/it/projects/MSITE-582/verify.groovy
@@ -20,7 +20,7 @@
content = new File( basedir, 'child/target/site/index.html' ).text;
-assert !content.contains( 'D' );
-assert content.contains( 'M' );
+assert !content.contains( 'D' );
+assert content.contains( 'M' );
return true;
\ No newline at end of file
diff --git a/src/it/projects/MSITE-604/invoker.properties b/src/it/projects/MSITE-604/invoker.properties
index de515df4b..0acfea1d5 100644
--- a/src/it/projects/MSITE-604/invoker.properties
+++ b/src/it/projects/MSITE-604/invoker.properties
@@ -15,8 +15,5 @@
# specific language governing permissions and limitations
# under the License.
-# only fixed with Maven 3
-invoker.maven.version = 3.0+
invoker.goals=clean site:site site:deploy
invoker.profiles = msite604
-
diff --git a/src/it/projects/MSITE-604/parent/pom.xml b/src/it/projects/MSITE-604/parent/pom.xml
index dedbcd4d1..0e325922c 100644
--- a/src/it/projects/MSITE-604/parent/pom.xml
+++ b/src/it/projects/MSITE-604/parent/pom.xml
@@ -32,13 +32,13 @@ under the License.
Parent override settings IT
- parent
+ parent
- ${msite604.siteRepositoryId}
- ${msite604.siteRepositoryRoot}/${msite604.siteRepositoryBase}/${msite604.siteRepositoryUrl}
+ ${msite604.siteId}
+ ${msite604.siteURL}/${msite604.siteBase}/${msite604.sitePath}
diff --git a/src/it/projects/MSITE-604/pom.xml b/src/it/projects/MSITE-604/pom.xml
index 77a560f87..0f85b4a34 100644
--- a/src/it/projects/MSITE-604/pom.xml
+++ b/src/it/projects/MSITE-604/pom.xml
@@ -40,15 +40,15 @@ under the License.
UTF-8
- defaultId
- defaultBase
- defaultRepositoryUrl
+ defaultId
+ defaultBase
+ defaultPath
- ${msite604.siteRepositoryId}
- ${msite604.siteRepositoryRoot}/${msite604.siteRepositoryBase}/${msite604.siteRepositoryUrl}
+ ${msite604.siteId}
+ ${msite604.siteURL}/${msite604.siteBase}/${msite604.sitePath}
@@ -66,7 +66,7 @@ under the License.
org.apache.maven.pluginsmaven-project-info-reports-plugin
- 2.1.2
+ @projectInfoReportsPluginVersion@
diff --git a/src/it/projects/MSITE-604/verify.groovy b/src/it/projects/MSITE-604/verify.groovy
index 58fdd3895..7c7040c23 100644
--- a/src/it/projects/MSITE-604/verify.groovy
+++ b/src/it/projects/MSITE-604/verify.groovy
@@ -20,20 +20,20 @@
target = new File( basedir, 'target' );
assert target.isDirectory();
-// msite604.siteRepositoryRoot property value from settings.xml
+// msite604.siteURL property value from settings.xml
rootDirectory = new File( target, 'root' );
assert rootDirectory.isDirectory();
-// msite604.siteRepositoryBase property value from pom.xml
+// msite604.siteBase property value from pom.xml
baseDirectory = new File( rootDirectory, 'defaultBase' );
assert !baseDirectory.isDirectory();
-// msite604.siteRepositoryBase property value from settings.xml
+// msite604.siteBase property value from settings.xml
baseDirectory = new File( rootDirectory, 'settingsBase' );
assert baseDirectory.isDirectory();
-// msite604.siteRepositoryUrl property value from pom.xml
-defaultDirectory = new File( baseDirectory, 'defaultRepositoryUrl' );
+// msite604.sitePath property value from pom.xml
+defaultDirectory = new File( baseDirectory, 'defaultPath' );
assert defaultDirectory.exists();
return true;
diff --git a/src/it/projects/MSITE-609/pom.xml b/src/it/projects/MSITE-609/pom.xml
index 85d4a09e9..7e17f40f8 100644
--- a/src/it/projects/MSITE-609/pom.xml
+++ b/src/it/projects/MSITE-609/pom.xml
@@ -32,8 +32,9 @@ under the License.
MSITE-609 IT
- 3.0.5
+ @mavenVersion@UTF-8
+ @fluidoSkinVersion@
@@ -58,7 +59,7 @@ under the License.
org.apache.maven.pluginsmaven-project-info-reports-plugin
- 2.1.2
+ @projectInfoReportsPluginVersion@
diff --git a/src/it/projects/MSITE-609/src/site/site.xml b/src/it/projects/MSITE-609/src/site/site.xml
index 2cfb48659..e2cf91246 100644
--- a/src/it/projects/MSITE-609/src/site/site.xml
+++ b/src/it/projects/MSITE-609/src/site/site.xml
@@ -19,15 +19,15 @@ specific language governing permissions and limitations
under the License.
-->
-
+org.apache.maven.skins
- maven-stylus-skin
- 1.5
+ maven-fluido-skin
+ ${fluidoSkinVersion}
@@ -41,4 +41,4 @@ under the License.
-
+
diff --git a/src/it/projects/MSITE-609/verify.bsh b/src/it/projects/MSITE-609/verify.bsh
index 0b822a860..2b4715e5f 100644
--- a/src/it/projects/MSITE-609/verify.bsh
+++ b/src/it/projects/MSITE-609/verify.bsh
@@ -65,10 +65,10 @@ try
return false;
}
String downloadContent = FileUtils.fileRead( download, "UTF-8" );
- int indexOf = downloadContent.indexOf( "Download Maven 3.0.5" );
+ int indexOf = downloadContent.indexOf( "Download Maven 3.6.3" );
if ( indexOf < 0 )
{
- System.err.println( "download.html doesn't contain Download Maven 3.0.5" );
+ System.err.println( "download.html doesn't contain Download Maven 3.6.3" );
return false;
}
}
diff --git a/src/it/projects/MSITE-627/invoker.properties b/src/it/projects/MSITE-627/invoker.properties
index 238105913..dc513b4f1 100644
--- a/src/it/projects/MSITE-627/invoker.properties
+++ b/src/it/projects/MSITE-627/invoker.properties
@@ -18,4 +18,3 @@
invoker.goals.1 = clean install
invoker.debug.1 = false
invoker.goals.2 = site
-invoker.maven.version = 3.0+
\ No newline at end of file
diff --git a/src/it/projects/MSITE-627/pom.xml b/src/it/projects/MSITE-627/pom.xml
index bb7c6fd78..e24f9880e 100644
--- a/src/it/projects/MSITE-627/pom.xml
+++ b/src/it/projects/MSITE-627/pom.xml
@@ -39,7 +39,19 @@ under the License.
org.apache.maven.reportingmaven-reporting-impl
- 2.1
+ @mavenReportingImplVersion@
+
+
+ org.apache.maven
+ maven-plugin-api
+ @mavenVersion@
+ provided
+
+
+ org.apache.maven.plugin-tools
+ maven-plugin-annotations
+ @mavenPluginPluginVersion@
+ provided
@@ -51,8 +63,22 @@ under the License.
maven-site-plugin@project.version@
+
+ org.apache.maven.plugins
+ maven-plugin-plugin
+ @mavenPluginPluginVersion@
+
+
+
+ org.apache.maven.plugins
+ maven-plugin-plugin
+
+ MSITE-627
+
+
+
diff --git a/src/it/projects/MSITE-627/src/main/java/org/apache/maven/plugins/it/MyReport.java b/src/it/projects/MSITE-627/src/main/java/org/apache/maven/plugins/it/MyReport.java
index 1d4ffe2bf..19cd83bfa 100644
--- a/src/it/projects/MSITE-627/src/main/java/org/apache/maven/plugins/it/MyReport.java
+++ b/src/it/projects/MSITE-627/src/main/java/org/apache/maven/plugins/it/MyReport.java
@@ -20,9 +20,11 @@
*/
import org.apache.maven.doxia.sink.Sink;
-import org.apache.maven.doxia.sink.SinkAdapter;
+import org.apache.maven.doxia.sink.SinkEventAttributes;
+import org.apache.maven.doxia.sink.impl.SinkAdapter;
import org.apache.maven.doxia.siterenderer.Renderer;
-import org.apache.maven.project.MavenProject;
+import org.apache.maven.plugins.annotations.LifecyclePhase;
+import org.apache.maven.plugins.annotations.Mojo;
import org.apache.maven.reporting.AbstractMavenReport;
import org.apache.maven.reporting.MavenReportException;
@@ -30,10 +32,8 @@
/**
* Goal which creates a sink in a report.
- *
- * @goal test
- * @phase site
*/
+@Mojo( name = "test", defaultPhase = LifecyclePhase.SITE )
public class MyReport
extends AbstractMavenReport
{
@@ -53,24 +53,6 @@ public String getDescription( Locale locale )
return "Test Report for MSITE-672";
}
- @Override
- protected Renderer getSiteRenderer()
- {
- return null;
- }
-
- @Override
- protected String getOutputDirectory()
- {
- return null;
- }
-
- @Override
- protected MavenProject getProject()
- {
- return null;
- }
-
@Override
protected void executeReport( Locale locale )
throws MavenReportException
@@ -79,7 +61,7 @@ protected void executeReport( Locale locale )
final Sink sa = new SinkAdapter()
{
@Override
- public void text( String text )
+ public void text( String text, SinkEventAttributes attributes )
{
s.text( text.replace( "OK", "passed" ) );
}
diff --git a/src/it/projects/MSITE-658/pom.xml b/src/it/projects/MSITE-658/pom.xml
index c6299e33d..d329dd490 100644
--- a/src/it/projects/MSITE-658/pom.xml
+++ b/src/it/projects/MSITE-658/pom.xml
@@ -31,9 +31,18 @@ under the License.
MSITE-658http://maven.apache.org/sub-directory
+
+
+ Apache License, Version 2.0
+ https://www.apache.org/licenses/LICENSE-2.0.txt
+ repo
+
+
+
UTF-8UTF-8
+ @fluidoSkinVersion@
@@ -44,7 +53,7 @@ under the License.
maven-site-plugin@project.version@
- en,de
+ default,en,de
@@ -55,12 +64,12 @@ under the License.
maven-project-info-reports-plugin
- 2.5.1
+ @projectInfoReportsPluginVersion@index
- license
+ licenses
diff --git a/src/it/projects/MSITE-658/src/site/site.xml b/src/it/projects/MSITE-658/src/site/site.xml
index 42feaf95d..08fa53aff 100644
--- a/src/it/projects/MSITE-658/src/site/site.xml
+++ b/src/it/projects/MSITE-658/src/site/site.xml
@@ -19,12 +19,18 @@ specific language governing permissions and limitations
under the License.
-->
-
+
+
+ org.apache.maven.skins
+ maven-fluido-skin
+ ${fluidoSkinVersion}
+
+
-
+
diff --git a/src/it/projects/MSITE-658/src/site/site_de.xml b/src/it/projects/MSITE-658/src/site/site_de.xml
index f257dd4b6..2aca99bfe 100644
--- a/src/it/projects/MSITE-658/src/site/site_de.xml
+++ b/src/it/projects/MSITE-658/src/site/site_de.xml
@@ -19,12 +19,18 @@ specific language governing permissions and limitations
under the License.
-->
-
+
+
+ org.apache.maven.skins
+ maven-fluido-skin
+ ${fluidoSkinVersion}
+
+
-
+
diff --git a/src/it/projects/MSITE-658/verify.bsh b/src/it/projects/MSITE-658/verify.bsh
index 1aafec0d8..188326d04 100644
--- a/src/it/projects/MSITE-658/verify.bsh
+++ b/src/it/projects/MSITE-658/verify.bsh
@@ -33,18 +33,18 @@ try
result = false;
}
- File license = new File( siteDirectory, "license.html" );
- if ( !license.exists() || license.isDirectory() )
+ File licenses = new File( siteDirectory, "licenses.html" );
+ if ( !licenses.exists() || licenses.isDirectory() )
{
- System.err.println( "no license file or is a directory." );
+ System.err.println( "no licenses file or is a directory." );
result = false;
}
- String content = FileUtils.fileRead( license, "UTF-8" );
- int index = content.indexOf( "Home" );
+ String content = FileUtils.fileRead( licenses, "UTF-8" );
+ int index = content.indexOf( "Home" );
if ( index < 0 )
{
- System.err.println( "license.html has incorrect links!" );
+ System.err.println( "licenses.html has incorrect links!" );
result = false;
}
@@ -57,18 +57,18 @@ try
result = false;
}
- license = new File( deDirectory, "license.html" );
- if ( !license.exists() || license.isDirectory() )
+ licenses = new File( deDirectory, "licenses.html" );
+ if ( !licenses.exists() || licenses.isDirectory() )
{
- System.err.println( "no license file or is a directory." );
+ System.err.println( "no licenses file or is a directory." );
result = false;
}
- content = FileUtils.fileRead( license, "UTF-8" );
- int index = content.indexOf( "Heim" );
+ content = FileUtils.fileRead( licenses, "UTF-8" );
+ int index = content.indexOf( "Heim" );
if ( index < 0 )
{
- System.err.println( "license.html has incorrect links!" );
+ System.err.println( "licenses.html has incorrect links!" );
result = false;
}
}
diff --git a/src/it/projects/MSITE-665/pom.xml b/src/it/projects/MSITE-665/pom.xml
index c8c57c885..e5fc8a865 100644
--- a/src/it/projects/MSITE-665/pom.xml
+++ b/src/it/projects/MSITE-665/pom.xml
@@ -58,9 +58,9 @@ under the License.
- junit
- junit
- 4.8.1
+ org.junit.jupiter
+ junit-jupiter-api
+ @versions.junit5@test
@@ -70,7 +70,7 @@ under the License.
org.apache.maven.pluginsmaven-project-info-reports-plugin
- 2.5.1
+ @projectInfoReportsPluginVersion@
diff --git a/src/it/projects/MSITE-665/src/test/java/my/group/id/AppTest.java b/src/it/projects/MSITE-665/src/test/java/my/group/id/AppTest.java
index 13ddce960..1ca236605 100644
--- a/src/it/projects/MSITE-665/src/test/java/my/group/id/AppTest.java
+++ b/src/it/projects/MSITE-665/src/test/java/my/group/id/AppTest.java
@@ -19,11 +19,8 @@
* under the License.
*/
-import org.junit.*;
-
-import static org.junit.Assert.*;
-import static org.hamcrest.CoreMatchers.*;
-import static org.junit.matchers.JUnitMatchers.*;
+import org.junit.jupiter.api.Test;
+import static org.junit.jupiter.api.Assertions.assertTrue;
/**
* Unit test for simple App.
diff --git a/src/it/projects/MSITE-723/pom.xml b/src/it/projects/MSITE-723/pom.xml
index f7818e3b5..019c799a8 100644
--- a/src/it/projects/MSITE-723/pom.xml
+++ b/src/it/projects/MSITE-723/pom.xml
@@ -44,7 +44,7 @@ under the License.
org.apache.maven.pluginsmaven-antrun-plugin
- 1.7
+ @antrunPluginVersion@copy-site-files
@@ -54,7 +54,7 @@ under the License.
-
+ Correct!${line.separator}${line.separator} This is an index file in the generated-site.
@@ -73,7 +73,7 @@ under the License.
org.apache.maven.pluginsmaven-project-info-reports-plugin
- 2.5.1
+ @projectInfoReportsPluginVersion@
diff --git a/src/it/projects/MSITE-842/invoker.properties b/src/it/projects/MSITE-842/invoker.properties
index ed62a6130..fc01a8211 100644
--- a/src/it/projects/MSITE-842/invoker.properties
+++ b/src/it/projects/MSITE-842/invoker.properties
@@ -17,5 +17,4 @@
invoker.goals.1 = clean install
invoker.debug.1 = false
-invoker.goals.2 = site
-invoker.maven.version = 3.0+
+invoker.goals.2 = -pl project site
diff --git a/src/it/projects/MSITE-842/pom.xml b/src/it/projects/MSITE-842/pom.xml
index 470ef8672..15ac0597c 100644
--- a/src/it/projects/MSITE-842/pom.xml
+++ b/src/it/projects/MSITE-842/pom.xml
@@ -25,69 +25,16 @@ under the License.
4.0.0org.apache.maven.plugins.site.its
- MSITE-842
+ MSITE-842-aggregator1.0-SNAPSHOT
- maven-plugin
+ pomit-plugin-test Maven Mojohttp://maven.apache.org
-
- UTF-8
-
-
-
-
- org.apache.maven.reporting
- maven-reporting-impl
- 3.0.0
-
-
-
-
-
-
-
-
- org.apache.maven.plugins
- maven-site-plugin
- @project.version@
-
-
-
-
-
-
- org.apache.maven.plugins
- maven-site-plugin
-
- ${basedir}/src/site/show-properties.vm
-
-
-
-
-
-
-
-
-
- org.apache.maven.plugins.site.its
- MSITE-842
- ${project.version}
-
-
- org.apache.maven.plugins
- maven-project-info-reports-plugin
- 2.9
-
-
-
- true
-
-
-
-
-
-
+
+ skin
+ project
+
diff --git a/src/it/projects/MSITE-842/project/pom.xml b/src/it/projects/MSITE-842/project/pom.xml
new file mode 100644
index 000000000..783d6fa89
--- /dev/null
+++ b/src/it/projects/MSITE-842/project/pom.xml
@@ -0,0 +1,106 @@
+
+
+
+
+
+ 4.0.0
+
+ org.apache.maven.plugins.site.its
+ MSITE-842-plugin
+ 1.0-SNAPSHOT
+ maven-plugin
+
+ it-plugin-test Maven Mojo
+ http://maven.apache.org
+
+
+ UTF-8
+
+
+
+
+ org.apache.maven.reporting
+ maven-reporting-impl
+ @mavenReportingImplVersion@
+
+
+ org.apache.maven
+ maven-plugin-api
+ @mavenVersion@
+ provided
+
+
+ org.apache.maven.plugin-tools
+ maven-plugin-annotations
+ @mavenPluginPluginVersion@
+ provided
+
+
+
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-site-plugin
+ @project.version@
+
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-plugin-plugin
+ @mavenPluginPluginVersion@
+
+ MSITE-842
+
+
+
+
+
+
+
+
+
+ org.apache.maven.plugins.site.its
+ MSITE-842-plugin
+ ${project.version}
+
+
+ org.apache.maven.plugins
+ maven-project-info-reports-plugin
+ @projectInfoReportsPluginVersion@
+
+
+
+ true
+
+
+
+
+
+
+
+
diff --git a/src/it/projects/MSITE-842/src/it/MSITE-842.html b/src/it/projects/MSITE-842/project/src/it/MSITE-842.html
similarity index 100%
rename from src/it/projects/MSITE-842/src/it/MSITE-842.html
rename to src/it/projects/MSITE-842/project/src/it/MSITE-842.html
diff --git a/src/it/projects/MSITE-842/src/it/another-page.html b/src/it/projects/MSITE-842/project/src/it/another-page.html
similarity index 100%
rename from src/it/projects/MSITE-842/src/it/another-page.html
rename to src/it/projects/MSITE-842/project/src/it/another-page.html
diff --git a/src/it/projects/MSITE-842/src/it/sub/sub.html b/src/it/projects/MSITE-842/project/src/it/sub/sub.html
similarity index 100%
rename from src/it/projects/MSITE-842/src/it/sub/sub.html
rename to src/it/projects/MSITE-842/project/src/it/sub/sub.html
diff --git a/src/it/projects/MSITE-842/src/main/java/org/apache/maven/plugins/it/MyReport.java b/src/it/projects/MSITE-842/project/src/main/java/org/apache/maven/plugins/it/MyReport.java
similarity index 88%
rename from src/it/projects/MSITE-842/src/main/java/org/apache/maven/plugins/it/MyReport.java
rename to src/it/projects/MSITE-842/project/src/main/java/org/apache/maven/plugins/it/MyReport.java
index c00c6fc96..b16dc2865 100644
--- a/src/it/projects/MSITE-842/src/main/java/org/apache/maven/plugins/it/MyReport.java
+++ b/src/it/projects/MSITE-842/project/src/main/java/org/apache/maven/plugins/it/MyReport.java
@@ -20,6 +20,8 @@
*/
import org.apache.maven.doxia.sink.Sink;
+import org.apache.maven.plugins.annotations.LifecyclePhase;
+import org.apache.maven.plugins.annotations.Mojo;
import org.apache.maven.reporting.AbstractMavenReport;
import org.apache.maven.reporting.MavenReportException;
@@ -29,10 +31,8 @@
/**
* Goal which creates several pages in a report.
- *
- * @goal test
- * @phase site
*/
+@Mojo( name = "test", defaultPhase = LifecyclePhase.SITE )
public class MyReport
extends AbstractMavenReport
{
@@ -69,7 +69,7 @@ protected void executeReport( Locale locale ) throws MavenReportException
Sink anotherSink;
try
{
- anotherSink = getSinkFactory().createSink( outputDirectory, "another-page.html" );
+ anotherSink = getSinkFactory().createSink( getReportOutputDirectory(), "another-page.html" );
}
catch ( IOException e )
{
@@ -81,7 +81,7 @@ protected void executeReport( Locale locale ) throws MavenReportException
anotherSink.text( "Another Sink" );
// Create a new sink, in a subdirectory
- File subDirectory = new File( outputDirectory, "sub" );
+ File subDirectory = new File( getReportOutputDirectory(), "sub" );
Sink subDirectorySink;
try
{
diff --git a/src/it/projects/MSITE-842/project/src/site/site.xml b/src/it/projects/MSITE-842/project/src/site/site.xml
new file mode 100644
index 000000000..69ffb51d3
--- /dev/null
+++ b/src/it/projects/MSITE-842/project/src/site/site.xml
@@ -0,0 +1,40 @@
+
+
+
+
+
+
+ org.apache.maven.plugins.site.its
+ MSITE-842-skin
+ 1.0-SNAPSHOT
+
+
+
+
+
+
+
+
+
+
diff --git a/src/it/projects/MSITE-842/skin/pom.xml b/src/it/projects/MSITE-842/skin/pom.xml
new file mode 100644
index 000000000..009ce86b3
--- /dev/null
+++ b/src/it/projects/MSITE-842/skin/pom.xml
@@ -0,0 +1,39 @@
+
+
+
+
+
+ 4.0.0
+
+ org.apache.maven.plugins.site.its
+ MSITE-842-skin
+ 1.0-SNAPSHOT
+ jar
+
+ it-plugin-test Maven Mojo
+ http://maven.apache.org
+
+
+ UTF-8
+
+
+
diff --git a/src/it/projects/MSITE-842/src/site/show-properties.vm b/src/it/projects/MSITE-842/skin/src/main/resources/META-INF/maven/site.vm
similarity index 100%
rename from src/it/projects/MSITE-842/src/site/show-properties.vm
rename to src/it/projects/MSITE-842/skin/src/main/resources/META-INF/maven/site.vm
diff --git a/src/it/projects/MSITE-842/verify.groovy b/src/it/projects/MSITE-842/verify.groovy
index 508edb643..2bc801d6d 100644
--- a/src/it/projects/MSITE-842/verify.groovy
+++ b/src/it/projects/MSITE-842/verify.groovy
@@ -22,22 +22,22 @@ File resultFile;
File expectedFile;
// Check MSITE-842.html (must exist and be exactly like the model
-resultFile = new File(basedir, "target/site/MSITE-842.html");
-expectedFile = new File(basedir, "src/it/MSITE-842.html");
+resultFile = new File(basedir, "project/target/site/MSITE-842.html");
+expectedFile = new File(basedir, "project/src/it/MSITE-842.html");
assert resultFile.exists() && resultFile.isFile()
assert resultFile.text.normalize().equals(expectedFile.text.normalize())
// Check another-page.html (must exist and be exactly like the model
-resultFile = new File(basedir, "target/site/another-page.html");
-expectedFile = new File(basedir, "src/it/another-page.html");
+resultFile = new File(basedir, "project/target/site/another-page.html");
+expectedFile = new File(basedir, "project/src/it/another-page.html");
assert resultFile.exists() && resultFile.isFile()
assert resultFile.text.normalize().equals(expectedFile.text.normalize())
// Check sub/sub.html (must exist and be exactly like the model
-resultFile = new File(basedir, "target/site/sub/sub.html");
-expectedFile = new File(basedir, "src/it/sub/sub.html");
+resultFile = new File(basedir, "project/target/site/sub/sub.html");
+expectedFile = new File(basedir, "project/src/it/sub/sub.html");
assert resultFile.exists() && resultFile.isFile()
assert resultFile.text.normalize().equals(expectedFile.text.normalize())
diff --git a/src/it/projects/MSITE-856/pom.xml b/src/it/projects/MSITE-856/pom.xml
index dfdeccb7f..a66c8158b 100644
--- a/src/it/projects/MSITE-856/pom.xml
+++ b/src/it/projects/MSITE-856/pom.xml
@@ -29,6 +29,10 @@ under the License.
pomMSITE-856
+
+ @fluidoSkinVersion@
+
+
@@ -37,6 +41,7 @@ under the License.
@project.version@true
+ default,de
@@ -47,7 +52,7 @@ under the License.
maven-project-info-reports-plugin
- 2.3.1
+ @projectInfoReportsPluginVersion@
diff --git a/src/it/projects/MSITE-856/src/site/site.xml b/src/it/projects/MSITE-856/src/site/site.xml
index 88a1a9573..3610d5cd1 100644
--- a/src/it/projects/MSITE-856/src/site/site.xml
+++ b/src/it/projects/MSITE-856/src/site/site.xml
@@ -19,12 +19,18 @@ specific language governing permissions and limitations
under the License.
-->
-
+
+
+ org.apache.maven.skins
+ maven-fluido-skin
+ ${fluidoSkinVersion}
+
+
-
+
diff --git a/src/it/projects/MSITE-856/src/site/site_de.xml b/src/it/projects/MSITE-856/src/site/site_de.xml
new file mode 100644
index 000000000..13f8eec1b
--- /dev/null
+++ b/src/it/projects/MSITE-856/src/site/site_de.xml
@@ -0,0 +1,36 @@
+
+
+
+
+
+
+ org.apache.maven.skins
+ maven-fluido-skin
+ ${fluidoSkinVersion}
+
+
+
+
+
+
diff --git a/src/it/projects/MSITE-856/verify.bsh b/src/it/projects/MSITE-856/verify.bsh
index 802eae94a..4ee0e12d1 100644
--- a/src/it/projects/MSITE-856/verify.bsh
+++ b/src/it/projects/MSITE-856/verify.bsh
@@ -22,17 +22,38 @@ import org.codehaus.plexus.util.*;
try
{
- final File siteDirectory = new File( basedir, "target/generated-site" );
- if ( !siteDirectory.exists() || !siteDirectory.isDirectory() )
+ final File siteDirectory = new File( basedir, "target/site" );
+ if ( !siteDirectory.isDirectory() )
{
- System.err.println( "generated-site is missing or not a directory." );
+ System.err.println( "site is missing or not a directory." );
return false;
}
- File index = new File( siteDirectory, "xdoc/sitemap.xml" );
- if ( !index.exists() || index.isDirectory() )
+ File sitemapHtmlFile = new File( siteDirectory, "sitemap.html" );
+ if ( !sitemapHtmlFile.isFile() )
{
- System.err.println( "no sitemap.xml!" );
+ System.err.println( "no sitemap.html!" );
+ return false;
+ }
+
+ content = FileUtils.fileRead( sitemapHtmlFile, "UTF-8" );
+ if ( !content.contains( "
My first item
" ) )
+ {
+ System.err.println( "\"
My first item
\" not found in sitemap.html!" );
+ return false;
+ }
+
+ File sitemapGermanHtmlFile = new File( siteDirectory, "de/sitemap.html" );
+ if ( !sitemapGermanHtmlFile.isFile() )
+ {
+ System.err.println( "no German sitemap.html!" );
+ return false;
+ }
+
+ content = FileUtils.fileRead( sitemapGermanHtmlFile, "UTF-8" );
+ if ( !content.contains( "
" );
if ( index1 < 0 || index2 < 0 || index3 < 0 || index4 < 0 )
{
@@ -184,7 +184,7 @@ try
result = false;
}
- index1 = content.indexOf( "Child Not As Ref" );
+ index1 = content.indexOf( "Child Not As Ref" );
if ( index1 < 0 )
{
diff --git a/src/it/projects/inheritedReports/child/pom.xml b/src/it/projects/inheritedReports/child/pom.xml
index c5d7de3d9..771e21062 100644
--- a/src/it/projects/inheritedReports/child/pom.xml
+++ b/src/it/projects/inheritedReports/child/pom.xml
@@ -40,7 +40,7 @@ under the License.
maven-project-info-reports-plugin
- 2.3.1
+ @projectInfoReportsPluginVersion@
diff --git a/src/it/projects/inheritedReports/invoker.properties b/src/it/projects/inheritedReports/invoker.properties
index c51c29940..978b68af6 100644
--- a/src/it/projects/inheritedReports/invoker.properties
+++ b/src/it/projects/inheritedReports/invoker.properties
@@ -14,9 +14,3 @@
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
-
-# Maven 2 & 3 don't handle the test the same way:
-# - Maven 2 adds report: this is the tested behaviour
-# - until 3.0.3, Maven 3 replaces report: the test fails
-# - since 3.0.4, Maven 3 has the same behaviour than Maven 2, as a side effect of MNG-5155
-invoker.maven.version = 3.0-,3.0.4+
diff --git a/src/it/projects/inheritedReports/pom.xml b/src/it/projects/inheritedReports/pom.xml
index 5ea67f351..d87a307b1 100644
--- a/src/it/projects/inheritedReports/pom.xml
+++ b/src/it/projects/inheritedReports/pom.xml
@@ -47,7 +47,7 @@ under the License.
maven-project-info-reports-plugin
- 2.3.1
+ @projectInfoReportsPluginVersion@
diff --git a/src/it/projects/inheritedReports/verify.bsh b/src/it/projects/inheritedReports/verify.bsh
index 3877ef16e..7cc6d9484 100644
--- a/src/it/projects/inheritedReports/verify.bsh
+++ b/src/it/projects/inheritedReports/verify.bsh
@@ -44,10 +44,10 @@ try
result = false;
}
- File childIndex = new File( childSiteDirectory, "project-summary.html" );
- if ( !childIndex.exists() )
+ File childSummary = new File( childSiteDirectory, "summary.html" );
+ if ( !childSummary.exists() )
{
- System.err.println( "no project-summary file in child." );
+ System.err.println( "no summary file in child." );
result = false;
}
diff --git a/src/it/projects/it-plugin-test/pom.xml b/src/it/projects/it-plugin-test/pom.xml
index 550019eba..6745856ea 100644
--- a/src/it/projects/it-plugin-test/pom.xml
+++ b/src/it/projects/it-plugin-test/pom.xml
@@ -35,12 +35,12 @@ under the License.
org.apache.mavenmaven-plugin-api
- 3.0
+ @mavenVersion@
- junit
- junit
- 3.8.2
+ org.junit.jupiter
+ junit-jupiter-api
+ @versions.junit5@test
@@ -63,7 +63,7 @@ under the License.
org.apache.maven.pluginsmaven-plugin-plugin
- 2.5.1
+ @mavenPluginPluginVersion@
diff --git a/src/it/projects/new-configuration/invoker.properties b/src/it/projects/new-configuration/invoker.properties
index 5fcde54ed..978b68af6 100644
--- a/src/it/projects/new-configuration/invoker.properties
+++ b/src/it/projects/new-configuration/invoker.properties
@@ -14,5 +14,3 @@
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
-
-invoker.maven.version = 3.0+
diff --git a/src/it/projects/new-configuration/pom.xml b/src/it/projects/new-configuration/pom.xml
index f5ab90316..736cf5dbd 100644
--- a/src/it/projects/new-configuration/pom.xml
+++ b/src/it/projects/new-configuration/pom.xml
@@ -35,12 +35,12 @@ under the License.
org.apache.mavenmaven-plugin-api
- 3.0
+ @mavenVersion@
- junit
- junit
- 3.8.2
+ org.junit.jupiter
+ junit-jupiter-api
+ @versions.junit5@test
@@ -50,13 +50,13 @@ under the License.
org.apache.maven.pluginsmaven-site-plugin
- @pom.version@
+ @project.version@org.apache.maven.pluginsmaven-project-info-reports-plugin
- 2.2
+ @projectInfoReportsPluginVersion@falsefalse
@@ -71,7 +71,7 @@ under the License.
index
-
+
org.apache.maven.plugins
@@ -82,7 +82,7 @@ under the License.
org.apache.maven.plugin-toolsmaven-plugin-tools-javadoc
- 3.2
+ @mavenPluginPluginVersion@
@@ -99,7 +99,7 @@ under the License.
org.apache.maven.pluginsmaven-plugin-plugin
- 2.5.1
+ @mavenPluginPluginVersion@
diff --git a/src/it/projects/new-configuration/verify.groovy b/src/it/projects/new-configuration/verify.groovy
index b6feedb7a..bd82ce2ab 100644
--- a/src/it/projects/new-configuration/verify.groovy
+++ b/src/it/projects/new-configuration/verify.groovy
@@ -24,7 +24,7 @@ return true;
assert !new File( basedir, 'target/surefire-reports' ).exists();
assert !new File( basedir, 'target/surefire-reports/org.apache.maven.plugins.site.its.AppTest.txt' ).exists();
-assert !new File( basedir, 'target/site/surefire-report.html' ).exists();
+assert !new File( basedir, 'target/site/surefire.html' ).exists();
assert new File( basedir, 'target/site/index.html' ).exists();
assert !new File( basedir, 'target/site/checkstyle.html' ).exists();
assert !new File( basedir, 'target/site/cpd.html' ).exists();
@@ -39,4 +39,4 @@ assert !new File( basedir, 'target/site/team-list.html' ).exists();
assert !new File( basedir, 'target/site/dependencies.html' ).exists();
-return true;
\ No newline at end of file
+return true;
diff --git a/src/it/projects/no-locales-default-token/invoker.properties b/src/it/projects/no-locales-default-token/invoker.properties
new file mode 100644
index 000000000..c315ac8b4
--- /dev/null
+++ b/src/it/projects/no-locales-default-token/invoker.properties
@@ -0,0 +1,18 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
+invoker.goals=clean install site
\ No newline at end of file
diff --git a/src/it/projects/no-locales-default-token/pom.xml b/src/it/projects/no-locales-default-token/pom.xml
new file mode 100644
index 000000000..1e565be92
--- /dev/null
+++ b/src/it/projects/no-locales-default-token/pom.xml
@@ -0,0 +1,67 @@
+
+
+
+
+
+ 4.0.0
+
+ org.apache.maven.plugins.site.its
+ no-locales-default-token
+ 1.0-SNAPSHOT
+ pom
+ no-locales-default-token
+
+
+ @fluidoSkinVersion@
+
+
+
+
+
+
+ maven-site-plugin
+ @project.version@
+
+ true
+ de
+
+
+
+
+
+
+
+
+
+ maven-project-info-reports-plugin
+ @projectInfoReportsPluginVersion@
+
+
+
+ index
+
+
+
+
+
+
+
+
diff --git a/src/it/projects/no-locales-default-token/src/site/site.xml b/src/it/projects/no-locales-default-token/src/site/site.xml
new file mode 100644
index 000000000..13f8eec1b
--- /dev/null
+++ b/src/it/projects/no-locales-default-token/src/site/site.xml
@@ -0,0 +1,36 @@
+
+
+
+
+
+
+ org.apache.maven.skins
+ maven-fluido-skin
+ ${fluidoSkinVersion}
+
+
+
+
+
+
diff --git a/src/it/projects/doxia-formats/src/site/twiki/twiki.twiki b/src/it/projects/no-locales-default-token/src/site/xdoc/index.xml
similarity index 71%
rename from src/it/projects/doxia-formats/src/site/twiki/twiki.twiki
rename to src/it/projects/no-locales-default-token/src/site/xdoc/index.xml
index 1c9876d39..e8afa4274 100644
--- a/src/it/projects/doxia-formats/src/site/twiki/twiki.twiki
+++ b/src/it/projects/no-locales-default-token/src/site/xdoc/index.xml
@@ -1,3 +1,6 @@
+
+
+
----++ Example
+
+
+ Hans Möller
+ Guten Tag zum Index
+
+
- * level 1
- * level 2
- * back on 1
- * last bullet
+
+
+ Diese Seite ist für de_DE
+
+
-Content for verify.groovy
+
+
diff --git a/src/it/projects/no-locales-default-token/verify.bsh b/src/it/projects/no-locales-default-token/verify.bsh
new file mode 100644
index 000000000..f5fddff68
--- /dev/null
+++ b/src/it/projects/no-locales-default-token/verify.bsh
@@ -0,0 +1,72 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+import java.io.*;
+import org.codehaus.plexus.util.*;
+
+try
+{
+ final File siteDirectory = new File( basedir, "target/site" );
+ if ( !siteDirectory.isDirectory() )
+ {
+ System.err.println( "site is missing or not a directory." );
+ return false;
+ }
+
+ File sitemapHtmlFile = new File( siteDirectory, "sitemap.html" );
+ if ( !sitemapHtmlFile.isFile() )
+ {
+ System.err.println( "no sitemap.html!" );
+ return false;
+ }
+
+ content = FileUtils.fileRead( sitemapHtmlFile, "UTF-8" );
+ if ( !content.contains( "
Mein erstes Element
" ) )
+ {
+ System.err.println( "\"
Mein erstes Element
\" not found in German sitemap.html!" );
+ return false;
+ }
+
+ File sitemapGermanHtmlFile = new File( siteDirectory, "de/sitemap.html" );
+ if ( sitemapGermanHtmlFile.isFile() )
+ {
+ System.err.println( "German sitemap.html should be in target/site!" );
+ return false;
+ }
+
+ File indexHtmlFile = new File( siteDirectory, "index.html" );
+ if ( !indexHtmlFile.isFile() )
+ {
+ System.err.println( "index.html should be in target/site!" );
+ return false;
+ }
+ content = FileUtils.fileRead( indexHtmlFile, "UTF-8" );
+ if ( !content.contains( "Guten Tag zum Index" ) )
+ {
+ System.err.println( "\"Guten Tag zum Index\" not found in index.html!" );
+ return false;
+ }
+}
+catch ( IOException e )
+{
+ e.printStackTrace();
+ return false;
+}
+
+return true;
diff --git a/src/it/projects/no-version/pom.xml b/src/it/projects/no-version/pom.xml
index b29960f6c..369042516 100644
--- a/src/it/projects/no-version/pom.xml
+++ b/src/it/projects/no-version/pom.xml
@@ -34,9 +34,9 @@ under the License.
- junit
- junit
- 3.8.2
+ org.junit.jupiter
+ junit-jupiter-api
+ @versions.junit5@test
@@ -51,7 +51,7 @@ under the License.
org.apache.maven.pluginsmaven-surefire-report-plugin
- 2.4.3
+ @surefirePluginVersion@
diff --git a/src/it/projects/no-version/src/test/java/org/apache/maven/plugins/site/its/AppTest.java b/src/it/projects/no-version/src/test/java/org/apache/maven/plugins/site/its/AppTest.java
index b5d2d84cc..322331ecc 100644
--- a/src/it/projects/no-version/src/test/java/org/apache/maven/plugins/site/its/AppTest.java
+++ b/src/it/projects/no-version/src/test/java/org/apache/maven/plugins/site/its/AppTest.java
@@ -19,45 +19,18 @@
* under the License.
*/
-import junit.framework.Test;
-import junit.framework.TestCase;
-import junit.framework.TestSuite;
-
+import org.junit.jupiter.api.Test;
+import static org.junit.jupiter.api.Assertions.assertTrue;
/**
* Unit test for simple App.
*/
-public class AppTest
- extends TestCase
-{
- /**
- * Create the test case
- *
- * @param testName name of the test case
- */
- public AppTest( String testName )
- {
- super( testName );
- }
-
- /**
- * @return the suite of tests being tested
- */
- public static Test suite()
- {
- return new TestSuite( AppTest.class );
- }
-
+public class AppTest {
/**
* Rigourous Test :-)
*/
- public void testApp()
- {
- assertTrue( true );
+ @Test
+ public void testApp() {
+ assertTrue(true);
}
-
- /*
- public void testFailed()
- {
- assertTrue( false );
- } */
+
}
diff --git a/src/it/projects/no-version/verify.groovy b/src/it/projects/no-version/verify.groovy
index 0f1c11d9b..65a8033fd 100644
--- a/src/it/projects/no-version/verify.groovy
+++ b/src/it/projects/no-version/verify.groovy
@@ -25,7 +25,7 @@ assert content.contains( 'Test set: org.apache.maven.plugins.site.its.AppTest' )
assert content.contains( 'Tests run: 1, Failures: 0, Errors: 0, Skipped: 0' );
-assert new File( basedir, 'target/site/surefire-report.html' ).exists();
+assert new File( basedir, 'target/site/surefire.html' ).exists();
assert !new File( basedir, 'target/site/index.html' ).exists();
-return true;
\ No newline at end of file
+return true;
diff --git a/src/it/projects/publishDate/pom.xml b/src/it/projects/publishDate/pom.xml
new file mode 100644
index 000000000..ee953711a
--- /dev/null
+++ b/src/it/projects/publishDate/pom.xml
@@ -0,0 +1,64 @@
+
+
+
+
+
+ 4.0.0
+ org.apache.maven.plugins.site.its
+ publishDate
+ 1.0-SNAPSHOT
+ jar
+
+ maven-site-plugin IT: publish date
+ check that publish date is populated from 'project.build.outputTimestamp'
+ http://maven.apache.org
+
+
+ @projectInfoReportsPluginVersion@
+ 2000-01-01T00:00:00Z
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-site-plugin
+ @project.version@
+
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-project-info-reports-plugin
+ @projectInfoReportsPluginVersion@
+
+
+
+ index
+
+
+
+
+
+
+
diff --git a/src/it/projects/publishDate/verify.groovy b/src/it/projects/publishDate/verify.groovy
new file mode 100644
index 000000000..af6a09b0b
--- /dev/null
+++ b/src/it/projects/publishDate/verify.groovy
@@ -0,0 +1,24 @@
+
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+sitedir = new File( basedir, 'target/site' );
+index = new File( sitedir, 'index.html' );
+assert index.exists();
+assert index.getText().contains( '
Last Published: 2000-01-01' );
diff --git a/src/it/projects/report-changes-generation/pom.xml b/src/it/projects/report-changes-generation/pom.xml
index ca7eb28f2..aaf956a45 100644
--- a/src/it/projects/report-changes-generation/pom.xml
+++ b/src/it/projects/report-changes-generation/pom.xml
@@ -81,7 +81,7 @@
org.apache.maven.pluginsmaven-site-plugin
- @pom.version@
+ @project.version@
diff --git a/src/it/projects/reportConfig/invoker.properties b/src/it/projects/reportConfig/invoker.properties
index 228aa6410..978b68af6 100644
--- a/src/it/projects/reportConfig/invoker.properties
+++ b/src/it/projects/reportConfig/invoker.properties
@@ -14,5 +14,3 @@
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
-
-invoker.maven.version = 3.0+
\ No newline at end of file
diff --git a/src/it/projects/resources/pom.xml b/src/it/projects/resources/pom.xml
index c472248fc..e5814bbc6 100644
--- a/src/it/projects/resources/pom.xml
+++ b/src/it/projects/resources/pom.xml
@@ -53,7 +53,7 @@ under the License.
maven-antrun-plugin
- 1.7
+ @antrunPluginVersion@pre-site
diff --git a/src/it/projects/site-attach-descriptor/child/src/site/site.xml b/src/it/projects/site-attach-descriptor/child/src/site/site.xml
index 9e7b8b8bc..ec9b2dfee 100644
--- a/src/it/projects/site-attach-descriptor/child/src/site/site.xml
+++ b/src/it/projects/site-attach-descriptor/child/src/site/site.xml
@@ -19,7 +19,12 @@ specific language governing permissions and limitations
under the License.
-->
-
-
+
+
+ org.apache.maven.skins
+ maven-fluido-skin
+ ${fluidoSkinVersion}
+
+
diff --git a/src/it/projects/site-attach-descriptor/pom.xml b/src/it/projects/site-attach-descriptor/pom.xml
index db1475cfa..c87ea6cd4 100644
--- a/src/it/projects/site-attach-descriptor/pom.xml
+++ b/src/it/projects/site-attach-descriptor/pom.xml
@@ -37,8 +37,9 @@ under the License.
- 3.0.5
+ @mavenVersion@UTF-8
+ @fluidoSkinVersion@
@@ -59,7 +60,7 @@ under the License.
maven-deploy-plugin
- 2.5
+ 3.1.3
@@ -68,7 +69,7 @@ under the License.
maven-site-plugin@project.version@
- en,sv
+ default,en,sv
@@ -87,7 +88,7 @@ under the License.
org.apache.maven.pluginsmaven-project-info-reports-plugin
- 2.1.2
+ @projectInfoReportsPluginVersion@
diff --git a/src/it/projects/site-attach-descriptor/src/site/site.xml b/src/it/projects/site-attach-descriptor/src/site/site.xml
index 2cfb48659..9885790c8 100644
--- a/src/it/projects/site-attach-descriptor/src/site/site.xml
+++ b/src/it/projects/site-attach-descriptor/src/site/site.xml
@@ -19,15 +19,15 @@ specific language governing permissions and limitations
under the License.
-->
-
+org.apache.maven.skins
- maven-stylus-skin
- 1.5
+ maven-fluido-skin
+ ${fluidoSkinVersion}
@@ -41,4 +41,4 @@ under the License.
-
+
diff --git a/src/it/projects/site-attach-descriptor/src/site/site_sv.xml b/src/it/projects/site-attach-descriptor/src/site/site_sv.xml
index ceb8269ee..a76f6846e 100644
--- a/src/it/projects/site-attach-descriptor/src/site/site_sv.xml
+++ b/src/it/projects/site-attach-descriptor/src/site/site_sv.xml
@@ -19,15 +19,15 @@ specific language governing permissions and limitations
under the License.
-->
-
+org.apache.maven.skins
- maven-stylus-skin
- 1.5
+ maven-fluido-skin
+ ${fluidoSkinVersion}
@@ -41,4 +41,4 @@ under the License.
-
+
diff --git a/src/it/projects/site-deploy/pom.xml b/src/it/projects/site-deploy/pom.xml
index 163090d5c..6beb9ec18 100644
--- a/src/it/projects/site-deploy/pom.xml
+++ b/src/it/projects/site-deploy/pom.xml
@@ -32,8 +32,9 @@ under the License.
site-deploy IT
- 3.0.5
+ @mavenVersion@UTF-8
+ @fluidoSkinVersion@
@@ -58,7 +59,7 @@ under the License.
org.apache.maven.pluginsmaven-project-info-reports-plugin
- 2.1.2
+ @projectInfoReportsPluginVersion@
diff --git a/src/it/projects/site-deploy/src/site/site.xml b/src/it/projects/site-deploy/src/site/site.xml
index 2cfb48659..9885790c8 100644
--- a/src/it/projects/site-deploy/src/site/site.xml
+++ b/src/it/projects/site-deploy/src/site/site.xml
@@ -19,15 +19,15 @@ specific language governing permissions and limitations
under the License.
-->
-
+org.apache.maven.skins
- maven-stylus-skin
- 1.5
+ maven-fluido-skin
+ ${fluidoSkinVersion}
@@ -41,4 +41,4 @@ under the License.
-
+
diff --git a/src/it/projects/site-deploy/verify.bsh b/src/it/projects/site-deploy/verify.bsh
index 0b822a860..2b4715e5f 100644
--- a/src/it/projects/site-deploy/verify.bsh
+++ b/src/it/projects/site-deploy/verify.bsh
@@ -65,10 +65,10 @@ try
return false;
}
String downloadContent = FileUtils.fileRead( download, "UTF-8" );
- int indexOf = downloadContent.indexOf( "Download Maven 3.0.5" );
+ int indexOf = downloadContent.indexOf( "Download Maven 3.6.3" );
if ( indexOf < 0 )
{
- System.err.println( "download.html doesn't contain Download Maven 3.0.5" );
+ System.err.println( "download.html doesn't contain Download Maven 3.6.3" );
return false;
}
}
diff --git a/src/it/projects/site-inheritance/aggregator/pom.xml b/src/it/projects/site-inheritance/aggregator/pom.xml
index 8f88c3ce8..88fa25874 100644
--- a/src/it/projects/site-inheritance/aggregator/pom.xml
+++ b/src/it/projects/site-inheritance/aggregator/pom.xml
@@ -56,7 +56,7 @@ under the License.
maven-project-info-reports-plugin
- 2.3.1
+ @projectInfoReportsPluginVersion@
diff --git a/src/it/projects/site-inheritance/child_and_module/src/site/site.xml b/src/it/projects/site-inheritance/child_and_module/src/site/site.xml
index f0862cce0..55aebeda5 100644
--- a/src/it/projects/site-inheritance/child_and_module/src/site/site.xml
+++ b/src/it/projects/site-inheritance/child_and_module/src/site/site.xml
@@ -19,8 +19,15 @@ specific language governing permissions and limitations
under the License.
-->
-
+
+
+ org.apache.maven.skins
+ maven-fluido-skin
+ ${fluidoSkinVersion}
+
+
@@ -41,4 +48,4 @@ under the License.
-
+
diff --git a/src/it/projects/site-inheritance/inheriting_child/src/site/site.xml b/src/it/projects/site-inheritance/inheriting_child/src/site/site.xml
index f0862cce0..55aebeda5 100644
--- a/src/it/projects/site-inheritance/inheriting_child/src/site/site.xml
+++ b/src/it/projects/site-inheritance/inheriting_child/src/site/site.xml
@@ -19,8 +19,15 @@ specific language governing permissions and limitations
under the License.
-->
-
+
+
+ org.apache.maven.skins
+ maven-fluido-skin
+ ${fluidoSkinVersion}
+
+
@@ -41,4 +48,4 @@ under the License.
-
+
diff --git a/src/it/projects/site-inheritance/module/pom.xml b/src/it/projects/site-inheritance/module/pom.xml
index 431ea1daf..8e7370f76 100644
--- a/src/it/projects/site-inheritance/module/pom.xml
+++ b/src/it/projects/site-inheritance/module/pom.xml
@@ -30,6 +30,11 @@ under the License.
Modulehttp://webhost.company.com/www/website/module
+
+ UTF-8
+ @fluidoSkinVersion@
+
+
website
@@ -54,7 +59,7 @@ under the License.
maven-project-info-reports-plugin
- 2.3.1
+ @projectInfoReportsPluginVersion@
@@ -70,7 +75,4 @@ under the License.
../sub_module
-
- UTF-8
-
diff --git a/src/it/projects/site-inheritance/module/src/site/site.xml b/src/it/projects/site-inheritance/module/src/site/site.xml
index d09863366..181146b53 100644
--- a/src/it/projects/site-inheritance/module/src/site/site.xml
+++ b/src/it/projects/site-inheritance/module/src/site/site.xml
@@ -19,8 +19,15 @@ specific language governing permissions and limitations
under the License.
-->
-
+
+
+ org.apache.maven.skins
+ maven-fluido-skin
+ ${fluidoSkinVersion}
+
+
@@ -42,4 +49,4 @@ under the License.
-
+
diff --git a/src/it/projects/site-inheritance/parent/pom.xml b/src/it/projects/site-inheritance/parent/pom.xml
index f62ccdab7..78f899168 100644
--- a/src/it/projects/site-inheritance/parent/pom.xml
+++ b/src/it/projects/site-inheritance/parent/pom.xml
@@ -30,6 +30,10 @@ under the License.
Parenthttp://webhost.company.com/
+
+ @fluidoSkinVersion@
+
+
website
@@ -56,7 +60,7 @@ under the License.
maven-project-info-reports-plugin
- 2.3.1
+ @projectInfoReportsPluginVersion@
diff --git a/src/it/projects/site-inheritance/parent/src/site/site.xml b/src/it/projects/site-inheritance/parent/src/site/site.xml
index 35c2e891c..3db4d9368 100644
--- a/src/it/projects/site-inheritance/parent/src/site/site.xml
+++ b/src/it/projects/site-inheritance/parent/src/site/site.xml
@@ -19,8 +19,15 @@ specific language governing permissions and limitations
under the License.
-->
-
+
+
+ org.apache.maven.skins
+ maven-fluido-skin
+ ${fluidoSkinVersion}
+
+
@@ -41,4 +48,4 @@ under the License.
-
+
diff --git a/src/it/projects/site-inheritance/pom.xml b/src/it/projects/site-inheritance/pom.xml
index c06ed59a7..f01b8c67d 100644
--- a/src/it/projects/site-inheritance/pom.xml
+++ b/src/it/projects/site-inheritance/pom.xml
@@ -30,6 +30,10 @@ under the License.
Tophttp://webhost.company.com/junk/
+
+ @fluidoSkinVersion@
+
+
website
@@ -56,7 +60,7 @@ under the License.
maven-project-info-reports-plugin
- 2.3.1
+ @projectInfoReportsPluginVersion@
diff --git a/src/it/projects/site-inheritance/sub_module/src/site/site.xml b/src/it/projects/site-inheritance/sub_module/src/site/site.xml
index 31b3d42ee..2dd1812e6 100644
--- a/src/it/projects/site-inheritance/sub_module/src/site/site.xml
+++ b/src/it/projects/site-inheritance/sub_module/src/site/site.xml
@@ -19,8 +19,15 @@ specific language governing permissions and limitations
under the License.
-->
-
+
+
+ org.apache.maven.skins
+ maven-fluido-skin
+ ${fluidoSkinVersion}
+
+
@@ -41,4 +48,4 @@ under the License.
-
+
diff --git a/src/it/projects/site-inheritance/verify.bsh b/src/it/projects/site-inheritance/verify.bsh
index 34ddd9950..2381bfec1 100644
--- a/src/it/projects/site-inheritance/verify.bsh
+++ b/src/it/projects/site-inheritance/verify.bsh
@@ -59,7 +59,7 @@ try
}
String content = FileUtils.fileRead( index, "UTF-8" );
- int indexOf = content.indexOf( "Aggregator" );
+ int indexOf = content.indexOf( "Aggregator" );
if ( indexOf < 0 )
{
System.err.println( "deployed junk index.html is missing module link!" );
@@ -75,10 +75,10 @@ try
}
content = FileUtils.fileRead( index, "UTF-8" );
- int index1 = content.indexOf( "Child and Module" );
- int index2 = content.indexOf( "Inheriting Child" );
- int index3 = content.indexOf( "Module" );
- int index4 = content.indexOf( "Aggregator" );
+ int index1 = content.indexOf( "Child and Module