├── .asf.yaml ├── .github ├── ISSUE_TEMPLATE │ ├── BUG.yml │ ├── FEATURE.yml │ └── config.yml ├── dependabot.yml ├── pull_request_template.md ├── release-drafter.yml └── workflows │ ├── maven-verify.yml │ ├── pr-automation.yml │ ├── release-drafter.yml │ └── stale.yml ├── .gitignore ├── Jenkinsfile ├── README.md ├── pom.xml └── src ├── it ├── MPIR-242 │ ├── LICENSE.txt │ ├── pom.xml │ ├── src │ │ └── site │ │ │ └── site.xml │ └── verify.groovy ├── MPIR-251 │ ├── invoker.properties │ ├── pom.xml │ └── verify.groovy ├── MPIR-300 │ ├── invoker.properties │ ├── pom.xml │ └── verify.groovy ├── MPIR-349 │ ├── module-flat │ │ └── pom.xml │ └── parent │ │ ├── invoker.properties │ │ ├── module-hierarchical │ │ └── pom.xml │ │ ├── pom.xml │ │ └── verify.groovy ├── MPIR-362 │ ├── pom.xml │ ├── src │ │ └── site │ │ │ └── site.xml │ └── verify.groovy ├── MPIR-375 │ ├── invoker.properties │ ├── pom.xml │ └── verify.groovy ├── MPIR-407 │ ├── invoker.properties │ ├── pom.xml │ └── verify.groovy ├── MPIR-412 │ ├── invoker.properties │ ├── pom.xml │ └── verify.groovy ├── MPIR-431 │ ├── invoker.properties │ ├── pom.xml │ └── verify.groovy ├── MPIR-437 │ ├── invoker.properties │ ├── pom.xml │ └── verify.groovy ├── MPIR-455 │ ├── invoker.properties │ ├── pom.xml │ └── verify.groovy ├── MPIR-460-jar │ ├── invoker.properties │ ├── pom.xml │ └── verify.groovy ├── MPIR-460-maven-plugin │ ├── invoker.properties │ ├── pom.xml │ └── verify.groovy ├── MPIR-462 │ ├── invoker.properties │ └── pom.xml ├── dependencies-java-1.7-and-1.8 │ ├── pom.xml │ └── verify.groovy ├── full-pom │ ├── pom.xml │ ├── src │ │ └── site │ │ │ └── custom │ │ │ ├── project-info-reports.properties │ │ │ ├── project-info-reports_de.properties │ │ │ └── project-info-reports_fr.properties │ └── verify.bsh ├── git │ ├── inherited │ │ ├── pom.xml │ │ └── src │ │ │ └── site │ │ │ └── apt │ │ │ └── index.apt.vm │ ├── invoker.properties │ ├── pom.xml │ ├── push │ │ ├── inherited │ │ │ ├── pom.xml │ │ │ └── src │ │ │ │ └── site │ │ │ │ └── apt │ │ │ │ └── index.apt.vm │ │ ├── pom.xml │ │ └── src │ │ │ └── site │ │ │ └── apt │ │ │ └── index.apt.vm │ └── src │ │ └── site │ │ └── apt │ │ └── index.apt.vm ├── java-version │ ├── invoker.properties │ ├── plugin │ │ └── pom.xml │ ├── pluginManagement │ │ └── pom.xml │ ├── pom.xml │ ├── property │ │ └── pom.xml │ └── verify.groovy ├── minimal-pom │ ├── pom.xml │ └── verify.bsh ├── mpir-229 │ ├── module1 │ │ └── pom.xml │ ├── pom.xml │ ├── src │ │ └── site │ │ │ └── site.xml │ └── verify.groovy ├── mrm │ └── repository │ │ └── org │ │ └── apache │ │ └── maven │ │ └── its │ │ └── mpir-455 │ │ ├── module-info-only-test │ │ └── 0.0.1 │ │ │ ├── module-info-only-test-0.0.1.jar │ │ │ └── module-info-only-test-0.0.1.pom │ │ └── multi-release-test │ │ └── 0.0.1 │ │ ├── multi-release-test-0.0.1.jar │ │ └── multi-release-test-0.0.1.pom ├── multi-module │ ├── dep │ │ ├── pom.xml │ │ └── src │ │ │ └── main │ │ │ └── java │ │ │ └── org │ │ │ └── apache │ │ │ └── maven │ │ │ └── its │ │ │ └── dep │ │ │ └── Dep.java │ ├── invoker.properties │ ├── main │ │ ├── pom.xml │ │ └── src │ │ │ └── main │ │ │ └── java │ │ │ └── org │ │ │ └── apache │ │ │ └── maven │ │ │ └── its │ │ │ └── main │ │ │ └── Main.java │ ├── pom.xml │ └── verify.groovy ├── settings.xml └── team-local-avatars │ ├── pom.xml │ └── verify.groovy ├── main ├── java │ └── org │ │ └── apache │ │ └── maven │ │ └── report │ │ └── projectinfo │ │ ├── AbstractProjectInfoRenderer.java │ │ ├── AbstractProjectInfoReport.java │ │ ├── CiManagementReport.java │ │ ├── DependenciesReport.java │ │ ├── DependencyConvergenceReport.java │ │ ├── DependencyInformationReport.java │ │ ├── DependencyManagementReport.java │ │ ├── DistributionManagementReport.java │ │ ├── IndexReport.java │ │ ├── IssueManagementReport.java │ │ ├── LicenseMapping.java │ │ ├── LicensesReport.java │ │ ├── MailingListsReport.java │ │ ├── ModulesReport.java │ │ ├── PluginManagementReport.java │ │ ├── PluginsReport.java │ │ ├── ProjectInfoReportUtils.java │ │ ├── ScmReport.java │ │ ├── SummaryReport.java │ │ ├── TeamReport.java │ │ ├── avatars │ │ ├── AvatarsProvider.java │ │ └── GravatarProvider.java │ │ └── dependencies │ │ ├── Dependencies.java │ │ ├── DependenciesReportConfiguration.java │ │ ├── DependencyVersionMap.java │ │ ├── ManagementDependencies.java │ │ ├── RepositoryUtils.java │ │ ├── SinkSerializingDependencyNodeVisitor.java │ │ └── renderer │ │ ├── DependenciesRenderer.java │ │ └── DependencyManagementRenderer.java └── resources │ ├── org │ └── apache │ │ └── maven │ │ └── report │ │ └── projectinfo │ │ ├── avatars │ │ └── default-avatar.jpg │ │ └── resources │ │ ├── images │ │ └── close.gif │ │ └── resources.txt │ ├── project-info-reports.properties │ ├── project-info-reports_cs.properties │ ├── project-info-reports_de.properties │ ├── project-info-reports_en.properties │ ├── project-info-reports_es.properties │ ├── project-info-reports_fr.properties │ ├── project-info-reports_gl.properties │ ├── project-info-reports_hu.properties │ ├── project-info-reports_it.properties │ ├── project-info-reports_ja.properties │ ├── project-info-reports_ko.properties │ ├── project-info-reports_lt.properties │ ├── project-info-reports_nl.properties │ ├── project-info-reports_no.properties │ ├── project-info-reports_pl.properties │ ├── project-info-reports_pt.properties │ ├── project-info-reports_pt_BR.properties │ ├── project-info-reports_ru.properties │ ├── project-info-reports_sk.properties │ ├── project-info-reports_sv.properties │ ├── project-info-reports_tr.properties │ ├── project-info-reports_zh_CN.properties │ └── project-info-reports_zh_TW.properties ├── site ├── apt │ ├── examples │ │ ├── custom-report.apt.vm │ │ ├── individual-reports.apt │ │ ├── scm-report.apt.vm │ │ └── selective-reports.apt.vm │ ├── index.apt.vm │ └── usage.apt ├── fml │ └── faq.fml ├── resources │ └── download.cgi ├── site.xml └── xdoc │ └── download.xml.vm └── test ├── java └── org │ └── apache │ └── maven │ └── report │ └── projectinfo │ ├── AbstractProjectInfoTestCase.java │ ├── CiManagementReportTest.java │ ├── DependenciesReportTest.java │ ├── DependencyConvergenceReportTest.java │ ├── DependencyManagementReportTest.java │ ├── IndexReportTest.java │ ├── IssueManagementReportTest.java │ ├── LicensesReportTest.java │ ├── MailingListsReportTest.java │ ├── ModulesReportTest.java │ ├── PluginManagementReportTest.java │ ├── ProjectInfoReportUtilsTest.java │ ├── ScmReportTest.java │ ├── SummaryReportTest.java │ ├── TeamReportTest.java │ ├── avatars │ └── GravatarProviderTest.java │ └── stubs │ ├── CiManagementStub.java │ ├── CiManagementWithCiSectionStub.java │ ├── DefaultArtifactHandlerStub.java │ ├── DependenciesStub.java │ ├── DependencyArtifactStubFactory.java │ ├── DependencyConvergenceStub.java │ ├── DependencyManagementStub.java │ ├── IndexStub.java │ ├── IssueManagementStub.java │ ├── LicensesStub.java │ ├── MailingListsInvalidLinkStub.java │ ├── MailingListsStub.java │ ├── MailingListsStub2.java │ ├── ModulesStub.java │ ├── ModulesVariableSettingInterpolationStub.java │ ├── PluginManagementMPIR375Stub.java │ ├── PluginManagementStub.java │ ├── ProjectInfoPluginArtifactStub.java │ ├── ProjectInfoProjectStub.java │ ├── ScmStub.java │ ├── SettingsSitePublishVariableStub.java │ ├── SettingsStub.java │ ├── SubProject1Stub.java │ ├── SubProject2Stub.java │ ├── SummaryStub.java │ └── TeamStub.java └── resources ├── iso-8859-5-encoded.txt ├── org └── apache │ └── maven │ └── report │ └── projectinfo │ └── AbstractProjectInfoTestCase.xml ├── plugin-configs ├── ci-management-plugin-config.xml ├── ci-management-plugin-with-ci-section-config.xml ├── custom-bundle │ ├── plugin-config.xml │ └── src │ │ └── site │ │ └── custom │ │ └── project-info-reports.properties ├── dependencies-plugin-config.xml ├── dependency-convergence-plugin-config.xml ├── dependency-management-plugin-config.xml ├── index-plugin-config.xml ├── issue-management-plugin-config.xml ├── licenses-plugin-config-linkonly.xml ├── licenses-plugin-config.xml ├── mailing-lists-plugin-config-fr.xml ├── mailing-lists-plugin-config-invalidlink.xml ├── mailing-lists-plugin-config.xml ├── modules-plugin-config.xml ├── modules-variable-settings-interpolated-plugin-config.xml ├── plugin-management-plugin-config-MPIR-375.xml ├── plugin-management-plugin-config.xml ├── scm-plugin-config.xml ├── scm-wrong-url-plugin-config.xml ├── subproject-site-url │ └── pom.xml ├── subproject1 │ └── pom.xml ├── subproject2 │ └── pom.xml ├── summary-plugin-config.xml └── team-plugin-config.xml └── realm.properties /.asf.yaml: -------------------------------------------------------------------------------- 1 | # 2 | # Licensed to the Apache Software Foundation (ASF) under one or more 3 | # contributor license agreements. See the NOTICE file distributed with 4 | # this work for additional information regarding copyright ownership. 5 | # The ASF licenses this file to You under the Apache License, Version 2.0 6 | # (the "License"); you may not use this file except in compliance with 7 | # the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, software 12 | # distributed under the License is distributed on an "AS IS" BASIS, 13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | # See the License for the specific language governing permissions and 15 | # limitations under the License. 16 | # 17 | # see https://s.apache.org/asfyaml 18 | github: 19 | description: "Apache Maven Project Info Reports Plugin" 20 | homepage: https://maven.apache.org/plugins/maven-project-info-reports-plugin/ 21 | labels: 22 | - java 23 | - build-management 24 | - maven-plugins 25 | - maven-project-info-reports-plugin 26 | - maven 27 | enabled_merge_buttons: 28 | squash: true 29 | merge: false 30 | rebase: true 31 | autolink_jira: 32 | - MPIR 33 | del_branch_on_merge: true 34 | features: 35 | issues: true 36 | 37 | notifications: 38 | commits: commits@maven.apache.org 39 | issues: issues@maven.apache.org 40 | pullrequests: issues@maven.apache.org 41 | jira_options: link label 42 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/BUG.yml: -------------------------------------------------------------------------------- 1 | # 2 | # Licensed to the Apache Software Foundation (ASF) under one or more 3 | # contributor license agreements. See the NOTICE file distributed with 4 | # this work for additional information regarding copyright ownership. 5 | # The ASF licenses this file to You under the Apache License, Version 2.0 6 | # (the "License"); you may not use this file except in compliance with 7 | # the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, software 12 | # distributed under the License is distributed on an "AS IS" BASIS, 13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | # See the License for the specific language governing permissions and 15 | # limitations under the License. 16 | # 17 | 18 | # https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/syntax-for-githubs-form-schema 19 | 20 | name: Bug Report 21 | description: File a bug report 22 | labels: ["bug"] 23 | 24 | body: 25 | - type: markdown 26 | attributes: 27 | value: | 28 | Thanks for taking the time to fill out this bug report. 29 | 30 | Simple fixes in single PRs do not require issues. 31 | 32 | **Do you use the latest project version?** 33 | 34 | - type: input 35 | id: version 36 | attributes: 37 | label: Affected version 38 | validations: 39 | required: true 40 | 41 | - type: textarea 42 | id: massage 43 | attributes: 44 | label: Bug description 45 | validations: 46 | required: true 47 | 48 | 49 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/FEATURE.yml: -------------------------------------------------------------------------------- 1 | # 2 | # Licensed to the Apache Software Foundation (ASF) under one or more 3 | # contributor license agreements. See the NOTICE file distributed with 4 | # this work for additional information regarding copyright ownership. 5 | # The ASF licenses this file to You under the Apache License, Version 2.0 6 | # (the "License"); you may not use this file except in compliance with 7 | # the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, software 12 | # distributed under the License is distributed on an "AS IS" BASIS, 13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | # See the License for the specific language governing permissions and 15 | # limitations under the License. 16 | # 17 | 18 | # https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/syntax-for-githubs-form-schema 19 | 20 | name: Feature request 21 | description: File a proposal for new feature, improvement 22 | labels: ["enhancement"] 23 | 24 | body: 25 | - type: markdown 26 | attributes: 27 | value: | 28 | Thanks for taking the time to fill out this new feature, improvement proposal. 29 | 30 | - type: textarea 31 | id: massage 32 | attributes: 33 | label: New feature, improvement proposal 34 | validations: 35 | required: true 36 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/config.yml: -------------------------------------------------------------------------------- 1 | # 2 | # Licensed to the Apache Software Foundation (ASF) under one or more 3 | # contributor license agreements. See the NOTICE file distributed with 4 | # this work for additional information regarding copyright ownership. 5 | # The ASF licenses this file to You under the Apache License, Version 2.0 6 | # (the "License"); you may not use this file except in compliance with 7 | # the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, software 12 | # distributed under the License is distributed on an "AS IS" BASIS, 13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | # See the License for the specific language governing permissions and 15 | # limitations under the License. 16 | # 17 | 18 | # 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 19 | 20 | blank_issues_enabled: false 21 | 22 | contact_links: 23 | 24 | - name: Project Mailing Lists 25 | url: https://maven.apache.org/mailing-lists.html 26 | about: Please ask a question or discuss here 27 | 28 | - name: Old JIRA Issues 29 | url: https://issues.apache.org/jira/projects/MPIR 30 | about: Please search old JIRA issues 31 | -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- 1 | # 2 | # Licensed to the Apache Software Foundation (ASF) under one or more 3 | # contributor license agreements. See the NOTICE file distributed with 4 | # this work for additional information regarding copyright ownership. 5 | # The ASF licenses this file to You under the Apache License, Version 2.0 6 | # (the "License"); you may not use this file except in compliance with 7 | # the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, software 12 | # distributed under the License is distributed on an "AS IS" BASIS, 13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | # See the License for the specific language governing permissions and 15 | # limitations under the License. 16 | # 17 | version: 2 18 | updates: 19 | - package-ecosystem: maven 20 | directory: "/" 21 | schedule: 22 | interval: "daily" 23 | - package-ecosystem: "github-actions" 24 | directory: "/" 25 | schedule: 26 | interval: "daily" -------------------------------------------------------------------------------- /.github/pull_request_template.md: -------------------------------------------------------------------------------- 1 | Following this checklist to help us incorporate your 2 | contribution quickly and easily: 3 | 4 | - [ ] Your pull request should address just one issue, without pulling in other changes. 5 | - [ ] Write a pull request description that is detailed enough to understand what the pull request does, how, and why. 6 | - [ ] Each commit in the pull request should have a meaningful subject line and body. 7 | Note that commits might be squashed by a maintainer on merge. 8 | - [ ] Write unit tests that match behavioral changes, where the tests fail if the changes to the runtime are not applied. 9 | This may not always be possible but is a best-practice. 10 | - [ ] Run `mvn verify` to make sure basic checks pass. 11 | A more thorough check will be performed on your pull request automatically. 12 | - [ ] You have run the integration tests successfully (`mvn -Prun-its verify`). 13 | 14 | If your pull request is about ~20 lines of code you don't need to sign an 15 | [Individual Contributor License Agreement](https://www.apache.org/licenses/icla.pdf) if you are unsure 16 | please ask on the developers list. 17 | 18 | To make clear that you license your contribution under 19 | the [Apache License Version 2.0, January 2004](http://www.apache.org/licenses/LICENSE-2.0) 20 | you have to acknowledge this by using the following check-box. 21 | 22 | - [ ] I hereby declare this contribution to be licenced under the [Apache License Version 2.0, January 2004](http://www.apache.org/licenses/LICENSE-2.0) 23 | - [ ] In any other case, please file an [Apache Individual Contributor License Agreement](https://www.apache.org/licenses/icla.pdf). 24 | -------------------------------------------------------------------------------- /.github/release-drafter.yml: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. 17 | 18 | _extends: maven-gh-actions-shared 19 | 20 | tag-template: maven-project-info-reports-plugin-$RESOLVED_VERSION 21 | -------------------------------------------------------------------------------- /.github/workflows/maven-verify.yml: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. 17 | 18 | name: Verify 19 | 20 | on: 21 | push: 22 | pull_request: 23 | 24 | jobs: 25 | build: 26 | name: Verify 27 | uses: apache/maven-gh-actions-shared/.github/workflows/maven-verify.yml@v4 28 | -------------------------------------------------------------------------------- /.github/workflows/pr-automation.yml: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. 17 | 18 | name: PR Automation 19 | on: 20 | pull_request_target: 21 | types: 22 | - closed 23 | 24 | jobs: 25 | pr-automation: 26 | name: PR Automation 27 | uses: apache/maven-gh-actions-shared/.github/workflows/pr-automation.yml@v4 28 | -------------------------------------------------------------------------------- /.github/workflows/release-drafter.yml: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. 17 | 18 | name: Release Drafter 19 | on: 20 | push: 21 | branches: 22 | - master 23 | workflow_dispatch: 24 | 25 | jobs: 26 | update_release_draft: 27 | uses: apache/maven-gh-actions-shared/.github/workflows/release-drafter.yml@v4 28 | -------------------------------------------------------------------------------- /.github/workflows/stale.yml: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. 17 | 18 | name: Stale 19 | 20 | on: 21 | schedule: 22 | - cron: '11 4 * * *' 23 | issue_comment: 24 | types: [ 'created' ] 25 | 26 | jobs: 27 | stale: 28 | uses: 'apache/maven-gh-actions-shared/.github/workflows/stale.yml@v4' 29 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | target/ 2 | .project 3 | .classpath 4 | .factorypath 5 | .settings/ 6 | .svn/ 7 | bin/ 8 | # Intellij 9 | *.ipr 10 | *.iml 11 | .idea 12 | out/ 13 | .DS_Store 14 | /bootstrap 15 | /dependencies.xml 16 | .java-version 17 | .checkstyle 18 | *.versionsBackup 19 | -------------------------------------------------------------------------------- /Jenkinsfile: -------------------------------------------------------------------------------- 1 | /** 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | asfMavenTlpPlgnBuild() 21 | -------------------------------------------------------------------------------- /src/it/MPIR-242/LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/maven-project-info-reports-plugin/ef4e6611d8c2d3a319f4ff04e3a2bf73dffc63df/src/it/MPIR-242/LICENSE.txt -------------------------------------------------------------------------------- /src/it/MPIR-242/src/site/site.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 21 | 22 | 23 | 24 | 25 | org.apache.maven.skins 26 | maven-fluido-skin 27 | ${fluidoSkinVersion} 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | -------------------------------------------------------------------------------- /src/it/MPIR-242/verify.groovy: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | File licensesPage = new File( basedir, 'target/site/licenses.html' ) 20 | assert licensesPage.exists() 21 | // assert licensesPage.text.contains( 'Свобода всему коду!' ) 22 | // Raw UTF-8 bytes written by Doxia and converted from ISO-8859-5 23 | assert licensesPage.text.contains( 'Свобода всему коду!' ) 24 | -------------------------------------------------------------------------------- /src/it/MPIR-251/invoker.properties: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. 17 | 18 | invoker.goals = ${project.groupId}:${project.artifactId}:${project.version}:dependencies 19 | -------------------------------------------------------------------------------- /src/it/MPIR-251/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 20 | 21 | 24 | 4.0.0 25 | 26 | org.apache.maven.plugins.project-info-reports 27 | MPIR-251 28 | 1.0-SNAPSHOT 29 | jar 30 | 31 | MPIR-251 IT test: Artifact has no file 32 | 33 | When a JAR is sealed, there was a warning "Artifact xxx has no file and won't be listed in dependency files details.". 34 | 35 | 36 | 37 | UTF-8 38 | 39 | 40 | 41 | 42 | org.apache.accumulo 43 | accumulo-fate 44 | 1.7.0 45 | 46 | 47 | 48 | -------------------------------------------------------------------------------- /src/it/MPIR-251/verify.groovy: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | File log = new File( basedir, 'build.log' ) 20 | assert !( log.text =~ /\[WARNING\] Artifact .+ has no file and won't be listed in dependency files details\./ ) 21 | -------------------------------------------------------------------------------- /src/it/MPIR-300/invoker.properties: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. 17 | 18 | invoker.goals = ${project.groupId}:${project.artifactId}:${project.version}:plugins 19 | -------------------------------------------------------------------------------- /src/it/MPIR-300/verify.groovy: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | plugins = new File( basedir, 'target/reports/plugins.html' ).text; 21 | 22 | // version of maven-invoker-plugin is defined in pluginManagement 23 | assert plugins.contains( '1.invoker-pluginManagement' ); 24 | 25 | // version of maven-javadoc-plugin is defined in plugins (overriding pluginManagement) 26 | assert plugins.contains( '2.javadoc-plugin' ); 27 | 28 | // version of maven-checkstyle-plugin is defined in plugins 29 | assert plugins.contains( '2.checkstyle-plugin' ); 30 | 31 | // version of maven-changes-plugin is defined in reporting (overriding pluginManagement and plugins) 32 | assert plugins.contains( '3.changes-reporting' ); 33 | 34 | return true; 35 | -------------------------------------------------------------------------------- /src/it/MPIR-349/module-flat/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 20 | 21 | 24 | 4.0.0 25 | 26 | 27 | org.apache.maven.plugins.project-info-reports.its 28 | mpir-349 29 | 1.0-SNAPSHOT 30 | ../parent 31 | 32 | mpir-349-module-hierarchical 33 | jar 34 | Test Module Hierarchical 35 | 36 | -------------------------------------------------------------------------------- /src/it/MPIR-349/parent/invoker.properties: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. 17 | 18 | invoker.goals.1 = ${project.groupId}:${project.artifactId}:${project.version}:index 19 | invoker.goals.2 = ${project.groupId}:${project.artifactId}:${project.version}:modules 20 | 21 | # Specific profile defined in settings.xml, for variables interpolation in module URL check (in 'index' and 'modules' reports) 22 | invoker.profiles=site-location 23 | -------------------------------------------------------------------------------- /src/it/MPIR-349/parent/module-hierarchical/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 20 | 21 | 24 | 4.0.0 25 | 26 | 27 | org.apache.maven.plugins.project-info-reports.its 28 | mpir-349 29 | 1.0-SNAPSHOT 30 | 31 | mpir-349-module-flat 32 | jar 33 | Test Module Flat 34 | 35 | -------------------------------------------------------------------------------- /src/it/MPIR-349/parent/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 20 | 21 | 24 | 4.0.0 25 | 26 | org.apache.maven.plugins.project-info-reports.its 27 | mpir-349 28 | 1.0-SNAPSHOT 29 | pom 30 | 31 | plugins report: check that index report has variables from settings interpolated 32 | see MPIR-349 and DOXIASITETOOLS-166. 33 | 34 | 35 | 36 | projectSite 37 | ${sitePublishLocation}/foo/${project.artifactId} 38 | 39 | 40 | 41 | 42 | 43 | 44 | org.apache.maven.plugins 45 | maven-site-plugin 46 | @sitePluginVersion@ 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | org.apache.maven.plugins 55 | maven-project-info-reports-plugin 56 | @project.version@ 57 | 58 | 59 | 60 | index 61 | modules 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | ../module-flat 71 | module-hierarchical 72 | 73 | 74 | -------------------------------------------------------------------------------- /src/it/MPIR-349/parent/verify.groovy: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | File indexPage = new File( basedir, 'target/reports/index.html' ) 21 | assert !indexPage.text.contains( 'sitePublishLocation' ) 22 | 23 | File modulesPage = new File( basedir, 'target/reports/modules.html' ) 24 | assert !modulesPage.text.contains( 'sitePublishLocation' ) 25 | -------------------------------------------------------------------------------- /src/it/MPIR-362/src/site/site.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 21 | 22 | 23 | 24 | 25 | org.apache.maven.skins 26 | maven-fluido-skin 27 | ${fluidoSkinVersion} 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | -------------------------------------------------------------------------------- /src/it/MPIR-362/verify.groovy: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | File log = new File( basedir, 'build.log' ) 20 | assert !( log.text =~ /\[WARNING\] Unable to create Maven project for com\.sun:javaws:pom:.* from repository\./ ) 21 | -------------------------------------------------------------------------------- /src/it/MPIR-375/invoker.properties: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. 17 | 18 | invoker.goals = ${project.groupId}:${project.artifactId}:${project.version}:plugin-management 19 | -------------------------------------------------------------------------------- /src/it/MPIR-375/verify.groovy: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | File log = new File( basedir, 'build.log' ); 20 | assert !( log.text.contains("org.eclipse.aether.transfer.ArtifactNotFoundException: Failure to find org.eclipse.m2e:lifecycle-mapping:pom") ); 21 | 22 | plugins = new File( basedir, 'target/reports/plugin-management.html' ).text; 23 | 24 | // maven-javadoc-plugin is defined in pluginManagement and not excluded 25 | assert plugins.contains( 'maven-javadoc-plugin' ); 26 | 27 | // org.eclipse.m2e:lifecycle-mapping plugin is excluded 28 | assert !( plugins.contains( 'org.eclipse.m2e' ) ); 29 | assert !( plugins.contains( 'lifecycle-mapping' ) ); 30 | -------------------------------------------------------------------------------- /src/it/MPIR-407/invoker.properties: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. 17 | 18 | invoker.goals = ${project.groupId}:${project.artifactId}:${project.version}:dependencies 19 | -------------------------------------------------------------------------------- /src/it/MPIR-407/verify.groovy: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | dependencies = new File( basedir, 'target/reports/dependencies.html' ).text; 21 | 22 | assert !( dependencies.contains( 'The Apache Software License, Version 2.0' ) ); 23 | assert !( dependencies.contains( 'Apache Public License 2.0' ) ); 24 | -------------------------------------------------------------------------------- /src/it/MPIR-412/invoker.properties: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. 17 | 18 | invoker.goals = ${project.groupId}:${project.artifactId}:${project.version}:dependencies 19 | -------------------------------------------------------------------------------- /src/it/MPIR-412/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 20 | 21 | 24 | 4.0.0 25 | 26 | org.apache.maven.plugins.project-info-reports.its 27 | MPIR-412 28 | 1.0-SNAPSHOT 29 | pom 30 | http://maven.apache.org/plugins/it/${project.artifactId} 31 | 32 | 33 | UTF-8 34 | UTF-8 35 | 36 | 37 | 38 | 39 | 40 | xml-apis 41 | xml-apis-ext 42 | 1.3.04 43 | 44 | 45 | 46 | 47 | 48 | 49 | maven-project-info-reports-plugin 50 | @project.version@ 51 | 52 | 53 | 54 | 55 | 56 | -------------------------------------------------------------------------------- /src/it/MPIR-412/verify.groovy: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | import groovy.xml.XmlParser 21 | 22 | // should be able to parse the output as XML 23 | parser = new XmlParser(); 24 | parser.setFeature( 'http://apache.org/xml/features/disallow-doctype-decl', false ); 25 | result = parser.parse( new File( basedir, 'target/reports/dependencies.html' ) ); 26 | assert result instanceof Node; 27 | -------------------------------------------------------------------------------- /src/it/MPIR-431/invoker.properties: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. 17 | 18 | # Remove with next major version 19 | invoker.mavenOpts = -Duser.language=en 20 | invoker.goals = ${project.groupId}:${project.artifactId}:${project.version}:dependencies 21 | -------------------------------------------------------------------------------- /src/it/MPIR-431/verify.groovy: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | String html = new File( basedir, 'target/reports/dependencies.html' ).text 20 | 21 | // Revise after DOXIA-704 22 | def summaryLine = '''\ 23 | 24 | compile: 1 25 | compile: 45.5 kB 26 | compile: 47 27 | compile: 36 28 | compile: 4 29 | 1.3 30 | compile: 1 31 | 32 | runtime: 1 33 | runtime: 284.2 kB 34 | runtime: 155 35 | runtime: 133 36 | runtime: 10 37 | runtime: 1 38 | 39 | provided: 1 40 | provided: 85.7 kB 41 | provided: 209 42 | provided: 192 43 | provided: 4 44 | - 45 | 46 | test: 3 47 | test: 2.2 MB 48 | test: 1619 49 | test: 1493 50 | test: 91 51 | 1.8 52 | test: 3''' 53 | 54 | assert html.contains( summaryLine.replaceAll( "\n", System.lineSeparator() ) ) 55 | -------------------------------------------------------------------------------- /src/it/MPIR-437/invoker.properties: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. 17 | 18 | # Remove with next major version 19 | invoker.mavenOpts = -Duser.language=en 20 | invoker.goals = ${project.groupId}:${project.artifactId}:${project.version}:dependencies 21 | -------------------------------------------------------------------------------- /src/it/MPIR-437/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 20 | 21 | 24 | 4.0.0 25 | 26 | org.apache.maven.plugins.project-info-reports 27 | MPIR-437 28 | 1.0-SNAPSHOT 29 | jar 30 | 31 | Detect dependencies with no jdk details 32 | 33 | MPIR retrieves class version information from dependencies to display that Java detected, 34 | but when no detected should display a dash. 35 | 36 | 37 | 38 | 39 | org.apache.tomcat 40 | tomcat-i18n-de 41 | 9.0.74 42 | 43 | 44 | 45 | 46 | 47 | 48 | org.apache.maven.plugins 49 | maven-site-plugin 50 | @sitePluginVersion@ 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | org.apache.maven.plugins 59 | maven-project-info-reports-plugin 60 | @project.version@ 61 | 62 | 63 | 64 | dependencies 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | -------------------------------------------------------------------------------- /src/it/MPIR-437/verify.groovy: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | File dependencies = new File( basedir, 'target/reports/dependencies.html' ) 20 | def summaryRow = '''\ 21 | 22 | 1 23 | 78.8 kB 24 | 141 25 | - 26 | - 27 | - 28 | - 29 | ''' 30 | 31 | assert dependencies.text.contains( summaryRow.replaceAll( "\n", System.lineSeparator() ) ) 32 | -------------------------------------------------------------------------------- /src/it/MPIR-455/invoker.properties: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. 17 | 18 | invoker.goals = ${project.groupId}:${project.artifactId}:${project.version}:dependencies 19 | -------------------------------------------------------------------------------- /src/it/MPIR-460-jar/invoker.properties: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. 17 | 18 | invoker.goals = ${project.groupId}:${project.artifactId}:${project.version}:dependency-info 19 | -------------------------------------------------------------------------------- /src/it/MPIR-460-jar/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 20 | 21 | 24 | 4.0.0 25 | 26 | org.apache.maven.plugins.project-info-reports 27 | MPIR-460-jar 28 | 1.0-SNAPSHOT 29 | jar 30 | 31 | MPIR-460 IT test: dependency-info for jar packaging 32 | 33 | Coordinates list are generated for many tools 34 | 35 | 36 | 37 | UTF-8 38 | 39 | 40 | -------------------------------------------------------------------------------- /src/it/MPIR-460-jar/verify.groovy: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | def report = new File( basedir, 'target/reports/dependency-info.html' ).text 20 | 21 | assert !report.contains('
<plugin>')
22 | assert !report.contains('</plugin>
') 23 | 24 | assert report.contains('
<dependency>')
25 | assert report.contains('</dependency>
') 26 | 27 | assert report.contains('Apache Ivy') 28 | assert report.contains('Groovy Grape') 29 | assert report.contains('Gradle/Grails') 30 | assert report.contains('Scala SBT') 31 | assert report.contains('Leiningen') 32 | -------------------------------------------------------------------------------- /src/it/MPIR-460-maven-plugin/invoker.properties: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. 17 | 18 | invoker.goals = ${project.groupId}:${project.artifactId}:${project.version}:dependency-info 19 | -------------------------------------------------------------------------------- /src/it/MPIR-460-maven-plugin/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 20 | 21 | 24 | 4.0.0 25 | 26 | org.apache.maven.plugins.project-info-reports 27 | MPIR-460-maven-plugin 28 | 1.0-SNAPSHOT 29 | maven-plugin 30 | 31 | MPIR-460 IT test: dependency-info for maven-plugin 32 | 33 | Only coordinates for Maven plugin is generated 34 | 35 | 36 | 37 | UTF-8 38 | 39 | 40 | -------------------------------------------------------------------------------- /src/it/MPIR-460-maven-plugin/verify.groovy: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | def report = new File( basedir, 'target/reports/dependency-info.html' ).text 20 | 21 | assert report.contains('
<plugin>')
22 | assert report.contains('</plugin>
') 23 | 24 | assert !report.contains('
<dependency>')
25 | assert !report.contains('</dependency>
') 26 | 27 | assert !report.contains('Apache Ivy') 28 | assert !report.contains('Groovy Grape') 29 | assert !report.contains('Gradle/Grails') 30 | assert !report.contains('Scala SBT') 31 | assert !report.contains('Leiningen') 32 | -------------------------------------------------------------------------------- /src/it/MPIR-462/invoker.properties: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. 17 | 18 | invoker.goals = ${project.groupId}:${project.artifactId}:${project.version}:dependencies 19 | -------------------------------------------------------------------------------- /src/it/dependencies-java-1.7-and-1.8/verify.groovy: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | File dependencies = new File( basedir, 'target/site/dependencies.html' ) 20 | def mavenModel = '''\ 21 | 22 | maven-model-3.3.9.jar 23 | 164 kB 24 | 71 25 | 54 26 | 3 27 | 1.7 28 | Yes 29 | ''' 30 | 31 | def jacksonDataTypeJsr310 = '''\ 32 | 33 | jackson-datatype-jsr310-2.6.4.jar 34 | 78.1 kB 35 | 69 36 | 51 37 | 5 38 | 1.8 39 | Yes 40 | ''' 41 | 42 | assert dependencies.text.contains( mavenModel.replaceAll( "\n", System.getProperty( "line.separator" ) ) ) 43 | assert dependencies.text.contains( jacksonDataTypeJsr310.replaceAll( "\n", System.getProperty( "line.separator" ) ) ) 44 | -------------------------------------------------------------------------------- /src/it/full-pom/src/site/custom/project-info-reports.properties: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. 17 | 18 | report.mailing-lists.intro = mail list intro text foo 19 | -------------------------------------------------------------------------------- /src/it/full-pom/src/site/custom/project-info-reports_de.properties: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. 17 | 18 | report.mailing-lists.intro = mail list intro text foo ("de") 19 | -------------------------------------------------------------------------------- /src/it/full-pom/src/site/custom/project-info-reports_fr.properties: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. 17 | 18 | report.mailing-lists.intro = mail list intro text foo ("fr") 19 | -------------------------------------------------------------------------------- /src/it/git/inherited/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 20 | 21 | 24 | 4.0.0 25 | 26 | 27 | org.apache.maven.plugins.project-info-reports.it.git 28 | parent 29 | 1.0-SNAPSHOT 30 | 31 | 32 | inherited scm values 33 | inherited 34 | 35 | -------------------------------------------------------------------------------- /src/it/git/inherited/src/site/apt/index.apt.vm: -------------------------------------------------------------------------------- 1 | ------ 2 | Introduction 3 | ------ 4 | ------ 5 | 2015-08-22 6 | ------ 7 | 8 | ~~ Licensed to the Apache Software Foundation (ASF) under one 9 | ~~ or more contributor license agreements. See the NOTICE file 10 | ~~ distributed with this work for additional information 11 | ~~ regarding copyright ownership. The ASF licenses this file 12 | ~~ to you under the Apache License, Version 2.0 (the 13 | ~~ "License"); you may not use this file except in compliance 14 | ~~ with the License. You may obtain a copy of the License at 15 | ~~ 16 | ~~ http://www.apache.org/licenses/LICENSE-2.0 17 | ~~ 18 | ~~ Unless required by applicable law or agreed to in writing, 19 | ~~ software distributed under the License is distributed on an 20 | ~~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 21 | ~~ KIND, either express or implied. See the License for the 22 | ~~ specific language governing permissions and limitations 23 | ~~ under the License. 24 | 25 | ~~ NOTE: For help with the syntax of this file, see: 26 | ~~ http://maven.apache.org/doxia/references/apt-format.html 27 | 28 | ${project.artifactId} - ${project.name} 29 | 30 | see {{{./source-repository.html}MPIR SCM report}} generated from following effective model SCM values: 31 | 32 | +------------------+ 33 | project.scm.connection = '${project.scm.connection}' 34 | project.scm.developerConnection = '${project.scm.developerConnection}' 35 | project.scm.url = '${project.scm.url}' 36 | +------------------+ 37 | -------------------------------------------------------------------------------- /src/it/git/invoker.properties: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. 17 | 18 | invoker.goals = site site:stage 19 | -------------------------------------------------------------------------------- /src/it/git/push/inherited/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 20 | 21 | 24 | 4.0.0 25 | 26 | 27 | org.apache.maven.plugins.project-info-reports.it.git.push 28 | push 29 | 1.0-SNAPSHOT 30 | 31 | 32 | inherited 33 | inherited scm values 34 | 35 | -------------------------------------------------------------------------------- /src/it/git/push/inherited/src/site/apt/index.apt.vm: -------------------------------------------------------------------------------- 1 | ------ 2 | Introduction 3 | ------ 4 | ------ 5 | 2015-08-22 6 | ------ 7 | 8 | ~~ Licensed to the Apache Software Foundation (ASF) under one 9 | ~~ or more contributor license agreements. See the NOTICE file 10 | ~~ distributed with this work for additional information 11 | ~~ regarding copyright ownership. The ASF licenses this file 12 | ~~ to you under the Apache License, Version 2.0 (the 13 | ~~ "License"); you may not use this file except in compliance 14 | ~~ with the License. You may obtain a copy of the License at 15 | ~~ 16 | ~~ http://www.apache.org/licenses/LICENSE-2.0 17 | ~~ 18 | ~~ Unless required by applicable law or agreed to in writing, 19 | ~~ software distributed under the License is distributed on an 20 | ~~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 21 | ~~ KIND, either express or implied. See the License for the 22 | ~~ specific language governing permissions and limitations 23 | ~~ under the License. 24 | 25 | ~~ NOTE: For help with the syntax of this file, see: 26 | ~~ http://maven.apache.org/doxia/references/apt-format.html 27 | 28 | ${project.artifactId} - ${project.name} 29 | 30 | see {{{./source-repository.html}MPIR SCM report}} generated from following effective model SCM values: 31 | 32 | +------------------+ 33 | project.scm.connection = '${project.scm.connection}' 34 | project.scm.developerConnection = '${project.scm.developerConnection}' 35 | project.scm.url = '${project.scm.url}' 36 | +------------------+ 37 | -------------------------------------------------------------------------------- /src/it/git/push/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 20 | 21 | 24 | 4.0.0 25 | 26 | 27 | org.apache.maven.plugins.project-info-reports.it.git 28 | parent 29 | 1.0-SNAPSHOT 30 | 31 | 32 | org.apache.maven.plugins.project-info-reports.it.git.push 33 | push 34 | pom 35 | 36 | git scm url with push!=pull 37 | 38 | 39 | inherited 40 | 41 | 42 | 43 | scm:git:http://git-wip-us.apache.org/repos/asf/maven.git 44 | scm:git:[fetch=]http://git-wip-us.apache.org/repos/asf/maven.git[push=]ssh://git-wip-us.apache.org/repos/asf/maven.git 45 | 46 | 47 | -------------------------------------------------------------------------------- /src/it/git/push/src/site/apt/index.apt.vm: -------------------------------------------------------------------------------- 1 | ------ 2 | Introduction 3 | ------ 4 | ------ 5 | 2015-08-22 6 | ------ 7 | 8 | ~~ Licensed to the Apache Software Foundation (ASF) under one 9 | ~~ or more contributor license agreements. See the NOTICE file 10 | ~~ distributed with this work for additional information 11 | ~~ regarding copyright ownership. The ASF licenses this file 12 | ~~ to you under the Apache License, Version 2.0 (the 13 | ~~ "License"); you may not use this file except in compliance 14 | ~~ with the License. You may obtain a copy of the License at 15 | ~~ 16 | ~~ http://www.apache.org/licenses/LICENSE-2.0 17 | ~~ 18 | ~~ Unless required by applicable law or agreed to in writing, 19 | ~~ software distributed under the License is distributed on an 20 | ~~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 21 | ~~ KIND, either express or implied. See the License for the 22 | ~~ specific language governing permissions and limitations 23 | ~~ under the License. 24 | 25 | ~~ NOTE: For help with the syntax of this file, see: 26 | ~~ http://maven.apache.org/doxia/references/apt-format.html 27 | 28 | ${project.artifactId} - ${project.name} 29 | 30 | see {{{./source-repository.html}MPIR SCM report}} generated from following effective model SCM values: 31 | 32 | +------------------+ 33 | project.scm.connection = '${project.scm.connection}' 34 | project.scm.developerConnection = '${project.scm.developerConnection}' 35 | project.scm.url = '${project.scm.url}' 36 | +------------------+ 37 | -------------------------------------------------------------------------------- /src/it/git/src/site/apt/index.apt.vm: -------------------------------------------------------------------------------- 1 | ------ 2 | Introduction 3 | ------ 4 | ------ 5 | 2015-08-22 6 | ------ 7 | 8 | ~~ Licensed to the Apache Software Foundation (ASF) under one 9 | ~~ or more contributor license agreements. See the NOTICE file 10 | ~~ distributed with this work for additional information 11 | ~~ regarding copyright ownership. The ASF licenses this file 12 | ~~ to you under the Apache License, Version 2.0 (the 13 | ~~ "License"); you may not use this file except in compliance 14 | ~~ with the License. You may obtain a copy of the License at 15 | ~~ 16 | ~~ http://www.apache.org/licenses/LICENSE-2.0 17 | ~~ 18 | ~~ Unless required by applicable law or agreed to in writing, 19 | ~~ software distributed under the License is distributed on an 20 | ~~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 21 | ~~ KIND, either express or implied. See the License for the 22 | ~~ specific language governing permissions and limitations 23 | ~~ under the License. 24 | 25 | ~~ NOTE: For help with the syntax of this file, see: 26 | ~~ http://maven.apache.org/doxia/references/apt-format.html 27 | 28 | ${project.artifactId} - ${project.name} 29 | 30 | see {{{./source-repository.html}MPIR SCM report}} generated from following effective model SCM values: 31 | 32 | +------------------+ 33 | project.scm.connection = '${project.scm.connection}' 34 | project.scm.developerConnection = '${project.scm.developerConnection}' 35 | project.scm.url = '${project.scm.url}' 36 | +------------------+ 37 | -------------------------------------------------------------------------------- /src/it/java-version/invoker.properties: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. 17 | 18 | invoker.goals = ${project.groupId}:${project.artifactId}:${project.version}:summary 19 | -------------------------------------------------------------------------------- /src/it/java-version/plugin/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 21 | 22 | 24 | 4.0.0 25 | 26 | 27 | org.apache.maven.plugins.project-info-reports 28 | java-version 29 | 1.0-SNAPSHOT 30 | 31 | plugin 32 | target bytecode defined by plugin configuration: 1.5 expected 33 | 34 | 35 | ${maven.compiler.target} 36 | 1.3 37 | 38 | 39 | 40 | 41 | 42 | 43 | maven-compiler-plugin 44 | 45 | 1.4 46 | 1.4 47 | 48 | 49 | 50 | 51 | 52 | 53 | maven-compiler-plugin 54 | 55 | 1.5 56 | 1.5 57 | 58 | 59 | 60 | 61 | 62 | -------------------------------------------------------------------------------- /src/it/java-version/pluginManagement/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 21 | 22 | 24 | 4.0.0 25 | 26 | 27 | org.apache.maven.plugins.project-info-reports 28 | java-version 29 | 1.0-SNAPSHOT 30 | 31 | pluginManagement 32 | target bytecode defined by pluginManagement configuration: 1.4 expected 33 | 34 | 35 | ${maven.compiler.target} 36 | 1.3 37 | 38 | 39 | 40 | 41 | 42 | 43 | maven-compiler-plugin 44 | 45 | 1.4 46 | 1.4 47 | 48 | 49 | 50 | 51 | 52 | 53 | -------------------------------------------------------------------------------- /src/it/java-version/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 20 | 21 | 24 | 4.0.0 25 | 26 | org.apache.maven.plugins.project-info-reports 27 | java-version 28 | 1.0-SNAPSHOT 29 | pom 30 | 31 | MPIR IT test for minimum java version detection in summary 32 | 33 | Check that the detection algorithm finds the right value in every condition. 34 | 35 | 36 | 37 | UTF-8 38 | UTF-8 39 | 40 | 41 | 42 | plugin 43 | pluginManagement 44 | property 45 | 46 | 47 | 48 | 49 | 50 | 51 | maven-compiler-plugin 52 | 3.2 53 | 54 | 55 | 56 | 57 | 58 | -------------------------------------------------------------------------------- /src/it/java-version/property/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 21 | 22 | 24 | 4.0.0 25 | 26 | 27 | org.apache.maven.plugins.project-info-reports 28 | java-version 29 | 1.0-SNAPSHOT 30 | 31 | property 32 | target bytecode defined by maven.compiler.target property: 1.3 expected 33 | 34 | 35 | 1.3 36 | 1.3 37 | 38 | 42 | 43 | 44 | -------------------------------------------------------------------------------- /src/it/java-version/verify.groovy: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | assert new File( basedir, 'plugin/target/reports/summary.html' ).text.contains( '1.5' ) 21 | assert new File( basedir, 'pluginManagement/target/reports/summary.html' ).text.contains( '1.4' ) 22 | assert new File( basedir, 'property/target/reports/summary.html' ).text.contains( '1.3' ) 23 | 24 | return true; 25 | -------------------------------------------------------------------------------- /src/it/mpir-229/module1/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 20 | 21 | 24 | 4.0.0 25 | 26 | 27 | org.apache.maven.plugins.project-info-reports.its 28 | mpir-229 29 | 1.0-SNAPSHOT 30 | 31 | mpir-229-module1 32 | pom 33 | 34 | ${artifacts.url}/${project.artifactId}-${project.version} 35 | 36 | 37 | 38 | site 39 | scp://my.server/${project.artifactId}-${project.version} 40 | 41 | 42 | 43 | 44 | -------------------------------------------------------------------------------- /src/it/mpir-229/src/site/site.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 21 | 22 | 23 | 24 | 25 | org.apache.maven.skins 26 | maven-fluido-skin 27 | ${fluidoSkinVersion} 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | -------------------------------------------------------------------------------- /src/it/mpir-229/verify.groovy: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | File modulesPage = new File( basedir, 'target/site/modules.html' ) 20 | assert modulesPage.text.contains( 'mpir-229-module1' ) 21 | -------------------------------------------------------------------------------- /src/it/mrm/repository/org/apache/maven/its/mpir-455/module-info-only-test/0.0.1/module-info-only-test-0.0.1.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/maven-project-info-reports-plugin/ef4e6611d8c2d3a319f4ff04e3a2bf73dffc63df/src/it/mrm/repository/org/apache/maven/its/mpir-455/module-info-only-test/0.0.1/module-info-only-test-0.0.1.jar -------------------------------------------------------------------------------- /src/it/mrm/repository/org/apache/maven/its/mpir-455/module-info-only-test/0.0.1/module-info-only-test-0.0.1.pom: -------------------------------------------------------------------------------- 1 | 2 | 20 | 21 | 24 | 4.0.0 25 | 26 | org.apache.maven.its.mpir-455 27 | module-info-only-test 28 | 0.0.1 29 | 30 | module-info-only-test 31 | 32 | -------------------------------------------------------------------------------- /src/it/mrm/repository/org/apache/maven/its/mpir-455/multi-release-test/0.0.1/multi-release-test-0.0.1.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/maven-project-info-reports-plugin/ef4e6611d8c2d3a319f4ff04e3a2bf73dffc63df/src/it/mrm/repository/org/apache/maven/its/mpir-455/multi-release-test/0.0.1/multi-release-test-0.0.1.jar -------------------------------------------------------------------------------- /src/it/mrm/repository/org/apache/maven/its/mpir-455/multi-release-test/0.0.1/multi-release-test-0.0.1.pom: -------------------------------------------------------------------------------- 1 | 2 | 20 | 21 | 24 | 4.0.0 25 | 26 | org.apache.maven.its.mpir-455 27 | multi-release-test 28 | 0.0.1 29 | jar 30 | 31 | multi-release-test 32 | 33 | 34 | -------------------------------------------------------------------------------- /src/it/multi-module/dep/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 20 | 21 | 24 | 4.0.0 25 | 26 | 27 | org.apache.maven.plugins.project-info-reports.its 28 | multi-module 29 | 1.0-SNAPSHOT 30 | 31 | 32 | dep 33 | 34 | -------------------------------------------------------------------------------- /src/it/multi-module/dep/src/main/java/org/apache/maven/its/dep/Dep.java: -------------------------------------------------------------------------------- 1 | package org.apache.maven.its.dep; 2 | 3 | /* 4 | * Licensed to the Apache Software Foundation (ASF) under one 5 | * or more contributor license agreements. See the NOTICE file 6 | * distributed with this work for additional information 7 | * regarding copyright ownership. The ASF licenses this file 8 | * to you under the Apache License, Version 2.0 (the 9 | * "License"); you may not use this file except in compliance 10 | * with the License. You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, 15 | * software distributed under the License is distributed on an 16 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 17 | * KIND, either express or implied. See the License for the 18 | * specific language governing permissions and limitations 19 | * under the License. 20 | */ 21 | 22 | public class Dep 23 | { 24 | public static final String CONSTANT = "demo"; 25 | } 26 | -------------------------------------------------------------------------------- /src/it/multi-module/invoker.properties: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. 17 | 18 | invoker.goals.1=clean install 19 | invoker.goals.2=site 20 | -------------------------------------------------------------------------------- /src/it/multi-module/main/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 20 | 21 | 24 | 4.0.0 25 | 26 | 27 | org.apache.maven.plugins.project-info-reports.its 28 | multi-module 29 | 1.0-SNAPSHOT 30 | 31 | 32 | main 33 | 34 | 35 | 36 | org.apache.maven.plugins.project-info-reports.its 37 | dep 38 | 1.0-SNAPSHOT 39 | 40 | 41 | 42 | -------------------------------------------------------------------------------- /src/it/multi-module/main/src/main/java/org/apache/maven/its/main/Main.java: -------------------------------------------------------------------------------- 1 | package org.apache.maven.its.main; 2 | 3 | /* 4 | * Licensed to the Apache Software Foundation (ASF) under one 5 | * or more contributor license agreements. See the NOTICE file 6 | * distributed with this work for additional information 7 | * regarding copyright ownership. The ASF licenses this file 8 | * to you under the Apache License, Version 2.0 (the 9 | * "License"); you may not use this file except in compliance 10 | * with the License. You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, 15 | * software distributed under the License is distributed on an 16 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 17 | * KIND, either express or implied. See the License for the 18 | * specific language governing permissions and limitations 19 | * under the License. 20 | */ 21 | 22 | import org.apache.maven.its.dep.Dep; 23 | 24 | public class Main 25 | { 26 | public static final String CONSTANT = Dep.CONSTANT; 27 | } 28 | -------------------------------------------------------------------------------- /src/it/multi-module/verify.groovy: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | File mainDependencies = new File( basedir, 'main/target/site/dependencies.html' ) 21 | 22 | // Dependency File Details section should display dep-1.0-SNAPSHOT.jar packaged from previous build (package phase), 23 | // not dep/target/classes from current build (site phase) 24 | assert !mainDependencies.text.contains( 'dep/target/classes' ) 25 | assert mainDependencies.text.contains( 'dep-1.0-SNAPSHOT.jar' ) 26 | -------------------------------------------------------------------------------- /src/it/team-local-avatars/verify.groovy: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | def team = new File( basedir, 'target/site/team.html' ).text 21 | 22 | assert team.count('
') == 1 23 | assert team.count('
') == 2 24 | 25 | assert new File(basedir, 'target/site/avatars/90cc13b765c79d2d55ca64388ea2bc5f.jpg').exists() 26 | assert new File(basedir, 'target/site/avatars/00000000000000000000000000000000.jpg').exists() 27 | -------------------------------------------------------------------------------- /src/main/java/org/apache/maven/report/projectinfo/LicenseMapping.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | package org.apache.maven.report.projectinfo; 20 | 21 | import java.util.List; 22 | 23 | /** 24 | * License mapping 25 | */ 26 | public class LicenseMapping { 27 | 28 | private List froms; 29 | private String to; 30 | 31 | public List getFroms() { 32 | return froms; 33 | } 34 | 35 | public void setFroms(List froms) { 36 | this.froms = froms; 37 | } 38 | 39 | public String getTo() { 40 | return to; 41 | } 42 | 43 | public void setTo(String to) { 44 | this.to = to; 45 | } 46 | } 47 | -------------------------------------------------------------------------------- /src/main/java/org/apache/maven/report/projectinfo/avatars/AvatarsProvider.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | package org.apache.maven.report.projectinfo.avatars; 20 | 21 | import java.io.File; 22 | import java.io.IOException; 23 | 24 | /** 25 | * Avatar provider API. 26 | */ 27 | public interface AvatarsProvider { 28 | 29 | /** 30 | * Set a base URL for provider 31 | * 32 | * @param baseUrl for provider 33 | */ 34 | void setBaseUrl(String baseUrl); 35 | 36 | /** 37 | * Set site output directory. Used to store avatar images in project. 38 | * 39 | * @param outputDirectory a site output directory 40 | */ 41 | void setOutputDirectory(File outputDirectory); 42 | 43 | /** 44 | * Return a URL for avatar image. 45 | * 46 | * @param email email address for gravatar image 47 | * @return a URL for avatar image 48 | */ 49 | String getAvatarUrl(String email); 50 | 51 | /** 52 | * Return a local path to downloaded avatar image. 53 | * 54 | * @param email email address for gravatar image 55 | * @return a local avatar path 56 | * @throws IOException if problem with image downloading 57 | */ 58 | String getLocalAvatarPath(String email) throws IOException; 59 | } 60 | -------------------------------------------------------------------------------- /src/main/java/org/apache/maven/report/projectinfo/dependencies/DependenciesReportConfiguration.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | package org.apache.maven.report.projectinfo.dependencies; 20 | 21 | /** 22 | * Wrap DependenciesReport Mojo parameters. 23 | * 24 | * @since 2.1 25 | */ 26 | public class DependenciesReportConfiguration { 27 | private boolean dependencyDetailsEnabled; 28 | 29 | /** 30 | * @param detailsEnabled whether details is enabled. 31 | */ 32 | public DependenciesReportConfiguration(boolean detailsEnabled) { 33 | this.dependencyDetailsEnabled = detailsEnabled; 34 | } 35 | 36 | /** 37 | * @return value of Mojo dependencyDetailsEnabled parameter. 38 | */ 39 | public boolean getDependencyDetailsEnabled() { 40 | return dependencyDetailsEnabled; 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /src/main/resources/org/apache/maven/report/projectinfo/avatars/default-avatar.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/maven-project-info-reports-plugin/ef4e6611d8c2d3a319f4ff04e3a2bf73dffc63df/src/main/resources/org/apache/maven/report/projectinfo/avatars/default-avatar.jpg -------------------------------------------------------------------------------- /src/main/resources/org/apache/maven/report/projectinfo/resources/images/close.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/maven-project-info-reports-plugin/ef4e6611d8c2d3a319f4ff04e3a2bf73dffc63df/src/main/resources/org/apache/maven/report/projectinfo/resources/images/close.gif -------------------------------------------------------------------------------- /src/main/resources/org/apache/maven/report/projectinfo/resources/resources.txt: -------------------------------------------------------------------------------- 1 | images/close.gif 2 | -------------------------------------------------------------------------------- /src/main/resources/project-info-reports_de.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/maven-project-info-reports-plugin/ef4e6611d8c2d3a319f4ff04e3a2bf73dffc63df/src/main/resources/project-info-reports_de.properties -------------------------------------------------------------------------------- /src/main/resources/project-info-reports_en.properties: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. 17 | 18 | # NOTE: 19 | # This bundle is intentionally empty because English strings are provided by the base bundle via the parent chain. It 20 | # must be provided nevertheless such that a request for locale "en" will not errorneously pick up the bundle for the 21 | # JVM's default locale (which need not be "en"). See the method javadoc about 22 | # ResourceBundle.getBundle(String, Locale, ClassLoader) 23 | # for a full description of the lookup strategy. 24 | -------------------------------------------------------------------------------- /src/site/apt/examples/individual-reports.apt: -------------------------------------------------------------------------------- 1 | ------ 2 | Run Individual Reports 3 | ------ 4 | Johnny R. Ruiz III, Pete Marvin King 5 | ------ 6 | 2008-07-24 7 | ------ 8 | 9 | ~~ Licensed to the Apache Software Foundation (ASF) under one 10 | ~~ or more contributor license agreements. See the NOTICE file 11 | ~~ distributed with this work for additional information 12 | ~~ regarding copyright ownership. The ASF licenses this file 13 | ~~ to you under the Apache License, Version 2.0 (the 14 | ~~ "License"); you may not use this file except in compliance 15 | ~~ with the License. You may obtain a copy of the License at 16 | ~~ 17 | ~~ http://www.apache.org/licenses/LICENSE-2.0 18 | ~~ 19 | ~~ Unless required by applicable law or agreed to in writing, 20 | ~~ software distributed under the License is distributed on an 21 | ~~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 22 | ~~ KIND, either express or implied. See the License for the 23 | ~~ specific language governing permissions and limitations 24 | ~~ under the License. 25 | 26 | ~~ NOTE: For help with the syntax of this file, see: 27 | ~~ http://maven.apache.org/doxia/references/apt-format.html 28 | 29 | Run Individual Reports 30 | 31 | Each individual report can be generated without configuring anything in the 32 | <<>>. Check the table in {{{../plugin-info.html}Goals}} for the 33 | complete list of goals. 34 | 35 | <> The reports generated using this method does not contain any 36 | navigational links. Also, the locale used is the JVM locale. 37 | -------------------------------------------------------------------------------- /src/site/apt/examples/selective-reports.apt.vm: -------------------------------------------------------------------------------- 1 | ------ 2 | Run Selective Reports 3 | ------ 4 | Johnny R. Ruiz III, Pete Marvin King 5 | ------ 6 | 2009-07-14 7 | ------ 8 | 9 | ~~ Licensed to the Apache Software Foundation (ASF) under one 10 | ~~ or more contributor license agreements. See the NOTICE file 11 | ~~ distributed with this work for additional information 12 | ~~ regarding copyright ownership. The ASF licenses this file 13 | ~~ to you under the Apache License, Version 2.0 (the 14 | ~~ "License"); you may not use this file except in compliance 15 | ~~ with the License. You may obtain a copy of the License at 16 | ~~ 17 | ~~ http://www.apache.org/licenses/LICENSE-2.0 18 | ~~ 19 | ~~ Unless required by applicable law or agreed to in writing, 20 | ~~ software distributed under the License is distributed on an 21 | ~~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 22 | ~~ KIND, either express or implied. See the License for the 23 | ~~ specific language governing permissions and limitations 24 | ~~ under the License. 25 | 26 | ~~ NOTE: For help with the syntax of this file, see: 27 | ~~ http://maven.apache.org/doxia/references/apt-format.html 28 | 29 | Run Selective Reports 30 | 31 | To run the reports selectively, you can configure it to include only the reports that you prefer. 32 | Use <<>> to generate the selected reports. 33 | 34 | +-----------------+ 35 | 36 | ... 37 | 38 | 39 | 40 | org.apache.maven.plugins 41 | maven-project-info-reports-plugin 42 | ${project.version} 43 | 44 | 45 | 46 | dependencies 47 | team 48 | mailing-lists 49 | ci-management 50 | issue-management 51 | licenses 52 | scm 53 | 54 | 55 | 56 | 57 | ... 58 | 59 | 60 | ... 61 | 62 | +-----------------+ 63 | -------------------------------------------------------------------------------- /src/site/apt/usage.apt: -------------------------------------------------------------------------------- 1 | ------ 2 | Usage 3 | ------ 4 | Johnny R. Ruiz III, Pete Marvin King 5 | ------ 6 | 2009-07-14 7 | ------ 8 | 9 | ~~ Licensed to the Apache Software Foundation (ASF) under one 10 | ~~ or more contributor license agreements. See the NOTICE file 11 | ~~ distributed with this work for additional information 12 | ~~ regarding copyright ownership. The ASF licenses this file 13 | ~~ to you under the Apache License, Version 2.0 (the 14 | ~~ "License"); you may not use this file except in compliance 15 | ~~ with the License. You may obtain a copy of the License at 16 | ~~ 17 | ~~ http://www.apache.org/licenses/LICENSE-2.0 18 | ~~ 19 | ~~ Unless required by applicable law or agreed to in writing, 20 | ~~ software distributed under the License is distributed on an 21 | ~~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 22 | ~~ KIND, either express or implied. See the License for the 23 | ~~ specific language governing permissions and limitations 24 | ~~ under the License. 25 | 26 | ~~ NOTE: For help with the syntax of this file, see: 27 | ~~ http://maven.apache.org/doxia/references/apt-format.html 28 | 29 | Usage 30 | 31 | Maven has been configured to create the project info reports by default. There's 32 | no need to configure anything in your <<>> to generate the project 33 | information reports. 34 | 35 | Simply running <<>> would generate the project information documentation. 36 | For more information on how to customize the Project Information Reports Plugin, 37 | check the examples on the {{{./index.html}Introduction}} page. 38 | -------------------------------------------------------------------------------- /src/site/fml/faq.fml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 21 | 22 | 23 | 24 | 25 | Is it possible to customize the labels of the Project Reports Menu? 26 | 27 |

28 | Not yet. See the related issue: MPIR-35 29 |

30 |
31 |
32 | 33 | 34 | How to exclude SCM access info? 35 | 36 |

37 | See the SCM report documentation. 38 |

39 |
40 |
41 | 42 | 43 | How to use developer/contributor time zone? 44 | 45 |

46 | Please refer to the developer section of the POM reference. 47 |

48 |
49 |
50 | 51 | 52 | Is it possible to customize the reports rendering? 53 | 54 |

55 | Not yet, but patches are always welcome! 56 | You could only customize the texts in the reports. 57 |

58 |
59 |
60 |
61 |
62 | -------------------------------------------------------------------------------- /src/site/resources/download.cgi: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | # Licensed to the Apache Software Foundation (ASF) under one 4 | # or more contributor license agreements. See the NOTICE file 5 | # distributed with this work for additional information 6 | # regarding copyright ownership. The ASF licenses this file 7 | # to you under the Apache License, Version 2.0 (the 8 | # "License"); you may not use this file except in compliance 9 | # with the License. You may obtain a copy of the License at 10 | # 11 | # http://www.apache.org/licenses/LICENSE-2.0 12 | # 13 | # Unless required by applicable law or agreed to in writing, 14 | # software distributed under the License is distributed on an 15 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16 | # KIND, either express or implied. See the License for the 17 | # specific language governing permissions and limitations 18 | # under the License. 19 | # 20 | # Just call the standard mirrors.cgi script. It will use download.html 21 | # as the input template. 22 | exec /www/www.apache.org/dyn/mirrors/mirrors.cgi $* -------------------------------------------------------------------------------- /src/site/site.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 21 | 22 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | -------------------------------------------------------------------------------- /src/test/java/org/apache/maven/report/projectinfo/stubs/CiManagementStub.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | package org.apache.maven.report.projectinfo.stubs; 20 | 21 | /** 22 | * @author Vincent Siveton 23 | * @version $Id$ 24 | */ 25 | public class CiManagementStub extends ProjectInfoProjectStub { 26 | @Override 27 | protected String getPOM() { 28 | return "ci-management-plugin-config.xml"; 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /src/test/java/org/apache/maven/report/projectinfo/stubs/CiManagementWithCiSectionStub.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | package org.apache.maven.report.projectinfo.stubs; 20 | 21 | public class CiManagementWithCiSectionStub extends ProjectInfoProjectStub { 22 | @Override 23 | protected String getPOM() { 24 | return "ci-management-plugin-with-ci-section-config.xml"; 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /src/test/java/org/apache/maven/report/projectinfo/stubs/DefaultArtifactHandlerStub.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | package org.apache.maven.report.projectinfo.stubs; 20 | 21 | import org.apache.maven.artifact.handler.DefaultArtifactHandler; 22 | 23 | /** 24 | * @author Vincent Siveton 25 | * @version $Id$ 26 | */ 27 | public class DefaultArtifactHandlerStub extends DefaultArtifactHandler { 28 | private String language; 29 | 30 | @Override 31 | public String getLanguage() { 32 | if (language == null) { 33 | language = "java"; 34 | } 35 | 36 | return language; 37 | } 38 | 39 | /** 40 | * @param language the language. Defaults to "java". 41 | */ 42 | public void setLanguage(String language) { 43 | this.language = language; 44 | } 45 | } 46 | -------------------------------------------------------------------------------- /src/test/java/org/apache/maven/report/projectinfo/stubs/DependenciesStub.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | package org.apache.maven.report.projectinfo.stubs; 20 | 21 | /** 22 | * @author Vincent Siveton 23 | * @version $Id$ 24 | */ 25 | public class DependenciesStub extends ProjectInfoProjectStub { 26 | @Override 27 | protected String getPOM() { 28 | return "dependencies-plugin-config.xml"; 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /src/test/java/org/apache/maven/report/projectinfo/stubs/DependencyConvergenceStub.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | package org.apache.maven.report.projectinfo.stubs; 20 | 21 | /** 22 | * @author Vincent Siveton 23 | * @version $Id$ 24 | */ 25 | public class DependencyConvergenceStub extends ProjectInfoProjectStub { 26 | /** 27 | * 28 | */ 29 | public DependencyConvergenceStub() { 30 | super(); 31 | 32 | setExecutionRoot(true); 33 | } 34 | 35 | @Override 36 | protected String getPOM() { 37 | return "dependency-convergence-plugin-config.xml"; 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /src/test/java/org/apache/maven/report/projectinfo/stubs/DependencyManagementStub.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | package org.apache.maven.report.projectinfo.stubs; 20 | 21 | /** 22 | * @author Nick Stolwijk 23 | * @version $Id$ 24 | * @since 2.1 25 | */ 26 | public class DependencyManagementStub extends ProjectInfoProjectStub { 27 | @Override 28 | protected String getPOM() { 29 | return "dependency-management-plugin-config.xml"; 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /src/test/java/org/apache/maven/report/projectinfo/stubs/IndexStub.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | package org.apache.maven.report.projectinfo.stubs; 20 | 21 | /** 22 | * @author Vincent Siveton 23 | * @version $Id$ 24 | */ 25 | public class IndexStub extends ProjectInfoProjectStub { 26 | @Override 27 | protected String getPOM() { 28 | return "index-plugin-config.xml"; 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /src/test/java/org/apache/maven/report/projectinfo/stubs/IssueManagementStub.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | package org.apache.maven.report.projectinfo.stubs; 20 | 21 | /** 22 | * @author Vincent Siveton 23 | * @version $Id$ 24 | */ 25 | public class IssueManagementStub extends ProjectInfoProjectStub { 26 | @Override 27 | protected String getPOM() { 28 | return "issue-management-plugin-config.xml"; 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /src/test/java/org/apache/maven/report/projectinfo/stubs/LicensesStub.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | package org.apache.maven.report.projectinfo.stubs; 20 | 21 | /** 22 | * @author Vincent Siveton 23 | * @version $Id$ 24 | */ 25 | public class LicensesStub extends ProjectInfoProjectStub { 26 | @Override 27 | protected String getPOM() { 28 | return "licenses-plugin-config.xml"; 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /src/test/java/org/apache/maven/report/projectinfo/stubs/MailingListsInvalidLinkStub.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | package org.apache.maven.report.projectinfo.stubs; 20 | 21 | public class MailingListsInvalidLinkStub extends ProjectInfoProjectStub { 22 | @Override 23 | protected String getPOM() { 24 | return "mailing-lists-plugin-config-invalidlink.xml"; 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /src/test/java/org/apache/maven/report/projectinfo/stubs/MailingListsStub.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | package org.apache.maven.report.projectinfo.stubs; 20 | 21 | /** 22 | * @author Vincent Siveton 23 | * @version $Id$ 24 | */ 25 | public class MailingListsStub extends ProjectInfoProjectStub { 26 | @Override 27 | protected String getPOM() { 28 | return "mailing-lists-plugin-config.xml"; 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /src/test/java/org/apache/maven/report/projectinfo/stubs/MailingListsStub2.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | package org.apache.maven.report.projectinfo.stubs; 20 | 21 | import java.io.File; 22 | 23 | /** 24 | * @author Vincent Siveton 25 | * @version $Id$ 26 | */ 27 | public class MailingListsStub2 extends ProjectInfoProjectStub { 28 | @Override 29 | public File getBasedir() { 30 | return new File(super.getBasedir() + "/custom-bundle/"); 31 | } 32 | 33 | @Override 34 | protected String getPOM() { 35 | return "plugin-config.xml"; 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /src/test/java/org/apache/maven/report/projectinfo/stubs/ModulesStub.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | package org.apache.maven.report.projectinfo.stubs; 20 | 21 | import java.util.Arrays; 22 | import java.util.List; 23 | 24 | /** 25 | * @author ltheussl 26 | * @version $Id$ 27 | */ 28 | public class ModulesStub extends ProjectInfoProjectStub { 29 | @Override 30 | protected String getPOM() { 31 | return "modules-plugin-config.xml"; 32 | } 33 | 34 | @Override 35 | public List getModules() { 36 | return Arrays.asList("subproject1", "subproject2"); 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /src/test/java/org/apache/maven/report/projectinfo/stubs/ModulesVariableSettingInterpolationStub.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | package org.apache.maven.report.projectinfo.stubs; 20 | 21 | import java.util.Collections; 22 | import java.util.List; 23 | 24 | /** 25 | * @author Alix Lourme 26 | */ 27 | public class ModulesVariableSettingInterpolationStub extends ProjectInfoProjectStub { 28 | @Override 29 | protected String getPOM() { 30 | return "modules-variable-settings-interpolated-plugin-config.xml"; 31 | } 32 | 33 | @Override 34 | public List getModules() { 35 | return Collections.singletonList("subproject-site-url"); 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /src/test/java/org/apache/maven/report/projectinfo/stubs/PluginManagementMPIR375Stub.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | package org.apache.maven.report.projectinfo.stubs; 20 | 21 | /** 22 | * @author Gabriel Belingueres 23 | * @version $Id$ 24 | * @since 3.0.1 25 | */ 26 | public class PluginManagementMPIR375Stub extends ProjectInfoProjectStub { 27 | @Override 28 | protected String getPOM() { 29 | return "plugin-management-plugin-config-MPIR-375.xml"; 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /src/test/java/org/apache/maven/report/projectinfo/stubs/PluginManagementStub.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | package org.apache.maven.report.projectinfo.stubs; 20 | 21 | /** 22 | * @author Nick Stolwijk 23 | * @version $Id$ 24 | * @since 2.1 25 | */ 26 | public class PluginManagementStub extends ProjectInfoProjectStub { 27 | @Override 28 | protected String getPOM() { 29 | return "plugin-management-plugin-config.xml"; 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /src/test/java/org/apache/maven/report/projectinfo/stubs/ScmStub.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | package org.apache.maven.report.projectinfo.stubs; 20 | 21 | /** 22 | * @author Vincent Siveton 23 | * @version $Id$ 24 | */ 25 | public class ScmStub extends ProjectInfoProjectStub { 26 | @Override 27 | protected String getPOM() { 28 | return "scm-plugin-config.xml"; 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /src/test/java/org/apache/maven/report/projectinfo/stubs/SettingsSitePublishVariableStub.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | package org.apache.maven.report.projectinfo.stubs; 20 | 21 | import java.util.Collections; 22 | import java.util.List; 23 | 24 | import org.apache.maven.settings.Profile; 25 | import org.apache.maven.settings.Settings; 26 | 27 | /** 28 | * @author Alix Lourme 29 | */ 30 | public class SettingsSitePublishVariableStub extends Settings { 31 | private static final long serialVersionUID = 7852264203210559193L; 32 | 33 | @Override 34 | public List getProfiles() { 35 | Profile p = new Profile(); 36 | p.setId("site-location"); 37 | p.addProperty("sitePublishLocation", "file://tmp/sitePublish"); 38 | return Collections.singletonList(p); 39 | } 40 | 41 | @Override 42 | public List getActiveProfiles() { 43 | return Collections.singletonList("site-location"); 44 | } 45 | } 46 | -------------------------------------------------------------------------------- /src/test/java/org/apache/maven/report/projectinfo/stubs/SettingsStub.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | package org.apache.maven.report.projectinfo.stubs; 20 | 21 | import org.apache.maven.settings.Settings; 22 | 23 | /** 24 | * @author Edwin Punzalan 25 | * @version $Id$ 26 | */ 27 | public class SettingsStub extends Settings { 28 | // nop 29 | } 30 | -------------------------------------------------------------------------------- /src/test/java/org/apache/maven/report/projectinfo/stubs/SubProject1Stub.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | package org.apache.maven.report.projectinfo.stubs; 20 | 21 | import java.util.Collections; 22 | import java.util.List; 23 | 24 | import org.apache.maven.artifact.Artifact; 25 | import org.apache.maven.model.Dependency; 26 | 27 | /** 28 | * @author Vincent Siveton 29 | * @version $Id$ 30 | */ 31 | public class SubProject1Stub extends ProjectInfoProjectStub { 32 | @Override 33 | protected String getPOM() { 34 | return "subproject1/pom.xml"; 35 | } 36 | 37 | @Override 38 | public List getDependencies() { 39 | Dependency d = new Dependency(); 40 | d.setGroupId("junit"); 41 | d.setArtifactId("junit"); 42 | d.setVersion("3.8.1"); 43 | d.setScope(Artifact.SCOPE_COMPILE); 44 | 45 | return Collections.singletonList(d); 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /src/test/java/org/apache/maven/report/projectinfo/stubs/SubProject2Stub.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | package org.apache.maven.report.projectinfo.stubs; 20 | 21 | import java.util.Collections; 22 | import java.util.List; 23 | 24 | import org.apache.maven.artifact.Artifact; 25 | import org.apache.maven.model.Dependency; 26 | 27 | /** 28 | * @author Vincent Siveton 29 | * @version $Id$ 30 | */ 31 | public class SubProject2Stub extends ProjectInfoProjectStub { 32 | @Override 33 | protected String getPOM() { 34 | return "subproject2/pom.xml"; 35 | } 36 | 37 | @Override 38 | public List getDependencies() { 39 | Dependency d = new Dependency(); 40 | d.setGroupId("junit"); 41 | d.setArtifactId("junit"); 42 | d.setVersion("3.8.1"); 43 | d.setScope(Artifact.SCOPE_COMPILE); 44 | 45 | return Collections.singletonList(d); 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /src/test/java/org/apache/maven/report/projectinfo/stubs/SummaryStub.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | package org.apache.maven.report.projectinfo.stubs; 20 | 21 | /** 22 | * @author Vincent Siveton 23 | * @version $Id$ 24 | */ 25 | public class SummaryStub extends ProjectInfoProjectStub { 26 | @Override 27 | protected String getPOM() { 28 | return "summary-plugin-config.xml"; 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /src/test/java/org/apache/maven/report/projectinfo/stubs/TeamStub.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | package org.apache.maven.report.projectinfo.stubs; 20 | 21 | import java.util.List; 22 | 23 | import org.apache.maven.model.Contributor; 24 | import org.apache.maven.model.Developer; 25 | 26 | /** 27 | * @author Vincent Siveton 28 | * @version $Id$ 29 | */ 30 | public class TeamStub extends ProjectInfoProjectStub { 31 | @Override 32 | protected String getPOM() { 33 | return "team-plugin-config.xml"; 34 | } 35 | 36 | @Override 37 | public List getContributors() { 38 | return getModel().getContributors(); 39 | } 40 | 41 | @Override 42 | public List getDevelopers() { 43 | return getModel().getDevelopers(); 44 | } 45 | } 46 | -------------------------------------------------------------------------------- /src/test/resources/iso-8859-5-encoded.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/maven-project-info-reports-plugin/ef4e6611d8c2d3a319f4ff04e3a2bf73dffc63df/src/test/resources/iso-8859-5-encoded.txt -------------------------------------------------------------------------------- /src/test/resources/org/apache/maven/report/projectinfo/AbstractProjectInfoTestCase.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 21 | 22 | 23 | 24 | 25 | org.codehaus.plexus.i18n.I18N 26 | org.codehaus.plexus.i18n.DefaultI18N 27 | 28 | project-info-reports 29 | 30 | 31 | 32 | -------------------------------------------------------------------------------- /src/test/resources/plugin-configs/ci-management-plugin-config.xml: -------------------------------------------------------------------------------- 1 | 19 | 20 | 21 | 4.0.0 22 | org.apache.maven.plugin.projectinfo.tests 23 | ci-mangement 24 | 1.0-SNAPSHOT 25 | jar 26 | ci mangement project info 27 | http://maven.apache.org 28 | 29 | 30 | junit 31 | junit 32 | 3.8.1 33 | test 34 | 35 | 36 | 37 | 38 | 39 | maven-project-info-reports-plugin 40 | 41 | target/test-harness/ci-mangement 42 | 43 | 44 | 45 | 46 | 47 | 48 | -------------------------------------------------------------------------------- /src/test/resources/plugin-configs/ci-management-plugin-with-ci-section-config.xml: -------------------------------------------------------------------------------- 1 | 19 | 20 | 21 | 4.0.0 22 | org.apache.maven.plugin.projectinfo.tests 23 | ci-management-with-ci-section 24 | 1.0-SNAPSHOT 25 | jar 26 | ci management project info 27 | http://maven.apache.org 28 | 29 | 30 | junit 31 | junit 32 | 3.8.1 33 | test 34 | 35 | 36 | 37 | 38 | 39 | maven-project-info-reports-plugin 40 | 41 | target/test-harness/ci-management-with-ci-section 42 | 43 | 44 | 45 | 46 | 47 | 48 | TeamCity 49 | https://example.com 50 | 51 | 52 | -------------------------------------------------------------------------------- /src/test/resources/plugin-configs/custom-bundle/plugin-config.xml: -------------------------------------------------------------------------------- 1 | 19 | 20 | 21 | 4.0.0 22 | org.apache.maven.plugin.projectinfo.tests 23 | mailing-lists 24 | 1.0-SNAPSHOT 25 | jar 26 | mailing lists project info 27 | http://maven.apache.org 28 | 29 | 30 | junit 31 | junit 32 | 3.8.1 33 | test 34 | 35 | 36 | 37 | 38 | Test List 39 | test@maven.apache.org 40 | MAILTO:test-subscribe@maven.apache.org 41 | 42 | 43 | Test List 2 44 | test2@maven.apache.org 45 | MAILTO:test-subscribe2@maven.apache.org 46 | https://example.com/unsubscribe 47 | 48 | 49 | 50 | 51 | 52 | maven-project-info-reports-plugin 53 | 54 | target/test-harness/mailing-lists 55 | 56 | ${basedir}/src/test/resources/plugin-configs/custom-bundle/src/site/custom/project-info-reports.properties 57 | 58 | 59 | 60 | 61 | 62 | -------------------------------------------------------------------------------- /src/test/resources/plugin-configs/custom-bundle/src/site/custom/project-info-reports.properties: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. 17 | 18 | report.mailing-lists.intro = mail list intro text foo -------------------------------------------------------------------------------- /src/test/resources/plugin-configs/dependencies-plugin-config.xml: -------------------------------------------------------------------------------- 1 | 19 | 20 | 21 | 4.0.0 22 | org.apache.maven.plugin.projectinfo.tests 23 | dependencies 24 | 1.0-SNAPSHOT 25 | jar 26 | dependencies project info 27 | 28 | 29 | junit 30 | junit 31 | 3.8.1 32 | test 33 | 34 | 35 | 36 | 37 | 38 | org.apache.maven.plugins 39 | maven-project-info-reports-plugin 40 | 41 | target/test-harness/dependencies 42 | 43 | 44 | 45 | 46 | 47 | 48 | -------------------------------------------------------------------------------- /src/test/resources/plugin-configs/dependency-convergence-plugin-config.xml: -------------------------------------------------------------------------------- 1 | 19 | 20 | 21 | 4.0.0 22 | org.apache.maven.plugin.projectinfo.tests 23 | dependency-convergence 24 | 1.0-SNAPSHOT 25 | pom 26 | dependency convergence project info 27 | http://maven.apache.org 28 | 29 | 30 | junit 31 | junit 32 | 3.8.1 33 | test 34 | 35 | 36 | 37 | 38 | 39 | maven-project-info-reports-plugin 40 | 41 | target/test-harness/dependency-convergence 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | -------------------------------------------------------------------------------- /src/test/resources/plugin-configs/dependency-management-plugin-config.xml: -------------------------------------------------------------------------------- 1 | 19 | 20 | 21 | 4.0.0 22 | org.apache.maven.plugin.projectinfo.tests 23 | dependency-management 24 | 1.0-SNAPSHOT 25 | jar 26 | dependency management project info 27 | http://maven.apache.org 28 | 29 | 30 | junit 31 | junit 32 | 33 | 34 | 35 | 36 | 37 | junit 38 | junit 39 | 3.8.1 40 | test 41 | 42 | 43 | 44 | 45 | 46 | 47 | org.apache.maven.plugins 48 | maven-project-info-reports-plugin 49 | 50 | target/test-harness/dependency-management 51 | 52 | 53 | 54 | 55 | 56 | 57 | -------------------------------------------------------------------------------- /src/test/resources/plugin-configs/index-plugin-config.xml: -------------------------------------------------------------------------------- 1 | 19 | 20 | 21 | 4.0.0 22 | org.apache.maven.plugin.projectinfo.tests 23 | index 24 | 1.0-SNAPSHOT 25 | jar 26 | index project info 27 | http://maven.apache.org 28 | 29 | 30 | junit 31 | junit 32 | 3.8.1 33 | test 34 | 35 | 36 | 37 | 38 | 39 | maven-project-info-reports-plugin 40 | 41 | target/test-harness/index 42 | 43 | 44 | 45 | 46 | 47 | 48 | -------------------------------------------------------------------------------- /src/test/resources/plugin-configs/issue-management-plugin-config.xml: -------------------------------------------------------------------------------- 1 | 19 | 20 | 21 | 4.0.0 22 | org.apache.maven.plugin.projectinfo.tests 23 | issue-management 24 | 1.0-SNAPSHOT 25 | jar 26 | issue management project info 27 | http://maven.apache.org 28 | 29 | 30 | junit 31 | junit 32 | 3.8.1 33 | test 34 | 35 | 36 | 37 | jira 38 | http://localhost/jira 39 | 40 | 41 | 42 | 43 | maven-project-info-reports-plugin 44 | 45 | target/test-harness/issue-management 46 | 47 | 48 | 49 | 50 | 51 | 52 | -------------------------------------------------------------------------------- /src/test/resources/plugin-configs/licenses-plugin-config-linkonly.xml: -------------------------------------------------------------------------------- 1 | 19 | 20 | 21 | 4.0.0 22 | org.apache.maven.plugin.projectinfo.tests 23 | licenses 24 | 1.0-SNAPSHOT 25 | jar 26 | licenses project info 27 | http://maven.apache.org 28 | 29 | 30 | The Apache Software License, Version 2.0 31 | https://www.apache.org/licenses/LICENSE-2.0.txt 32 | repo 33 | 34 | 35 | 36 | 37 | junit 38 | junit 39 | 3.8.1 40 | test 41 | 42 | 43 | 44 | 45 | 46 | maven-project-info-reports-plugin 47 | 48 | target/test-harness/licenses 49 | 50 | 51 | false 52 | true 53 | 54 | 55 | 56 | 57 | 58 | -------------------------------------------------------------------------------- /src/test/resources/plugin-configs/licenses-plugin-config.xml: -------------------------------------------------------------------------------- 1 | 19 | 20 | 21 | 4.0.0 22 | org.apache.maven.plugin.projectinfo.tests 23 | licenses 24 | 1.0-SNAPSHOT 25 | jar 26 | licenses project info 27 | http://maven.apache.org 28 | 29 | 30 | The Apache Software License, Version 2.0 31 | https://www.apache.org/licenses/LICENSE-2.0.txt 32 | repo 33 | 34 | 35 | 36 | 37 | junit 38 | junit 39 | 3.8.1 40 | test 41 | 42 | 43 | 44 | 45 | 46 | maven-project-info-reports-plugin 47 | 48 | target/test-harness/licenses 49 | 50 | 51 | false 52 | 53 | 54 | 55 | 56 | 57 | -------------------------------------------------------------------------------- /src/test/resources/plugin-configs/mailing-lists-plugin-config-fr.xml: -------------------------------------------------------------------------------- 1 | 19 | 20 | 21 | 4.0.0 22 | org.apache.maven.plugin.projectinfo.tests 23 | mailing-lists 24 | 1.0-SNAPSHOT 25 | jar 26 | mailing lists project info 27 | http://maven.apache.org 28 | 29 | 30 | junit 31 | junit 32 | 3.8.1 33 | test 34 | 35 | 36 | 37 | 38 | Test List 39 | test@maven.apache.org 40 | MAILTO:test-subscribe@maven.apache.org 41 | 42 | 43 | Test List 2 44 | test2@maven.apache.org 45 | MAILTO:test-subscribe2@maven.apache.org 46 | https://example.com/unsubscribe 47 | 48 | 49 | 50 | 51 | 52 | maven-project-info-reports-plugin 53 | 54 | target/test-harness/mailing-lists 55 | fr 56 | 57 | 58 | 59 | 60 | 61 | 62 | -------------------------------------------------------------------------------- /src/test/resources/plugin-configs/mailing-lists-plugin-config-invalidlink.xml: -------------------------------------------------------------------------------- 1 | 19 | 20 | 21 | 4.0.0 22 | org.apache.maven.plugin.projectinfo.tests 23 | mailing-lists 24 | 1.0-SNAPSHOT 25 | jar 26 | mailing lists project info 27 | http://maven.apache.org 28 | 29 | 30 | junit 31 | junit 32 | 3.8.1 33 | test 34 | 35 | 36 | 37 | 38 | Test List 39 | 40 | test at maven.apache.org 41 | MAILTO:test-subscribe@maven.apache.org 42 | 43 | 44 | 45 | 46 | 47 | maven-project-info-reports-plugin 48 | 49 | target/test-harness/mailing-lists 50 | 51 | 52 | 53 | 54 | 55 | 56 | -------------------------------------------------------------------------------- /src/test/resources/plugin-configs/mailing-lists-plugin-config.xml: -------------------------------------------------------------------------------- 1 | 19 | 20 | 21 | 4.0.0 22 | org.apache.maven.plugin.projectinfo.tests 23 | mailing-lists 24 | 1.0-SNAPSHOT 25 | jar 26 | mailing lists project info 27 | http://maven.apache.org 28 | 29 | 30 | junit 31 | junit 32 | 3.8.1 33 | test 34 | 35 | 36 | 37 | 38 | Test List 39 | test@maven.apache.org 40 | MAILTO:test-subscribe@maven.apache.org 41 | 42 | 43 | Test List 2 44 | test2@maven.apache.org 45 | MAILTO:test-subscribe2@maven.apache.org 46 | https://example.com/unsubscribe 47 | 48 | 49 | 50 | 51 | 52 | maven-project-info-reports-plugin 53 | 54 | target/test-harness/mailing-lists 55 | 56 | 57 | 58 | 59 | 60 | 61 | -------------------------------------------------------------------------------- /src/test/resources/plugin-configs/modules-plugin-config.xml: -------------------------------------------------------------------------------- 1 | 19 | 20 | 21 | 4.0.0 22 | org.apache.maven.plugin.projectinfo.tests 23 | modules 24 | 1.0-SNAPSHOT 25 | pom 26 | modules project info 27 | http://maven.apache.org 28 | 29 | 30 | junit 31 | junit 32 | 3.8.2 33 | test 34 | 35 | 36 | 37 | subproject1 38 | subproject2 39 | 40 | 41 | 42 | 43 | maven-project-info-reports-plugin 44 | 45 | target/test-harness/modules 46 | 47 | 48 | 49 | 50 | 51 | 52 | -------------------------------------------------------------------------------- /src/test/resources/plugin-configs/modules-variable-settings-interpolated-plugin-config.xml: -------------------------------------------------------------------------------- 1 | 19 | 20 | 21 | 4.0.0 22 | org.apache.maven.plugin.projectinfo.tests 23 | modules 24 | 1.0-SNAPSHOT 25 | pom 26 | modules project info 27 | http://maven.apache.org 28 | 29 | 30 | junit 31 | junit 32 | 3.8.2 33 | test 34 | 35 | 36 | 37 | subproject-site-url 38 | 39 | 40 | 41 | 42 | maven-project-info-reports-plugin 43 | 44 | target/test-harness/modules 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | projectSite 54 | ${sitePublishLocation}/foo/${project.artifactId} 55 | 56 | 57 | 58 | -------------------------------------------------------------------------------- /src/test/resources/plugin-configs/plugin-management-plugin-config.xml: -------------------------------------------------------------------------------- 1 | 19 | 20 | 21 | 4.0.0 22 | org.apache.maven.plugin.projectinfo.tests 23 | plugin-management 24 | 1.0-SNAPSHOT 25 | jar 26 | plugin management project info 27 | http://maven.apache.org 28 | 29 | 30 | junit 31 | junit 32 | 3.8.1 33 | 34 | 35 | 36 | 37 | 38 | 39 | org.apache.maven.plugins 40 | maven-project-info-reports-plugin 41 | 2.0.1 42 | 43 | 44 | org.apache.maven.plugins 45 | maven-compile-plugin 46 | 47 | 1.4 48 | 1.4 49 | 50 | 51 | 52 | 53 | 54 | 55 | org.apache.maven.plugins 56 | maven-project-info-reports-plugin 57 | 58 | target/test-harness/plugin-management 59 | 60 | 61 | 62 | 63 | 64 | 65 | -------------------------------------------------------------------------------- /src/test/resources/plugin-configs/scm-plugin-config.xml: -------------------------------------------------------------------------------- 1 | 19 | 20 | 21 | 4.0.0 22 | org.apache.maven.plugin.projectinfo.tests 23 | scm 24 | 1.0-SNAPSHOT 25 | jar 26 | scm project info 27 | http://maven.apache.org 28 | 29 | 30 | junit 31 | junit 32 | 3.8.1 33 | test 34 | 35 | 36 | 37 | scm:svn:http://svn.apache.org/repos/asf/maven/test 38 | scm:svn:https://svn.apache.org/repos/asf/maven/test 39 | http://svn.apache.org/viewvc/maven/test 40 | 41 | 42 | 43 | 44 | maven-project-info-reports-plugin 45 | 46 | target/test-harness/scm 47 | 48 | test-artifactId 49 | 50 | 51 | 52 | 53 | 54 | -------------------------------------------------------------------------------- /src/test/resources/plugin-configs/scm-wrong-url-plugin-config.xml: -------------------------------------------------------------------------------- 1 | 19 | 20 | 21 | 4.0.0 22 | org.apache.maven.plugin.projectinfo.tests 23 | scm 24 | 1.0-SNAPSHOT 25 | jar 26 | scm project info 27 | http://maven.apache.org 28 | 29 | 30 | junit 31 | junit 32 | 3.8.1 33 | test 34 | 35 | 36 | 37 | 38 | 39 | maven-project-info-reports-plugin 40 | 41 | target/test-harness/scm 42 | 43 | test-artifactId 44 | 45 | 46 | 47 | 48 | 49 | -------------------------------------------------------------------------------- /src/test/resources/plugin-configs/subproject-site-url/pom.xml: -------------------------------------------------------------------------------- 1 | 19 | 20 | 21 | 4.0.0 22 | 23 | org.apache.maven.plugin.projectinfo.tests 24 | modules 25 | 1.0-SNAPSHOT 26 | ../modules-variable-settings-interpolated-plugin-config.xml 27 | 28 | org.apache.maven.plugin.projectinfo.tests 29 | project-site-url 30 | 1.0-SNAPSHOT 31 | jar 32 | project-site-url 33 | 34 | 35 | 36 | 37 | projectSite 38 | ${sitePublishLocation}/foo/parent/${project.artifactId} 39 | 40 | 41 | 42 | -------------------------------------------------------------------------------- /src/test/resources/plugin-configs/subproject1/pom.xml: -------------------------------------------------------------------------------- 1 | 19 | 20 | 21 | 4.0.0 22 | 23 | org.apache.maven.plugin.projectinfo.tests 24 | dependency-convergence 25 | 1.0-SNAPSHOT 26 | ../dependency-convergence-plugin-config.xml 27 | 28 | org.apache.maven.plugin.projectinfo.tests 29 | project1 30 | 1.0-SNAPSHOT 31 | jar 32 | project1 33 | 34 | -------------------------------------------------------------------------------- /src/test/resources/plugin-configs/subproject2/pom.xml: -------------------------------------------------------------------------------- 1 | 19 | 20 | 21 | 4.0.0 22 | 23 | org.apache.maven.plugin.projectinfo.tests 24 | dependency-convergence 25 | 1.0-SNAPSHOT 26 | ../dependency-convergence-plugin-config.xml 27 | 28 | org.apache.maven.plugin.projectinfo.tests 29 | project2 30 | 1.0-SNAPSHOT 31 | jar 32 | project2 33 | project2 description 34 | 35 | -------------------------------------------------------------------------------- /src/test/resources/plugin-configs/summary-plugin-config.xml: -------------------------------------------------------------------------------- 1 | 19 | 20 | 21 | 4.0.0 22 | org.apache.maven.plugin.projectinfo.tests 23 | summary 24 | 1.0-SNAPSHOT 25 | jar 26 | summary project info 27 | http://maven.apache.org 28 | 29 | 30 | junit 31 | junit 32 | 3.8.1 33 | test 34 | 35 | 36 | 37 | 38 | 39 | maven-project-info-reports-plugin 40 | 41 | target/test-harness/summary 42 | 43 | 44 | 45 | 46 | 47 | 48 | -------------------------------------------------------------------------------- /src/test/resources/plugin-configs/team-plugin-config.xml: -------------------------------------------------------------------------------- 1 | 19 | 20 | 21 | 4.0.0 22 | org.apache.maven.plugin.projectinfo.tests 23 | team 24 | 1.0-SNAPSHOT 25 | jar 26 | team project info 27 | http://maven.apache.org 28 | 29 | 30 | junit 31 | junit 32 | 3.8.1 33 | test 34 | 35 | 36 | 37 | 38 | vsiveton 39 | Vincent Siveton 40 | vsiveton@apache.org 41 | ASF 42 | 43 | PMC Member 44 | 45 | -5 46 | 47 | 48 | fractional 49 | Mr Fraction 50 | -5.5 51 | 52 | 53 | 54 | 55 | 56 | maven-project-info-reports-plugin 57 | 58 | target/test-harness/team 59 | 60 | 61 | 62 | 63 | 64 | 65 | -------------------------------------------------------------------------------- /src/test/resources/realm.properties: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. 17 | 18 | admin: admin,admin 19 | user: user,read-only 20 | --------------------------------------------------------------------------------