/[Apache-SVN]
ViewVC logotype

Revision 1770497


Jump to revision: Previous Next
Author: gboue
Date: Sat Nov 19 15:21:30 2016 UTC (7 years, 5 months ago)
Changed paths: 14
Log Message:
Migration to Maven 3: because of an API change in ModelProblemCollector between 3.0.x and 3.1.x, that interface cannot be used as-is for compatibility for both in order to determine if the coordinate information passed by the user is valid. The plugins are compiled with 3.0 core and are currently linked to a specific ModelProblemCollector, but starting with 3.1.0-alpha-1, Maven core calls a different method than the one the plugins were compiled with. This results in AbstractMethodError at run-time. (this was not detected by the ITs because, although they tested that the build failed with missing parameters, it didn't test the cause of the failure.)

Since the plugins are now using a new MavenProject instance, and attaching things to it in order to deploy or install them, it is possible to rely on the validation performed during the building of that project to catch model errors.

Changed paths

Path Details
Directorymaven/plugins/trunk/maven-deploy-plugin/src/it/gav-validation/invoker.properties modified , text changed
Directorymaven/plugins/trunk/maven-deploy-plugin/src/it/gav-validation/test-invalid.properties
(Copied from maven/plugins/trunk/maven-deploy-plugin/src/it/gav-validation/test.properties, r1768278)
added
Directorymaven/plugins/trunk/maven-deploy-plugin/src/it/gav-validation/test-missing.properties added
Directorymaven/plugins/trunk/maven-deploy-plugin/src/it/gav-validation/test.properties deleted
Directorymaven/plugins/trunk/maven-deploy-plugin/src/it/gav-validation/verify.bsh deleted
Directorymaven/plugins/trunk/maven-deploy-plugin/src/it/gav-validation/verify.groovy
(Copied from maven/plugins/trunk/maven-deploy-plugin/src/it/gav-validation/verify.bsh, r1768278)
added , text changed
Directorymaven/plugins/trunk/maven-deploy-plugin/src/main/java/org/apache/maven/plugins/deploy/DeployFileMojo.java modified , text changed
Directorymaven/plugins/trunk/maven-install-plugin/src/it/gav-validation/invoker.properties modified , text changed
Directorymaven/plugins/trunk/maven-install-plugin/src/it/gav-validation/test-invalid.properties
(Copied from maven/plugins/trunk/maven-install-plugin/src/it/gav-validation/test.properties, r1768278)
added
Directorymaven/plugins/trunk/maven-install-plugin/src/it/gav-validation/test-missing.properties added
Directorymaven/plugins/trunk/maven-install-plugin/src/it/gav-validation/test.properties deleted
Directorymaven/plugins/trunk/maven-install-plugin/src/it/gav-validation/verify.bsh deleted
Directorymaven/plugins/trunk/maven-install-plugin/src/it/gav-validation/verify.groovy
(Copied from maven/plugins/trunk/maven-install-plugin/src/it/gav-validation/verify.bsh, r1768278)
added , text changed
Directorymaven/plugins/trunk/maven-install-plugin/src/main/java/org/apache/maven/plugin/install/InstallFileMojo.java modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26