Commit Graph

5878 Commits

Author SHA1 Message Date
Lukasz Lenart a504a16eae WW-4789 WW-3788 Uses full variable name 2020-04-28 08:03:51 +02:00
Lukasz Lenart f071c9d0ed Reverse merges master 2020-04-21 20:42:15 +02:00
Lukasz Lenart 2f27e45ef4 WW-4789 WW-3788 Marks LOCALE as deprecated on behalf using helper methods 2020-04-21 20:27:11 +02:00
Lukasz Lenart 230a300685 Fixes url used to generate the website 2020-04-20 07:20:22 +02:00
Lukasz Lenart 963fd90d1e Adds required distributionManagement section to allow publish the site 2020-04-19 10:53:53 +02:00
Lukasz Lenart a5728a2953 Merge pull request #403 from JCgH4164838Gh792C124B5/WW-5068-26x
Proposed WW-5068 change
2020-04-19 09:57:36 +02:00
JCgH4164838Gh792C124B5 9d0a6a80ad Proposed WW-5068 change.
------
Proposed list of library version updates:
---
    cdi-api 1.0-SP4 -> 1.2
    weld-core 1.0.1-SP4 -> 2.2.16.SP1
    weld-se 1.0.1-Final -> weld-se-core 2.2.16.SP1
    htmlunit 2.27.0 and 2.37.0 -> 2.39.0
    slf4j-api 1.7.29 -> 1.7.30
    slf4j-simple 1.7.29 -> 1.7.30
    log4j2 2.12.1 - > 2.13.1
    jackson 2.10.1 -> 2.10.3
    ognl 3.2.12 -> 3.2.14
    asm 7.2 -> 7.3.1
    spring 4.3.25.RELEASE -> 4.3.26.RELEASE
    fluido-skin 1.8 -> 1.9
    freemarker 2.3.28 -> 2.3.30
    org.apache.felix.main 4.6.1 -> 6.0.3
    velocity 2.1 -> 2.2
    junit 4.12 -> 4.13
    easymock 3.5.1 -> 4.2
    javax.el 3.0.1-b10 -> 3.0.1-b11
    jstl 1.1.2 -> 1.2
    tomcat-jasper 8.5.37 -> 8.5.53
    tomcat-api 8.5.37 -> 8.5.53
    tomcat-juli 8.5.37 -> 8.5.53
    commons-lang3 3.9 -> 3.10
    assertj-core 2.9.1 -> 3.15.0
    mockito-core 2.23.0 -> 3.3.3   (required exclusion for objenesis)
    testng 5.14.10 -> 7.1.0
    juneau-marshall 7.2.2 -> 8.1.3
    validation-api 1.1.0.Final -> 2.0.1.Final
    hibernate-validator 5.4.3.Final -> 6.1.2.Final
    jaxb-impl 2.3.1 -> 2.3.2
---
Proposed list of Maven plugin version updates:
---
    maven-project-info-reports-plugin 2.7 -> 3.0.0
    updateimpact-maven-plugin 1.0.10 -> 1.0.12
    maven-surefire-plugin 2.22.2 -> 3.0.0-M4
    jacoco-maven-plugin 0.8.4 - > 0.8.5
    maven-war-plugin 3.2.2 -> 3.2.3
    maven-bundle-plugin 3.5.0 -> 4.2.1
    maven-dependency-plugin 3.1.1 -> 3.1.2
    dependency-check-maven 5.2.4 -> 5.3.2
    maven-enforcer-plugin 3.0.0-M2 -> 3.0.0-M3
    maven-failsafe-plugin 2.22.2 -> 3.0.0-M4
    maven-site-plugin 3.8.2 -> 3.9.0
    doxia-core 1.9 -> 1.9.1
    doxia-module-markdown 1.9 -> 1.9.1
---
2020-04-18 18:40:21 -04:00
Lukasz Lenart adcc67d9dc WW-4789 WW-3788 Marks VALUE_STACK, APPLICATION and SESSION as deprecated on behalf using helper methods 2020-04-13 17:24:16 +02:00
Lukasz Lenart 6279e6dd16 WW-4789 WW-3788 Avoids unneeded binds to ThreadLocal 2020-04-13 09:47:19 +02:00
Lukasz Lenart e8ce2c756f Merge pull request #399 from santosr09/WW5052-TypeConversionException
WW5052 TypeConversionException instead StrutsException
2020-04-12 10:52:33 +02:00
santosr09 bf267ade11 Moves TypeConversionException into org.apache.struts2.conversion 2020-04-11 14:01:29 -05:00
Lukasz Lenart 269af57ea0 Adds nicer email messages 2020-04-11 18:25:13 +02: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 df687a6d43 WW-4789 WW-3788 Marks CONVERSION_ERRORS as deprecated on behalf using helper methods 2020-04-10 09:08:38 +02:00
Lukasz Lenart 8e6815e115 WW-4789 WW-3788 Stops using get() 2020-04-08 08:22:00 +02:00
Lukasz Lenart 273776e13b WW-4789 WW-3788 Introduces helper methods to allow build fluent API 2020-04-07 07:59:11 +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 81b069b3f1 WW-4789 WW-3788 Adjusts after rebase 2020-04-05 07:46:56 +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 fcdaffa01b WW-4789 WW-3788 Removes duplicated value assignment 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 7ef0d779cb Install SNAPSHOTs to allow reuse them 2020-04-04 17:43:41 +02:00
Lukasz Lenart a09ec6298c Drops duplicated dependency 2020-04-04 10:00:14 +02:00
Lukasz Lenart 5003e093b9 Merge pull request #398 from JCgH4164838Gh792C124B5/WW-5030_Proposed_Change
Proposed implementation to address WW-5030.
2020-04-04 09:15:53 +02:00
santosr09 9e1a55458d Fixes error with Formatting Date when Java is 9 or greater due to the JEP 252 2020-04-01 03:58:41 -06:00
santosr09 3e0473a97e Adequates the strings for date formatting due to erros with JDK8 2020-03-31 18:30:09 -06:00
santosr09 2c2b1af392 Modifies the expected result in DateConverter validation, ignores the TimeZone 2020-03-29 23:04:43 -06:00
santosr09 5239aa4b13 License info added 2020-03-29 21:54:18 -06:00
santosr09 1ef2985ea7 Corrects formatting defects 2020-03-29 18:31:49 -06:00
santosr09 7c92fddf40 Merge branch 'WW5052-TypeConversionException' of https://github.com/santosr09/struts into WW5052-TypeConversionException 2020-03-29 17:14:17 -06:00
santosr09 a9802a61c7 Switches StrutsException by TypeConversionException in XWorkBasicConverter; necessary Tests added to XWorkBasicConverterTest 2020-03-29 17:10:46 -06:00
santosr09 b6586c7e38 Switches StrutsException by TypeConversionException in NumberConverter; The respective unit tests are added to the NumberConverterTest 2020-03-29 17:10:46 -06:00
santosr09 a11291dc58 Removes unnecessary import StrutsException 2020-03-29 17:10:46 -06:00
santosr09 03a609cf67 Switchs StrutsException by TypeConversionException in DateConverter, DateConverterTest added for unit testing 2020-03-29 17:10:46 -06:00
santosr09 cd9cc53442 Switches StrutsException by TypeConversionException in XWorkBasicConverter; necessary Tests added to XWorkBasicConverterTest 2020-03-29 14:27:01 -06:00
JCgH4164838Gh792C124B5 c9ac74d0a1 Correction for previous commit message. There was a typo which should have
read: "copies one interface from
  org.springframework.mock.web.portlet.multipart" (not
  "org.apache.struts2.mock.web.portlet" which was incorrect).

Refactor (rename) junit-portlet plugin to portlet-mocks plugin.
- Moved StrutsPortletTestCase from the portlet plugin into the junit plugin
 (same package name).
- Added optional dependencies to the junit plugin for the portlet plugin
  and mocks plugin.
- Duplicated StrutsTestCase from the junit plugin with a new name
  StrutsTestCasePortletTests that exists within a test scope only.
  This was done to eliminate a dendency cycle between junit and portlet
  plugins during refactoring.
- Updated the portlet plugin unit tests to use StrutsTestCasePortletTests
  internally instead of StrutsTestCase from the junit plugin.
- Removed junit plugin dependency for portlets plugin, added test scope
  dependency for portlet-mocks plugin.
- Made StrutsSpringPortletMockObjectsTest depend only on TestCase.
- Removed unneeded dependencies from portlet-mocks pom.

Amended commit multiple times: Missed plugins pom.xml change, forgot to
drop StrutsPortletTestCase from portlet plugin (local repository).
2020-03-28 14:26:48 -04:00
santosr09 686e069d6d Switches StrutsException by TypeConversionException in NumberConverter; The respective unit tests are added to the NumberConverterTest 2020-03-22 15:37:58 -06:00
santosr09 ec157c038a Removes unnecessary import StrutsException 2020-03-22 15:32:01 -06:00
JCgH4164838Gh792C124B5 000f7280d9 Fix for test running on JDK 9+. If using Spring 4.x mock objects the
MockServletContext has a dependency on javax.activation that causes a
java.lang.NoClassDefFoundError.
- Test updated to allow the single call that triggers this in JDK9+
to continue as long as the class not found is FileTypeMap (expected).
2020-03-22 15:37:20 -04:00
JCgH4164838Gh792C124B5 ec3532f30a Proposed implementation to address WW-5030.
Introduce new junit-portlet plugin.
- Utilizes a copy of org.springframework.mock.web.portlet package from
  Spring 4.3.x, refactored to org.apache.struts2.mock.web.portlet.  Also
  copies one interface from org.apache.struts2.mock.web.portlet.  The
  package-info.java files identify the package renaming.
- Provides test cases for the mock objects.
- Modifies the portlet plugin to use the junit-portlet plugin as a
  dependency.  Adds a small boundary case fix for PortletRequestMap.
2020-03-22 13:42:47 -04:00
santosr09 2453cdb1f5 Switchs StrutsException by TypeConversionException in DateConverter, DateConverterTest added for unit testing 2020-03-21 09:26:29 -06:00
Lukasz Lenart 9053c84d50 Merge pull request #394 from apache/WW-5047-new-velocity
[WW-5047] Upgrades to VelocityEngine 2.1 and VelocityTools 3.0
2020-02-24 09:36:11 +01:00
Lukasz Lenart f0defd0650 Removes purge local repo to avoid problems with concurrent builds 2020-02-23 19:15:26 +01:00
Lukasz Lenart 8daa2a60f4 Drops deprecated Dojo related files 2020-02-23 16:22:30 +01:00
Lukasz Lenart 9e2f45c801 Uses proper version of JDK to cleanup 2020-02-23 14:13:05 +01:00
Lukasz Lenart 3d2a519399 Adds missing tool section 2020-02-23 14:04:20 +01:00
Lukasz Lenart f73f494605 Fixes BOM to use the same parent as the main project 2020-02-23 13:58:42 +01:00
Lukasz Lenart ad2d5fddd7 Purges local repository to re-resolve missing dependencies 2020-02-23 13:58:18 +01:00
Lukasz Lenart cd6c36ead9 Drops html tag from a message 2020-02-23 12:55:36 +01:00