Skip to content

Instantly share code, notes, and snippets.

@suztomo
Created August 5, 2022 21:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save suztomo/c3cff233a34f09d7e8e0195b39cf0f1a to your computer and use it in GitHub Desktop.
Save suztomo/c3cff233a34f09d7e8e0195b39cf0f1a to your computer and use it in GitHub Desktop.
~/flatten-maven-plugin $ mvn site git[branch:master]
[INFO] Scanning for projects...
[INFO]
[INFO] ---------------< org.codehaus.mojo:flatten-maven-plugin >---------------
[INFO] Building Maven Flatten Plugin 1.2.8-SNAPSHOT
[INFO] ----------------------------[ maven-plugin ]----------------------------
[INFO]
[INFO] --- maven-site-plugin:3.12.0:site (default-site) @ flatten-maven-plugin ---
[INFO] configuring report plugin org.apache.maven.plugins:maven-checkstyle-plugin:3.1.2
[INFO] 1 report configured for maven-checkstyle-plugin:3.1.2: checkstyle
[INFO] configuring report plugin org.apache.maven.plugins:maven-javadoc-plugin:3.4.0
[INFO] 2 reports configured for maven-javadoc-plugin:3.4.0: javadoc-no-fork, test-javadoc-no-fork
[INFO] configuring report plugin org.apache.maven.plugins:maven-jxr-plugin:3.2.0
[INFO] preparing maven-jxr-plugin:jxr report requires 'generate-sources' forked phase execution
[INFO]
[INFO] >>> maven-jxr-plugin:3.2.0:jxr > generate-sources @ flatten-maven-plugin >>>
[INFO]
[INFO] --- maven-enforcer-plugin:3.1.0:enforce (mojo-enforcer-rules) @ flatten-maven-plugin ---
[INFO]
[INFO] --- maven-plugin-plugin:3.6.4:helpmojo (help-mojo) @ flatten-maven-plugin ---
[ERROR]
Some dependencies of Maven Plugins are expected to be in provided scope.
Please make sure that dependencies listed below declared in POM
have set '<scope>provided</scope>' as well.
The following dependencies are in wrong scope:
* org.apache.maven:maven-model:jar:3.2.5:compile
* org.apache.maven:maven-model-builder:jar:3.2.5:compile
* org.apache.maven:maven-artifact:jar:3.2.5:compile
* org.apache.maven:maven-core:jar:3.2.5:compile
* org.apache.maven:maven-settings:jar:3.2.5:compile
* org.apache.maven:maven-settings-builder:jar:3.2.5:compile
* org.apache.maven:maven-repository-metadata:jar:3.2.5:compile
* org.apache.maven:maven-aether-provider:jar:3.2.5:compile
* org.apache.maven:maven-plugin-api:jar:3.2.5:compile
[INFO] Using 'UTF-8' encoding to read mojo source files.
[INFO] java-javadoc mojo extractor found 0 mojo descriptor.
[INFO] ant mojo extractor found 0 mojo descriptor.
[INFO] bsh mojo extractor found 0 mojo descriptor.
[INFO] java-annotations mojo extractor found 3 mojo descriptors.
[INFO]
[INFO] <<< maven-jxr-plugin:3.2.0:jxr < generate-sources @ flatten-maven-plugin <<<
[INFO]
[INFO] 'generate-sources' forked phase execution for maven-jxr-plugin:jxr report preparation done
[INFO] preparing maven-jxr-plugin:test-jxr report requires 'generate-test-sources' forked phase execution
[INFO]
[INFO] >>> maven-jxr-plugin:3.2.0:test-jxr > generate-test-sources @ flatten-maven-plugin >>>
[INFO]
[INFO] --- maven-enforcer-plugin:3.1.0:enforce (mojo-enforcer-rules) @ flatten-maven-plugin ---
[INFO]
[INFO] --- maven-plugin-plugin:3.6.4:helpmojo (help-mojo) @ flatten-maven-plugin ---
[ERROR]
Some dependencies of Maven Plugins are expected to be in provided scope.
Please make sure that dependencies listed below declared in POM
have set '<scope>provided</scope>' as well.
The following dependencies are in wrong scope:
* org.apache.maven:maven-model:jar:3.2.5:compile
* org.apache.maven:maven-model-builder:jar:3.2.5:compile
* org.apache.maven:maven-artifact:jar:3.2.5:compile
* org.apache.maven:maven-core:jar:3.2.5:compile
* org.apache.maven:maven-settings:jar:3.2.5:compile
* org.apache.maven:maven-settings-builder:jar:3.2.5:compile
* org.apache.maven:maven-repository-metadata:jar:3.2.5:compile
* org.apache.maven:maven-aether-provider:jar:3.2.5:compile
* org.apache.maven:maven-plugin-api:jar:3.2.5:compile
[INFO] Using 'UTF-8' encoding to read mojo source files.
[INFO] java-javadoc mojo extractor found 0 mojo descriptor.
[INFO] ant mojo extractor found 0 mojo descriptor.
[INFO] bsh mojo extractor found 0 mojo descriptor.
[INFO] java-annotations mojo extractor found 3 mojo descriptors.
[INFO]
[INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ flatten-maven-plugin ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Using 'UTF-8' encoding to copy filtered properties files.
[INFO] Copying 2 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.10.1:compile (default-compile) @ flatten-maven-plugin ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 17 source files to /Users/suztomo/flatten-maven-plugin/target/classes
[INFO] /Users/suztomo/flatten-maven-plugin/src/main/java/org/codehaus/mojo/flatten/FlattenMojo.java: Some input files use or override a deprecated API.
[INFO] /Users/suztomo/flatten-maven-plugin/src/main/java/org/codehaus/mojo/flatten/FlattenMojo.java: Recompile with -Xlint:deprecation for details.
[INFO] /Users/suztomo/flatten-maven-plugin/src/main/java/org/codehaus/mojo/flatten/cifriendly/CiInterpolatorImpl.java: /Users/suztomo/flatten-maven-plugin/src/main/java/org/codehaus/mojo/flatten/cifriendly/CiInterpolatorImpl.java uses unchecked or unsafe operations.
[INFO] /Users/suztomo/flatten-maven-plugin/src/main/java/org/codehaus/mojo/flatten/cifriendly/CiInterpolatorImpl.java: Recompile with -Xlint:unchecked for details.
[INFO]
[INFO] --- maven-plugin-plugin:3.6.4:descriptor (default-descriptor) @ flatten-maven-plugin ---
[ERROR]
Some dependencies of Maven Plugins are expected to be in provided scope.
Please make sure that dependencies listed below declared in POM
have set '<scope>provided</scope>' as well.
The following dependencies are in wrong scope:
* org.apache.maven:maven-model:jar:3.2.5:compile
* org.apache.maven:maven-model-builder:jar:3.2.5:compile
* org.apache.maven:maven-artifact:jar:3.2.5:compile
* org.apache.maven:maven-core:jar:3.2.5:compile
* org.apache.maven:maven-settings:jar:3.2.5:compile
* org.apache.maven:maven-settings-builder:jar:3.2.5:compile
* org.apache.maven:maven-repository-metadata:jar:3.2.5:compile
* org.apache.maven:maven-aether-provider:jar:3.2.5:compile
* org.apache.maven:maven-plugin-api:jar:3.2.5:compile
[INFO] Using 'UTF-8' encoding to read mojo source files.
[INFO] java-javadoc mojo extractor found 0 mojo descriptor.
[INFO] ant mojo extractor found 0 mojo descriptor.
[INFO] bsh mojo extractor found 0 mojo descriptor.
[INFO] java-annotations mojo extractor found 3 mojo descriptors.
[INFO]
[INFO] <<< maven-jxr-plugin:3.2.0:test-jxr < generate-test-sources @ flatten-maven-plugin <<<
[INFO]
[INFO] 'generate-test-sources' forked phase execution for maven-jxr-plugin:test-jxr report preparation done
[INFO] 4 reports detected for maven-jxr-plugin:3.2.0: jxr, jxr-no-fork, test-jxr, test-jxr-no-fork
[INFO] configuring report plugin org.apache.maven.plugins:maven-plugin-plugin:3.6.4
[INFO] preparing maven-plugin-plugin:report report requires 'process-classes' forked phase execution
[INFO]
[INFO] >>> maven-plugin-plugin:3.6.4:report > process-classes @ flatten-maven-plugin >>>
[INFO]
[INFO] --- maven-enforcer-plugin:3.1.0:enforce (mojo-enforcer-rules) @ flatten-maven-plugin ---
[INFO]
[INFO] --- maven-plugin-plugin:3.6.4:helpmojo (help-mojo) @ flatten-maven-plugin ---
[ERROR]
Some dependencies of Maven Plugins are expected to be in provided scope.
Please make sure that dependencies listed below declared in POM
have set '<scope>provided</scope>' as well.
The following dependencies are in wrong scope:
* org.apache.maven:maven-model:jar:3.2.5:compile
* org.apache.maven:maven-model-builder:jar:3.2.5:compile
* org.apache.maven:maven-artifact:jar:3.2.5:compile
* org.apache.maven:maven-core:jar:3.2.5:compile
* org.apache.maven:maven-settings:jar:3.2.5:compile
* org.apache.maven:maven-settings-builder:jar:3.2.5:compile
* org.apache.maven:maven-repository-metadata:jar:3.2.5:compile
* org.apache.maven:maven-aether-provider:jar:3.2.5:compile
* org.apache.maven:maven-plugin-api:jar:3.2.5:compile
[INFO] Using 'UTF-8' encoding to read mojo source files.
[INFO] java-javadoc mojo extractor found 0 mojo descriptor.
[INFO] ant mojo extractor found 0 mojo descriptor.
[INFO] bsh mojo extractor found 0 mojo descriptor.
[INFO] java-annotations mojo extractor found 3 mojo descriptors.
[INFO]
[INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ flatten-maven-plugin ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Using 'UTF-8' encoding to copy filtered properties files.
[INFO] Copying 2 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.10.1:compile (default-compile) @ flatten-maven-plugin ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 17 source files to /Users/suztomo/flatten-maven-plugin/target/classes
[INFO] /Users/suztomo/flatten-maven-plugin/src/main/java/org/codehaus/mojo/flatten/FlattenMojo.java: Some input files use or override a deprecated API.
[INFO] /Users/suztomo/flatten-maven-plugin/src/main/java/org/codehaus/mojo/flatten/FlattenMojo.java: Recompile with -Xlint:deprecation for details.
[INFO] /Users/suztomo/flatten-maven-plugin/src/main/java/org/codehaus/mojo/flatten/cifriendly/CiInterpolatorImpl.java: /Users/suztomo/flatten-maven-plugin/src/main/java/org/codehaus/mojo/flatten/cifriendly/CiInterpolatorImpl.java uses unchecked or unsafe operations.
[INFO] /Users/suztomo/flatten-maven-plugin/src/main/java/org/codehaus/mojo/flatten/cifriendly/CiInterpolatorImpl.java: Recompile with -Xlint:unchecked for details.
[INFO]
[INFO] --- maven-plugin-plugin:3.6.4:descriptor (default-descriptor) @ flatten-maven-plugin ---
[ERROR]
Some dependencies of Maven Plugins are expected to be in provided scope.
Please make sure that dependencies listed below declared in POM
have set '<scope>provided</scope>' as well.
The following dependencies are in wrong scope:
* org.apache.maven:maven-model:jar:3.2.5:compile
* org.apache.maven:maven-model-builder:jar:3.2.5:compile
* org.apache.maven:maven-artifact:jar:3.2.5:compile
* org.apache.maven:maven-core:jar:3.2.5:compile
* org.apache.maven:maven-settings:jar:3.2.5:compile
* org.apache.maven:maven-settings-builder:jar:3.2.5:compile
* org.apache.maven:maven-repository-metadata:jar:3.2.5:compile
* org.apache.maven:maven-aether-provider:jar:3.2.5:compile
* org.apache.maven:maven-plugin-api:jar:3.2.5:compile
[INFO] Using 'UTF-8' encoding to read mojo source files.
[INFO] java-javadoc mojo extractor found 0 mojo descriptor.
[INFO] ant mojo extractor found 0 mojo descriptor.
[INFO] bsh mojo extractor found 0 mojo descriptor.
[INFO] java-annotations mojo extractor found 3 mojo descriptors.
[INFO]
[INFO] <<< maven-plugin-plugin:3.6.4:report < process-classes @ flatten-maven-plugin <<<
[INFO]
[INFO] 'process-classes' forked phase execution for maven-plugin-plugin:report report preparation done
[INFO] 1 report detected for maven-plugin-plugin:3.6.4: report
[INFO] configuring report plugin org.apache.maven.plugins:maven-pmd-plugin:3.17.0
[INFO] 2 reports detected for maven-pmd-plugin:3.17.0: cpd, pmd
[INFO] configuring report plugin org.apache.maven.plugins:maven-project-info-reports-plugin:3.3.0
[INFO] 13 reports configured for maven-project-info-reports-plugin:3.3.0: ci-management, dependencies, dependency-convergence, dependency-info, dependency-management, index, issue-management, licenses, mailing-lists, plugin-management, scm, team, summary
[INFO] configuring report plugin org.apache.maven.plugins:maven-surefire-report-plugin:3.0.0-M7
[INFO] 1 report configured for maven-surefire-report-plugin:3.0.0-M7: report-only
[INFO] configuring report plugin org.codehaus.mojo:taglist-maven-plugin:3.0.0
[INFO] 1 report detected for taglist-maven-plugin:3.0.0: taglist
[INFO] PMD version: 6.46.0
[INFO] PMD version: 6.46.0
[INFO] Rendering site with default locale English (en)
[INFO] Relativizing decoration links with respect to localized project URL: https://www.mojohaus.org/flatten-maven-plugin/flatten-maven-plugin
[INFO] Rendering content with org.apache.maven.skins:maven-fluido-skin:jar:1.11.1 skin.
[INFO] Skipped "Source Xref" report (maven-jxr-plugin:3.2.0:jxr-no-fork), file "xref/index.html" already exists.
[INFO] Skipped "Test Source Xref" report (maven-jxr-plugin:3.2.0:test-jxr-no-fork), file "xref-test/index.html" already exists.
[INFO] Skipped "About" report (maven-project-info-reports-plugin:3.3.0:index), file "index.html" already exists.
[INFO] Rendering 9 Doxia documents: 1 fml, 8 xdoc
[INFO] Generating "Checkstyle" report --- maven-checkstyle-plugin:3.1.2:checkstyle
[INFO] There are 1616 errors reported by Checkstyle 9.3 with config/maven_checks.xml ruleset.
[INFO] Generating "Javadoc" report --- maven-javadoc-plugin:3.4.0:javadoc-no-fork
[INFO] Configuration changed, re-generating javadoc.
[INFO]
1 warning
[WARNING] Javadoc Warnings
[WARNING] /Users/suztomo/flatten-maven-plugin/src/main/java/org/codehaus/mojo/flatten/FlattenMojo.java:102: warning: empty <caption> tag
[WARNING] * <caption></caption>
[WARNING] ^
[INFO] Generating "Test Javadoc" report --- maven-javadoc-plugin:3.4.0:test-javadoc-no-fork
[INFO] Configuration changed, re-generating javadoc.
[INFO]
1 warning
[WARNING] Javadoc Warnings
[WARNING] /Users/suztomo/flatten-maven-plugin/src/test/java/org/codehaus/mojo/flatten/FlattenMojoOmitExclusionsTest.java:35: warning: no @throws for java.lang.Exception
[WARNING] public void testOmitExclusions() throws Exception {
[WARNING] ^
[INFO] Generating "Source Xref" report --- maven-jxr-plugin:3.2.0:jxr
[WARNING] configuration key 'resource.loader' has been deprecated in favor of 'resource.loaders'
[WARNING] configuration key 'classpath.resource.loader.class' has been deprecated in favor of 'resource.loader.classpath.class'
[WARNING] configuration key 'velocimacro.library' has been deprecated in favor of 'velocimacro.library.path'
[INFO] Generating "Test Source Xref" report --- maven-jxr-plugin:3.2.0:test-jxr
[WARNING] configuration key 'resource.loader' has been deprecated in favor of 'resource.loaders'
[WARNING] configuration key 'classpath.resource.loader.class' has been deprecated in favor of 'resource.loader.classpath.class'
[WARNING] configuration key 'velocimacro.library' has been deprecated in favor of 'velocimacro.library.path'
[INFO] Generating "Plugin Documentation" report --- maven-plugin-plugin:3.6.4:report
[INFO] Generating "CPD" report --- maven-pmd-plugin:3.17.0:cpd
[INFO] Generating "PMD" report --- maven-pmd-plugin:3.17.0:pmd
[INFO] Generating "CI Management" report --- maven-project-info-reports-plugin:3.3.0:ci-management
[INFO] Generating "Dependencies" report --- maven-project-info-reports-plugin:3.3.0:dependencies
[INFO] Generating "Dependency Convergence" report --- maven-project-info-reports-plugin:3.3.0:dependency-convergence
[INFO] Generating "Dependency Information" report --- maven-project-info-reports-plugin:3.3.0:dependency-info
[INFO] Generating "Dependency Management" report --- maven-project-info-reports-plugin:3.3.0:dependency-management
[INFO] Generating "Issue Management" report --- maven-project-info-reports-plugin:3.3.0:issue-management
[INFO] Generating "Licenses" report --- maven-project-info-reports-plugin:3.3.0:licenses
[INFO] Generating "Mailing Lists" report --- maven-project-info-reports-plugin:3.3.0:mailing-lists
[INFO] Generating "Plugin Management" report --- maven-project-info-reports-plugin:3.3.0:plugin-management
[INFO] Generating "Source Code Management" report --- maven-project-info-reports-plugin:3.3.0:scm
[INFO] Generating "Team" report --- maven-project-info-reports-plugin:3.3.0:team
[INFO] Generating "Summary" report --- maven-project-info-reports-plugin:3.3.0:summary
[INFO] Generating "Tag List" report --- taglist-maven-plugin:3.0.0:taglist
[WARNING] Using legacy tag format. This is not recommended.
[INFO] Rendering 3 generated Doxia documents: 3 xdoc
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 23.564 s
[INFO] Finished at: 2022-08-05T17:24:42-04:00
[INFO] ------------------------------------------------------------------------
suztomo@suztomo-macbookpro.roam.internal ~/flatten-maven-plugin
~/flatten-maven-plugin $ tail -40 target/site/index.html git[branch:master]
Posts to the mailing list are archived and could
already contain the answer to your question as part of an older thread. Hence, it is also worth browsing/searching
the mail archive.
</p>
<p>You can fill a feature request or bug report in our
<a class="externalLink" href="https://github.com/mojohaus/flatten-maven-plugin/issues">issue tracker</a>.
When creating a new issue, please provide a comprehensive description of your
concern. Especially for fixing bugs it is crucial that the developers can reproduce your problem.
Entire debug logs, POMs and most preferably little demo projects attached to the issue are very much appreciated.
Of course, patches are welcome too. Contributors can check out the project from our
<a class="externalLink" href="https://github.com/mojohaus/flatten-maven-plugin">source repository</a> and will find supplementary information in the
<a class="externalLink" href="https://maven.apache.org/guides/development/guide-helping.html">guide to helping with Maven</a>.
</p>
</section>
</section>
...
suztomo@suztomo-macbookpro.roam.internal ~/flatten-maven-plugin
~/flatten-maven-plugin $ open target/site/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment