[struts-examples] branch master updated: Upgrades OWASP Dependency Check plugin

2020-11-15 Thread lukaszlenart
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-examples.git


The following commit(s) were added to refs/heads/master by this push:
 new ce0ea88  Upgrades OWASP Dependency Check plugin
ce0ea88 is described below

commit ce0ea882004fda6351d56e60b2919a5268434fd7
Author: Lukasz Lenart 
AuthorDate: Sun Nov 15 09:13:54 2020 +0100

Upgrades OWASP Dependency Check plugin
---
 pom.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pom.xml b/pom.xml
index 0ef35c1..435a1a7 100644
--- a/pom.xml
+++ b/pom.xml
@@ -181,7 +181,7 @@
 
 org.owasp
 dependency-check-maven
-5.2.2
+5.3.2
 
 
 
src/etc/project-suppression.xml



[struts-examples] branch master updated: Upgrades Spring & Shiro

2020-11-15 Thread lukaszlenart
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-examples.git


The following commit(s) were added to refs/heads/master by this push:
 new d7b7fa3  Upgrades Spring & Shiro
d7b7fa3 is described below

commit d7b7fa3a5718a675c58abb2020d50cdf81fbd296
Author: Lukasz Lenart 
AuthorDate: Sun Nov 15 09:47:22 2020 +0100

Upgrades Spring & Shiro
---
 rest-angular/pom.xml | 2 +-
 shiro-basic/pom.xml  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/rest-angular/pom.xml b/rest-angular/pom.xml
index 8b7bf6a..c583b9f 100644
--- a/rest-angular/pom.xml
+++ b/rest-angular/pom.xml
@@ -36,7 +36,7 @@
 
 org.springframework
 spring-web
-4.3.13.RELEASE
+4.3.29.RELEASE
 test
 
 
diff --git a/shiro-basic/pom.xml b/shiro-basic/pom.xml
index e3f3bd0..5752801 100644
--- a/shiro-basic/pom.xml
+++ b/shiro-basic/pom.xml
@@ -13,7 +13,7 @@
 war
 
 
-1.5.3
+1.7.0
 
 
 



[struts-examples] branch master updated: Adds example app how to use Struts 2 with Quarkus

2020-11-15 Thread lukaszlenart
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-examples.git


The following commit(s) were added to refs/heads/master by this push:
 new b51b77f  Adds example app how to use Struts 2 with Quarkus
b51b77f is described below

commit b51b77f6a622ecaed3d1f0694d7cb277e5293876
Author: Lukasz Lenart 
AuthorDate: Sun Nov 15 16:06:16 2020 +0100

Adds example app how to use Struts 2 with Quarkus
---
 pom.xml|  8 +-
 quarkus/README.md  | 15 
 quarkus/pom.xml| 98 ++
 .../struts2/examples/quarkus/IndexAction.java  | 33 
 .../main/resources/META-INF/resources/hello.ftl|  1 +
 quarkus/src/main/resources/META-INF/web.xml| 28 +++
 quarkus/src/main/resources/application.properties  |  2 +
 quarkus/src/main/resources/log4j2.xml  | 16 
 quarkus/src/main/resources/struts.xml  | 19 +
 9 files changed, 216 insertions(+), 4 deletions(-)

diff --git a/pom.xml b/pom.xml
index 435a1a7..500b563 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1,6 +1,5 @@
-
-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";>
+
+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";>
 4.0.0
 
 org.apache.struts
@@ -96,6 +95,7 @@
 message-store
 portlet
 preparable-interface
+quarkus
 restful2actionmapper
 rest-angular
 shiro-basic
@@ -106,11 +106,11 @@
 themes-override
 type-conversion
 unit-testing
+unknown-handler
 using-tags
 validation-messages
 wildcard-method-selection
 wildcard-regex
-unknown-handler
   
 
 
diff --git a/quarkus/README.md b/quarkus/README.md
new file mode 100644
index 000..ced849f
--- /dev/null
+++ b/quarkus/README.md
@@ -0,0 +1,15 @@
+# Quarkus example
+
+This is a simple example how to use Struts 2 with 
[Quarkus](https://quarkus.io/). Quarkus doesn't support JSPs
+but yoy can use Freemarker instead or writing directly into 
HttpServletResponse.
+
+In `application.properties` has been defined `quarkus.oidc.enabled=false` to 
disable redirecting to `/auth` even 
+if the "oidc" extension has not been loaded. You will also notice a warning 
when starting Quarkus - just ignore it.
+
+## Running
+
+Use the below command to start the example Quarkus application (from within 
the project's root folder):
+
+```
+mvn clean compile quarkus:dev
+``` 
diff --git a/quarkus/pom.xml b/quarkus/pom.xml
new file mode 100644
index 000..4f1c0b0
--- /dev/null
+++ b/quarkus/pom.xml
@@ -0,0 +1,98 @@
+
+http://maven.apache.org/POM/4.0.0 
https://maven.apache.org/xsd/maven-4.0.0.xsd";
+ xmlns="http://maven.apache.org/POM/4.0.0";
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
+4.0.0
+
+org.apache.struts
+struts-examples
+1.1.0
+
+org.apache.struts.examples
+quarkus
+Struts 2 Quarkus
+
+
+UTF-8
+1.9.2.Final
+
+
+
+
+
+io.quarkus
+quarkus-universe-bom
+${quarkus-plugin.version}
+pom
+import
+
+
+
+
+
+
+io.quarkus
+quarkus-undertow
+
+
+
+javax.servlet
+servlet-api
+2.5
+provided
+
+
+
+
+
+quarkus:dev
+
+
+io.quarkus
+quarkus-maven-plugin
+${quarkus-plugin.version}
+
+
+
+build
+
+
+
+
+
+
+
+
+
+native
+
+
+
+maven-failsafe-plugin
+3.0.0-M4
+
+
+
+integration-test
+verify
+
+
+
+
+
${project.build.directory}/${project.build.finalName}-runner
+
+
org.jboss.logmanager.LogManager
+