diff --git a/README.md b/README.md index 15405b77..fa534de8 100644 --- a/README.md +++ b/README.md @@ -58,7 +58,7 @@ networkless build. First, grab the sources: ```bash -wget https://archive.apache.org/dist/commons/collections/source/commons-collections4-4.4-src.tar.gz +wget https://archive.apache.org/dist/commons/collections/source/commons-collections4-4.5.0-M2-src.tar.gz ``` Second, create a new `tetra` project named `commons-collections` based on those sources: diff --git a/lib/tetra.rb b/lib/tetra.rb index da304f70..a858a382 100644 --- a/lib/tetra.rb +++ b/lib/tetra.rb @@ -35,6 +35,7 @@ require "tetra/facades/tar" # main internal classes +require "tetra/constants" require "tetra/version" require "tetra/project_initer" require "tetra/project" diff --git a/lib/tetra/constants.rb b/lib/tetra/constants.rb new file mode 100644 index 00000000..fc022ab8 --- /dev/null +++ b/lib/tetra/constants.rb @@ -0,0 +1,6 @@ +# encoding: UTF-8 + +# base module for tetra +module Tetra + CCOLLECTIONS = "commons-collections4-4.5.0-M2-src".freeze +end diff --git a/spec/data/commons-collections4-4.4-src.tar.gz b/spec/data/commons-collections4-4.4-src.tar.gz deleted file mode 100644 index 39108e10..00000000 Binary files a/spec/data/commons-collections4-4.4-src.tar.gz and /dev/null differ diff --git a/spec/data/commons-collections4-4.4-src.zip b/spec/data/commons-collections4-4.4-src.zip deleted file mode 100644 index ae7e8539..00000000 Binary files a/spec/data/commons-collections4-4.4-src.zip and /dev/null differ diff --git a/spec/data/commons-collections4-4.5.0-M2-src.tar.gz b/spec/data/commons-collections4-4.5.0-M2-src.tar.gz new file mode 100644 index 00000000..dba8cf29 Binary files /dev/null and b/spec/data/commons-collections4-4.5.0-M2-src.tar.gz differ diff --git a/spec/data/commons-collections4-4.5.0-M2-src.zip b/spec/data/commons-collections4-4.5.0-M2-src.zip new file mode 100644 index 00000000..1c0df1a1 Binary files /dev/null and b/spec/data/commons-collections4-4.5.0-M2-src.zip differ diff --git a/spec/data/commons-logging/commons-logging-1.1.1.jar b/spec/data/commons-logging/commons-logging-1.1.1.jar deleted file mode 100644 index 1deef144..00000000 Binary files a/spec/data/commons-logging/commons-logging-1.1.1.jar and /dev/null differ diff --git a/spec/data/commons-logging/commons-logging-1.3.4.jar b/spec/data/commons-logging/commons-logging-1.3.4.jar new file mode 100644 index 00000000..b6339bb0 Binary files /dev/null and b/spec/data/commons-logging/commons-logging-1.3.4.jar differ diff --git a/spec/data/commons-logging/parent_pom.xml b/spec/data/commons-logging/parent_pom.xml index 3fa23e72..06168da0 100644 --- a/spec/data/commons-logging/parent_pom.xml +++ b/spec/data/commons-logging/parent_pom.xml @@ -17,68 +17,347 @@ limitations under the License. --> - + 4.0.0 org.apache apache - 4 + 27 org.apache.commons commons-parent + 54-SNAPSHOT pom - - 5 - Commons Parent - http://commons.apache.org/ - 2001 + Apache Commons Parent + The Apache Commons Parent POM provides common settings for all Apache Commons components. + + https://commons.apache.org/commons-parent-pom.html - - continuum - http://vmbuild.apache.org/continuum/ - - - mail - -
dev@commons.apache.org
-
-
-
-
+ + + + + + 3.3.9 + + + 2022-04-06T22:10:39Z + ${project.version} + RC1 + COMMONSSITE + + + - - dummy - Dummy to avoid accidental deploys - - - + 1.3 + 1.3 - - - scm:svn:http://svn.apache.org/repos/asf/commons/proper/commons-parent/tags/commons-parent-5 - scm:svn:https://svn.apache.org/repos/asf/commons/proper/commons-parent/tags/commons-parent-5 - http://svn.apache.org/viewvc/commons/proper/commons-parent/tags/commons-parent-5 - + + false + + + + + + 1.21 + + 1.0 + 3.4.2 + 3.3.0 + 1.12 + 2.12.1 + 3.1.2 + 9.3 + 2.8 + 2.7 + 3.10.1 + 4.3.0 + EpochMillis + 2.22.2 + 5.1.7 + 3.0.5 + 0.8.8 + 0.15.7 + 3.2.2 + 3.4.0 + 3.2.0 + 3.17.0 + 6.47.0 + 3.4.0 + 0.14 + 1.8.0 + 1.1 + 3.1.0 + 3.0.0 + 6.3.1 + + + + 3.12.0 + 3.2.1 + 4.7.1.0 + 4.7.1 + 2.22.2 + 2.22.2 + 3.5.2 + + + ${project.artifactId}-${commons.release.version} + + -bin + ${project.artifactId}-${commons.release.2.version} + + -bin + ${project.artifactId}-${commons.release.3.version} + + -bin + + -bin + + + 1.00 + 0.90 + 0.95 + 0.85 + 0.85 + 0.90 + false + + + ${project.artifactId} + + + ${project.artifactId} + + + org.apache.commons.${commons.packageId} + org.apache.commons.*;version=${project.version};-noimport:=true + * + + + true + + + ${project.build.directory}/osgi/MANIFEST.MF + + + scp + + + iso-8859-1 + + ${commons.encoding} + + ${commons.encoding} + + ${commons.encoding} + + + https://docs.oracle.com/javase/6/docs/api/ + https://docs.oracle.com/javase/7/docs/api/ + https://docs.oracle.com/javase/8/docs/api/ + https://docs.oracle.com/javase/9/docs/api/ + https://docs.oracle.com/javase/10/docs/api/ + https://docs.oracle.com/en/java/javase/11/docs/api/ + https://docs.oracle.com/en/java/javase/12/docs/api/ + https://docs.oracle.com/en/java/javase/13/docs/api/ + https://docs.oracle.com/en/java/javase/14/docs/api/ + https://docs.oracle.com/en/java/javase/15/docs/api/ + https://docs.oracle.com/en/java/javase/16/docs/api/ + https://docs.oracle.com/en/java/javase/17/docs/api/ + https://docs.oracle.com/en/java/javase/18/docs/api/ + + ${commons.javadoc7.java.link} + + https://docs.oracle.com/javaee/5/api/ + https://docs.oracle.com/javaee/6/api/ + https://docs.oracle.com/javaee/7/api/ + + ${commons.javadoc.javaee6.link} + + + yyyy-MM-dd HH:mm:ssZ + ${scmBranch}@r${buildNumber}; ${maven.build.timestamp} + + + info + + + 100 + + + false + + + false + + 100 + + false + + + ${user.home}/commons-sites + + ${commons.componentid} + + https://svn.apache.org/repos/infra/websites/production/commons/content/proper/commons-${commons.componentid} + ${commons.site.cache}/${commons.site.path} + commons.site + + + true + false + false + + + scm:svn:https://dist.apache.org/repos/dist/dev/commons/${commons.componentid} + + + ${user.name} + DEADBEEF + + https://analysis.apache.org/ + + + . + RELEASE-NOTES.txt + + + + + - Commons Commits List - commits-subscribe@commons.apache.org - commits-unsubscribe@commons.apache.org - commits@commons.apache.org - http://mail-archives.apache.org/mod_mbox/commons-commits/ + Commons User List + user-subscribe@commons.apache.org + user-unsubscribe@commons.apache.org + user@commons.apache.org + https://mail-archives.apache.org/mod_mbox/commons-user/ - http://www.mail-archive.com/commits@commons.apache.org/ + https://markmail.org/list/org.apache.commons.users/ + https://www.mail-archive.com/user@commons.apache.org/ @@ -86,83 +365,547 @@ dev-subscribe@commons.apache.org dev-unsubscribe@commons.apache.org dev@commons.apache.org - http://mail-archives.apache.org/mod_mbox/commons-dev/ + https://mail-archives.apache.org/mod_mbox/commons-dev/ - http://www.mail-archive.com/dev@commons.apache.org/ - http://www.nabble.com/Commons---Dev-f317.html + https://markmail.org/list/org.apache.commons.dev/ + https://www.mail-archive.com/dev@commons.apache.org/ Commons Issues List issues-subscribe@commons.apache.org issues-unsubscribe@commons.apache.org - issues@commons.apache.org - http://mail-archives.apache.org/mod_mbox/commons-issues/ + https://mail-archives.apache.org/mod_mbox/commons-issues/ - http://www.mail-archive.com/issues@commons.apache.org/ - http://www.nabble.com/Commons---Issues-f25499.html + https://markmail.org/list/org.apache.commons.issues/ + https://www.mail-archive.com/issues@commons.apache.org/ - Commons User List - user-subscribe@commons.apache.org - user-unsubscribe@commons.apache.org - user@commons.apache.org - http://mail-archives.apache.org/mod_mbox/commons-user/ + Commons Commits List + commits-subscribe@commons.apache.org + commits-unsubscribe@commons.apache.org + https://mail-archives.apache.org/mod_mbox/commons-commits/ + + https://markmail.org/list/org.apache.commons.commits/ + https://www.mail-archive.com/commits@commons.apache.org/ + + + + Apache Announce List + announce-subscribe@apache.org + announce-unsubscribe@apache.org + https://mail-archives.apache.org/mod_mbox/www-announce/ - http://www.mail-archive.com/user@commons.apache.org/ - http://www.nabble.com/Commons---User-f319.html + https://markmail.org/list/org.apache.announce/ + https://www.mail-archive.com/announce@apache.org/ + + + + scm:git:http://gitbox.apache.org/repos/asf/commons-parent.git + scm:git:https://gitbox.apache.org/repos/asf/commons-parent.git + https://gitbox.apache.org/repos/asf?p=commons-parent.git + + + + jira + https://issues.apache.org/jira/browse/COMMONSSITE + + + + jenkins + https://builds.apache.org/ + + + + clean apache-rat:check package site + + + + src/main/resources + + + + ${basedir} + META-INF + + NOTICE.txt + LICENSE.txt + NOTICE + LICENSE + + + + + + + + src/test/resources + + + + ${basedir} + META-INF + + NOTICE.txt + LICENSE.txt + NOTICE + LICENSE + + + + + + org.apache.maven.plugins + maven-compiler-plugin + ${commons.compiler.version} + + ${maven.compiler.source} + ${maven.compiler.target} + ${commons.encoding} + + ${commons.compiler.fork} + + ${commons.compiler.compilerVersion} + ${commons.compiler.javac} + + org.apache.maven.plugins - maven-gpg-plugin - 1.0-alpha-3 + maven-assembly-plugin + ${commons.assembly-plugin.version} + + org.apache.maven.plugins - maven-jar-plugin - 2.1 + maven-javadoc-plugin + ${commons.javadoc.version} + + + true + ${maven.compiler.source} + ${commons.compiler.javadoc} + ${commons.encoding} + ${commons.docEncoding} + + true + true + + ${commons.javadoc.java.link} + ${commons.javadoc.javaee.link} + + + + true + true + + + + org.apache.maven.plugins maven-remote-resources-plugin - 1.0-alpha-6 + + + true + + + + + org.apache.maven.plugins + maven-site-plugin + ${commons.site-plugin.version} + + + true + + + + + org.apache.maven.wagon + wagon-ssh + ${commons.wagon-ssh.version} + + + + + attach-descriptor + + attach-descriptor + + + org.apache.maven.plugins maven-source-plugin - 2.0.4 + ${commons.source-plugin.version} + + + + true + true + + + org.apache.maven.plugins maven-surefire-plugin - 2.3 + ${commons.surefire.version} org.apache.maven.plugins - maven-assembly-plugin - 2.2-beta-1 + maven-failsafe-plugin + ${commons.failsafe.version} + + + + com.github.siom79.japicmp + japicmp-maven-plugin + ${commons.japicmp.version} + + + + ${project.groupId} + ${project.artifactId} + ${commons.bc.version} + jar + + + + + ${project.build.directory}/${project.artifactId}-${project.version}.jar + + + + true + ${commons.japicmp.breakBuildOnBinaryIncompatibleModifications} + ${commons.japicmp.breakBuildOnSourceIncompatibleModifications} + + true + true + true + ${commons.japicmp.ignoreMissingClasses} + + + METHOD_NEW_DEFAULT + true + true + PATCH + + + + + + + org.apache.commons + commons-build-plugin + ${commons.build-plugin.version} + + ${commons.release.name} + + + + org.apache.commons + commons-release-plugin + ${commons.release-plugin.version} + + + org.apache.felix + maven-bundle-plugin + ${commons.felix.version} + true + + + + biz.aQute.bnd + biz.aQute.bndlib + ${commons.biz.aQute.bndlib.version} + + + + + org.apache.rat + apache-rat-plugin + ${commons.rat.version} + + + org.codehaus.mojo + build-helper-maven-plugin + ${commons.build-helper.version} + + + org.codehaus.mojo + buildnumber-maven-plugin + ${commons.buildnumber-plugin.version} + + + org.codehaus.mojo + clirr-maven-plugin + ${commons.clirr.version} + + ${minSeverity} + + + + org.codehaus.mojo + versions-maven-plugin + + 2.11.0 + + + org.jacoco + jacoco-maven-plugin + ${commons.jacoco.version} + + + + prepare-agent + process-test-classes + + prepare-agent + + + + report + site + + report + + + + check + + check + + + + + BUNDLE + + + CLASS + COVEREDRATIO + ${commons.jacoco.classRatio} + + + INSTRUCTION + COVEREDRATIO + ${commons.jacoco.instructionRatio} + + + METHOD + COVEREDRATIO + ${commons.jacoco.methodRatio} + + + BRANCH + COVEREDRATIO + ${commons.jacoco.branchRatio} + + + LINE + COVEREDRATIO + ${commons.jacoco.lineRatio} + + + COMPLEXITY + COVEREDRATIO + ${commons.jacoco.complexityRatio} + + + + + ${commons.jacoco.haltOnFailure} + + + + + + org.apache.maven.plugins + maven-project-info-reports-plugin + ${commons.project-info.version} + + + + org.apache.bcel + bcel + 6.5.0 + + + + + org.apache.maven.plugins + maven-checkstyle-plugin + ${commons.checkstyle-plugin.version} + + + com.puppycrawl.tools + checkstyle + ${commons.checkstyle.version} + + + + + com.github.spotbugs + spotbugs-maven-plugin + ${commons.spotbugs.plugin.version} + + + com.github.spotbugs + spotbugs + ${commons.spotbugs.impl.version} + + + + + org.apache.maven.plugins + maven-pmd-plugin + ${commons.pmd.version} + + + net.sourceforge.pmd + pmd-core + ${commons.pmd-impl.version} + + + net.sourceforge.pmd + pmd-java + ${commons.pmd-impl.version} + + + net.sourceforge.pmd + pmd-javascript + ${commons.pmd-impl.version} + + + net.sourceforge.pmd + pmd-jsp + ${commons.pmd-impl.version} + + - + + + + maven-assembly-plugin + + + src/assembly/src.xml + + gnu + + + + + org.apache.maven.plugins + maven-antrun-plugin + + + javadoc.resources + generate-sources + + run + + + + + + + + + + + + + + + + + org.apache.maven.plugins maven-compiler-plugin + + + + true + org.apache.maven.plugins + maven-enforcer-plugin + ${commons.enforcer-plugin.version} - ${maven.compile.source} - ${maven.compile.target} + + + 3.5.0 + + + ${maven.compiler.target} + + + true + + + enforce-maven-3 + + enforce + + + + org.apache.maven.plugins maven-jar-plugin + ${commons.jar-plugin.version} + + + + test-jar + + + + true + + + + ${commons.manifestfile} ${project.name} ${project.version} @@ -171,46 +914,239 @@ ${project.version} ${project.organization.name} org.apache - ${maven.compile.source} - ${maven.compile.source} + ${implementation.build} + ${maven.compiler.source} + ${maven.compiler.target} - maven-idea-plugin + maven-source-plugin + + + create-source-jar + + jar-no-fork + test-jar-no-fork + + + + + + org.apache.maven.plugins + maven-surefire-plugin + + + ${commons.surefire.java} + + + + + org.apache.commons + commons-build-plugin + + + org.apache.felix + maven-bundle-plugin + + + + true + + ${commons.osgi.excludeDependencies} + ${project.build.directory}/osgi + + + <_nouses>true + + <_removeheaders>JAVA_1_3_HOME,JAVA_1_4_HOME,JAVA_1_5_HOME,JAVA_1_6_HOME,JAVA_1_7_HOME,JAVA_1_8_HOME,JAVA_1_9_HOME + ${commons.osgi.symbolicName} + ${commons.osgi.export} + ${commons.osgi.private} + ${commons.osgi.import} + ${commons.osgi.dynamicImport} + ${project.url} + + + + + bundle-manifest + process-classes + + manifest + + + + + + + org.apache.rat + apache-rat-plugin + - ${maven.compile.source} + + + site-content/** + .checkstyle + .fbprefs + .pmd + .asf.yaml + src/site/resources/download_*.cgi + src/site/resources/profile.* + profile.* + + maven-eclipse.xml + .externalToolBuilders/** + + .vscode/** + + + + rat-check + validate + + check + + + + + + + org.apache.maven.plugins + maven-scm-publish-plugin + + ${project.reporting.outputDirectory} + scm:svn:${commons.scmPubUrl} + ${commons.scmPubCheckoutDirectory} + ${commons.scmPubServer} + true + + + + scm-publish + site-deploy + + publish-scm + + + + + + org.codehaus.mojo + versions-maven-plugin + + + + org.apache.maven.plugins + maven-changes-plugin + ${commons.changes.version} + + ${basedir}/src/changes/changes.xml + Fix Version,Key,Component,Summary,Type,Resolution,Status + + Fix Version DESC,Type,Key DESC + Fixed + Resolved,Closed + + Bug,New Feature,Task,Improvement,Wish,Test + + true + ${commons.changes.onlyCurrentVersion} + ${commons.changes.maxEntries} + ${commons.changes.runOnlyAtExecutionRoot} + + + + + changes-report + jira-report + + + + org.apache.maven.plugins maven-javadoc-plugin - 2.2 - - true - + ${commons.javadoc.version} + + + + default + + javadoc + + + org.apache.maven.plugins maven-jxr-plugin - 2.1 - - true - + ${commons.jxr.version} + + + org.apache.maven.plugins + maven-project-info-reports-plugin + ${commons.project-info.version} + + + + + index + summary + modules + + team + scm + issue-management + mailing-lists + dependency-info + dependency-management + dependencies + dependency-convergence + ci-management + + + distribution-management + + + org.apache.maven.plugins maven-site-plugin + ${commons.site-plugin.version} + and the changes file used by the changes-plugin, + as they interfere with the site generation. --> navigation.xml,changes.xml @@ -219,133 +1155,395 @@ org.apache.maven.plugins maven-surefire-report-plugin - 2.3 - - - org.codehaus.mojo - jdepend-maven-plugin - 2.0-beta-1 + ${commons.surefire-report.version} + + ${commons.surefire-report.aggregate} + + - org.codehaus.mojo - rat-maven-plugin - 1.0-alpha-3 + org.apache.rat + apache-rat-plugin + ${commons.rat.version} + + + + + site-content/** + .checkstyle + .fbprefs + .pmd + .asf.yaml + src/site/resources/download_*.cgi + src/site/resources/profile.* + profile.* + + maven-eclipse.xml + .externalToolBuilders/** + + .vscode/** + + - ci - - - apache.snapshots - Apache Development Snapshot Repository - ${commons.deployment.protocol}://people.apache.org/www/people.apache.org/repo/m2-snapshot-repository - - - apache.snapshots - Apache Development Snapshot Repository - ${commons.deployment.protocol}://people.apache.org/www/people.apache.org/repo/m2-snapshot-repository - - - - - - release - - - apache.releases - Apache Release Distribution Repository - ${commons.deployment.protocol}://people.apache.org/www/people.apache.org/repo/m2-ibiblio-rsync-repository - - + svn + + + .svn + + - - maven-gpg-plugin - - ${gpg.passphrase} - + org.codehaus.mojo + buildnumber-maven-plugin - sign-artifacts - verify + validate - sign + create + + + true + + ?????? + + + javasvn + + + + + + + + + module-name + + + profile.module-name + + + + - maven-source-plugin - - - create-source-jar - - jar - - - + org.apache.maven.plugins + maven-jar-plugin + + + + ${commons.module.name} + + + + + + + + + + parse-target-version + + + + user.home + + + + - maven-javadoc-plugin + org.codehaus.mojo + build-helper-maven-plugin - create-javadoc-jar + parse-version + - jar + parse-version - ${maven.compile.source} + javaTarget + ${maven.compiler.target} - - - org.apache.maven.plugins - maven-remote-resources-plugin - - - - process - - - - org.apache:apache-jar-resource-bundle:1.3 - - + + + + + + + + animal-sniffer + + + + src/site/resources/profile.noanimal + + + + + + java${javaTarget.majorVersion}${javaTarget.minorVersion} + + + + + + + + org.codehaus.mojo + animal-sniffer-maven-plugin + ${commons.animal-sniffer.version} + + + checkAPIcompatibility + + + + check + + + + org.codehaus.mojo.signature + ${animal-sniffer.signature} + ${commons.animal-sniffer.signature.version} + + + - rc - - - apache.snapshots - Apache Development Snapshot Repository - ${commons.deployment.protocol}://people.apache.org/www/people.apache.org/repo/m2-snapshot-repository - - - apache.snapshots - Apache Development Snapshot Repository - ${commons.deployment.protocol}://people.apache.org/www/people.apache.org/repo/m2-snapshot-repository - - + jacoco + + + + src/site/resources/profile.jacoco + + - - maven-gpg-plugin + org.jacoco + jacoco-maven-plugin + ${commons.jacoco.version} + + + + + + + org.jacoco + jacoco-maven-plugin + ${commons.jacoco.version} + + + + + report + + + + + + + + + + cobertura + + + src/site/resources/profile.cobertura + + + + + + org.codehaus.mojo + cobertura-maven-plugin + ${commons.cobertura.version} + + + + + + + clirr + + + src/site/resources/profile.clirr + + + + + + org.codehaus.mojo + clirr-maven-plugin + ${commons.clirr.version} + + + + + + + + japicmp + + [1.8,) + + src/site/resources/profile.japicmp + + + + + + com.github.siom79.japicmp + japicmp-maven-plugin + + + verify + + cmp + + + + + + + + + + com.github.siom79.japicmp + japicmp-maven-plugin + ${commons.japicmp.version} + + + true + ${commons.japicmp.breakBuildOnBinaryIncompatibleModifications} + ${commons.japicmp.breakBuildOnSourceIncompatibleModifications} + + true + true + true + ${commons.japicmp.ignoreMissingClasses} + + + METHOD_NEW_DEFAULT + true + true + PATCH + + + + + + + + + + + + release + + + + maven-install-plugin - ${gpg.passphrase} + true + + + maven-release-plugin + + + -Prelease + + + + maven-javadoc-plugin + + + create-javadoc-jar + + javadoc + jar + + package + + + + ${maven.compiler.source} + ${commons.compiler.javadoc} + + + + maven-assembly-plugin + ${commons.assembly-plugin.version} + true + + + + single + + + verify + + + + + + maven-gpg-plugin sign-artifacts @@ -357,64 +1555,441 @@ - maven-source-plugin + org.apache.commons + commons-release-plugin - create-source-jar + clean-staging + clean - jar + clean-staging + + + + detatch-distributions + verify + + detach-distributions + + + + stage-distributions + deploy + + stage-distributions + + + + + + + apache-release + + + + maven-release-plugin + + apache-release + + - maven-javadoc-plugin + org.apache.maven.plugins + maven-source-plugin - create-javadoc-jar + attach-test-sources - jar + test-jar - - ${maven.compile.source} - - + + maven-install-plugin + + true + + org.apache.maven.plugins - maven-remote-resources-plugin + maven-jar-plugin - process + test-jar - - - org.apache:apache-jar-resource-bundle:1.3 - - - - + + + java-1.3 + + true + 1.3 + ${JAVA_1_3_HOME}/bin/javac + ${JAVA_1_3_HOME}/bin/javadoc + ${JAVA_1_3_HOME}/bin/java + + - - 1.3 - 1.3 + + + java-1.4 + + true + 1.4 + ${JAVA_1_4_HOME}/bin/javac + ${JAVA_1_4_HOME}/bin/javadoc + ${JAVA_1_4_HOME}/bin/java + + 2.11 + + - scp + + java-1.5 + + true + 1.5 + ${JAVA_1_5_HOME}/bin/javac + ${JAVA_1_5_HOME}/bin/javadoc + ${JAVA_1_5_HOME}/bin/java + + - + + + java-1.6 + + true + 1.6 + ${JAVA_1_6_HOME}/bin/javac + ${JAVA_1_6_HOME}/bin/javadoc + ${JAVA_1_6_HOME}/bin/java + + + + + + java-1.7 + + true + 1.7 + ${JAVA_1_7_HOME}/bin/javac + ${JAVA_1_7_HOME}/bin/javadoc + ${JAVA_1_7_HOME}/bin/java + + + + + + java-1.8 + + true + 1.8 + ${JAVA_1_8_HOME}/bin/javac + ${JAVA_1_8_HOME}/bin/javadoc + ${JAVA_1_8_HOME}/bin/java + + + + + + java-1.9 + + true + 1.9 + ${JAVA_1_9_HOME}/bin/javac + ${JAVA_1_9_HOME}/bin/javadoc + ${JAVA_1_9_HOME}/bin/java + + + + + + java-1.10 + + true + 1.10 + ${JAVA_1_10_HOME}/bin/javac + ${JAVA_1_10_HOME}/bin/javadoc + ${JAVA_1_10_HOME}/bin/java + + + + + + java-1.11 + + true + 1.11 + ${JAVA_1_11_HOME}/bin/javac + ${JAVA_1_11_HOME}/bin/javadoc + ${JAVA_1_11_HOME}/bin/java + + + + + + java-1.12 + + true + 1.12 + ${JAVA_1_12_HOME}/bin/javac + ${JAVA_1_12_HOME}/bin/javadoc + ${JAVA_1_12_HOME}/bin/java + + + + + + java-1.13 + + true + 1.13 + ${JAVA_1_13_HOME}/bin/javac + ${JAVA_1_13_HOME}/bin/javadoc + ${JAVA_1_13_HOME}/bin/java + + + + + + + + test-deploy + + id::default::file:target/deploy + true + + + + + + release-notes + + + + org.apache.maven.plugins + maven-changes-plugin + ${commons.changes.version} + + + src/changes + true + ${changes.announcementDirectory} + ${changes.announcementFile} + + ${commons.release.version} + + + + + create-release-notes + generate-resources + + announcement-generate + + + + + + + + + + + svn-buildnumber + + + !buildNumber.skip + !true + + + + + + org.codehaus.mojo + buildnumber-maven-plugin + + + generate-resources + + create + + + + + + true + + ?????? + false + false + + + + + + + + javasvn + + + + org.codehaus.mojo + buildnumber-maven-plugin + + + javasvn + + + + + + + + + jdk7-plugin-fix-version + + [1.7,1.8) + + + 3.5.1 + 1.17 + 3.5.0 + + + + + + site-basic + + true + true + true + true + true + true + true + true + true + true + true + + + + + travis-cobertura + + + + org.codehaus.mojo + cobertura-maven-plugin + ${commons.cobertura.version} + + + xml + + + + + org.eluder.coveralls + coveralls-maven-plugin + ${commons.coveralls.version} + + ${commons.coveralls.timestampFormat} + + + + + + + + travis-jacoco + + + + org.jacoco + jacoco-maven-plugin + ${commons.jacoco.version} + + + org.eluder.coveralls + coveralls-maven-plugin + ${commons.coveralls.version} + + ${commons.coveralls.timestampFormat} + + + + + + +
diff --git a/spec/data/commons-logging/pom.xml b/spec/data/commons-logging/pom.xml index e4b45031..305b2c15 100644 --- a/spec/data/commons-logging/pom.xml +++ b/spec/data/commons-logging/pom.xml @@ -1,504 +1,833 @@ - - + org.apache.commons commons-parent - 5 + 72 4.0.0 commons-logging commons-logging - Commons Logging - 1.1.1 - Commons Logging is a thin adapter allowing configurable bridging to other, - well known logging systems. - http://commons.apache.org/logging - + Apache Commons Logging + 1.3.4 + Apache Commons Logging is a thin adapter allowing configurable bridging to other, + well-known logging systems. + https://commons.apache.org/proper/commons-logging/ + + java18 + 1.8 + ${commons.logging.javaversion} + ${commons.logging.javaversion} + logging + org.apache.commons.logging + 1.3.4 + 1.3.5 + 1.3.3 + true + LOGGING + 12310484 + + RC1 + true + + 3.2.1 + + filesystem + 2.23.1 + 1.3.14 + 2.0.16 + 1.13.0 + + javax.servlet;version="[2.1.0, 5.0.0)";resolution:=optional, + org.apache.avalon.framework.logger;version="[4.1.3, 4.1.5]";resolution:=optional, + org.apache.log;version="[1.0.1, 1.0.1]";resolution:=optional, + org.apache.log4j;version="[1.2.15, 2.0.0)";resolution:=optional, + org.apache.logging.log4j;version="[2.0, 4.0)";resolution:=optional, + org.apache.logging.log4j.spi;version="[2.0, 4.0)";resolution:=optional, + org.apache.logging.log4j.util;version="[2.0, 4.0)";resolution:=optional, + org.slf4j;version="[1.7, 3)";resolution:=optional, + org.slf4j.spi;version="[1.7, 3)";resolution:=optional + + 2024-08-16T12:44:34Z + + true + 0.42 + 0.52 + 0.61 + 0.34 + 0.44 + 0.42 + JIRA - http://issues.apache.org/jira/browse/LOGGING + https://issues.apache.org/jira/browse/LOGGING - 2001 - - - - morgand - Morgan Delagrange - morgand at apache dot org - Apache - - Java Developer - - - - rwaldhoff - Rodney Waldhoff - rwaldhoff at apache org - Apache Software Foundation - - - craigmcc - Craig McClanahan - craigmcc at apache org - Apache Software Foundation - - - sanders - Scott Sanders - sanders at apache dot org - Apache Software Foundation - - - rdonkin - Robert Burrell Donkin - rdonkin at apache dot org - Apache Software Foundation - - - donaldp - Peter Donald - donaldp at apache dot org - - - costin - Costin Manolache - costin at apache dot org - Apache Software Foundation - - - rsitze - Richard Sitze - rsitze at apache dot org - Apache Software Foundation - - - baliuka - Juozas Baliuka - baliuka@apache.org - - Java Developer - - - - skitching - Simon Kitching - skitching@apache.org - Apache Software Foundation - - - dennisl - Dennis Lundberg - dennisl@apache.org - Apache Software Foundation - - - bstansberry - Brian Stansberry - - - - scm:svn:http://svn.apache.org/repos/asf/commons/proper/logging/tags/commons-logging-1.1.1 - scm:svn:https://svn.apache.org/repos/asf/commons/proper/logging/tags/commons-logging-1.1.1 - http://svn.apache.org/repos/asf/commons/proper/logging/tags/commons-logging-1.1.1 + scm:git:https://gitbox.apache.org/repos/asf/commons-logging + scm:git:https://gitbox.apache.org/repos/asf/commons-logging + https://gitbox.apache.org/repos/asf/commons-logging - - src/java - src/test - - - - src/test - false - - **/*.properties - - - - + + clean verify apache-rat:check japicmp:cmp javadoc:javadoc checkstyle:check pmd:check - - + org.apache.maven.plugins maven-jar-plugin - - - src/conf/MANIFEST.MF - - - testjar + + create-test-jar package test-jar - - commons-logging - - - - - - - org.apache.maven.plugins - maven-antrun-plugin - 1.1 - - apijar + create-api-jar package - - - - - - - - - - - - - - - - - - - run + jar + + api + + org/apache/commons/logging/*.class + org/apache/commons/logging/impl/LogFactoryImpl*.class + org/apache/commons/logging/impl/WeakHashtable*.class + org/apache/commons/logging/impl/SimpleLog*.class + org/apache/commons/logging/impl/NoOpLog*.class + org/apache/commons/logging/impl/Jdk14Logger.class + META-INF/LICENSE.txt + META-INF/NOTICE.txt + + + **/package.html + + - adaptersjar + create-adapters-jar package - - - - - - - - - - - - - - - - - run + jar + + adapters + + org/apache/commons/logging/impl/**.class + META-INF/LICENSE.txt + META-INF/NOTICE.txt + + + org/apache/commons/logging/impl/WeakHashtable*.class + org/apache/commons/logging/impl/LogFactoryImpl*.class + + + + + + + org.apache.commons.logging + + + + + + org.apache.maven.plugins + maven-antrun-plugin + site.resources site - + - - - - - + run - + + + + org.apache.maven.plugins + maven-surefire-plugin + + true + + org.codehaus.mojo - build-helper-maven-plugin - 1.0 + cobertura-maven-plugin + ${commons.cobertura.version} + + true + + + + org.moditect + moditect-maven-plugin - attach-artifacts - package - - attach-artifact - + add-module-infos - - - ${project.build.directory}/${project.artifactId}-adapters-${project.version}.jar - jar - adapters - - - ${project.build.directory}/${project.artifactId}-api-${project.version}.jar - jar - api - - + + + + static java.logging; + *; + + + - - - org.apache.maven.plugins - maven-release-plugin - 2.0-beta-6 - - - site deploy - - -Prelease - - - org.apache.maven.plugins - maven-surefire-plugin + maven-failsafe-plugin + - - **/AvalonLoggerTestCase.java - + false - integration-test - integration-test - test + integration-test + verify + ${failsafe.runorder} + + ch.qos.logback:* + org.apache.logging.log4j:* + org.slf4j:* + + + org/apache/commons/logging/log4j/log4j12/** + org/apache/commons/logging/log4j2/** + org/apache/commons/logging/slf4j/** + org/apache/commons/logging/serviceloader/** + **/*TestCase.java - + - - commons-logging - target/${project.build.finalName}.jar - - - commons-logging-api - target/${project.artifactId}-api-${project.version}.jar - - - commons-logging-adapters - target/${project.artifactId}-adapters-${project.version}.jar - - - testclasses - target/commons-logging-tests.jar - - + ${org.apache.logging.log4j:log4j-1.2-api:jar} + ${org.apache.logging.log4j:log4j-api:jar} + ${logkit:logkit:jar} + ${javax.servlet:javax.servlet-api:jar} + target/${project.build.finalName}.jar + target/${project.build.finalName}-api.jar + target/${project.build.finalName}-adapters.jar + target/${project.build.finalName}-tests.jar + ${org.apache.commons:commons-lang3:jar} + + + + + + serviceLoader-test + + integration-test + + + + ${project.build.testOutputDirectory}/serviceloader + + + org/apache/commons/logging/serviceloader/*TestCase.java + + + + + + log4j-test + + integration-test + + + + + org.apache.logging.log4j + log4j-core + ${log4j2.version} + + + + org/apache/commons/logging/log4j2/*TestCase.java + + + + org.apache.logging.log4j.core.impl.ReusableLogEventFactory + + + + + + log4j12-test + + integration-test + + + + + org.apache.logging.log4j + log4j-1.2-api + ${log4j2.version} + + + org.apache.logging.log4j + log4j-api + ${log4j2.version} + + + org.apache.logging.log4j + log4j-core + ${log4j2.version} + + + + org/apache/commons/logging/log4j/log4j12/*TestCase.java + + + + org.apache.logging.log4j.core.impl.ReusableLogEventFactory + ${org.apache.logging.log4j:log4j-1.2-api:jar} + ${org.apache.logging.log4j:log4j-api:jar} + ${org.apache.logging.log4j:log4j-core:jar} + target/${project.build.finalName}.jar + target/${project.build.finalName}-api.jar + target/${project.build.finalName}-tests.jar + + org.apache.commons.logging.impl.LogFactoryImpl + + + + + + slf4j-test + + integration-test + + + + + ch.qos.logback + logback-classic + ${logback.version} + test + + + + org.apache.logging.log4j:* + + + org/apache/commons/logging/slf4j/*TestCase.java + + + + + + log4j-to-slf4j-test + + integration-test + + + + + org.apache.logging.log4j + log4j-to-slf4j + ${log4j2.version} + + + + org.slf4j + slf4j-api + + + + + + org.apache.logging.log4j:log4j-core + org.apache.logging.log4j:log4j-core-test + + + org/apache/commons/logging/slf4j/*TestCase.java + - org.apache.maven.plugins maven-assembly-plugin - 2.2-beta-1 - false - - false - src/assembly/assembly.xml + src/main/assembly/bin.xml + src/main/assembly/src.xml gnu - + + + org.apache.maven.plugins + maven-dependency-plugin + + + + properties + + + + org.apache.maven.plugins - maven-site-plugin - 2.0-beta-5 + maven-scm-publish-plugin + + + javadocs + commons-logging-** + + - - - - - - - - ci - - - apache.snapshots - Apache Development Snapshot Repository - ${commons.deployment.protocol}://people.apache.org/www/people.apache.org/repo/m2-snapshot-repository - - - apache.snapshots - Apache Development Snapshot Repository - ${commons.deployment.protocol}://people.apache.org/www/people.apache.org/repo/m2-snapshot-repository - - - - - release - - - - - org.apache.maven.plugins - maven-assembly-plugin - - - - single - - package - - - - - org.apache.maven.plugins - maven-deploy-plugin - 2.3 + + org.apache.maven.plugins + maven-checkstyle-plugin + + ${basedir}/src/conf/checkstyle.xml + true + false + + + + org.apache.maven.plugins + maven-pmd-plugin + + 1.8 + + ${basedir}/src/conf/pmd.xml + + + + + com.github.spotbugs + spotbugs-maven-plugin + + src/conf/spotbugs-excludes.xml + + + com.h3xstream.findsecbugs + findsecbugs-plugin + ${findsecbugs.version} + + + + + + + org.apache.maven.plugins + maven-enforcer-plugin + + + ban-jcl-clones + + enforce + - - ${deploy.altRepository} - true + + + + org.slf4j:jcl-over-slf4j + org.springframework:spring-jcl + + + - - - - - - + + + + + + + + org.apache.felix + maven-bundle-plugin + + + =1.0.0)(!(version>=2.0.0)))";resolution:=optional, + osgi.serviceloader;filter:="(osgi.serviceloader=org.apache.commons.logging.LogFactory)";osgi.serviceloader="org.apache.commons.logging.LogFactory";resolution:=optional;cardinality:=multiple + ]]> + + + + + + - junit - junit - 3.8.1 + org.junit.vintage + junit-vintage-engine test - log4j - log4j - 1.2.12 + avalon-framework + avalon-framework + 4.1.5 + true + + + org.apache.logging.log4j + log4j-1.2-api + ${log4j2.version} + true + + + org.apache.logging.log4j + log4j-api + ${log4j2.version} true logkit logkit - 1.0.1 + 2.0 true - avalon-framework - avalon-framework - 4.1.3 + org.slf4j + slf4j-api + ${slf4j.version} true javax.servlet - servlet-api - 2.3 + javax.servlet-api + 4.0.1 provided true + + org.apache.commons + commons-lang3 + 3.16.0 + test + + + org.apache.logging.log4j + log4j-core + ${log4j2.version} + test + + + org.apache.logging.log4j + log4j-core-test + ${log4j2.version} + test + + + + org.springframework + spring-jcl + + + + + ch.qos.logback + logback-classic + ${logback.version} + test + + + ch.qos.logback + logback-core + ${logback.version} + test + + + ch.qos.logback + logback-core + ${logback.version} + test-jar + test + - - - org.codehaus.mojo - clirr-maven-plugin - 2.1.1 + com.github.spotbugs + spotbugs-maven-plugin + + src/conf/spotbugs-excludes.xml + + + com.h3xstream.findsecbugs + findsecbugs-plugin + ${findsecbugs.version} + + + - org.codehaus.mojo - jdepend-maven-plugin - 2.0-beta-1 + org.apache.maven.plugins + maven-pmd-plugin + + 1.8 + + ${basedir}/src/conf/pmd.xml + + - apache.website - ${commons.deployment.protocol}://people.apache.org/www/commons.apache.org/logging/ + Apache Commons Site + scm:svn:https://svn.apache.org/repos/infra/websites/production/commons/content/proper/commons-logging/ - - - 1.2 - 1.1 - + + + baliuka + Juozas Baliuka + baliuka@apache.org + + Java Developer + + + + morgand + Morgan Delagrange + morgand@apache.org + Apache + + Java Developer + + + + donaldp + Peter Donald + donaldp@apache.org + + + rdonkin + Robert Burrell Donkin + rdonkin@apache.org + The Apache Software Foundation + + + skitching + Simon Kitching + skitching@apache.org + The Apache Software Foundation + + + dennisl + Dennis Lundberg + dennisl@apache.org + The Apache Software Foundation + + + costin + Costin Manolache + costin@apache.org + The Apache Software Foundation + + + craigmcc + Craig McClanahan + craigmcc@apache.org + The Apache Software Foundation + + + tn + Thomas Neidhart + tn@apache.org + The Apache Software Foundation + + + sanders + Scott Sanders + sanders@apache.org + The Apache Software Foundation + + + rsitze + Richard Sitze + rsitze@apache.org + The Apache Software Foundation + + + bstansberry + Brian Stansberry + + + rwaldhoff + Rodney Waldhoff + rwaldhoff@apache.org + The Apache Software Foundation + + + ggregory + Gary Gregory + ggregory at apache.org + https://www.garygregory.com + The Apache Software Foundation + https://www.apache.org/ + + PMC Member + + America/New_York + + https://people.apache.org/~ggregory/img/garydgregory80.png + + + + + + Matthew P. Del Buono + + Provided patch + + + + Vince Eagen + vince256 at comcast dot net + + Lumberjack logging abstraction + + + + Peter Lawrey + + Provided patch + + + + Berin Loritsch + bloritsch at apache dot org + + Lumberjack logging abstraction + JDK 1.4 logging abstraction + + + + Philippe Mouawad + + Provided patch + + + + Neeme Praks + neeme at apache dot org + + Avalon logging abstraction + + + + Arturo Bernal + arturobernalg@yahoo.com + + diff --git a/spec/data/struts-apps/pom.xml b/spec/data/struts-apps/pom.xml index 18ca18a8..bfacd353 100644 --- a/spec/data/struts-apps/pom.xml +++ b/spec/data/struts-apps/pom.xml @@ -1,157 +1,239 @@ - - 4.0.0 + + org.apache.struts - struts2-parent - 2.3.14 + struts-master + 15 - org.apache.struts - struts2-apps + + 4.0.0 + struts2-parent + 6.7.0 pom - Webapps - - blank - jboss-blank - mailreader - portlet - showcase - rest-showcase - + Struts 2 + https://struts.apache.org/ + Apache Struts 2 + + 2000 + + - scm:svn:http://svn.apache.org/repos/asf/struts/struts2/tags/STRUTS_2_3_14/apps - scm:svn:https://svn.apache.org/repos/asf/struts/struts2/tags/STRUTS_2_3_14/apps - http://svn.apache.org/viewcvs.cgi/struts/struts2/tags/STRUTS_2_3_14/apps + scm:git:https://gitbox.apache.org/repos/asf/struts.git + scm:git:https://gitbox.apache.org/repos/asf/struts.git + https://github.com/apache/struts/ + STRUTS_6_7_0 + + JIRA + https://issues.apache.org/jira/projects/WW + + + + Jenkins + https://builds.apache.org/job/Struts/ + + + mail + +
dev@struts.apache.org
+
+
+
+
+ + + + struts-site + Apache Struts + https://struts.apache.org/maven/ + + + + + bom + core + plugins + bundles + apps + + + + + The Apache Software License, Version 2.0 + https://www.apache.org/licenses/LICENSE-2.0.txt + repo + + + + + + Apache Software Foundation + https://www.apache.org + + + + UTF-8 + 2024-11-17T09:51:57Z + 1.8 + 1.8 + + + 9.7.1 + 2.18.0 + 2.24.1 + 3.3.5 + 2.0.16 + 6.2.1 + 3.0.8 + 1.0.7 + 3.5.1 + 6.2.4.Final + 2.3.33 + + + 1.9 + + + apache + apache_struts + ${project.artifactId} + https://sonarcloud.io + + -Duser.language=en -Duser.country=US -Duser.region=US + + - hostedqa - - - com.hostedqa - hostedqa-remote-ant - 1.7 - test - - - - - codehaus - codehaus - http://repository.codehaus.org - - - maven-hostedqa - maven-hostedqa - - true - always - ignore - - - true - - http://maven.hostedqa.com - - + includeAssembly + + + !skipAssembly + + + + assembly + + + + dependency-check - - - - src/main/java - - **/*.properties - **/*.xml - - - - maven-antrun-plugin - org.apache.maven.plugins + org.owasp + dependency-check-maven - package + verify - run + check - - - - - - - - - - - com.hostedqa - hostedqa-remote-ant - 1.7 - - - release + jdk8 - - release - + [1.8,) + + + + + org.apache.maven.plugins + maven-javadoc-plugin + + none + + + + + + + + jdk17 + + [17,) + + + + + + org.apache.maven.plugins + maven-surefire-plugin + + + --illegal-access=permit + --add-opens java.base/java.lang=ALL-UNNAMED + --add-opens java.base/java.util=ALL-UNNAMED + -Dillegal-access=permit + @{argLine} + + + + + + + + + coverage - true - org.codehaus.mojo - rat-maven-plugin + org.jacoco + jacoco-maven-plugin + 0.8.12 - verify + prepare-agent - check + prepare-agent + prepare-agent-integration + + + + report + + report + report-integration - false - - - rat.analysis.license.ApacheSoftwareLicense20 - - - - pom.xml - - - src/** - + + XML + @@ -162,67 +244,904 @@ + + + + org.apache.maven.plugins + maven-project-info-reports-plugin + 3.7.0 + + + org.apache.maven.plugins + maven-surefire-plugin + ${maven-surefire-plugin.version} + + + org.apache.maven.surefire + surefire-junit47 + ${maven-surefire-plugin.version} + + + + @{argLine} + + **/*Test.java + + + **/TestBean.java + + + + junit + false + + + + + + org.apache.maven.plugins + maven-war-plugin + 3.4.0 + + + org.apache.felix + maven-bundle-plugin + 5.1.9 + + + org.apache.maven.plugins + maven-dependency-plugin + 3.8.0 + + + org.apache.maven.plugins + maven-source-plugin + 3.3.1 + + + org.apache.rat + apache-rat-plugin + 0.15 + + true + true + true + false + + + + + + + + pom.xml + src/** + + + Jenkinsfile + src/main/groovy/Jenkinsfile.gdsl + src/main/resources/org/apache/struts2/static/domTT.js + src/site/resources/tags/**/*.html + src/main/resources/*LICENSE.txt + src/test/resources/**/*.txt + src/main/webapp/**/*.css + src/main/webapp/**/*.map + src/main/webapp/**/*.js + src/main/webapp/**/*.svg + src/main/webapp/**/*.txt + src/main/resources/**/docs-urls.txt + src/etc/header.txt + src/main/resources/static/css/**/*.css + src/main/resources/static/js/**/*.js + src/main/resources/docs.cfg + src/main/webapp/fonts/**/* + + + + + org.owasp + dependency-check-maven + 10.0.4 + + + src/etc/project-suppression.xml + + 7 + true + true + + + + org.apache.maven.plugins + maven-enforcer-plugin + 3.5.0 + + + enforce + + + + + + + enforce + + + + + + org.apache.maven.plugins + maven-wrapper-plugin + 3.3.2 + + + + - - maven-antrun-plugin + org.apache.maven.plugins + maven-release-plugin + 3.1.1 + + + maven-jar-plugin + + + ${project.build.outputDirectory}/META-INF/MANIFEST.MF + + + + + org.apache.felix + maven-bundle-plugin - copy-sources - process-sources - - - - - - - - - - + bundle-manifest + process-classes - run + manifest org.apache.maven.plugins - maven-war-plugin + maven-site-plugin + 3.20.0 - - - ${basedir}/src/main/resources - META-INF - - LICENSE.txt - NOTICE.txt - - - - WEB-INF/classes/LICENSE.txt,WEB-INF/classes/NOTICE.txt + false + + + org.apache.maven.doxia + doxia-core + 2.0.0 + + + org.apache.maven.doxia + doxia-module-markdown + 1.12.0 + + + + + org.apache.rat + apache-rat-plugin + + + prepare-package + + check + + + - ${project.artifactId} + install - - - - org.apache.struts - struts2-core - ${project.version} - - - - org.springframework - spring-test - ${struts2.springPlatformVersion} - test - - + + + + org.apache.maven.plugins + maven-project-info-reports-plugin + + false + + + + org.apache.maven.plugins + maven-javadoc-plugin + + + + javadoc + + + + + false + + + + org.apache.rat + apache-rat-plugin + + + org.owasp + dependency-check-maven + + Dependency Check + 11 + + + + + aggregate + + + + + + org.codehaus.mojo + versions-maven-plugin + 2.17.1 + + + + dependency-updates-report + plugin-updates-report + property-updates-report + + + + + + + + + + + + org.apache.struts + struts-annotations + 1.0.8 + + + + org.apache.struts + struts2-core + ${project.version} + + + org.apache.struts + struts2-spring-plugin + ${project.version} + + + org.apache.struts + struts2-bean-validation-plugin + ${project.version} + + + org.apache.struts + struts2-cdi-plugin + ${project.version} + + + org.apache.struts + struts2-portlet-plugin + ${project.version} + + + org.apache.struts + struts2-dwr-plugin + ${project.version} + + + org.apache.struts + struts2-portlet-tiles-plugin + ${project.version} + + + org.apache.struts + struts2-portlet-mocks-plugin + ${project.version} + + + org.apache.struts + struts2-junit-plugin + ${project.version} + + + org.apache.struts + struts2-convention-plugin + ${project.version} + + + org.apache.struts + struts2-tiles-plugin + ${project.version} + + + org.apache.struts + struts2-osgi-plugin + ${project.version} + + + org.apache.struts + struts2-javatemplates-plugin + ${project.version} + + + org.apache.struts + struts2-config-browser-plugin + ${project.version} + + + org.apache.struts + struts2-jasperreports-plugin + ${project.version} + + + org.apache.struts + struts2-jfreechart-plugin + ${project.version} + + + org.apache.struts + struts2-pell-multipart-plugin + ${project.version} + + + org.apache.struts + struts2-plexus-plugin + ${project.version} + + + org.apache.struts + struts2-rest-plugin + ${project.version} + + + org.apache.struts + struts2-sitemesh-plugin + ${project.version} + + + org.apache.struts + struts2-testng-plugin + ${project.version} + + + org.apache.struts + struts2-oval-plugin + ${project.version} + + + org.apache.struts + struts2-json-plugin + ${project.version} + + + org.apache.struts + struts2-embeddedjsp-plugin + ${project.version} + + + org.apache.struts + struts2-gxp-plugin + ${project.version} + + + org.apache.struts + struts2-async-plugin + ${project.version} + + + org.apache.struts + struts2-osgi-admin-bundle + ${project.version} + + + org.apache.struts + struts2-osgi-demo-bundle + ${project.version} + + + org.apache.struts + struts2-velocity-plugin + ${project.version} + + + + org.apache.struts + struts2-xslt-plugin + ${project.version} + + + + org.freemarker + freemarker + ${freemarker.version} + + + + com.github.ben-manes.caffeine + caffeine + 2.9.3 + + + + org.apache.felix + org.apache.felix.framework + 6.0.3 + provided + + + + + org.apache.felix + org.apache.felix.main + 7.0.5 + + + org.apache.felix + org.apache.felix.shell + 1.4.3 + + + org.apache.felix + org.apache.felix.shell.tui + 1.4.1 + + + + org.directwebremoting + dwr + 3.0.2-RELEASE + + + + opensymphony + sitemesh + 2.5.0 + + + + + org.apache.velocity + velocity-engine-core + 2.3 + + + + org.apache.velocity.tools + velocity-tools-view + 3.1 + + + + org.apache.velocity.tools + velocity-tools-view-jsp + 3.1 + + + + ognl + ognl + ${ognl.version} + + + org.ow2.asm + asm + ${asm.version} + + + org.ow2.asm + asm-commons + ${asm.version} + + + + org.apache.commons + commons-digester3 + 3.2 + + + commons-logging + commons-logging + + + asm + asm + + + + + + junit + junit + 4.13.2 + + + + org.easymock + easymock + 5.4.0 + test + + + + org.awaitility + awaitility + 4.2.2 + test + + + + javax.servlet + javax.servlet-api + 3.1.0 + provided + + + + org.glassfish + javax.el + 3.0.1-b12 + + + + taglibs + standard + 1.1.2 + test + + + + javax.servlet + jstl + 1.2 + test + + + + org.apache.tomcat + tomcat-jasper + 8.5.53 + provided + + + + org.apache.tomcat + tomcat-api + 8.5.53 + provided + + + + javax.servlet.jsp + jsp-api + 2.1 + provided + + + + taglibs + request + 1.0.1 + test + + + + org.apache.tomcat + tomcat-juli + 8.5.53 + + + + + commons-logging + commons-logging + 1.3.4 + + + org.apache.commons + commons-collections4 + 4.4 + + + commons-fileupload + commons-fileupload + 1.5 + + + commons-io + commons-io + 2.15.1 + + + org.apache.commons + commons-lang3 + 3.17.0 + + + org.apache.commons + commons-text + 1.12.0 + + + commons-el + commons-el + 1.0 + + + org.apache.commons + commons-jci-fam + 1.1 + true + + + commons-beanutils + commons-beanutils + 1.9.4 + + + commons-validator + commons-validator + 1.9.0 + + + + + org.springframework + spring-core + ${spring.platformVersion} + + + org.springframework + spring-context + ${spring.platformVersion} + + + org.springframework + spring-aop + ${spring.platformVersion} + + + org.springframework + spring-aspects + ${spring.platformVersion} + + + org.springframework + spring-beans + ${spring.platformVersion} + + + org.springframework + spring-test + ${spring.platformVersion} + + + org.springframework + spring-context-support + ${spring.platformVersion} + + + org.springframework + spring-web + ${spring.platformVersion} + + + + mockobjects + mockobjects-core + 0.09 + test + + + mockobjects + mockobjects-jdk1.3 + 0.09 + test + + + mockobjects + mockobjects-alt-jdk1.3 + 0.09 + test + + + mockobjects + mockobjects-alt-jdk1.3-j2ee1.3 + 0.09 + test + + + mockobjects + mockobjects-jdk1.3-j2ee1.3 + 0.09 + test + + + + net.sourceforge.htmlunit + htmlunit + 2.70.0 + test + + + + jmock + jmock + 1.2.0 + test + + + + org.assertj + assertj-core + 3.26.3 + test + + + + org.mockito + mockito-core + 4.3.1 + test + + + + jmock + jmock-cglib + 1.2.0 + test + + + + org.slf4j + slf4j-api + ${slf4j.version} + + + org.slf4j + slf4j-simple + ${slf4j.version} + + + + org.apache.logging.log4j + log4j-api + ${log4j2.version} + + + org.apache.logging.log4j + log4j-core + ${log4j2.version} + + + org.apache.logging.log4j + log4j-jcl + ${log4j2.version} + + + org.apache.logging.log4j + log4j-slf4j-impl + ${log4j2.version} + + + org.apache.commons + commons-compress + 1.27.1 + + + + org.testng + testng + 7.5.1 + + + + net.sf.oval + oval + 3.2.1 + + + + com.thoughtworks.xstream + xstream + 1.4.21 + + + io.github.x-stream + mxparser + + + + + + io.github.x-stream + mxparser + 1.2.1 + + + javax.persistence + persistence-api + 1.0.2 + + + + org.mortbay.jetty + jetty + 6.1.26 + + + org.mortbay.jetty + jsp-2.1 + 6.1.26 + + + + + javax.portlet + portlet-api + 2.0 + + + + com.fasterxml.jackson.core + jackson-core + ${jackson.version} + + + com.fasterxml.jackson.core + jackson-databind + ${jackson.version} + + + com.fasterxml.jackson.dataformat + jackson-dataformat-xml + ${jackson.version} + + + + org.apache.juneau + juneau-marshall + 8.1.3 + + + + + javax.enterprise + cdi-api + 1.2 + + + + org.jboss.weld + weld-core + 2.4.8.Final + + + + org.jboss.weld.se + weld-se + 2.4.8.Final + + + + xerces + xercesImpl + 2.12.2 + test + + + +
diff --git a/spec/data/tomcat/pom.xml b/spec/data/tomcat/pom.xml index fb2c4709..cd0035c1 100644 --- a/spec/data/tomcat/pom.xml +++ b/spec/data/tomcat/pom.xml @@ -19,7 +19,7 @@ 4.0.0 org.apache.tomcat tomcat - 7.0.40 + 11.0.2 Binary distribution of Apache Tomcat http://tomcat.apache.org/ pom diff --git a/spec/lib/coarse/generate_all_subcommand_spec.rb b/spec/lib/coarse/generate_all_subcommand_spec.rb index 19bb4719..0d0fbcc9 100644 --- a/spec/lib/coarse/generate_all_subcommand_spec.rb +++ b/spec/lib/coarse/generate_all_subcommand_spec.rb @@ -2,12 +2,12 @@ describe "`tetra generate-all`", type: :aruba do it "generates specs and tarballs for a sample package, source archive workflow" do - archive_contents = File.read(File.join("spec", "data", "commons-collections4-4.4-src.zip")) + archive_contents = File.read(File.join("spec", "data", "#{Tetra::CCOLLECTIONS}.zip")) write_file("commons-collections.zip", archive_contents) # init project run_simple("tetra init commons-collections commons-collections.zip") - cd(File.join("commons-collections", "src", "commons-collections4-4.4-src")) + cd(File.join("commons-collections", "src", Tetra::CCOLLECTIONS)) # first dry-run, all normal @aruba_timeout_seconds = 240 @@ -58,7 +58,7 @@ end it "generates specs and tarballs for a sample package, manual source workflow" do - archive_contents = File.read(File.join("spec", "data", "commons-collections4-4.4-src.zip")) + archive_contents = File.read(File.join("spec", "data", "#{Tetra::CCOLLECTIONS}.zip")) write_file("commons-collections.zip", archive_contents) # init project @@ -79,7 +79,7 @@ expect(output_from("tetra change-sources ../commons-collections.zip")).to include("New sources committed") # second dry-run, all normal - cd(File.join("src", "commons-collections4-4.4-src")) + cd(File.join("src", Tetra::CCOLLECTIONS)) @aruba_timeout_seconds = 240 run_interactive("tetra dry-run") type("mvn package -DskipTests") diff --git a/spec/lib/coarse/generate_spec_subcommand_spec.rb b/spec/lib/coarse/generate_spec_subcommand_spec.rb index cd3b0884..a44b0d1e 100644 --- a/spec/lib/coarse/generate_spec_subcommand_spec.rb +++ b/spec/lib/coarse/generate_spec_subcommand_spec.rb @@ -2,7 +2,7 @@ describe "`tetra generate-spec`", type: :aruba do it "outputs a warning if source files are not found" do - archive_contents = File.read(File.join("spec", "data", "commons-collections4-4.4-src.zip")) + archive_contents = File.read(File.join("spec", "data", "#{Tetra::CCOLLECTIONS}.zip")) write_file("commons-collections.zip", archive_contents) run_simple("tetra init --no-archive commons-collections") @@ -10,7 +10,7 @@ cd("src") run_simple("unzip ../../commons-collections.zip") - cd("commons-collections4-4.4-src") + cd(Tetra::CCOLLECTIONS) run_simple("tetra change-sources --no-archive") expect(output_from("tetra change-sources --no-archive")).to include("New sources committed") diff --git a/spec/lib/coarse/init_subcommand_spec.rb b/spec/lib/coarse/init_subcommand_spec.rb index 95117efb..97850ba3 100644 --- a/spec/lib/coarse/init_subcommand_spec.rb +++ b/spec/lib/coarse/init_subcommand_spec.rb @@ -32,7 +32,7 @@ end it "inits a new project with a zip source file" do - archive_contents = File.read(File.join("spec", "data", "commons-collections4-4.4-src.zip")) + archive_contents = File.read(File.join("spec", "data", "#{Tetra::CCOLLECTIONS}.zip")) write_file("commons-collections.zip", archive_contents) run_simple("tetra init commons-collections commons-collections.zip") @@ -48,8 +48,8 @@ cd("commons-collections") check_directory_presence([".git", "kit", "src", "packages"], true) - check_directory_presence([File.join("src", "commons-collections4-4.4-src")], true) - check_file_presence([File.join("src", "commons-collections4-4.4-src", "pom.xml")], true) + check_directory_presence([File.join("src", Tetra::CCOLLECTIONS)], true) + check_file_presence([File.join("src", Tetra::CCOLLECTIONS, "pom.xml")], true) check_file_presence([File.join("packages", "commons-collections", "commons-collections.zip")], true) @@ -58,7 +58,7 @@ end it "inits a new project with a tar source file" do - archive_contents = File.read(File.join("spec", "data", "commons-collections4-4.4-src.tar.gz")) + archive_contents = File.read(File.join("spec", "data", "#{Tetra::CCOLLECTIONS}.tar.gz")) write_file("commons-collections.tar.gz", archive_contents) run_simple("tetra init commons-collections commons-collections.tar.gz") @@ -74,8 +74,8 @@ cd("commons-collections") check_directory_presence([".git", "kit", "src", "packages"], true) - check_directory_presence([File.join("src", "commons-collections4-4.4-src")], true) - check_file_presence([File.join("src", "commons-collections4-4.4-src", "pom.xml")], true) + check_directory_presence([File.join("src", Tetra::CCOLLECTIONS)], true) + check_file_presence([File.join("src", Tetra::CCOLLECTIONS, "pom.xml")], true) check_file_presence([File.join("packages", "commons-collections", "commons-collections.tar.gz")], true) diff --git a/spec/lib/fine/pom_getter_spec.rb b/spec/lib/fine/pom_getter_spec.rb index 70b0f102..68fc4f6a 100644 --- a/spec/lib/fine/pom_getter_spec.rb +++ b/spec/lib/fine/pom_getter_spec.rb @@ -8,7 +8,7 @@ describe "#get_pom" do it "gets the pom from a jar" do dir_path = File.join("spec", "data", "commons-logging") - jar_path = File.join(dir_path, "commons-logging-1.1.1.jar") + jar_path = File.join(dir_path, "commons-logging-1.3.4.jar") path, status = pom_getter.get_pom(jar_path) expect(status).to eq :found_in_jar expect(File.exist?(path)).to be_truthy diff --git a/spec/lib/fine/pom_spec.rb b/spec/lib/fine/pom_spec.rb index 0da19e17..24b574ee 100644 --- a/spec/lib/fine/pom_spec.rb +++ b/spec/lib/fine/pom_spec.rb @@ -11,7 +11,7 @@ it "reads the group id" do expect(commons_pom.group_id).to eq "commons-logging" expect(nailgun_pom.group_id).to eq "com.martiansoftware" - expect(struts_apps_pom.group_id).to eq "org.apache.struts" + expect(struts_apps_pom.group_id).to eq "" end end @@ -19,31 +19,30 @@ it "reads the artifact id" do expect(commons_pom.artifact_id).to eq "commons-logging" expect(nailgun_pom.artifact_id).to eq "nailgun-all" - expect(struts_apps_pom.artifact_id).to eq "struts2-apps" + expect(struts_apps_pom.artifact_id).to eq "struts2-parent" end end describe "#name" do it "reads artifact name" do - expect(commons_pom.name).to eq "Commons Logging" + expect(commons_pom.name).to eq "Apache Commons Logging" expect(nailgun_pom.name).to eq "nailgun-all" - expect(struts_apps_pom.name).to eq "Webapps" + expect(struts_apps_pom.name).to eq "Struts 2" end end describe "#version" do it "reads the version" do - expect(commons_pom.version).to eq "1.1.1" + expect(commons_pom.version).to eq "1.3.4" expect(nailgun_pom.version).to eq "0.9.1" - expect(struts_apps_pom.version).to eq "" + expect(struts_apps_pom.version).to eq "6.7.0" end end # rubocop:disable Layout/LineLength, Layout/TrailingWhitespace describe "#description" do it "reads the description" do - expect(commons_pom.description).to eq "Commons Logging is a thin adapter allowing configurable bridging to other, - well known logging systems." + expect(commons_pom.description).to eq "Apache Commons Logging is a thin adapter allowing configurable bridging to other,\n well-known logging systems." expect(nailgun_pom.description).to eq " Nailgun is a client, protocol, and server for running Java programs from the command line without incurring the JVM startup overhead. @@ -52,16 +51,16 @@ This project contains the server and examples. " - expect(struts_apps_pom.description).to eq "" + expect(struts_apps_pom.description).to eq "Apache Struts 2" end end # rubocop:enable Layout/LineLength, Layout/TrailingWhitespace describe "#url" do it "reads the url" do - expect(commons_pom.url).to eq "http://commons.apache.org/logging" + expect(commons_pom.url).to eq "https://commons.apache.org/proper/commons-logging/" expect(nailgun_pom.url).to eq "http://martiansoftware.com/nailgun" - expect(struts_apps_pom.url).to eq "" + expect(struts_apps_pom.url).to eq "https://struts.apache.org/" end end @@ -69,7 +68,7 @@ it "reads the license name" do expect(commons_pom.license_name).to eq "" expect(nailgun_pom.license_name).to eq "The Apache Software License, Version 2.0" - expect(struts_apps_pom.license_name).to eq "" + expect(struts_apps_pom.license_name).to eq "The Apache Software License, Version 2.0" end end @@ -77,26 +76,23 @@ it "reads the dependency maven ids" do expect(commons_pom.runtime_dependency_ids).to eq [] expect(nailgun_pom.runtime_dependency_ids).to eq [] - expect(struts_apps_pom.runtime_dependency_ids).to eq [["org.apache.struts", "struts2-core", "${project.version}"]] + expect(struts_apps_pom.runtime_dependency_ids).to eq [] end end describe "#scm_connection" do it "reads the SCM connection address" do - expect(commons_pom.scm_connection).to eq "scm:svn:http://svn.apache.org/repos/asf/commons/proper/" \ - "logging/tags/commons-logging-1.1.1" + expect(commons_pom.scm_connection).to eq "scm:git:https://gitbox.apache.org/repos/asf/commons-logging" expect(nailgun_pom.scm_connection).to eq "scm:git:git@github.com:martylamb/nailgun.git" - expect(struts_apps_pom.scm_connection).to eq "scm:svn:http://svn.apache.org/repos/asf/struts/struts2/" \ - "tags/STRUTS_2_3_14/apps" + expect(struts_apps_pom.scm_connection).to eq "scm:git:https://gitbox.apache.org/repos/asf/struts.git" end end describe "#scm_url" do it "reads the SCM connection url" do - expect(commons_pom.scm_url).to eq "http://svn.apache.org/repos/asf/commons/proper/logging/tags/" \ - "commons-logging-1.1.1" + expect(commons_pom.scm_url).to eq "https://gitbox.apache.org/repos/asf/commons-logging" expect(nailgun_pom.scm_url).to eq "scm:git:git@github.com:martylamb/nailgun.git" - expect(struts_apps_pom.scm_url).to eq "http://svn.apache.org/viewcvs.cgi/struts/struts2/tags/STRUTS_2_3_14/apps" + expect(struts_apps_pom.scm_url).to eq "https://github.com/apache/struts/" end end end diff --git a/spec/lib/fine/tar_spec.rb b/spec/lib/fine/tar_spec.rb index cef9a54d..2296f3c8 100644 --- a/spec/lib/fine/tar_spec.rb +++ b/spec/lib/fine/tar_spec.rb @@ -5,7 +5,7 @@ describe Tetra::Tar do include Tetra::Mockers - let(:zipfile) { File.join("spec", "data", "commons-collections4-4.4-src.tar.gz") } + let(:zipfile) { File.join("spec", "data", "#{Tetra::CCOLLECTIONS}.tar.gz") } let(:tar) { Tetra::Tar.new } describe "#decompress" do @@ -15,7 +15,7 @@ files = Find.find(dir).to_a - expect(files).to include("#{dir}/commons-collections4-4.4-src/DEVELOPERS-GUIDE.html") + expect(files).to include("#{dir}/#{Tetra::CCOLLECTIONS}/DEVELOPERS-GUIDE.html") end end end diff --git a/spec/lib/fine/unzip_spec.rb b/spec/lib/fine/unzip_spec.rb index aa0f3804..f6df5e57 100644 --- a/spec/lib/fine/unzip_spec.rb +++ b/spec/lib/fine/unzip_spec.rb @@ -5,7 +5,7 @@ describe Tetra::Unzip do include Tetra::Mockers - let(:zipfile) { File.join("spec", "data", "commons-collections4-4.4-src.zip") } + let(:zipfile) { File.join("spec", "data", "#{Tetra::CCOLLECTIONS}.zip") } let(:unzip) { Tetra::Unzip.new } describe "#decompress" do @@ -15,7 +15,7 @@ files = Find.find(dir).to_a - expect(files).to include("#{dir}/commons-collections4-4.4-src/DEVELOPERS-GUIDE.html") + expect(files).to include("#{dir}/#{Tetra::CCOLLECTIONS}/DEVELOPERS-GUIDE.html") end end end