Skip to content

[MNG-3069] Parameters not passed to second execution of the same plugin. #4833

@jira-importer

Description

@jira-importer

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingpriority:majorMajor loss of function

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions