You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by WonderCsabo <ko...@gmail.com> on 2014/09/05 12:32:19 UTC

Providing settings to Aether from global and user file

Hi guys!

I already posted my  question
<http://maven.40175.n5.nabble.com/Providing-settings-to-Aether-from-global-and-user-file-td5803227.html>  
to the users list, but i did not get any answers. I am posting now here,
maybe this kind of question better fits to this list. If not, sorry for
spamming. The original question:

In Robolectric, we use maven-ant-tasks to resolve some dependencines.
Unfortunetaly this brings a huge number of transitive depedencies which is
not convenient for Robolectric users. We think about  switching
<https://github.com/robolectric/robolectric/issues/905>   to Aether. There
is a  thread
<http://maven.40175.n5.nabble.com/Maven-Aether-Repositories-from-settings-xml-td4315216.html>  
about how to provide settings to Aether. My question is: is there a
component we can use to find the settings file locations, so we can feed
them to the SettingsBuilder?




--
View this message in context: http://maven.40175.n5.nabble.com/Providing-settings-to-Aether-from-global-and-user-file-tp5803883.html
Sent from the Maven Developers mailing list archive at Nabble.com.

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


Re: Providing settings to Aether from global and user file

Posted by WonderCsabo <ko...@gmail.com>.
Thanks, but are you sure this question should be in the Aether list? Because
this question is not about the usage of Aether, but about how to read
information from the global and user settings file, because Aether know
absolutely nothing about those.



--
View this message in context: http://maven.40175.n5.nabble.com/Providing-settings-to-Aether-from-global-and-user-file-tp5803883p5803993.html
Sent from the Maven Developers mailing list archive at Nabble.com.

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


Re: Providing settings to Aether from global and user file

Posted by Michael Osipov <mi...@apache.org>.
Am 2014-09-05 um 12:32 schrieb WonderCsabo:
> Hi guys!
>
> I already posted my  question
> <http://maven.40175.n5.nabble.com/Providing-settings-to-Aether-from-global-and-user-file-td5803227.html>
> to the users list, but i did not get any answers. I am posting now here,
> maybe this kind of question better fits to this list. If not, sorry for
> spamming.

Wrong list, go here https://dev.eclipse.org/mailman/listinfo/aether-users


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


Re: Providing settings to Aether from global and user file

Posted by Manfred Moser <ma...@mosabuam.com>.
Correct. The uber jar has it all in it and is a drop in file for getting it all running. Works great and takes your Maven settings into account, can work off maven pom.xml, uses the local Maven repo and so on.

Imho this should be the default "Maven" Ant tasks these days and the old ones should be removed.

manfred


WonderCsabo wrote on 08.09.2014 12:16:

> Thanks Manfred!
> 
> Actually aether-ant-tasks has more dependencies then maven-ant-tasks, so
> our dependency tree would be more huge. :(
> But it seems this has an "uber" jar
> <https://wiki.eclipse.org/Aether/Ant_Tasks#Installing_Aether_Ant_Tasks>
> deployed to central, which contains all deps, and we could use.
> 
> 
> 
> 
> --
> View this message in context:
> http://maven.40175.n5.nabble.com/Providing-settings-to-Aether-from-global-and-user-file-tp5803883p5804227.html
> Sent from the Maven Developers mailing list archive at Nabble.com.


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


Re: Providing settings to Aether from global and user file

Posted by WonderCsabo <ko...@gmail.com>.
Thanks Manfred!

Actually aether-ant-tasks has more dependencies then maven-ant-tasks, so
our dependency tree would be more huge. :(
But it seems this has an "uber" jar
<https://wiki.eclipse.org/Aether/Ant_Tasks#Installing_Aether_Ant_Tasks>
deployed to central, which contains all deps, and we could use.




--
View this message in context: http://maven.40175.n5.nabble.com/Providing-settings-to-Aether-from-global-and-user-file-tp5803883p5804227.html
Sent from the Maven Developers mailing list archive at Nabble.com.

Re: Providing settings to Aether from global and user file

Posted by Manfred Moser <ma...@mosabuam.com>.
You could use the Aether Ant tasks as a replacement..

https://github.com/eclipse/aether-ant

WonderCsabo wrote on 05.09.2014 03:32:

> Hi guys!
> 
> I already posted my  question
> <http://maven.40175.n5.nabble.com/Providing-settings-to-Aether-from-global-and-user-file-td5803227.html> 
> 
> to the users list, but i did not get any answers. I am posting now here,
> maybe this kind of question better fits to this list. If not, sorry for
> spamming. The original question:
> 
> In Robolectric, we use maven-ant-tasks to resolve some dependencines.
> Unfortunetaly this brings a huge number of transitive depedencies which is
> not convenient for Robolectric users. We think about  switching
> <https://github.com/robolectric/robolectric/issues/905>   to Aether. There
> is a  thread
> <http://maven.40175.n5.nabble.com/Maven-Aether-Repositories-from-settings-xml-td4315216.html> 
> 
> about how to provide settings to Aether. My question is: is there a
> component we can use to find the settings file locations, so we can feed
> them to the SettingsBuilder?
> 
> 
> 
> 
> --
> View this message in context:
> http://maven.40175.n5.nabble.com/Providing-settings-to-Aether-from-global-and-user-file-tp5803883.html
> Sent from the Maven Developers mailing list archive at Nabble.com.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
> 

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