Yes, we use the properties plugin. And right now they're in clear text on
the people's machines. The prompt plugin can ask the user to confirm what
they are about to do in the case of activating a profile that would
potentially be harmful if accidentally entered (i.e. navigating through
command history and accidentally pressing enter).
Harlan Iverson-2 wrote:
>
> I'm no Maven expert, but in the case of passwords, I can see some merit to
> this desire. What is the accepted way of storing passwords for builds,
> anyway?
>
> In any other case (responding to bkbonner), wouldn't something like
> maven-properties-plugin do the same job, and reduce chances of human
> error?
> Aside from passwords, I can't think of an example that human input can do
> and property file input can't.
>
> Harlan
>
> On 10/17/07, bkbonner <[EMAIL PROTECTED]> wrote:
>>
>>
>> Maven guys, I think this is a valid request. I'm using maven on one
>> project
>> to make it easier for non-developers to run builds. I'd like to have it
>> prompt for environment variables, too.
>>
>> I'd like to make a maven-prompt-plugin that will take the configuration
>> and
>> prompt the user for variable values.
>>
>> This seems like it might be useful for things like confirming actions,
>> etc.
>>
>> You could configure it inside a profile. What does everyone else think
>> of
>> this idea?
>>
>> I'd like to also know what the ramifications would be on the m2eclipse
>> plugin.
>>
>> Thoughts?
>>
>>
>> Nunn, Gerald wrote:
>> >
>> > Simple question, is there anyway to get Maven to prompt the user to
>> input
>> > a variable? The scenario is that I have a proxy server that requires a
>> > username and password, I do not want to store the password on the file
>> > system and would like to have Maven prompt for it whenever mvn is run
>> and
>> > the ${password} variable is needed. The inputing of the password should
>> be
>> > masked as well. I was thinking of creating a plugin to do this but what
>> > was wondering if there is something available for this already.
>> >
>> > Thanks,
>> >
>> > Gerald
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Prompt-user-for-variable--tf3632211s177.html#a13262411
>> Sent from the Maven - Users mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>
>
> --
> Harlan Iverson
> http://blog.devspan.com
>
>
--
View this message in context:
http://www.nabble.com/Prompt-user-for-variable--tf3632211s177.html#a13272024
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]