(struts) branch master updated (1e2517b59 -> 6b2e5ecd9)
This is an automated email from the ASF dual-hosted git repository. lukaszlenart pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/struts.git from 1e2517b59 Merge pull request #1117 from apache/WW-3714-overriding-behaviour add cb08d18b5 Bump github/codeql-action from 3.27.0 to 3.27.1 new 6b2e5ecd9 Merge pull request #1125 from apache/dependabot/github_actions/github/codeql-action-3.27.1 The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: .github/workflows/codeql.yml | 6 +++--- .github/workflows/scorecards-analysis.yaml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-)
(struts) 01/01: Merge pull request #1125 from apache/dependabot/github_actions/github/codeql-action-3.27.1
This is an automated email from the ASF dual-hosted git repository. lukaszlenart pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/struts.git commit 6b2e5ecd9b94229f0ae445b89648d428ce06bc3a Merge: 1e2517b59 cb08d18b5 Author: Lukasz Lenart AuthorDate: Mon Nov 11 07:37:48 2024 +0100 Merge pull request #1125 from apache/dependabot/github_actions/github/codeql-action-3.27.1 Bump github/codeql-action from 3.27.0 to 3.27.1 .github/workflows/codeql.yml | 6 +++--- .github/workflows/scorecards-analysis.yaml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-)
(struts) branch dependabot/github_actions/github/codeql-action-3.27.1 deleted (was cb08d18b5)
This is an automated email from the ASF dual-hosted git repository. lukaszlenart pushed a change to branch dependabot/github_actions/github/codeql-action-3.27.1 in repository https://gitbox.apache.org/repos/asf/struts.git was cb08d18b5 Bump github/codeql-action from 3.27.0 to 3.27.1 The revisions that were on this branch are still contained in other references; therefore, this change does not discard any commits from the repository.
(struts) branch dependabot/github_actions/github/codeql-action-3.27.1 created (now cb08d18b5)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch dependabot/github_actions/github/codeql-action-3.27.1 in repository https://gitbox.apache.org/repos/asf/struts.git at cb08d18b5 Bump github/codeql-action from 3.27.0 to 3.27.1 No new revisions were added by this update.
(struts) 01/01: WW-5455 Defines a new plugin to support Jasper Reports 7
This is an automated email from the ASF dual-hosted git repository. lukaszlenart pushed a commit to branch feature/WW-5455-jasperreports7 in repository https://gitbox.apache.org/repos/asf/struts.git commit 1b02decc721c2e243a2d9f60b173cbee7dd161a1 Author: Lukasz Lenart AuthorDate: Sun Nov 10 12:11:46 2024 +0100 WW-5455 Defines a new plugin to support Jasper Reports 7 --- plugins/jasperreports7/README.md | 6 + plugins/{ => jasperreports7}/pom.xml | 88 ++-- .../views/jasperreports7/CompileReport.java| 48 ++ .../jasperreports7/JasperReportConstants.java | 56 +++ .../views/jasperreports7/JasperReports7Result.java | 525 + .../views/jasperreports7/ValueStackDataSource.java | 145 ++ .../views/jasperreports7/ValueStackShadowMap.java | 79 .../jasperreports7/src/main/resources/LICENSE.txt | 174 +++ .../jasperreports7/src/main/resources/NOTICE.txt | 5 + .../struts2/views/jasperreports7/package.html | 21 + .../src/main/resources/struts-plugin.xml | 34 ++ plugins/jasperreports7/src/site/site.xml | 56 +++ .../jasperreports7/JasperReports7ResultTest.java | 369 +++ .../struts2/views/jasperreports7/simple.jrxml | 42 ++ plugins/pom.xml| 1 + 15 files changed, 1596 insertions(+), 53 deletions(-) diff --git a/plugins/jasperreports7/README.md b/plugins/jasperreports7/README.md new file mode 100644 index 0..0dc43af31 --- /dev/null +++ b/plugins/jasperreports7/README.md @@ -0,0 +1,6 @@ +# Jasper Reports plugin +This plugin allows to use Jasper reports as a one of the result types. +You will find more details in [documentation](https://struts.apache.org/plugins/jasperreports/). + +## Installation +Just drop this plugin JAR into `WEB-INF/lib` folder or add it as a Maven dependency. diff --git a/plugins/pom.xml b/plugins/jasperreports7/pom.xml similarity index 50% copy from plugins/pom.xml copy to plugins/jasperreports7/pom.xml index f5447a2e9..40c57f820 100644 --- a/plugins/pom.xml +++ b/plugins/jasperreports7/pom.xml @@ -23,78 +23,60 @@ 4.0.0 org.apache.struts -struts2-parent +struts2-plugins 7.0.0-M11-SNAPSHOT -struts2-plugins -pom -Struts 2 Plugins +struts2-jasperreports7-plugin +jar +Struts 2 Jasper Reports 7 Plugin [EXPERIMENTAL] - -async -bean-validation -cdi -config-browser -convention -jasperreports -javatemplates -jfreechart -json -junit -rest -spring -testng -tiles -velocity -xslt - + +UTF-8 +7.0.1 + - -org.apache.struts -struts2-core -provided +net.sf.jasperreports +jasperreports +${jasperreports7.version} + + + +com.fasterxml.jackson.core +jackson-databind + + +com.fasterxml.jackson.core +jackson-annotations + + - - -junit -junit -test +net.sf.jasperreports +jasperreports-pdf +${jasperreports7.version} +true -org.assertj -assertj-core -test +com.fasterxml.jackson.core +jackson-databind -org.mockito -mockito-core +org.apache.struts +struts2-junit-plugin test - -org.apache.logging.log4j -log4j-core +org.springframework +spring-web test - - -jakarta.servlet.jsp -jakarta.servlet.jsp-api -provided - -jakarta.servlet -jakarta.servlet-api -provided +org.easymock +easymock +test - - - - UTF-8 - diff --git a/plugins/jasperreports7/src/main/java/org/apache/struts2/views/jasperreports7/CompileReport.java b/plugins/jasperreports7/src/main/java/org/apache/struts2/views/jasperreports7/CompileReport.java new file mode 100644 index 0..755abd0b2 --- /dev/null +++ b/plugins/jasperreports7/src/main/java/org/apache/struts2/views/jasperreports7/CompileReport.java @@ -0,0 +1,48 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you
(struts) branch feature/WW-5455-jasperreports7 created (now 1b02decc7)
This is an automated email from the ASF dual-hosted git repository. lukaszlenart pushed a change to branch feature/WW-5455-jasperreports7 in repository https://gitbox.apache.org/repos/asf/struts.git at 1b02decc7 WW-5455 Defines a new plugin to support Jasper Reports 7 This branch includes the following new commits: new 1b02decc7 WW-5455 Defines a new plugin to support Jasper Reports 7 The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference.
(struts) branch feature/WW-5455-jasperreports7 updated (1b02decc7 -> 7201bd98b)
This is an automated email from the ASF dual-hosted git repository. lukaszlenart pushed a change to branch feature/WW-5455-jasperreports7 in repository https://gitbox.apache.org/repos/asf/struts.git discard 1b02decc7 WW-5455 Defines a new plugin to support Jasper Reports 7 add 7201bd98b WW-5455 Defines a new plugin to support Jasper Reports 7 This update added new revisions after undoing existing revisions. That is to say, some revisions that were in the old version of the branch are not in the new version. This situation occurs when a user --force pushes a change and generates a repository containing something like this: * -- * -- B -- O -- O -- O (1b02decc7) \ N -- N -- N refs/heads/feature/WW-5455-jasperreports7 (7201bd98b) You should already have received notification emails for all of the O revisions, and so the following emails describe only the N revisions from the common base, B. Any revisions marked "omit" are not gone; other references still refer to them. Any revisions marked "discard" are gone forever. No new revisions were added by this update. Summary of changes: .../views/jasperreports7/CompileReport.java| 48 -- .../jasperreports7/src/main/resources/LICENSE.txt | 27 .../jasperreports7/src/main/resources/NOTICE.txt | 2 +- 3 files changed, 28 insertions(+), 49 deletions(-) delete mode 100644 plugins/jasperreports7/src/main/java/org/apache/struts2/views/jasperreports7/CompileReport.java