I think this would modify the overall Maven behaviour and you would therefore 
have to implement this as an extension rather than as a plugin. Fyi. we have 
such an extension that modifies usage of the local repository already within 
Takari.

Use it as inspiration.. 

https://github.com/takari/takari-local-repository

Manfred

Paul Hammant wrote on 2017-10-16 03:39:

>>
>> This should be possible by providing WorkspaceReader implementation -
>> @Component( role = WorkspaceReader.class, hint = "ide" )
>>
>> Note that Maven tries resolution from workspace *before* repositories -
>> workspace reader has priority lower than reactor, but higher than remote
>> repos known to Maven.
> 
> WorkspaceReader functionality is or is not a thing that can be set in
> pom.xml files?
> 
> Are there any examples in public that use WorkspaceReader in use to
> source a dep from outside of maven central (or the projects sibling
> modules)?
> 
> - Paul
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
> For additional commands, e-mail: dev-h...@maven.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org

Reply via email to