Hi Yoav,

I thinking about a view implemented by artifactory.

In my maven pom the nuget pkg dependency is defined like:

<dependency>
  <groupId>nuget</groupId>
  <artifactId>Cmy.Algorithms.Common.x64</artifactId>
  <version>2.2</version>
  <type>nupkg</nupkg>
</dependency>

artifactId is the artifactory nuget.id
version is the artifactory nuget.version
groupId may be the artifactory repository id or what ever

maven request the download of the dependency  with url 
http://artifactory-server/nuget-local/nuget/Cmy.Algorithms.Common.x64/2.2/Cmy.Algorithms.Common.x64-2.2.nupkg

artifactory "translate" the url into the correct nuget artifact coordinates: 
http://artifactory-server/nuget-local/Czy.Algorithms.Common.x64.2.2.nupkg

Thats all.

Regards,
Torsen



On Thu, 14 Feb 2013 00:25:41 +0200
 Yoav Landman <[email protected]> wrote:
>Hi,
>
>NuGet artifacts have no path context since access to them is abstracted in
>a REST API that includes no path details. Therefore, you should be able to
>just deploy them to any path, Maven-compatible paths included.
>
>-Yoav
>
>On Wed, Feb 13, 2013 at 11:08 PM, Baruch Sadogursky <[email protected]>wrote:
>
>> I am not sure whether NuGet tools are flexible enough to adapt to Maven
>> layout. If they are, no problems with Artifactory expected. Just deploy
>> them according to Maven layout and everything should work on Maven
>> consumption side.
>>
>> Regards,
>>
>> Baruch.
>>
>> --
>> Developer Advocate
>> JFrog Ltd
>> www.jfrog.com
>> +972544954353
>> @jbaruch
>>
>>
>> On Wed, Feb 13, 2013 at 2:27 PM, lier9999 <[email protected]> wrote:
>>
>>> Hi Baruch,
>>>
>>> I'm thinking of a maven compatible view of the NuGet repository. Is this
>>> not
>>> possible in principle to implement in Artifactory?
>>>
>>> Regards,
>>> Torsten
>>>
>>>
>>>
>>> --
>>> View this message in context:
>>> http://forums.jfrog.org/get-nuget-artifact-from-artifactory-repository-within-maven-tp7578578p7578585.html
>>> Sent from the Artifactory - Users mailing list archive at Nabble.com.
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Free Next-Gen Firewall Hardware Offer
>>> Buy your Sophos next-gen firewall before the end March 2013
>>> and get the hardware for free! Learn more.
>>> http://p.sf.net/sfu/sophos-d2d-feb
>>> _______________________________________________
>>> Artifactory-users mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/artifactory-users
>>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Free Next-Gen Firewall Hardware Offer
>> Buy your Sophos next-gen firewall before the end March 2013
>> and get the hardware for free! Learn more.
>> http://p.sf.net/sfu/sophos-d2d-feb
>> _______________________________________________
>> Artifactory-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/artifactory-users
>>
>>

----
Dipl.-Ing. Torsten Liermann          Tel: +49 151/11565077
Theodolindenplatz 2                   
81545 München                       http://liermann-it.de

------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
Artifactory-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/artifactory-users

Reply via email to