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/lib/fine/pom_spec.rb b/spec/lib/fine/pom_spec.rb index 8d124c15..f266eece 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,7 +19,7 @@ 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 @@ -27,7 +27,7 @@ it "reads artifact name" do 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 @@ -35,7 +35,7 @@ it "reads the version" do 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 @@ -44,14 +44,14 @@ it "reads the description" do 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. - Programs run in the server (which is implemented in Java), and are + Nailgun is a client, protocol, and server for running Java programs + from the command line without incurring the JVM startup overhead. + Programs run in the server (which is implemented in Java), and are triggered by the client (written in C), which handles all I/O. - + 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 @@ -60,7 +60,7 @@ it "reads the url" do 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 @@ -68,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 @@ -76,7 +76,7 @@ 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 @@ -84,8 +84,7 @@ it "reads the SCM connection address" do 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 @@ -93,7 +92,7 @@ it "reads the SCM connection url" do 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