yes, that's a known limitation of Maven 3: read-only parameters are not read only... see MNG-5001 [1]
the question is: should this parameter be read-only? Why is the IT requiring changing the default value (ie property = "project.artifact.artifactHandler.language")? Regards, Hervé [1] https://issues.apache.org/jira/browse/MNG-5001 Le dimanche 5 juillet 2015 12:55:08 Robert Scholte a écrit : > -0 > > The buildserver fails and I can reproduce it on my system: > > mvn clean verify -Prun-its -Dinvoker.mavenHome=d:\apache-maven-2.2.1 > > [ERROR] The following builds failed: > [ERROR] * MPMD-205-pmd-js-check\pom.xml > > > [ERROR] BUILD ERROR > [INFO] > ------------------------------------------------------------------------ > [INFO] Error configuring: org.apache.maven.plugins:maven-pmd-plugin. > Reason: ERROR: Cannot override read-only parameter: language in goal: > pmd:check > [INFO] > ------------------------------------------------------------------------ > > Now the question is: is this a Maven3 bug, which seems to allow to > override read-only parameters, or should the parameter be non read-only? > A fix could be to require Maven 3.0+ for this IT > > thanks, > Robert > > Op Fri, 03 Jul 2015 13:39:09 +0200 schreef Jason van Zyl <[email protected]>: > > +1 > > > >> On Jul 3, 2015, at 2:46 AM, Dennis Lundberg <[email protected]> wrote: > >> > >> Hi, > >> > >> We solved 6 issues: > >> https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12317621 > >> &version=12330969 > >> > >> There are still a couple of issues left in JIRA: > >> https://issues.apache.org/jira/issues/?jql=project%20%3D%2012317621%20AND > >> %20status%20%3D%20Open%20ORDER%20BY%20key%20DESC%2C%20priority%20DESC > >> > >> Staging repo: > >> https://repository.apache.org/content/repositories/maven-1196/ > >> https://repository.apache.org/content/repositories/maven-1196/org/apache/ > >> maven/plugins/maven-pmd-plugin/3.5/maven-pmd-plugin-3.5-source-release.zi > >> p > >> > >> Source release checksum(s): > >> maven-pmd-plugin-3.5-source-release.zip sha1: > >> 958e9b805494f1d67c558b36dc223dbf84249b67 > >> > >> Staging site: > >> http://maven.apache.org/plugins-archives/maven-pmd-plugin-LATEST/ > >> > >> Guide to testing staged releases: > >> http://maven.apache.org/guides/development/guide-testing-releases.html > >> > >> Vote open for 72 hours. > >> > >> [ ] +1 > >> [ ] +0 > >> [ ] -1 > >> > >> > >> -- > >> Dennis Lundberg > >> > >> --------------------------------------------------------------------- > >> To unsubscribe, e-mail: [email protected] > >> For additional commands, e-mail: [email protected] > > > > Thanks, > > > > Jason > > > > ---------------------------------------------------------- > > Jason van Zyl > > Founder, Takari and Apache Maven > > http://twitter.com/jvanzyl > > http://twitter.com/takari_io > > --------------------------------------------------------- > > > > We know what we are, but know not what we may be. > > > > -- Shakespeare > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [email protected] > > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
