Hi,

I think I've asked that in IRC only, but I don't remember seing an answer.

Today the jar:sign and webstart:jnlp goals provide a way for the user
to sign jars. To perform this operation, some sensitive information is
required (mostly some passwords, maybe a user specific file path).
This information can be provided in the pom, or on the command line.

I like the way the settings.xml works, so I am wondering if there's a
way for us plugin writers to let the user put plugin specific
information in there.

One way I could see it, to make it generic, is to provide a sort of
template mecanism:

in settings.xml:

<pluginConfiguration>
  <pluginConfigId></pluginConfigId>
  <configuration>
     <key>defaultValue</key>
  </configuration>
</pluginConfiguration>

then in my pom:

<pluginConfigId></pluginConfigId>
<configuration>
  ...
</configuration>

That way we could just use the values defined in the settings.xml as
default, overriden is necessary. That would work for every plugin.

Comments?

Jerome

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to