tetra 2.0.7 → 2.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CONTRIBUTING.md +3 -3
- data/README.md +5 -4
- data/bin/tetra +6 -4
- data/lib/template/bashrc +19 -14
- data/lib/template/bundled/apache-maven-3.9.12/LICENSE +616 -0
- data/lib/template/bundled/{apache-maven-3.9.9 → apache-maven-3.9.12}/NOTICE +0 -6
- data/lib/template/bundled/{apache-maven-3.9.9 → apache-maven-3.9.12}/bin/mvn +9 -0
- data/lib/template/bundled/{apache-maven-3.9.9 → apache-maven-3.9.12}/bin/mvn.cmd +14 -0
- data/lib/template/bundled/{apache-maven-3.9.9/boot/plexus-classworlds-2.8.0.jar → apache-maven-3.9.12/boot/plexus-classworlds-2.9.0.jar} +0 -0
- data/lib/template/bundled/apache-maven-3.9.12/lib/asm-9.9.jar +0 -0
- data/lib/template/bundled/apache-maven-3.9.12/lib/asm.license +29 -0
- data/lib/template/bundled/apache-maven-3.9.12/lib/commons-cli-1.11.0.jar +0 -0
- data/lib/template/bundled/apache-maven-3.9.12/lib/commons-codec-1.20.0.jar +0 -0
- data/lib/template/bundled/apache-maven-3.9.12/lib/error_prone_annotations-2.41.0.jar +0 -0
- data/lib/template/bundled/apache-maven-3.9.12/lib/failureaccess-1.0.3.jar +0 -0
- data/lib/template/bundled/apache-maven-3.9.12/lib/gson-2.13.2.jar +0 -0
- data/lib/template/bundled/apache-maven-3.9.12/lib/guava-33.5.0-jre.jar +0 -0
- data/lib/template/bundled/apache-maven-3.9.12/lib/guice-5.1.0-classes.jar +0 -0
- data/lib/template/bundled/{apache-maven-3.9.9/lib/jansi-2.4.1.jar → apache-maven-3.9.12/lib/jansi-2.4.2.jar} +0 -0
- data/lib/template/bundled/{apache-maven-3.9.9/lib/jansi-native/Windows/arm64/libjansi.so → apache-maven-3.9.12/lib/jansi-native/Windows/arm64/jansi.dll} +0 -0
- data/lib/template/bundled/apache-maven-3.9.12/lib/jspecify-1.0.0.jar +0 -0
- data/lib/template/bundled/{apache-maven-3.9.9/lib/maven-artifact-3.9.9.jar → apache-maven-3.9.12/lib/maven-artifact-3.9.12.jar} +0 -0
- data/lib/template/bundled/{apache-maven-3.9.9/lib/maven-builder-support-3.9.9.jar → apache-maven-3.9.12/lib/maven-builder-support-3.9.12.jar} +0 -0
- data/lib/template/bundled/{apache-maven-3.9.9/lib/maven-compat-3.9.9.jar → apache-maven-3.9.12/lib/maven-compat-3.9.12.jar} +0 -0
- data/lib/template/bundled/{apache-maven-3.9.9/lib/maven-core-3.9.9.jar → apache-maven-3.9.12/lib/maven-core-3.9.12.jar} +0 -0
- data/lib/template/bundled/apache-maven-3.9.12/lib/maven-embedder-3.9.12.jar +0 -0
- data/lib/template/bundled/apache-maven-3.9.12/lib/maven-model-3.9.12.jar +0 -0
- data/lib/template/bundled/{apache-maven-3.9.9/lib/maven-model-builder-3.9.9.jar → apache-maven-3.9.12/lib/maven-model-builder-3.9.12.jar} +0 -0
- data/lib/template/bundled/apache-maven-3.9.12/lib/maven-plugin-api-3.9.12.jar +0 -0
- data/lib/template/bundled/apache-maven-3.9.12/lib/maven-repository-metadata-3.9.12.jar +0 -0
- data/lib/template/bundled/{apache-maven-3.9.9/lib/maven-resolver-api-1.9.22.jar → apache-maven-3.9.12/lib/maven-resolver-api-1.9.25.jar} +0 -0
- data/lib/template/bundled/apache-maven-3.9.12/lib/maven-resolver-connector-basic-1.9.25.jar +0 -0
- data/lib/template/bundled/{apache-maven-3.9.9/lib/maven-resolver-impl-1.9.22.jar → apache-maven-3.9.12/lib/maven-resolver-impl-1.9.25.jar} +0 -0
- data/lib/template/bundled/{apache-maven-3.9.9/lib/maven-resolver-named-locks-1.9.22.jar → apache-maven-3.9.12/lib/maven-resolver-named-locks-1.9.25.jar} +0 -0
- data/lib/template/bundled/{apache-maven-3.9.9/lib/maven-resolver-provider-3.9.9.jar → apache-maven-3.9.12/lib/maven-resolver-provider-3.9.12.jar} +0 -0
- data/lib/template/bundled/{apache-maven-3.9.9/lib/maven-resolver-spi-1.9.22.jar → apache-maven-3.9.12/lib/maven-resolver-spi-1.9.25.jar} +0 -0
- data/lib/template/bundled/apache-maven-3.9.12/lib/maven-resolver-transport-file-1.9.25.jar +0 -0
- data/lib/template/bundled/apache-maven-3.9.12/lib/maven-resolver-transport-http-1.9.25.jar +0 -0
- data/lib/template/bundled/{apache-maven-3.9.9/lib/maven-resolver-transport-wagon-1.9.22.jar → apache-maven-3.9.12/lib/maven-resolver-transport-wagon-1.9.25.jar} +0 -0
- data/lib/template/bundled/{apache-maven-3.9.9/lib/maven-resolver-util-1.9.22.jar → apache-maven-3.9.12/lib/maven-resolver-util-1.9.25.jar} +0 -0
- data/lib/template/bundled/apache-maven-3.9.12/lib/maven-settings-3.9.12.jar +0 -0
- data/lib/template/bundled/{apache-maven-3.9.9/lib/maven-settings-builder-3.9.9.jar → apache-maven-3.9.12/lib/maven-settings-builder-3.9.12.jar} +0 -0
- data/lib/template/bundled/{apache-maven-3.9.9/lib/maven-slf4j-provider-3.9.9.jar → apache-maven-3.9.12/lib/maven-slf4j-provider-3.9.12.jar} +0 -0
- data/lib/template/bundled/{apache-maven-3.9.9/lib/org.eclipse.sisu.inject-0.9.0.M3.jar → apache-maven-3.9.12/lib/org.eclipse.sisu.inject-0.9.0.M4.jar} +0 -0
- data/lib/template/bundled/{apache-maven-3.9.9/lib/org.eclipse.sisu.plexus-0.9.0.M3.jar → apache-maven-3.9.12/lib/org.eclipse.sisu.plexus-0.9.0.M4.jar} +0 -0
- data/lib/template/bundled/apache-maven-3.9.12/lib/plexus-component-annotations-2.2.0.jar +0 -0
- data/lib/template/bundled/{apache-maven-3.9.9/lib/plexus-interpolation-1.27.jar → apache-maven-3.9.12/lib/plexus-interpolation-1.29.jar} +0 -0
- data/lib/template/bundled/apache-maven-3.9.12/lib/plexus-sec-dispatcher.license +202 -0
- data/lib/template/bundled/apache-maven-3.9.12/lib/plexus-utils-3.6.0.jar +0 -0
- data/lib/template/bundled/apache-maven-3.9.12/lib/plexus-utils.license +202 -0
- data/lib/template/kit.spec +3 -3
- data/lib/template/package.spec +13 -10
- data/lib/tetra/constants.rb +10 -1
- data/lib/tetra/data/license_map.yml +124 -0
- data/lib/tetra/facades/ant.rb +4 -7
- data/lib/tetra/facades/bash.rb +28 -19
- data/lib/tetra/facades/git.rb +69 -34
- data/lib/tetra/facades/gradle.rb +3 -2
- data/lib/tetra/facades/mvn.rb +8 -8
- data/lib/tetra/facades/process_runner.rb +58 -37
- data/lib/tetra/facades/tar.rb +5 -4
- data/lib/tetra/facades/unzip.rb +5 -4
- data/lib/tetra/generatable.rb +4 -3
- data/lib/tetra/kit.rb +12 -6
- data/lib/tetra/license_mapper.rb +34 -0
- data/lib/tetra/logger.rb +7 -4
- data/lib/tetra/maven_website.rb +64 -27
- data/lib/tetra/packages/kit_package.rb +4 -4
- data/lib/tetra/packages/package.rb +47 -8
- data/lib/tetra/packages/scriptable.rb +12 -8
- data/lib/tetra/packages/speccable.rb +7 -1
- data/lib/tetra/pom.rb +38 -16
- data/lib/tetra/pom_getter.rb +55 -43
- data/lib/tetra/project.rb +14 -15
- data/lib/tetra/project_initer.rb +32 -20
- data/lib/tetra/ui/change_sources_subcommand.rb +13 -7
- data/lib/tetra/ui/dry_run_subcommand.rb +5 -3
- data/lib/tetra/ui/generate_all_subcommand.rb +1 -1
- data/lib/tetra/ui/generate_kit_subcommand.rb +2 -1
- data/lib/tetra/ui/generate_script_subcommand.rb +2 -3
- data/lib/tetra/ui/generate_spec_subcommand.rb +3 -2
- data/lib/tetra/ui/get_pom_subcommand.rb +17 -12
- data/lib/tetra/ui/init_subcommand.rb +12 -4
- data/lib/tetra/ui/main.rb +6 -1
- data/lib/tetra/ui/move_jars_to_kit_subcommand.rb +2 -2
- data/lib/tetra/ui/patch_subcommand.rb +1 -1
- data/lib/tetra/ui/subcommand.rb +37 -31
- data/lib/tetra/version.rb +2 -3
- data/lib/tetra/version_matcher.rb +62 -44
- data/lib/tetra.rb +10 -6
- metadata +184 -274
- data/.github/ISSUE_TEMPLATE/bug_report.md +0 -26
- data/.github/ISSUE_TEMPLATE/feature_request.md +0 -15
- data/.github/dependabot.yml +0 -24
- data/.github/workflows/action-lint.yml +0 -15
- data/.github/workflows/codeql-analysis.yml +0 -94
- data/.github/workflows/dependency-review.yml +0 -17
- data/.github/workflows/markdown.yml +0 -23
- data/.github/workflows/rubocop.yml +0 -51
- data/.github/workflows/test.yml +0 -62
- data/.gitignore +0 -27
- data/.markdownlint.yaml +0 -11
- data/.rubocop.yml +0 -35
- data/.rubocop_todo.yml +0 -438
- data/.sonarcloud.properties +0 -4
- data/Gemfile +0 -6
- data/Gemfile.lock +0 -228
- data/Rakefile +0 -9
- data/lib/template/bundled/apache-maven-3.9.9/LICENSE +0 -760
- data/lib/template/bundled/apache-maven-3.9.9/lib/commons-cli-1.8.0.jar +0 -0
- data/lib/template/bundled/apache-maven-3.9.9/lib/commons-codec-1.17.1.jar +0 -0
- data/lib/template/bundled/apache-maven-3.9.9/lib/failureaccess-1.0.2.jar +0 -0
- data/lib/template/bundled/apache-maven-3.9.9/lib/guava-33.2.1-jre.jar +0 -0
- data/lib/template/bundled/apache-maven-3.9.9/lib/guice-5.1.0.jar +0 -0
- data/lib/template/bundled/apache-maven-3.9.9/lib/maven-embedder-3.9.9.jar +0 -0
- data/lib/template/bundled/apache-maven-3.9.9/lib/maven-model-3.9.9.jar +0 -0
- data/lib/template/bundled/apache-maven-3.9.9/lib/maven-plugin-api-3.9.9.jar +0 -0
- data/lib/template/bundled/apache-maven-3.9.9/lib/maven-repository-metadata-3.9.9.jar +0 -0
- data/lib/template/bundled/apache-maven-3.9.9/lib/maven-resolver-connector-basic-1.9.22.jar +0 -0
- data/lib/template/bundled/apache-maven-3.9.9/lib/maven-resolver-transport-file-1.9.22.jar +0 -0
- data/lib/template/bundled/apache-maven-3.9.9/lib/maven-resolver-transport-http-1.9.22.jar +0 -0
- data/lib/template/bundled/apache-maven-3.9.9/lib/maven-settings-3.9.9.jar +0 -0
- data/lib/template/bundled/apache-maven-3.9.9/lib/plexus-component-annotations-2.1.0.jar +0 -0
- data/lib/template/bundled/apache-maven-3.9.9/lib/plexus-utils-3.5.1.jar +0 -0
- data/lib/template/bundled/apache-maven-3.9.9/lib/plexus-xml-3.0.1.jar +0 -0
- data/lib/template/kit/.keep +0 -1
- data/lib/template/kit/jars/.keep +0 -1
- data/lib/template/packages/.keep +0 -1
- data/lib/template/src/.keep +0 -1
- data/spec/data/ant-super-simple-code/build/HW.class +0 -0
- data/spec/data/ant-super-simple-code/build/mypackage/HW.class +0 -0
- data/spec/data/ant-super-simple-code/build.xml +0 -133
- data/spec/data/ant-super-simple-code/dist/antsimple-20130618.jar +0 -0
- data/spec/data/ant-super-simple-code/lib/junit-4.11.jar +0 -0
- data/spec/data/ant-super-simple-code/lib/log4j-1.2.13.jar +0 -0
- data/spec/data/ant-super-simple-code/src/mypackage/HW.java +0 -15
- data/spec/data/antlr/antlr-2.7.2.jar +0 -0
- data/spec/data/antlr/pom.xml +0 -6
- data/spec/data/commons-collections4-4.5.0-M2-src.tar.gz +0 -0
- data/spec/data/commons-collections4-4.5.0-M2-src.zip +0 -0
- data/spec/data/commons-logging/commons-logging-1.3.4.jar +0 -0
- data/spec/data/commons-logging/parent_pom.xml +0 -1995
- data/spec/data/commons-logging/pom.xml +0 -833
- data/spec/data/nailgun/nailgun-0.7.1.jar +0 -0
- data/spec/data/nailgun/pom.xml +0 -153
- data/spec/data/struts-apps/pom.xml +0 -1147
- data/spec/data/tomcat/pom.xml +0 -33
- data/spec/lib/coarse/dry_run_subcommand_spec.rb +0 -59
- data/spec/lib/coarse/generate_all_subcommand_spec.rb +0 -132
- data/spec/lib/coarse/generate_spec_subcommand_spec.rb +0 -30
- data/spec/lib/coarse/init_subcommand_spec.rb +0 -101
- data/spec/lib/coarse/main_spec.rb +0 -21
- data/spec/lib/fine/ant_spec.rb +0 -25
- data/spec/lib/fine/git_spec.rb +0 -181
- data/spec/lib/fine/kit_package_spec.rb +0 -31
- data/spec/lib/fine/kit_spec.rb +0 -27
- data/spec/lib/fine/maven_website_spec.rb +0 -61
- data/spec/lib/fine/mvn_spec.rb +0 -27
- data/spec/lib/fine/package_spec.rb +0 -68
- data/spec/lib/fine/pom_getter_spec.rb +0 -36
- data/spec/lib/fine/pom_spec.rb +0 -98
- data/spec/lib/fine/project_spec.rb +0 -234
- data/spec/lib/fine/scriptable_spec.rb +0 -56
- data/spec/lib/fine/speccable_spec.rb +0 -93
- data/spec/lib/fine/tar_spec.rb +0 -22
- data/spec/lib/fine/unzip_spec.rb +0 -22
- data/spec/lib/fine/version_matcher_spec.rb +0 -64
- data/spec/spec_helper.rb +0 -90
- data/tetra.gemspec +0 -44
- data/utils/delete_nonet_user.sh +0 -8
- data/utils/setup_nonet_user.sh +0 -8
- /data/lib/template/bundled/{apache-maven-3.9.9 → apache-maven-3.9.12}/README.txt +0 -0
- /data/lib/template/bundled/{apache-maven-3.9.9 → apache-maven-3.9.12}/bin/m2.conf +0 -0
- /data/lib/template/bundled/{apache-maven-3.9.9 → apache-maven-3.9.12}/bin/mvnDebug +0 -0
- /data/lib/template/bundled/{apache-maven-3.9.9 → apache-maven-3.9.12}/bin/mvnDebug.cmd +0 -0
- /data/lib/template/bundled/{apache-maven-3.9.9 → apache-maven-3.9.12}/bin/mvnyjp +0 -0
- /data/lib/template/bundled/{apache-maven-3.9.9 → apache-maven-3.9.12}/boot/plexus-classworlds.license +0 -0
- /data/lib/template/bundled/{apache-maven-3.9.9 → apache-maven-3.9.12}/conf/logging/simplelogger.properties +0 -0
- /data/lib/template/bundled/{apache-maven-3.9.9 → apache-maven-3.9.12}/conf/settings.xml +0 -0
- /data/lib/template/bundled/{apache-maven-3.9.9 → apache-maven-3.9.12}/conf/toolchains.xml +0 -0
- /data/lib/template/bundled/{apache-maven-3.9.9 → apache-maven-3.9.12}/lib/aopalliance-1.0.jar +0 -0
- /data/lib/template/bundled/{apache-maven-3.9.9 → apache-maven-3.9.12}/lib/aopalliance.license +0 -0
- /data/lib/template/bundled/{apache-maven-3.9.9 → apache-maven-3.9.12}/lib/commons-cli.license +0 -0
- /data/lib/template/bundled/{apache-maven-3.9.9 → apache-maven-3.9.12}/lib/commons-codec.license +0 -0
- /data/lib/template/bundled/{apache-maven-3.9.9/lib/failureaccess.license → apache-maven-3.9.12/lib/error_prone_annotations.license} +0 -0
- /data/lib/template/bundled/{apache-maven-3.9.9 → apache-maven-3.9.12}/lib/ext/README.txt +0 -0
- /data/lib/template/bundled/{apache-maven-3.9.9 → apache-maven-3.9.12}/lib/ext/hazelcast/README.txt +0 -0
- /data/lib/template/bundled/{apache-maven-3.9.9 → apache-maven-3.9.12}/lib/ext/redisson/README.txt +0 -0
- /data/lib/template/bundled/{apache-maven-3.9.9/lib/guava.license → apache-maven-3.9.12/lib/failureaccess.license} +0 -0
- /data/lib/template/bundled/{apache-maven-3.9.9/lib/guice.license → apache-maven-3.9.12/lib/gson.license} +0 -0
- /data/lib/template/bundled/{apache-maven-3.9.9/lib/httpclient.license → apache-maven-3.9.12/lib/guava.license} +0 -0
- /data/lib/template/bundled/{apache-maven-3.9.9/lib/httpcore.license → apache-maven-3.9.12/lib/guice.license} +0 -0
- /data/lib/template/bundled/{apache-maven-3.9.9 → apache-maven-3.9.12}/lib/httpclient-4.5.14.jar +0 -0
- /data/lib/template/bundled/{apache-maven-3.9.9/lib/jansi.license → apache-maven-3.9.12/lib/httpclient.license} +0 -0
- /data/lib/template/bundled/{apache-maven-3.9.9 → apache-maven-3.9.12}/lib/httpcore-4.4.16.jar +0 -0
- /data/lib/template/bundled/{apache-maven-3.9.9/lib/javax.inject.license → apache-maven-3.9.12/lib/httpcore.license} +0 -0
- /data/lib/template/bundled/{apache-maven-3.9.9 → apache-maven-3.9.12}/lib/jansi-native/README.txt +0 -0
- /data/lib/template/bundled/{apache-maven-3.9.9 → apache-maven-3.9.12}/lib/jansi-native/Windows/x86/jansi.dll +0 -0
- /data/lib/template/bundled/{apache-maven-3.9.9 → apache-maven-3.9.12}/lib/jansi-native/Windows/x86_64/jansi.dll +0 -0
- /data/lib/template/bundled/{apache-maven-3.9.9/lib/jcl-over-slf4j.license → apache-maven-3.9.12/lib/jansi.license} +0 -0
- /data/lib/template/bundled/{apache-maven-3.9.9 → apache-maven-3.9.12}/lib/javax.annotation-api-1.3.2.jar +0 -0
- /data/lib/template/bundled/{apache-maven-3.9.9 → apache-maven-3.9.12}/lib/javax.annotation-api.license +0 -0
- /data/lib/template/bundled/{apache-maven-3.9.9 → apache-maven-3.9.12}/lib/javax.inject-1.jar +0 -0
- /data/lib/template/bundled/{apache-maven-3.9.9/lib/plexus-cipher.license → apache-maven-3.9.12/lib/javax.inject.license} +0 -0
- /data/lib/template/bundled/{apache-maven-3.9.9 → apache-maven-3.9.12}/lib/jcl-over-slf4j-1.7.36.jar +0 -0
- /data/lib/template/bundled/{apache-maven-3.9.9/lib/plexus-component-annotations.license → apache-maven-3.9.12/lib/jcl-over-slf4j.license} +0 -0
- /data/lib/template/bundled/{apache-maven-3.9.9/lib/plexus-interpolation.license → apache-maven-3.9.12/lib/jspecify.license} +0 -0
- /data/lib/template/bundled/{apache-maven-3.9.9 → apache-maven-3.9.12}/lib/maven-shared-utils-3.4.2.jar +0 -0
- /data/lib/template/bundled/{apache-maven-3.9.9 → apache-maven-3.9.12}/lib/org.eclipse.sisu.inject.license +0 -0
- /data/lib/template/bundled/{apache-maven-3.9.9 → apache-maven-3.9.12}/lib/org.eclipse.sisu.plexus.license +0 -0
- /data/lib/template/bundled/{apache-maven-3.9.9 → apache-maven-3.9.12}/lib/plexus-cipher-2.0.jar +0 -0
- /data/lib/template/bundled/{apache-maven-3.9.9/lib/plexus-sec-dispatcher.license → apache-maven-3.9.12/lib/plexus-cipher.license} +0 -0
- /data/lib/template/bundled/{apache-maven-3.9.9/lib/plexus-utils.license → apache-maven-3.9.12/lib/plexus-component-annotations.license} +0 -0
- /data/lib/template/bundled/{apache-maven-3.9.9/lib/plexus-xml.license → apache-maven-3.9.12/lib/plexus-interpolation.license} +0 -0
- /data/lib/template/bundled/{apache-maven-3.9.9 → apache-maven-3.9.12}/lib/plexus-sec-dispatcher-2.0.jar +0 -0
- /data/lib/template/bundled/{apache-maven-3.9.9 → apache-maven-3.9.12}/lib/slf4j-api-1.7.36.jar +0 -0
- /data/lib/template/bundled/{apache-maven-3.9.9 → apache-maven-3.9.12}/lib/slf4j-api.license +0 -0
- /data/lib/template/bundled/{apache-maven-3.9.9 → apache-maven-3.9.12}/lib/wagon-file-3.5.3.jar +0 -0
- /data/lib/template/bundled/{apache-maven-3.9.9 → apache-maven-3.9.12}/lib/wagon-http-3.5.3.jar +0 -0
- /data/lib/template/bundled/{apache-maven-3.9.9 → apache-maven-3.9.12}/lib/wagon-http-shared-3.5.3.jar +0 -0
- /data/lib/template/bundled/{apache-maven-3.9.9 → apache-maven-3.9.12}/lib/wagon-provider-api-3.5.3.jar +0 -0
|
@@ -1,833 +0,0 @@
|
|
|
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
|
-
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
20
|
-
<!--
|
|
21
|
-
Note that due to the special requirements of logging unit-tests, most
|
|
22
|
-
tests are executed in the "integration-test" phase rather than the
|
|
23
|
-
"test" phase. Please run "mvn integration-test" to run the full suite of
|
|
24
|
-
available unit tests.
|
|
25
|
-
-->
|
|
26
|
-
<parent>
|
|
27
|
-
<groupId>org.apache.commons</groupId>
|
|
28
|
-
<artifactId>commons-parent</artifactId>
|
|
29
|
-
<version>72</version>
|
|
30
|
-
</parent>
|
|
31
|
-
<modelVersion>4.0.0</modelVersion>
|
|
32
|
-
<groupId>commons-logging</groupId>
|
|
33
|
-
<artifactId>commons-logging</artifactId>
|
|
34
|
-
<name>Apache Commons Logging</name>
|
|
35
|
-
<version>1.3.4</version>
|
|
36
|
-
<description>Apache Commons Logging is a thin adapter allowing configurable bridging to other,
|
|
37
|
-
well-known logging systems.</description>
|
|
38
|
-
<url>https://commons.apache.org/proper/commons-logging/</url>
|
|
39
|
-
<properties>
|
|
40
|
-
<animal-sniffer.signature>java18</animal-sniffer.signature>
|
|
41
|
-
<commons.logging.javaversion>1.8</commons.logging.javaversion>
|
|
42
|
-
<maven.compiler.source>${commons.logging.javaversion}</maven.compiler.source>
|
|
43
|
-
<maven.compiler.target>${commons.logging.javaversion}</maven.compiler.target>
|
|
44
|
-
<commons.componentid>logging</commons.componentid>
|
|
45
|
-
<commons.module.name>org.apache.commons.logging</commons.module.name>
|
|
46
|
-
<commons.release.version>1.3.4</commons.release.version>
|
|
47
|
-
<commons.release.next>1.3.5</commons.release.next>
|
|
48
|
-
<commons.bc.version>1.3.3</commons.bc.version>
|
|
49
|
-
<commons.release.isDistModule>true</commons.release.isDistModule>
|
|
50
|
-
<commons.jira.id>LOGGING</commons.jira.id>
|
|
51
|
-
<commons.jira.pid>12310484</commons.jira.pid>
|
|
52
|
-
<!-- The RC version used in the staging repository URL. -->
|
|
53
|
-
<commons.rc.version>RC1</commons.rc.version>
|
|
54
|
-
<skipSurefireReport>true</skipSurefireReport>
|
|
55
|
-
<!-- Since version 3.2 additional classpath dependencies are allowed. -->
|
|
56
|
-
<commons.failsafe.version>3.2.1</commons.failsafe.version>
|
|
57
|
-
<!-- Allow default test run order to be changed -->
|
|
58
|
-
<failsafe.runorder>filesystem</failsafe.runorder>
|
|
59
|
-
<log4j2.version>2.23.1</log4j2.version>
|
|
60
|
-
<logback.version>1.5.13</logback.version>
|
|
61
|
-
<slf4j.version>2.0.16</slf4j.version>
|
|
62
|
-
<findsecbugs.version>1.13.0</findsecbugs.version>
|
|
63
|
-
<commons.osgi.import>
|
|
64
|
-
javax.servlet;version="[2.1.0, 5.0.0)";resolution:=optional,
|
|
65
|
-
org.apache.avalon.framework.logger;version="[4.1.3, 4.1.5]";resolution:=optional,
|
|
66
|
-
org.apache.log;version="[1.0.1, 1.0.1]";resolution:=optional,
|
|
67
|
-
org.apache.log4j;version="[1.2.15, 2.0.0)";resolution:=optional,
|
|
68
|
-
org.apache.logging.log4j;version="[2.0, 4.0)";resolution:=optional,
|
|
69
|
-
org.apache.logging.log4j.spi;version="[2.0, 4.0)";resolution:=optional,
|
|
70
|
-
org.apache.logging.log4j.util;version="[2.0, 4.0)";resolution:=optional,
|
|
71
|
-
org.slf4j;version="[1.7, 3)";resolution:=optional,
|
|
72
|
-
org.slf4j.spi;version="[1.7, 3)";resolution:=optional
|
|
73
|
-
</commons.osgi.import>
|
|
74
|
-
<project.build.outputTimestamp>2024-08-16T12:44:34Z</project.build.outputTimestamp>
|
|
75
|
-
<!-- JaCoCo: Don't make code coverage worse than: -->
|
|
76
|
-
<commons.jacoco.haltOnFailure>true</commons.jacoco.haltOnFailure>
|
|
77
|
-
<commons.jacoco.classRatio>0.42</commons.jacoco.classRatio>
|
|
78
|
-
<commons.jacoco.instructionRatio>0.52</commons.jacoco.instructionRatio>
|
|
79
|
-
<commons.jacoco.methodRatio>0.61</commons.jacoco.methodRatio>
|
|
80
|
-
<commons.jacoco.branchRatio>0.34</commons.jacoco.branchRatio>
|
|
81
|
-
<commons.jacoco.lineRatio>0.44</commons.jacoco.lineRatio>
|
|
82
|
-
<commons.jacoco.complexityRatio>0.42</commons.jacoco.complexityRatio>
|
|
83
|
-
</properties>
|
|
84
|
-
<issueManagement>
|
|
85
|
-
<system>JIRA</system>
|
|
86
|
-
<url>https://issues.apache.org/jira/browse/LOGGING</url>
|
|
87
|
-
</issueManagement>
|
|
88
|
-
<inceptionYear>2001</inceptionYear>
|
|
89
|
-
<scm>
|
|
90
|
-
<connection>scm:git:https://gitbox.apache.org/repos/asf/commons-logging</connection>
|
|
91
|
-
<developerConnection>scm:git:https://gitbox.apache.org/repos/asf/commons-logging</developerConnection>
|
|
92
|
-
<url>https://gitbox.apache.org/repos/asf/commons-logging</url>
|
|
93
|
-
</scm>
|
|
94
|
-
<build>
|
|
95
|
-
<!-- TODO spotbugs:check -->
|
|
96
|
-
<defaultGoal>clean verify apache-rat:check japicmp:cmp javadoc:javadoc checkstyle:check pmd:check</defaultGoal>
|
|
97
|
-
<plugins>
|
|
98
|
-
<!--
|
|
99
|
-
We want to create four jarfiles from this project: normal, tests, api
|
|
100
|
-
and adapters. The first two are handled by the normal jar:jar and
|
|
101
|
-
jar:test-jar targets.
|
|
102
|
-
The jar plugin with some includes/excludes is used to create the other
|
|
103
|
-
ones.
|
|
104
|
-
-->
|
|
105
|
-
<plugin>
|
|
106
|
-
<groupId>org.apache.maven.plugins</groupId>
|
|
107
|
-
<artifactId>maven-jar-plugin</artifactId>
|
|
108
|
-
<executions>
|
|
109
|
-
<execution>
|
|
110
|
-
<!--
|
|
111
|
-
The custom test framework requires the unit test code to be
|
|
112
|
-
in a jarfile so it can control its place in the classpath.
|
|
113
|
-
-->
|
|
114
|
-
<id>create-test-jar</id>
|
|
115
|
-
<phase>package</phase>
|
|
116
|
-
<goals>
|
|
117
|
-
<goal>test-jar</goal>
|
|
118
|
-
</goals>
|
|
119
|
-
</execution>
|
|
120
|
-
<execution>
|
|
121
|
-
<id>create-api-jar</id>
|
|
122
|
-
<phase>package</phase>
|
|
123
|
-
<goals>
|
|
124
|
-
<goal>jar</goal>
|
|
125
|
-
</goals>
|
|
126
|
-
<configuration>
|
|
127
|
-
<classifier>api</classifier>
|
|
128
|
-
<includes>
|
|
129
|
-
<include>org/apache/commons/logging/*.class</include>
|
|
130
|
-
<include>org/apache/commons/logging/impl/LogFactoryImpl*.class</include>
|
|
131
|
-
<include>org/apache/commons/logging/impl/WeakHashtable*.class</include>
|
|
132
|
-
<include>org/apache/commons/logging/impl/SimpleLog*.class</include>
|
|
133
|
-
<include>org/apache/commons/logging/impl/NoOpLog*.class</include>
|
|
134
|
-
<include>org/apache/commons/logging/impl/Jdk14Logger.class</include>
|
|
135
|
-
<include>META-INF/LICENSE.txt</include>
|
|
136
|
-
<include>META-INF/NOTICE.txt</include>
|
|
137
|
-
</includes>
|
|
138
|
-
<excludes>
|
|
139
|
-
<exclude>**/package.html</exclude>
|
|
140
|
-
</excludes>
|
|
141
|
-
</configuration>
|
|
142
|
-
</execution>
|
|
143
|
-
<execution>
|
|
144
|
-
<id>create-adapters-jar</id>
|
|
145
|
-
<phase>package</phase>
|
|
146
|
-
<goals>
|
|
147
|
-
<goal>jar</goal>
|
|
148
|
-
</goals>
|
|
149
|
-
<configuration>
|
|
150
|
-
<classifier>adapters</classifier>
|
|
151
|
-
<includes>
|
|
152
|
-
<include>org/apache/commons/logging/impl/**.class</include>
|
|
153
|
-
<include>META-INF/LICENSE.txt</include>
|
|
154
|
-
<include>META-INF/NOTICE.txt</include>
|
|
155
|
-
</includes>
|
|
156
|
-
<excludes>
|
|
157
|
-
<exclude>org/apache/commons/logging/impl/WeakHashtable*.class</exclude>
|
|
158
|
-
<exclude>org/apache/commons/logging/impl/LogFactoryImpl*.class</exclude>
|
|
159
|
-
</excludes>
|
|
160
|
-
</configuration>
|
|
161
|
-
</execution>
|
|
162
|
-
</executions>
|
|
163
|
-
<configuration>
|
|
164
|
-
<archive combine.children="append">
|
|
165
|
-
<manifestEntries>
|
|
166
|
-
<Automatic-Module-Name>org.apache.commons.logging</Automatic-Module-Name>
|
|
167
|
-
</manifestEntries>
|
|
168
|
-
</archive>
|
|
169
|
-
</configuration>
|
|
170
|
-
</plugin>
|
|
171
|
-
<plugin>
|
|
172
|
-
<groupId>org.apache.maven.plugins</groupId>
|
|
173
|
-
<artifactId>maven-antrun-plugin</artifactId>
|
|
174
|
-
<executions>
|
|
175
|
-
<execution>
|
|
176
|
-
<id>site.resources</id>
|
|
177
|
-
<phase>site</phase>
|
|
178
|
-
<configuration>
|
|
179
|
-
<target>
|
|
180
|
-
<copy todir="${project.reporting.outputDirectory}">
|
|
181
|
-
<fileset dir="${basedir}">
|
|
182
|
-
<include name="RELEASE-NOTES.txt" />
|
|
183
|
-
</fileset>
|
|
184
|
-
</copy>
|
|
185
|
-
</target>
|
|
186
|
-
</configuration>
|
|
187
|
-
<goals>
|
|
188
|
-
<goal>run</goal>
|
|
189
|
-
</goals>
|
|
190
|
-
</execution>
|
|
191
|
-
</executions>
|
|
192
|
-
</plugin>
|
|
193
|
-
<plugin>
|
|
194
|
-
<!--
|
|
195
|
-
Many of JCL's tests use tricky techniques to place the generated
|
|
196
|
-
JCL jarfiles on the classpath in various configurations. This means
|
|
197
|
-
that those tests must be run *after* the "package" build phase.
|
|
198
|
-
|
|
199
|
-
In order to not mess with the Ant build we "disable" the normal test
|
|
200
|
-
phase. This is done by skipping the execution of the surefire plugin.
|
|
201
|
-
-->
|
|
202
|
-
<groupId>org.apache.maven.plugins</groupId>
|
|
203
|
-
<artifactId>maven-surefire-plugin</artifactId>
|
|
204
|
-
<configuration>
|
|
205
|
-
<skip>true</skip>
|
|
206
|
-
</configuration>
|
|
207
|
-
</plugin>
|
|
208
|
-
<plugin>
|
|
209
|
-
<!--
|
|
210
|
-
Many of JCL's tests use tricky techniques to place the generated
|
|
211
|
-
JCL jarfiles on the classpath in various configurations. This means
|
|
212
|
-
that those tests must be run *after* the "package" build phase.
|
|
213
|
-
|
|
214
|
-
Disable cobertura report generation as this does not work correctly
|
|
215
|
-
with integration-tests and the normal unit tests are disabled too.
|
|
216
|
-
-->
|
|
217
|
-
<groupId>org.codehaus.mojo</groupId>
|
|
218
|
-
<artifactId>cobertura-maven-plugin</artifactId>
|
|
219
|
-
<version>${commons.cobertura.version}</version>
|
|
220
|
-
<configuration>
|
|
221
|
-
<skip>true</skip>
|
|
222
|
-
</configuration>
|
|
223
|
-
</plugin>
|
|
224
|
-
<plugin>
|
|
225
|
-
<groupId>org.moditect</groupId>
|
|
226
|
-
<artifactId>moditect-maven-plugin</artifactId>
|
|
227
|
-
<executions>
|
|
228
|
-
<execution>
|
|
229
|
-
<id>add-module-infos</id>
|
|
230
|
-
<configuration>
|
|
231
|
-
<module>
|
|
232
|
-
<moduleInfo>
|
|
233
|
-
<requires>
|
|
234
|
-
static java.logging;
|
|
235
|
-
*;
|
|
236
|
-
</requires>
|
|
237
|
-
</moduleInfo>
|
|
238
|
-
</module>
|
|
239
|
-
</configuration>
|
|
240
|
-
</execution>
|
|
241
|
-
</executions>
|
|
242
|
-
</plugin>
|
|
243
|
-
<plugin>
|
|
244
|
-
<!--
|
|
245
|
-
Many of JCL's tests use tricky techniques to place the generated
|
|
246
|
-
JCL jarfiles on the classpath in various configurations. This means
|
|
247
|
-
that those tests must be run *after* the "package" build phase.
|
|
248
|
-
|
|
249
|
-
For this we use the failsafe plugin which is bound to the
|
|
250
|
-
"integration-test" phase by default.
|
|
251
|
-
-->
|
|
252
|
-
<groupId>org.apache.maven.plugins</groupId>
|
|
253
|
-
<artifactId>maven-failsafe-plugin</artifactId>
|
|
254
|
-
<!-- Span a different JVM per test -->
|
|
255
|
-
<configuration>
|
|
256
|
-
<reuseForks>false</reuseForks>
|
|
257
|
-
</configuration>
|
|
258
|
-
<executions>
|
|
259
|
-
<execution>
|
|
260
|
-
<id>integration-test</id>
|
|
261
|
-
<goals>
|
|
262
|
-
<goal>integration-test</goal>
|
|
263
|
-
<goal>verify</goal>
|
|
264
|
-
</goals>
|
|
265
|
-
<configuration>
|
|
266
|
-
<runOrder>${failsafe.runorder}</runOrder>
|
|
267
|
-
<classpathDependencyExcludes>
|
|
268
|
-
<exclude>ch.qos.logback:*</exclude>
|
|
269
|
-
<exclude>org.apache.logging.log4j:*</exclude>
|
|
270
|
-
<exclude>org.slf4j:*</exclude>
|
|
271
|
-
</classpathDependencyExcludes>
|
|
272
|
-
<excludes>
|
|
273
|
-
<exclude>org/apache/commons/logging/log4j/log4j12/**</exclude>
|
|
274
|
-
<exclude>org/apache/commons/logging/log4j2/**</exclude>
|
|
275
|
-
<exclude>org/apache/commons/logging/slf4j/**</exclude>
|
|
276
|
-
<exclude>org/apache/commons/logging/serviceloader/**</exclude>
|
|
277
|
-
</excludes>
|
|
278
|
-
<includes>
|
|
279
|
-
<include>**/*TestCase.java</include>
|
|
280
|
-
</includes>
|
|
281
|
-
<systemPropertyVariables>
|
|
282
|
-
<!--
|
|
283
|
-
<org.apache.commons.logging.diagnostics.dest>STDOUT</org.apache.commons.logging.diagnostics.dest>
|
|
284
|
-
-->
|
|
285
|
-
<log4j12>${org.apache.logging.log4j:log4j-1.2-api:jar}</log4j12>
|
|
286
|
-
<log4j-api>${org.apache.logging.log4j:log4j-api:jar}</log4j-api>
|
|
287
|
-
<logkit>${logkit:logkit:jar}</logkit>
|
|
288
|
-
<servlet-api>${javax.servlet:javax.servlet-api:jar}</servlet-api>
|
|
289
|
-
<commons-logging>target/${project.build.finalName}.jar</commons-logging>
|
|
290
|
-
<commons-logging-api>target/${project.build.finalName}-api.jar</commons-logging-api>
|
|
291
|
-
<commons-logging-adapters>target/${project.build.finalName}-adapters.jar</commons-logging-adapters>
|
|
292
|
-
<testclasses>target/${project.build.finalName}-tests.jar</testclasses>
|
|
293
|
-
<commons-lang3>${org.apache.commons:commons-lang3:jar}</commons-lang3>
|
|
294
|
-
</systemPropertyVariables>
|
|
295
|
-
</configuration>
|
|
296
|
-
</execution>
|
|
297
|
-
<!--
|
|
298
|
-
The ServiceLoaderTestCase uses a custom implementation of LogFactory,
|
|
299
|
-
therefore it requires a separate execution.
|
|
300
|
-
-->
|
|
301
|
-
<execution>
|
|
302
|
-
<id>serviceLoader-test</id>
|
|
303
|
-
<goals>
|
|
304
|
-
<goal>integration-test</goal>
|
|
305
|
-
</goals>
|
|
306
|
-
<configuration>
|
|
307
|
-
<additionalClasspathElements>
|
|
308
|
-
<additionalClasspathElement>${project.build.testOutputDirectory}/serviceloader</additionalClasspathElement>
|
|
309
|
-
</additionalClasspathElements>
|
|
310
|
-
<includes>
|
|
311
|
-
<include>org/apache/commons/logging/serviceloader/*TestCase.java</include>
|
|
312
|
-
</includes>
|
|
313
|
-
</configuration>
|
|
314
|
-
</execution>
|
|
315
|
-
<!--
|
|
316
|
-
Tests logging through the Log4j 2 API.
|
|
317
|
-
-->
|
|
318
|
-
<execution>
|
|
319
|
-
<id>log4j-test</id>
|
|
320
|
-
<goals>
|
|
321
|
-
<goal>integration-test</goal>
|
|
322
|
-
</goals>
|
|
323
|
-
<configuration>
|
|
324
|
-
<additionalClasspathDependencies>
|
|
325
|
-
<dependency>
|
|
326
|
-
<groupId>org.apache.logging.log4j</groupId>
|
|
327
|
-
<artifactId>log4j-core</artifactId>
|
|
328
|
-
<version>${log4j2.version}</version>
|
|
329
|
-
</dependency>
|
|
330
|
-
</additionalClasspathDependencies>
|
|
331
|
-
<includes>
|
|
332
|
-
<include>org/apache/commons/logging/log4j2/*TestCase.java</include>
|
|
333
|
-
</includes>
|
|
334
|
-
<systemPropertyVariables>
|
|
335
|
-
<!-- Due to a bug in `log4j-core-test`,
|
|
336
|
-
the default LogEventFactory loses the location info.
|
|
337
|
-
We need to force the usage of the reusable version.
|
|
338
|
-
<log4j2.messageFactory>org.apache.logging.log4j.message.ParameterizedMessageFactory</log4j2.messageFactory>
|
|
339
|
-
-->
|
|
340
|
-
<log4j2.logEventFactory>org.apache.logging.log4j.core.impl.ReusableLogEventFactory</log4j2.logEventFactory>
|
|
341
|
-
</systemPropertyVariables>
|
|
342
|
-
</configuration>
|
|
343
|
-
</execution>
|
|
344
|
-
<!--
|
|
345
|
-
Tests logging through the Log4j 2 API for 1.2.
|
|
346
|
-
-->
|
|
347
|
-
<execution>
|
|
348
|
-
<id>log4j12-test</id>
|
|
349
|
-
<goals>
|
|
350
|
-
<goal>integration-test</goal>
|
|
351
|
-
</goals>
|
|
352
|
-
<configuration>
|
|
353
|
-
<additionalClasspathDependencies>
|
|
354
|
-
<dependency>
|
|
355
|
-
<groupId>org.apache.logging.log4j</groupId>
|
|
356
|
-
<artifactId>log4j-1.2-api</artifactId>
|
|
357
|
-
<version>${log4j2.version}</version>
|
|
358
|
-
</dependency>
|
|
359
|
-
<dependency>
|
|
360
|
-
<groupId>org.apache.logging.log4j</groupId>
|
|
361
|
-
<artifactId>log4j-api</artifactId>
|
|
362
|
-
<version>${log4j2.version}</version>
|
|
363
|
-
</dependency>
|
|
364
|
-
<dependency>
|
|
365
|
-
<groupId>org.apache.logging.log4j</groupId>
|
|
366
|
-
<artifactId>log4j-core</artifactId>
|
|
367
|
-
<version>${log4j2.version}</version>
|
|
368
|
-
</dependency>
|
|
369
|
-
</additionalClasspathDependencies>
|
|
370
|
-
<includes>
|
|
371
|
-
<include>org/apache/commons/logging/log4j/log4j12/*TestCase.java</include>
|
|
372
|
-
</includes>
|
|
373
|
-
<systemPropertyVariables>
|
|
374
|
-
<!-- Due to a bug in `log4j-core-test`,
|
|
375
|
-
the default LogEventFactory loses the location info.
|
|
376
|
-
We need to force the usage of the reusable version.
|
|
377
|
-
<log4j2.messageFactory>org.apache.logging.log4j.message.ParameterizedMessageFactory</log4j2.messageFactory>
|
|
378
|
-
-->
|
|
379
|
-
<log4j2.logEventFactory>org.apache.logging.log4j.core.impl.ReusableLogEventFactory</log4j2.logEventFactory>
|
|
380
|
-
<log4j12>${org.apache.logging.log4j:log4j-1.2-api:jar}</log4j12>
|
|
381
|
-
<log4j2-api>${org.apache.logging.log4j:log4j-api:jar}</log4j2-api>
|
|
382
|
-
<log4j2-core>${org.apache.logging.log4j:log4j-core:jar}</log4j2-core>
|
|
383
|
-
<commons-logging>target/${project.build.finalName}.jar</commons-logging>
|
|
384
|
-
<commons-logging-api>target/${project.build.finalName}-api.jar</commons-logging-api>
|
|
385
|
-
<testclasses>target/${project.build.finalName}-tests.jar</testclasses>
|
|
386
|
-
<!-- Use the Log4j 1.2 version of Log -->
|
|
387
|
-
<org.apache.commons.logging.LogFactory>org.apache.commons.logging.impl.LogFactoryImpl</org.apache.commons.logging.LogFactory>
|
|
388
|
-
</systemPropertyVariables>
|
|
389
|
-
</configuration>
|
|
390
|
-
</execution>
|
|
391
|
-
<!--
|
|
392
|
-
Tests falling back to the SLF4J API, when the Log4j API is absent.
|
|
393
|
-
-->
|
|
394
|
-
<execution>
|
|
395
|
-
<id>slf4j-test</id>
|
|
396
|
-
<goals>
|
|
397
|
-
<goal>integration-test</goal>
|
|
398
|
-
</goals>
|
|
399
|
-
<configuration>
|
|
400
|
-
<additionalClasspathDependencies>
|
|
401
|
-
<dependency>
|
|
402
|
-
<groupId>ch.qos.logback</groupId>
|
|
403
|
-
<artifactId>logback-classic</artifactId>
|
|
404
|
-
<version>${logback.version}</version>
|
|
405
|
-
<scope>test</scope>
|
|
406
|
-
</dependency>
|
|
407
|
-
</additionalClasspathDependencies>
|
|
408
|
-
<classpathDependencyExcludes>
|
|
409
|
-
<exclude>org.apache.logging.log4j:*</exclude>
|
|
410
|
-
</classpathDependencyExcludes>
|
|
411
|
-
<includes>
|
|
412
|
-
<include>org/apache/commons/logging/slf4j/*TestCase.java</include>
|
|
413
|
-
</includes>
|
|
414
|
-
</configuration>
|
|
415
|
-
</execution>
|
|
416
|
-
<!--
|
|
417
|
-
Tests falling back to the SLF4J API, when the Log4j API is present, but redirected to SLF4J.
|
|
418
|
-
-->
|
|
419
|
-
<execution>
|
|
420
|
-
<id>log4j-to-slf4j-test</id>
|
|
421
|
-
<goals>
|
|
422
|
-
<goal>integration-test</goal>
|
|
423
|
-
</goals>
|
|
424
|
-
<configuration>
|
|
425
|
-
<additionalClasspathDependencies>
|
|
426
|
-
<dependency>
|
|
427
|
-
<groupId>org.apache.logging.log4j</groupId>
|
|
428
|
-
<artifactId>log4j-to-slf4j</artifactId>
|
|
429
|
-
<version>${log4j2.version}</version>
|
|
430
|
-
<!-- Conflicts with the version used by the project -->
|
|
431
|
-
<exclusions>
|
|
432
|
-
<exclusion>
|
|
433
|
-
<groupId>org.slf4j</groupId>
|
|
434
|
-
<artifactId>slf4j-api</artifactId>
|
|
435
|
-
</exclusion>
|
|
436
|
-
</exclusions>
|
|
437
|
-
</dependency>
|
|
438
|
-
</additionalClasspathDependencies>
|
|
439
|
-
<classpathDependencyExcludes>
|
|
440
|
-
<exclude>org.apache.logging.log4j:log4j-core</exclude>
|
|
441
|
-
<exclude>org.apache.logging.log4j:log4j-core-test</exclude>
|
|
442
|
-
</classpathDependencyExcludes>
|
|
443
|
-
<includes>
|
|
444
|
-
<include>org/apache/commons/logging/slf4j/*TestCase.java</include>
|
|
445
|
-
</includes>
|
|
446
|
-
</configuration>
|
|
447
|
-
</execution>
|
|
448
|
-
</executions>
|
|
449
|
-
</plugin>
|
|
450
|
-
<plugin>
|
|
451
|
-
<groupId>org.apache.maven.plugins</groupId>
|
|
452
|
-
<artifactId>maven-assembly-plugin</artifactId>
|
|
453
|
-
<configuration>
|
|
454
|
-
<descriptors>
|
|
455
|
-
<descriptor>src/main/assembly/bin.xml</descriptor>
|
|
456
|
-
<descriptor>src/main/assembly/src.xml</descriptor>
|
|
457
|
-
</descriptors>
|
|
458
|
-
<tarLongFileMode>gnu</tarLongFileMode>
|
|
459
|
-
</configuration>
|
|
460
|
-
</plugin>
|
|
461
|
-
<!-- Define properties for referencing dependencies -->
|
|
462
|
-
<plugin>
|
|
463
|
-
<groupId>org.apache.maven.plugins</groupId>
|
|
464
|
-
<artifactId>maven-dependency-plugin</artifactId>
|
|
465
|
-
<executions>
|
|
466
|
-
<execution>
|
|
467
|
-
<goals>
|
|
468
|
-
<goal>properties</goal>
|
|
469
|
-
</goals>
|
|
470
|
-
</execution>
|
|
471
|
-
</executions>
|
|
472
|
-
</plugin>
|
|
473
|
-
<plugin>
|
|
474
|
-
<groupId>org.apache.maven.plugins</groupId>
|
|
475
|
-
<artifactId>maven-scm-publish-plugin</artifactId>
|
|
476
|
-
<configuration>
|
|
477
|
-
<ignorePathsToDelete>
|
|
478
|
-
<ignorePathToDelete>javadocs</ignorePathToDelete>
|
|
479
|
-
<ignorePathToDelete>commons-logging-**</ignorePathToDelete>
|
|
480
|
-
</ignorePathsToDelete>
|
|
481
|
-
</configuration>
|
|
482
|
-
</plugin>
|
|
483
|
-
<plugin>
|
|
484
|
-
<groupId>org.apache.maven.plugins</groupId>
|
|
485
|
-
<artifactId>maven-checkstyle-plugin</artifactId>
|
|
486
|
-
<configuration>
|
|
487
|
-
<configLocation>${basedir}/src/conf/checkstyle.xml</configLocation>
|
|
488
|
-
<includeTestSourceDirectory>true</includeTestSourceDirectory>
|
|
489
|
-
<enableRulesSummary>false</enableRulesSummary>
|
|
490
|
-
</configuration>
|
|
491
|
-
</plugin>
|
|
492
|
-
<plugin>
|
|
493
|
-
<groupId>org.apache.maven.plugins</groupId>
|
|
494
|
-
<artifactId>maven-pmd-plugin</artifactId>
|
|
495
|
-
<configuration>
|
|
496
|
-
<targetJdk>1.8</targetJdk>
|
|
497
|
-
<rulesets>
|
|
498
|
-
<ruleset>${basedir}/src/conf/pmd.xml</ruleset>
|
|
499
|
-
</rulesets>
|
|
500
|
-
</configuration>
|
|
501
|
-
</plugin>
|
|
502
|
-
<plugin>
|
|
503
|
-
<groupId>com.github.spotbugs</groupId>
|
|
504
|
-
<artifactId>spotbugs-maven-plugin</artifactId>
|
|
505
|
-
<configuration>
|
|
506
|
-
<excludeFilterFile>src/conf/spotbugs-excludes.xml</excludeFilterFile>
|
|
507
|
-
<plugins>
|
|
508
|
-
<plugin>
|
|
509
|
-
<groupId>com.h3xstream.findsecbugs</groupId>
|
|
510
|
-
<artifactId>findsecbugs-plugin</artifactId>
|
|
511
|
-
<version>${findsecbugs.version}</version>
|
|
512
|
-
</plugin>
|
|
513
|
-
</plugins>
|
|
514
|
-
</configuration>
|
|
515
|
-
</plugin>
|
|
516
|
-
<!--
|
|
517
|
-
Ban Commons Logging clones
|
|
518
|
-
-->
|
|
519
|
-
<plugin>
|
|
520
|
-
<groupId>org.apache.maven.plugins</groupId>
|
|
521
|
-
<artifactId>maven-enforcer-plugin</artifactId>
|
|
522
|
-
<executions>
|
|
523
|
-
<execution>
|
|
524
|
-
<id>ban-jcl-clones</id>
|
|
525
|
-
<goals>
|
|
526
|
-
<goal>enforce</goal>
|
|
527
|
-
</goals>
|
|
528
|
-
<configuration>
|
|
529
|
-
<rules>
|
|
530
|
-
<bannedDependencies>
|
|
531
|
-
<excludes>
|
|
532
|
-
<exclude>org.slf4j:jcl-over-slf4j</exclude>
|
|
533
|
-
<exclude>org.springframework:spring-jcl</exclude>
|
|
534
|
-
</excludes>
|
|
535
|
-
</bannedDependencies>
|
|
536
|
-
</rules>
|
|
537
|
-
</configuration>
|
|
538
|
-
</execution>
|
|
539
|
-
</executions>
|
|
540
|
-
</plugin>
|
|
541
|
-
</plugins>
|
|
542
|
-
<pluginManagement>
|
|
543
|
-
<plugins>
|
|
544
|
-
<plugin>
|
|
545
|
-
<groupId>org.apache.felix</groupId>
|
|
546
|
-
<artifactId>maven-bundle-plugin</artifactId>
|
|
547
|
-
<configuration>
|
|
548
|
-
<instructions>
|
|
549
|
-
<Require-Capability><![CDATA[
|
|
550
|
-
osgi.extender;filter:="(&(osgi.extender=osgi.serviceloader.processor)(version>=1.0.0)(!(version>=2.0.0)))";resolution:=optional,
|
|
551
|
-
osgi.serviceloader;filter:="(osgi.serviceloader=org.apache.commons.logging.LogFactory)";osgi.serviceloader="org.apache.commons.logging.LogFactory";resolution:=optional;cardinality:=multiple
|
|
552
|
-
]]></Require-Capability>
|
|
553
|
-
</instructions>
|
|
554
|
-
</configuration>
|
|
555
|
-
</plugin>
|
|
556
|
-
</plugins>
|
|
557
|
-
</pluginManagement>
|
|
558
|
-
</build>
|
|
559
|
-
<dependencies>
|
|
560
|
-
<dependency>
|
|
561
|
-
<groupId>org.junit.vintage</groupId>
|
|
562
|
-
<artifactId>junit-vintage-engine</artifactId>
|
|
563
|
-
<scope>test</scope>
|
|
564
|
-
</dependency>
|
|
565
|
-
<dependency>
|
|
566
|
-
<groupId>avalon-framework</groupId>
|
|
567
|
-
<artifactId>avalon-framework</artifactId>
|
|
568
|
-
<version>4.1.5</version>
|
|
569
|
-
<optional>true</optional>
|
|
570
|
-
</dependency>
|
|
571
|
-
<dependency>
|
|
572
|
-
<groupId>org.apache.logging.log4j</groupId>
|
|
573
|
-
<artifactId>log4j-1.2-api</artifactId>
|
|
574
|
-
<version>${log4j2.version}</version>
|
|
575
|
-
<optional>true</optional>
|
|
576
|
-
</dependency>
|
|
577
|
-
<dependency>
|
|
578
|
-
<groupId>org.apache.logging.log4j</groupId>
|
|
579
|
-
<artifactId>log4j-api</artifactId>
|
|
580
|
-
<version>${log4j2.version}</version>
|
|
581
|
-
<optional>true</optional>
|
|
582
|
-
</dependency>
|
|
583
|
-
<dependency>
|
|
584
|
-
<groupId>logkit</groupId>
|
|
585
|
-
<artifactId>logkit</artifactId>
|
|
586
|
-
<version>2.0</version>
|
|
587
|
-
<optional>true</optional>
|
|
588
|
-
</dependency>
|
|
589
|
-
<dependency>
|
|
590
|
-
<groupId>org.slf4j</groupId>
|
|
591
|
-
<artifactId>slf4j-api</artifactId>
|
|
592
|
-
<version>${slf4j.version}</version>
|
|
593
|
-
<optional>true</optional>
|
|
594
|
-
</dependency>
|
|
595
|
-
<dependency>
|
|
596
|
-
<groupId>javax.servlet</groupId>
|
|
597
|
-
<artifactId>javax.servlet-api</artifactId>
|
|
598
|
-
<version>4.0.1</version>
|
|
599
|
-
<scope>provided</scope>
|
|
600
|
-
<optional>true</optional>
|
|
601
|
-
</dependency>
|
|
602
|
-
<dependency>
|
|
603
|
-
<groupId>org.apache.commons</groupId>
|
|
604
|
-
<artifactId>commons-lang3</artifactId>
|
|
605
|
-
<version>3.16.0</version>
|
|
606
|
-
<scope>test</scope>
|
|
607
|
-
</dependency>
|
|
608
|
-
<dependency>
|
|
609
|
-
<groupId>org.apache.logging.log4j</groupId>
|
|
610
|
-
<artifactId>log4j-core</artifactId>
|
|
611
|
-
<version>${log4j2.version}</version>
|
|
612
|
-
<scope>test</scope>
|
|
613
|
-
</dependency>
|
|
614
|
-
<dependency>
|
|
615
|
-
<groupId>org.apache.logging.log4j</groupId>
|
|
616
|
-
<artifactId>log4j-core-test</artifactId>
|
|
617
|
-
<version>${log4j2.version}</version>
|
|
618
|
-
<scope>test</scope>
|
|
619
|
-
<exclusions>
|
|
620
|
-
<!-- Commons Logging clone -->
|
|
621
|
-
<exclusion>
|
|
622
|
-
<groupId>org.springframework</groupId>
|
|
623
|
-
<artifactId>spring-jcl</artifactId>
|
|
624
|
-
</exclusion>
|
|
625
|
-
</exclusions>
|
|
626
|
-
</dependency>
|
|
627
|
-
<dependency>
|
|
628
|
-
<groupId>ch.qos.logback</groupId>
|
|
629
|
-
<artifactId>logback-classic</artifactId>
|
|
630
|
-
<version>${logback.version}</version>
|
|
631
|
-
<scope>test</scope>
|
|
632
|
-
</dependency>
|
|
633
|
-
<dependency>
|
|
634
|
-
<groupId>ch.qos.logback</groupId>
|
|
635
|
-
<artifactId>logback-core</artifactId>
|
|
636
|
-
<version>${logback.version}</version>
|
|
637
|
-
<scope>test</scope>
|
|
638
|
-
</dependency>
|
|
639
|
-
<dependency>
|
|
640
|
-
<groupId>ch.qos.logback</groupId>
|
|
641
|
-
<artifactId>logback-core</artifactId>
|
|
642
|
-
<version>${logback.version}</version>
|
|
643
|
-
<type>test-jar</type>
|
|
644
|
-
<scope>test</scope>
|
|
645
|
-
</dependency>
|
|
646
|
-
</dependencies>
|
|
647
|
-
<reporting>
|
|
648
|
-
<plugins>
|
|
649
|
-
<plugin>
|
|
650
|
-
<groupId>org.apache.maven.plugins</groupId>
|
|
651
|
-
<artifactId>maven-checkstyle-plugin</artifactId>
|
|
652
|
-
<configuration>
|
|
653
|
-
<configLocation>${basedir}/src/conf/checkstyle.xml</configLocation>
|
|
654
|
-
<enableRulesSummary>false</enableRulesSummary>
|
|
655
|
-
</configuration>
|
|
656
|
-
</plugin>
|
|
657
|
-
<plugin>
|
|
658
|
-
<groupId>com.github.spotbugs</groupId>
|
|
659
|
-
<artifactId>spotbugs-maven-plugin</artifactId>
|
|
660
|
-
<configuration>
|
|
661
|
-
<excludeFilterFile>src/conf/spotbugs-excludes.xml</excludeFilterFile>
|
|
662
|
-
<plugins>
|
|
663
|
-
<plugin>
|
|
664
|
-
<groupId>com.h3xstream.findsecbugs</groupId>
|
|
665
|
-
<artifactId>findsecbugs-plugin</artifactId>
|
|
666
|
-
<version>${findsecbugs.version}</version>
|
|
667
|
-
</plugin>
|
|
668
|
-
</plugins>
|
|
669
|
-
</configuration>
|
|
670
|
-
</plugin>
|
|
671
|
-
<plugin>
|
|
672
|
-
<groupId>org.apache.maven.plugins</groupId>
|
|
673
|
-
<artifactId>maven-pmd-plugin</artifactId>
|
|
674
|
-
<configuration>
|
|
675
|
-
<targetJdk>1.8</targetJdk>
|
|
676
|
-
<rulesets>
|
|
677
|
-
<ruleset>${basedir}/src/conf/pmd.xml</ruleset>
|
|
678
|
-
</rulesets>
|
|
679
|
-
</configuration>
|
|
680
|
-
</plugin>
|
|
681
|
-
</plugins>
|
|
682
|
-
</reporting>
|
|
683
|
-
<distributionManagement>
|
|
684
|
-
<site>
|
|
685
|
-
<id>apache.website</id>
|
|
686
|
-
<name>Apache Commons Site</name>
|
|
687
|
-
<url>scm:svn:https://svn.apache.org/repos/infra/websites/production/commons/content/proper/commons-logging/</url>
|
|
688
|
-
</site>
|
|
689
|
-
</distributionManagement>
|
|
690
|
-
<developers>
|
|
691
|
-
<developer>
|
|
692
|
-
<id>baliuka</id>
|
|
693
|
-
<name>Juozas Baliuka</name>
|
|
694
|
-
<email>baliuka@apache.org</email>
|
|
695
|
-
<roles>
|
|
696
|
-
<role>Java Developer</role>
|
|
697
|
-
</roles>
|
|
698
|
-
</developer>
|
|
699
|
-
<developer>
|
|
700
|
-
<id>morgand</id>
|
|
701
|
-
<name>Morgan Delagrange</name>
|
|
702
|
-
<email>morgand@apache.org</email>
|
|
703
|
-
<organization>Apache</organization>
|
|
704
|
-
<roles>
|
|
705
|
-
<role>Java Developer</role>
|
|
706
|
-
</roles>
|
|
707
|
-
</developer>
|
|
708
|
-
<developer>
|
|
709
|
-
<id>donaldp</id>
|
|
710
|
-
<name>Peter Donald</name>
|
|
711
|
-
<email>donaldp@apache.org</email>
|
|
712
|
-
</developer>
|
|
713
|
-
<developer>
|
|
714
|
-
<id>rdonkin</id>
|
|
715
|
-
<name>Robert Burrell Donkin</name>
|
|
716
|
-
<email>rdonkin@apache.org</email>
|
|
717
|
-
<organization>The Apache Software Foundation</organization>
|
|
718
|
-
</developer>
|
|
719
|
-
<developer>
|
|
720
|
-
<id>skitching</id>
|
|
721
|
-
<name>Simon Kitching</name>
|
|
722
|
-
<email>skitching@apache.org</email>
|
|
723
|
-
<organization>The Apache Software Foundation</organization>
|
|
724
|
-
</developer>
|
|
725
|
-
<developer>
|
|
726
|
-
<id>dennisl</id>
|
|
727
|
-
<name>Dennis Lundberg</name>
|
|
728
|
-
<email>dennisl@apache.org</email>
|
|
729
|
-
<organization>The Apache Software Foundation</organization>
|
|
730
|
-
</developer>
|
|
731
|
-
<developer>
|
|
732
|
-
<id>costin</id>
|
|
733
|
-
<name>Costin Manolache</name>
|
|
734
|
-
<email>costin@apache.org</email>
|
|
735
|
-
<organization>The Apache Software Foundation</organization>
|
|
736
|
-
</developer>
|
|
737
|
-
<developer>
|
|
738
|
-
<id>craigmcc</id>
|
|
739
|
-
<name>Craig McClanahan</name>
|
|
740
|
-
<email>craigmcc@apache.org</email>
|
|
741
|
-
<organization>The Apache Software Foundation</organization>
|
|
742
|
-
</developer>
|
|
743
|
-
<developer>
|
|
744
|
-
<id>tn</id>
|
|
745
|
-
<name>Thomas Neidhart</name>
|
|
746
|
-
<email>tn@apache.org</email>
|
|
747
|
-
<organization>The Apache Software Foundation</organization>
|
|
748
|
-
</developer>
|
|
749
|
-
<developer>
|
|
750
|
-
<id>sanders</id>
|
|
751
|
-
<name>Scott Sanders</name>
|
|
752
|
-
<email>sanders@apache.org</email>
|
|
753
|
-
<organization>The Apache Software Foundation</organization>
|
|
754
|
-
</developer>
|
|
755
|
-
<developer>
|
|
756
|
-
<id>rsitze</id>
|
|
757
|
-
<name>Richard Sitze</name>
|
|
758
|
-
<email>rsitze@apache.org</email>
|
|
759
|
-
<organization>The Apache Software Foundation</organization>
|
|
760
|
-
</developer>
|
|
761
|
-
<developer>
|
|
762
|
-
<id>bstansberry</id>
|
|
763
|
-
<name>Brian Stansberry</name>
|
|
764
|
-
</developer>
|
|
765
|
-
<developer>
|
|
766
|
-
<id>rwaldhoff</id>
|
|
767
|
-
<name>Rodney Waldhoff</name>
|
|
768
|
-
<email>rwaldhoff@apache.org</email>
|
|
769
|
-
<organization>The Apache Software Foundation</organization>
|
|
770
|
-
</developer>
|
|
771
|
-
<developer>
|
|
772
|
-
<id>ggregory</id>
|
|
773
|
-
<name>Gary Gregory</name>
|
|
774
|
-
<email>ggregory at apache.org</email>
|
|
775
|
-
<url>https://www.garygregory.com</url>
|
|
776
|
-
<organization>The Apache Software Foundation</organization>
|
|
777
|
-
<organizationUrl>https://www.apache.org/</organizationUrl>
|
|
778
|
-
<roles>
|
|
779
|
-
<role>PMC Member</role>
|
|
780
|
-
</roles>
|
|
781
|
-
<timezone>America/New_York</timezone>
|
|
782
|
-
<properties>
|
|
783
|
-
<picUrl>https://people.apache.org/~ggregory/img/garydgregory80.png</picUrl>
|
|
784
|
-
</properties>
|
|
785
|
-
</developer>
|
|
786
|
-
</developers>
|
|
787
|
-
<contributors>
|
|
788
|
-
<contributor>
|
|
789
|
-
<name>Matthew P. Del Buono</name>
|
|
790
|
-
<roles>
|
|
791
|
-
<role>Provided patch</role>
|
|
792
|
-
</roles>
|
|
793
|
-
</contributor>
|
|
794
|
-
<contributor>
|
|
795
|
-
<name>Vince Eagen</name>
|
|
796
|
-
<email>vince256 at comcast dot net</email>
|
|
797
|
-
<roles>
|
|
798
|
-
<role>Lumberjack logging abstraction</role>
|
|
799
|
-
</roles>
|
|
800
|
-
</contributor>
|
|
801
|
-
<contributor>
|
|
802
|
-
<name>Peter Lawrey</name>
|
|
803
|
-
<roles>
|
|
804
|
-
<role>Provided patch</role>
|
|
805
|
-
</roles>
|
|
806
|
-
</contributor>
|
|
807
|
-
<contributor>
|
|
808
|
-
<name>Berin Loritsch</name>
|
|
809
|
-
<email>bloritsch at apache dot org</email>
|
|
810
|
-
<roles>
|
|
811
|
-
<role>Lumberjack logging abstraction</role>
|
|
812
|
-
<role>JDK 1.4 logging abstraction</role>
|
|
813
|
-
</roles>
|
|
814
|
-
</contributor>
|
|
815
|
-
<contributor>
|
|
816
|
-
<name>Philippe Mouawad</name>
|
|
817
|
-
<roles>
|
|
818
|
-
<role>Provided patch</role>
|
|
819
|
-
</roles>
|
|
820
|
-
</contributor>
|
|
821
|
-
<contributor>
|
|
822
|
-
<name>Neeme Praks</name>
|
|
823
|
-
<email>neeme at apache dot org</email>
|
|
824
|
-
<roles>
|
|
825
|
-
<role>Avalon logging abstraction</role>
|
|
826
|
-
</roles>
|
|
827
|
-
</contributor>
|
|
828
|
-
<contributor>
|
|
829
|
-
<name>Arturo Bernal</name>
|
|
830
|
-
<email>arturobernalg@yahoo.com</email>
|
|
831
|
-
</contributor>
|
|
832
|
-
</contributors>
|
|
833
|
-
</project>
|