Re: Maven Plugin that provides alternative repository

2017-10-19 Thread Mikolaj Izdebski
On 10/19/2017 06:12 AM, Christoph Laeubrich wrote: > So extensions for WorkspaceReader can't be used like described here[1] > inside the pom.xml? > Does that mean I have to put my extension in the maven classpath to > make it work? IIRC, it won't work from pom.xml, but should work from

Re: Maven Plugin that provides alternative repository

2017-10-18 Thread Christoph Laeubrich
So extensions for WorkspaceReader can't be used like described here[1] inside the pom.xml? Does that mean I have to put my extension in the maven classpath to make it work? If I do tis, is it still possible to configure the Extension inside the pom or has it to be done by system-properties?

Re: Maven Plugin that provides alternative repository

2017-10-17 Thread Mikolaj Izdebski
On 10/16/2017 12:39 PM, Paul Hammant wrote: >> >> 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

Re: Maven Plugin that provides alternative repository

2017-10-16 Thread Manfred Moser
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..

Re: Maven Plugin that provides alternative repository

2017-10-16 Thread Paul Hammant
> > 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

Re: Maven Plugin that provides alternative repository

2017-10-16 Thread Mikolaj Izdebski
On 10/16/2017 06:42 AM, Christoph Laeubrich wrote: > Hi, > > thanks for your reply. I'd like to make artifacts avaiable to maven > via that are located in a repository with a format that > maven does not understand. > Even though if I would have the group+artifactid+version I can locate > that

Re: Maven Plugin that provides alternative repository

2017-10-15 Thread Christoph Laeubrich
Hi, thanks for your reply. I'd like to make artifacts avaiable to maven via that are located in a repository with a format that maven does not understand. Even though if I would have the group+artifactid+version I can locate that artifact there. So the idea is to add a plugin to the build that

Re: Maven Plugin that provides alternative repository

2017-10-12 Thread Karl Heinz Marbaise
Hi, On 12/10/17 16:28, Christoph Laeubrich wrote: Hi, I'd like to create a plugin that gets notified if maven tries to download an artifact but does not find it in any of its configured repositories. Is this possible to archive by a maven plugin? If yes what is the best starting point for

Maven Plugin that provides alternative repository

2017-10-12 Thread Christoph Laeubrich
Hi, I'd like to create a plugin that gets notified if maven tries to download an artifact but does not find it in any of its configured repositories. Is this possible to archive by a maven plugin? If yes what is the best starting point for this? My own search for this have not revelead any