Commit Graph

1361 Commits

Author SHA1 Message Date
Yasser Zamani 75dc4c00d2 pass all current tests with java 9
See also WW-4845

(cherry picked from commit a5d888a)
2018-11-16 17:29:37 +03:30
JCgH4164838Gh792C124B5 3b81a9edaa Update Struts 2.5.19 build with some newer (compatible) library versions.
- Fix SCM tag entry typo in main pom.xml.
- Enhance main pom.xml maven-surefire-plugin configuration to avoid some test-ng related duplication failures:  "Cannot find JUnit method class junit.framework.TestSuite$1.warning".
- Remove unnecessary plugins/embeddedjsp/pom.xml (struts2-embeddedjsp-plugin) maven-surefire-plugin version override (noted with preceding change).
- Update Struts 2.5.19 build to use some newer (compatible) library versions.
  Change the main pom.xml library versions for the following:
  - spring.platformVersion 4.3.13.RELEASE -> 4.3.20.RELEASE
  - ognl 3.1.15 -> 3.1.18  (Note: newest version that passes unit tests)
  - oval 1.31 -> 1.90      (Note: required unit test fix for OValValidationInterceptorTest.java)
  - tiles 3.0.7 -> 3.0.8
  - tiles-request 1.0.6 -> 1.0.7
  - log4j 2.10.0 -> 2.11.1
  - jackson 2.9.5 -> 2.9.7
  - fluido-skin.version 1.6 -> 1.7
  - slf4j 1.7.12 -> 1.7.25
  - xtream 1.4.10 -> 1.4.11.1
  - jetty 6.1.9 -> 6.1.26 (last in 6.1.x line)
  - xerces 2.10.0 - > 2.12.0
  - org.owasp 3.1.1 -> 3.3.4
  - versions-maven-plugin 2.5 -> 2.7
  - doxia-core 1.7 -> 1.8
  - doxia-markdown 1.3 -> 1.7
  - freemarker 2.3.26-incubating -> 2.3.28
  - org.apache.felix.main 4.0.3 -> 4.6.1  (Note: most recent 4.x)
  - easymock 3.4 -> 3.5.1
  - javax.el 3.0 -> 3.0.1-b10
  - jasper 6.0.18 -> 6.0.53  (Note: most recent 6.0.x)
  - juli 6.0.18 -> 6.0.53    (Note: most recent 6.0.x)
  - commons-logging 1.1.3 -> 1.2
  - commons-collections4 4.1 -> 4.2
  - commons-io 2.5 -> 2.6
  - commons-lang 3.6 -> 3.8.1
  - commons-beanutils 1.9.2 -> 1.9.3
  - commons-validator 1.5.1 -> 1.6
  - mockito 1.9.5 -> 1.10.19            (Note: most recent 1.x)
  - cdi-api 1.0-SP1 -> 1.0-SP4          (Note: most recent 1.0.x)
  - weld-core 1.0.1-Final -> 1.0.1-SP4  (Note: most recent 1.0.x)
  Note for cglib-nodep:  Build succeeded with cglib-nodep 2.2.2 and 3.2.5.  Although
    cglib 3.2.5 matches ASM 5.2, jmock-cglib 1.2.0 identifies cglib-nodep 2.1_3 as its
    requirement (on the JMock http://jmock.org/download.html download page) so it should
    remain as long as JMock 1.2.0 is used.
2018-11-12 14:49:56 -05:00
Lukasz Lenart f4d7dbe88e [maven-release-plugin] prepare for next development iteration 2018-09-18 11:23:59 +02:00
Lukasz Lenart 289782c583 [maven-release-plugin] prepare release STRUTS_2_5_18 2018-09-18 11:23:36 +02:00
Yaser Zamani 83c0f1cd1e [maven-release-plugin] prepare for next development iteration 2018-08-13 17:13:52 +04:30
Yaser Zamani eacc002334 [maven-release-plugin] prepare release STRUTS_2_5_17 2018-08-13 17:12:34 +04:30
Lukasz Lenart 6e87474f9a Validates action, namespace and method in the same way 2018-06-21 09:19:57 +02:00
Lukasz Lenart d175836757 Changes version to snapshot 2018-05-02 08:45:44 +02:00
Lukasz Lenart 6efaf900d4 Increases scope when location parsing is avoided 2018-05-02 08:25:06 +02:00
Lukasz Lenart b3bad5ea44 Avoids parsing namespace when using existing namespace 2018-05-02 08:04:15 +02:00
Lukasz Lenart 1fec084542 [maven-release-plugin] prepare release STRUTS_2_5_16 2018-03-02 12:59:53 +01:00
Yasser Zamani 26babb6fdf Merge pull request #210 from lukaszlenart/jackson-xml
WW-4922: Jackson XML
2018-03-02 13:17:38 +03:30
Lukasz Lenart 6e691ffdbf Merge pull request #212 from zepernick/master
WW-4923 Null check to avoid NPE when not passing a JDBC connection
2018-02-28 10:16:06 +01:00
Yasser Zamani 4b540f1ab4 fix location with full path of resource 2018-02-28 11:24:31 +03:30
Yasser Zamani a448b8a91b make newly added methods protected to allow users to override them
See also WW-4921, WW-3442
2018-02-27 14:18:46 +03:30
Yasser Zamani b806c11ea5 initialize session
See also WW-4921
2018-02-27 13:20:33 +03:30
Yasser Zamani a64b8b27fb add test if connection close after result
See also WW-4923
2018-02-27 08:45:27 +03:30
Paul Zepernick 8bf6605e6b WW-4923 Null check to avoid NPE when not passing a JDBC connection to the jasper report 2018-02-22 10:13:14 -05:00
Lukasz Lenart 9260720568 Adds test to cover basic functionality 2018-02-20 06:49:50 +01:00
Lukasz Lenart 67ecf3a216 Defines a new handler using Jackson XML 2018-02-20 06:49:25 +01:00
Lukasz Lenart def4adacd6 [maven-release-plugin] prepare for next development iteration 2018-02-09 09:36:39 +01:00
Lukasz Lenart 2c0facc3aa [maven-release-plugin] prepare release STRUTS_2_5_15 2018-02-09 09:36:18 +01:00
Yasser Zamani 9b892cc7fd Merge pull request #206 from lukaszlenart/scan-deeper
WW-4912: scan package-info and class at the same time
2018-01-30 13:17:09 +03:30
Yasser Zamani 97012c78a9 Merge pull request #189 from lukaszlenart/upgrade-spring
WW-4899: upgrade Spring
2018-01-30 10:47:04 +03:30
Lukasz Lenart a9899b6622 Introduces new method find all annotations 2018-01-26 11:47:10 +01:00
Hedju Hor d1df216b32 change default behavior 2018-01-13 10:59:06 +01:00
Hedju Hor 7518e809dd fixed
getValidationGroups get called if not skipped Validation
removed unnecessary LOG.isDebugEnabled()
2018-01-12 18:36:08 +01:00
Hedju Hor 2b2de35519 Revert "fixed some Logger calls. Hint:https://logging.apache.org/log4j/2.0/manual/api.html"
This reverts commit 87b2bd8
2018-01-12 18:26:27 +01:00
Hedju Hor 87b2bd8138 fixed some Logger calls.
Hint:https://logging.apache.org/log4j/2.0/manual/api.html
2018-01-11 21:04:22 +01:00
Hedju Hor 215eb627d4 refactoring ValidateGroup -> ValidationGroup 2018-01-11 19:47:14 +01:00
Hedju Hor 5e4b385984 support Constraints Group in BeanValidation-Plugin 2018-01-09 12:58:42 +01:00
Lukasz Lenart cf19d5130c Adds missing test dependency 2018-01-06 09:07:16 +01:00
Yasser Zamani 4738d1d802 WW-4873 Makes ActionInvocation not serializable 2017-12-13 19:34:54 +03:30
Lukasz Lenart bfa119c7db Uses proper date format 2017-12-04 08:29:54 +01:00
Lukasz Lenart 7058872723 Adds missing dependency 2017-12-04 08:29:44 +01:00
Stefaan Dutry 80698ed516 Merge pull request #186 from sdutry/sonar-entrySet
changed Map iterations to use entrySet when both key and value are used
2017-12-01 20:46:00 +01:00
Lukasz Lenart 9b9bd212ed [maven-release-plugin] prepare for next development iteration 2017-11-29 08:35:58 +01:00
Lukasz Lenart 0856157e27 [maven-release-plugin] prepare release STRUTS_2_5_14_1 2017-11-29 08:35:37 +01:00
Lukasz Lenart 794cd5e141 WW-4892 Marks handler as deprecated 2017-11-17 09:34:22 +01:00
Lukasz Lenart a2824b7c87 WW-4892 Makes json-lib optional 2017-11-17 09:33:00 +01:00
Lukasz Lenart 941374ecdb WW-4892 Uses Jackson handler as a default one to handle JSON 2017-11-17 09:32:43 +01:00
Lukasz Lenart d36ec579fc [maven-release-plugin] prepare for next development iteration 2017-11-14 07:43:35 +01:00
Lukasz Lenart 04db841358 [maven-release-plugin] prepare release STRUTS_2_5_14 2017-11-14 07:43:14 +01:00
Stefaan Dutry 0bde78cc36 changed Map iterations to use entrySet when both key and value are used 2017-11-13 21:13:27 +01:00
Yasser Zamani fb0a6120db WW-4846 Fixes unit tests for JDK8 2017-11-04 10:22:25 +03:30
Yasser Zamani 92502510df WW-4846 Adds unit tests 2017-11-04 09:37:12 +03:30
Lukasz Lenart 8b95838c58 Adds proper XML header 2017-10-22 12:29:13 +02:00
Lukasz Lenart cd85d7017b Fixes encoding 2017-10-22 08:55:09 +02:00
Lukasz Lenart 4a1d42e3d5 Fixes encoding 2017-10-22 08:54:18 +02:00
Lukasz Lenart f351e85829 Uses property instead of hardcoding path 2017-10-21 19:29:51 +02:00