mraible opened a new pull request, #294: URL: https://github.com/apache/roller/pull/294
Every Roller action is declared in `struts.xml`, and nothing in the codebase uses the Convention plugin's annotations (the `@AllowedMethods` ones are commented out). This turns off the plugin's package scanning with `struts.convention.action.disableScanning=true`, so `struts.xml` is the only source of action mappings. - New `StrutsActionMappingTest` loads the Struts configuration the webapp uses (`struts.xml`, `struts.properties` and the plugins on the classpath) and checks that actions exist only in the five `struts.xml` namespaces. Without the property it also finds `/admin`, `/core`, `/editor` and `/util`. - `mvn install` passes on JDK 11 (512 tests, 1 skipped), and the it-selenium tests pass. The same change for master is in #MASTER_PR. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
