Deploying a NuGet dep from Maven

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Deploying a NuGet dep from Maven

Michael Smith
Hi,

I'm looking into ways of automatically pushing web service (WSDL/XSD)
artifacts from a Java web service implementation to a .NET client solution.

In the Java/Maven world I can create a zip assembly containing all the
WSDL and XSD files and deploy them to Artifactory where a Java client
project can retrieve them.

With Artifactory's NuGet support, could I deploy my Maven artifact
normally and retrieve it in .NET through NuGet? Or are the Maven and
NuGet repositories completely separate in Artifactory?

Thanks,
Mike

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Artifactory-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/artifactory-users
Reply | Threaded
Open this post in threaded view
|

Re: Deploying a NuGet dep from Maven

Noam Y. Tenne
Hi Mike,

Maven and NuGet artifacts certainly can be retained within the same repository.
These are the prerequisites for Artifactory to treat an artifact as a NuGet package are:
  • The repository must be configured to support NuGet packages.
  • The artifact must be of type nupkg.
  • The artifact must contain a nuspec descriptor.
So you can deploy your .NET artifacts using Maven, but they'll have to be proper nupkgs if you'd like to serve them using NuGet.

HTH,
Noam

On Thu, Mar 1, 2012 at 8:30 PM, Michael Smith <[hidden email]> wrote:
Hi,

I'm looking into ways of automatically pushing web service (WSDL/XSD)
artifacts from a Java web service implementation to a .NET client solution.

In the Java/Maven world I can create a zip assembly containing all the
WSDL and XSD files and deploy them to Artifactory where a Java client
project can retrieve them.

With Artifactory's NuGet support, could I deploy my Maven artifact
normally and retrieve it in .NET through NuGet? Or are the Maven and
NuGet repositories completely separate in Artifactory?

Thanks,
Mike

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Artifactory-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/artifactory-users


------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Artifactory-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/artifactory-users
Reply | Threaded
Open this post in threaded view
|

Re: Deploying a NuGet dep from Maven

Michael Smith
Thanks Noam. That's good to know. It sounds like I might be better off
writing a script to get MSBuild to download the zip manually from the
repo; otherwise I'd be stuck figuring out how to make Maven produce a
nupkg, which is not something I can see being useful outside this
specific case.

Thanks,
Mike

On 12-03-01 05:10 PM, Noam Y. Tenne wrote:

> Hi Mike,
>
> Maven and NuGet artifacts certainly can be retained within the same
> repository.
> These are the prerequisites for Artifactory to treat an artifact as a
> NuGet package are:
>
>   * The repository must be configured to support NuGet packages.
>   * The artifact must be of type nupkg.
>   * The artifact must contain a nuspec descriptor.
>
> So you can deploy your .NET artifacts using Maven, but they'll have to
> be proper nupkgs if you'd like to serve them using NuGet.
>
> HTH,
> Noam
>
> On Thu, Mar 1, 2012 at 8:30 PM, Michael Smith <[hidden email]
> <mailto:[hidden email]>> wrote:
>
>     Hi,
>
>     I'm looking into ways of automatically pushing web service (WSDL/XSD)
>     artifacts from a Java web service implementation to a .NET client
>     solution.
>
>     In the Java/Maven world I can create a zip assembly containing all the
>     WSDL and XSD files and deploy them to Artifactory where a Java client
>     project can retrieve them.
>
>     With Artifactory's NuGet support, could I deploy my Maven artifact
>     normally and retrieve it in .NET through NuGet? Or are the Maven and
>     NuGet repositories completely separate in Artifactory?
>
>     Thanks,
>     Mike
>
>     ------------------------------------------------------------------------------
>     Virtualization & Cloud Management Using Capacity Planning
>     Cloud computing makes use of virtualization - but cloud computing
>     also focuses on allowing computing to be delivered as a service.
>     http://www.accelacomm.com/jaw/sfnl/114/51521223/
>     _______________________________________________
>     Artifactory-users mailing list
>     [hidden email]
>     <mailto:[hidden email]>
>     https://lists.sourceforge.net/lists/listinfo/artifactory-users
>
>
>
>
> ------------------------------------------------------------------------------
> Virtualization & Cloud Management Using Capacity Planning
> Cloud computing makes use of virtualization - but cloud computing
> also focuses on allowing computing to be delivered as a service.
> http://www.accelacomm.com/jaw/sfnl/114/51521223/
>
>
>
> _______________________________________________
> Artifactory-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/artifactory-users


------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Artifactory-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/artifactory-users
Reply | Threaded
Open this post in threaded view
|

Re: Deploying a NuGet dep from Maven

Frederic Simon
For your information, a zip is directly browsable in Artifactory.
I mean that if the zip contains wsdl or other xml resources, you can download it directly with a simple URL from MSBuild.
Just navigate the tree browser until the wsdl or xml file, and save the download link in the General tab.

That may help you.

On Fri, Mar 2, 2012 at 12:23 AM, Michael Smith <[hidden email]> wrote:
Thanks Noam. That's good to know. It sounds like I might be better off
writing a script to get MSBuild to download the zip manually from the
repo; otherwise I'd be stuck figuring out how to make Maven produce a
nupkg, which is not something I can see being useful outside this
specific case.

Thanks,
Mike

On 12-03-01 05:10 PM, Noam Y. Tenne wrote:
> Hi Mike,
>
> Maven and NuGet artifacts certainly can be retained within the same
> repository.
> These are the prerequisites for Artifactory to treat an artifact as a
> NuGet package are:
>
>   * The repository must be configured to support NuGet packages.
>   * The artifact must be of type nupkg.
>   * The artifact must contain a nuspec descriptor.
>
> So you can deploy your .NET artifacts using Maven, but they'll have to
> be proper nupkgs if you'd like to serve them using NuGet.
>
> HTH,
> Noam
>
> On Thu, Mar 1, 2012 at 8:30 PM, Michael Smith <[hidden email]
> <mailto:[hidden email]>> wrote:
>
>     Hi,
>
>     I'm looking into ways of automatically pushing web service (WSDL/XSD)
>     artifacts from a Java web service implementation to a .NET client
>     solution.
>
>     In the Java/Maven world I can create a zip assembly containing all the
>     WSDL and XSD files and deploy them to Artifactory where a Java client
>     project can retrieve them.
>
>     With Artifactory's NuGet support, could I deploy my Maven artifact
>     normally and retrieve it in .NET through NuGet? Or are the Maven and
>     NuGet repositories completely separate in Artifactory?
>
>     Thanks,
>     Mike
>
>     ------------------------------------------------------------------------------
>     Virtualization & Cloud Management Using Capacity Planning
>     Cloud computing makes use of virtualization - but cloud computing
>     also focuses on allowing computing to be delivered as a service.
>     http://www.accelacomm.com/jaw/sfnl/114/51521223/
>     _______________________________________________
>     Artifactory-users mailing list
>     [hidden email]
>     <mailto:[hidden email]>
>     https://lists.sourceforge.net/lists/listinfo/artifactory-users
>
>
>
>
> ------------------------------------------------------------------------------
> Virtualization & Cloud Management Using Capacity Planning
> Cloud computing makes use of virtualization - but cloud computing
> also focuses on allowing computing to be delivered as a service.
> http://www.accelacomm.com/jaw/sfnl/114/51521223/
>
>
>
> _______________________________________________
> Artifactory-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/artifactory-users


------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Artifactory-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/artifactory-users



--


------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Artifactory-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/artifactory-users