Commit Graph

215 Commits

Author SHA1 Message Date
Lukasz Lenart 115fef2af7 [maven-release-plugin] prepare for next development iteration 2022-02-24 07:11:22 +01:00
Lukasz Lenart 0c9f9c3400 [maven-release-plugin] prepare release STRUTS_6_0_0_RC3 2022-02-24 07:11:13 +01:00
Lukasz Lenart 14c3a14c8f [maven-release-plugin] prepare for next development iteration 2022-01-29 17:36:34 +01:00
Lukasz Lenart f997d9b1ed [maven-release-plugin] prepare release STRUTS_6_0_0_RC2 2022-01-29 17:36:26 +01:00
Lukasz Lenart 57f76d94f2 [maven-release-plugin] prepare for next development iteration 2021-12-19 12:50:38 +01:00
Lukasz Lenart 96aedf9bd5 [maven-release-plugin] prepare release STRUTS_6_0_0_RC1 2021-12-19 12:50:28 +01:00
Lukasz Lenart e7b20da491 WW-4992 Adds a note since which version this plugin is deprecated 2021-12-12 12:38:43 +01:00
Lucas Cabral 0339ff4550 Fix meaningless close 2020-11-17 19:04:53 -03:00
Lukasz Lenart c253b7f480 WW-4789 WW-3788 Marks CONTAINER as deprecated on behalf using helper methods 2020-04-10 19:39:10 +02:00
Lukasz Lenart 8e6815e115 WW-4789 WW-3788 Stops using get() 2020-04-08 08:22:00 +02:00
Lukasz Lenart dfda16d743 WW-4789 WW-3788 Introduces helper methods to allow build fluent API 2020-04-05 17:48:59 +02:00
Lukasz Lenart 1bfa1ce6d1 WW-4789 WW-3788 Adds instance bind() to simplify bind operation 2020-04-05 07:46:56 +02:00
Lukasz Lenart 1a8c751b9a WW-4789 WW-3788 Uses bind() instead of bound() 2020-04-05 07:46:56 +02:00
Lukasz Lenart f4aa4ee09a WW-4789 WW-3788 ActionContext refactoring 2020-04-05 07:46:56 +02:00
Lukasz Lenart 71d4a7be3b WW-5047 Upgrades to VelocityEngine 2.1 and VelocityTools 3.0 2020-02-01 12:49:01 +01:00
JCgH4164838Gh792C124B5 3eaeed1699 Update length check in testComplex() to compensate for miscalculation of expected length.
- Test jsp is processed into a 218 line String, meaning 218 more characters (crlf vs lf)
  on Windows vs. Linux/Unix.
2018-12-31 17:24:08 -05:00
JCgH4164838Gh792C124B5 b2b3b556f3 Update Embedded JSP Plugin to utilize the most current Tomcat Juli/Jasper still compatible with JDK 7.
- Replaced AnnotationHelper with InstanceHelper due to removal of AnnotationProcessor in Tomcat 7+.
- Tomcat Juli/Jasper Maven artifact ids changed with Tomcat 7+.
- Addition of tomcat-api dependency due to changes in Jasper for Tomcat 7+.
- Applied changes to embedded plugin modules required due to Jasper API changes.
- Additional unit tests for better test coverage.
2018-12-31 01:16:24 -05:00
Lukasz Lenart f4c8994da4 WW-4992 Marks Embedded JSP plugin as deprecated 2018-12-14 12:49:07 +01:00
Sebastian Peters 80e50c1367 Remove unused private methods 2018-11-20 21:13:12 +01:00
Sebastian Peters 176a0d7752 Fix: Resources should be closed
Java 7 introduced the try-with-resources statement,
which implicitly closes Closeables.

Fixes sonar rule squid:S2095
2018-11-19 22:29:46 +01:00
Lukasz Lenart 2a60c1eee6 [WW-4981] Adds support for JDK11 (#270)
* Upgrades test dependencies

* Drops unused lib

* Uses AssertJ instead of FestAssert

* Upgrades Surefire Maven Plugin to 2.22.1

* Downgrades to AssertJ 2.x to support JDK7

* decouple tests from java version

Refactor a java 9 conditional test to work always with any java version

See also WW-4845

* fix NullPointerException in NotURLClassLoader tests

Also includes a few improvements

See also WW-4845

* do not specify threadCount & forkMode which breaks tests in java 9

See also WW-4845

* pass all current tests with java 11

See also WW-4981

* fix an odd path problem in java 9

See also WW-4845

* gitignore test-output

See also WW-4981

* ask travis an oracle jdk 11 build

See also WW-4981

* ask travis to report coverage only in latest working jdk, jdk8

See also WW-4845
2018-11-19 10:35:01 +03:30
Lukasz Lenart 56d86a485b Merge pull request #262 from yasserzamani/WW-4845
WW-4845 pass all current tests with java 9
2018-11-15 16:18:03 +01:00
Yasser Zamani 02abab365a satisfy coveralls via testing with a not URLClassLoader
See also WW-4845
2018-11-14 16:39:44 +03:30
JCgH4164838Gh792C124B5 53d7d04246 Update Struts 2.6.0 build with some newer (compatible) library versions.
- Add missing multiple-success.jsp for Showcase application.
- 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.6.0 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
  - oval 1.31 -> 1.90  (Note: required unit test fix for OValValidationInterceptorTest.java AND code fix for OvalValidationInterceptor.java)
                       (Additional Note: 1.70 was the most recent that functioned without a fix to OvalValidationInterceptor)
  - jackson 2.9.6 -> 2.9.7
  - fluido-skin.version 1.6 -> 1.7
  - slf4j (slf4j-api, slf4j-simple) 1.7.12 -> 1.7.25
  - xstream 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-module-markdown 1.3 -> 1.7
  - 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-lang3 3.6 -> 3.8.1
  - commons-text 1.2 -> 1.3  (Note: most recent compatible with Java 7)
  - 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)
  - cglib 2.2 -> 2.2.2                  (Note: most recent 2.2.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
    probably remain as long as JMock 1.2.0 is used.
2018-11-12 19:58:15 -05:00
Yasser Zamani a5d888a373 pass all current tests with java 9
See also WW-4845
2018-11-11 14:31:35 +03:30
Lukasz Lenart e2c2ea876e [maven-release-plugin] prepare for next development iteration 2018-03-02 13:00:17 +01:00
Lukasz Lenart 1fec084542 [maven-release-plugin] prepare release STRUTS_2_5_16 2018-03-02 12:59:53 +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
Lukasz Lenart cf19d5130c Adds missing test dependency 2018-01-06 09:07:16 +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 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
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
Lukasz Lenart 38a1434114 Adds missing header with license and fixes tests 2017-10-21 19:24:45 +02:00
Lukasz Lenart 885ad89d49 Adds missing header with license and fixes tests 2017-10-21 18:55:42 +02:00
Lukasz Lenart a03373022d Adds missing header with license 2017-10-21 18:40:42 +02:00
Lukasz Lenart e7c65fb0b4 Adds missing header with license 2017-10-21 17:47:51 +02:00
Lukasz Lenart 73359c480b Adds missing header with license 2017-10-21 11:24:48 +02:00
Lukasz Lenart e678792430 Adds missing header with license 2017-10-21 11:01:31 +02:00
Lukasz Lenart cb389d292d Fixes Maven site generation 2017-10-20 09:05:29 +02:00
Lukasz Lenart c9bdb24bf9 [maven-release-plugin] prepare for next development iteration 2017-08-23 13:05:27 +02:00
Lukasz Lenart 9f5082615e [maven-release-plugin] prepare release STRUTS_2_5_13 2017-08-23 13:05:07 +02:00
Lukasz Lenart cf7bfe63e2 [maven-release-plugin] prepare for next development iteration 2017-07-06 09:40:39 +02:00
Lukasz Lenart ee74aea445 [maven-release-plugin] prepare release STRUTS_2_5_12 2017-07-06 09:40:05 +02:00
Lukasz Lenart f84255783c [maven-release-plugin] prepare for next development iteration 2017-06-22 13:11:35 +02:00