IIRC, plexus-interactivity was being used as I suggested, which is what is used in the release plugin so you can have alternate implementations for answering questions.

- Brett

On 29/08/2006, at 9:15 AM, Jason van Zyl wrote:


On 28 Aug 06, at 6:15 PM 28 Aug 06, gredler wrote:


Hi,

I'm working on the license clickthough functionality in the artifact
resolver (http://jira.codehaus.org/browse/MNG-671), and I need to know:

 - what the best way of retrieving the current Settings object is
 - what the best way of saving changes to the Settings object is

I'm hoping that I can just add a line or two to a components.xml file and
have Maven automagically wire the object up.

I've been banging my head against MavenSettingsBuilder (recently
refactored), MavenTools, MavenEmbedder, etc. There has to be a simple way to
do this behind all the abstractions!


Do you have a general click through library that you are binding in with a resolution listener or is this stuff coupled to maven-artifact?

I will respond further once I look at the patches, but what you should have is a separate library bridge in with a listener and any configuration you need should be couched in terms of maven-artifact requests translated to what your library needs. Because people may simply embed maven-artifact and want this capability. Maybe you did this, but this is the only way I see this working. Shouldn't matter what the Maven CLI does.

Thanks,

Daniel
--
View this message in context: http://www.nabble.com/how-to-get- current-settings-object-tf2180267.html#a6029320
Sent from the Maven Developers forum at Nabble.com.


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



Jason van Zyl
[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]

Reply via email to