-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Description
Scott Morrison opened MNG-3069 and commented
If a plugin is loaded twice consecutively, parameters are not passed the second time.
For a (really) minimal case,
svn co http://katlas.math.toronto.edu/svn/arxivwiki/trunk/bug/
and "mvn package".
With mvn -version
Maven version: 2.0.7
Java version: 1.6.0_01
OS name: "windows xp" version: "5.1" arch: "x86"
I see
[INFO] [configuration-bug:plugin-configuration-bug {execution: plugin-configurat
ion-bug 1}]
String parameter: execution #1
File parameter: C:\scott\projects\svn-checkouts\arxivwiki\trunk\bug\demo\file1.t
xt
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] One or more required plugin parameters are invalid/missing for 'configura
tion-bug:plugin-configuration-bug'
[0] inside the definition for plugin: 'plugin-configuration-bug-plugin'specify t
he following:
<configuration>
...
<sp>VALUE</sp>
</configuration>.
Curiously, when running "mvn install" within eclipse, with exactly the same project, everything works just fine!
Affects: 2.0.7