• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • salvin francis
  • fred rosenberger

Is there a Java equivalent for NuGet of C#?

 
Ranch Hand
Posts: 1463
8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In C# we have DLL and in Java we have Jars. Is there an equivalent of NuGet of C# in Java. Thanks.
 
Saloon Keeper
Posts: 12008
257
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
NuGet is not part of C#. It's just an application you can use to manage your dependencies.

You can do the same with Maven, but Maven is also a build tool, like MSBuild.
 
Monica Shiralkar
Ranch Hand
Posts: 1463
8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks. I have always used Maven to either create a jar or to create a war and have never used it for this purpose. In what kind of scenario is it required to use it?
 
Stephan van Hulst
Saloon Keeper
Posts: 12008
257
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It's not required to use Maven.

It's very convenient though, because it manages your dependencies for you and you can use plugins to customize the way your application is built, without having to do everything by hand every time you want to build.
 
Monica Shiralkar
Ranch Hand
Posts: 1463
8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The question was regarding Nudget and it was answered. What about same question regarding "Nudget packages"?
 
Stephan van Hulst
Saloon Keeper
Posts: 12008
257
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You mean NuGet, not 'Nudget'.

NuGet packages are to NuGet as Maven packages are to Maven. The most important difference is that NuGet packages assemblies (.dll) inside the package (.nupkg), while in Maven the assembly IS the package (.jar, .war, .ear, etc.).

The reason for this is that NuGet is not a build tool. You first need a build tool to create the DLL and documentation files, and NuGet will then put them in a package. Maven is a build tool, so it can do the building and packaging in the same step.
 
I love a woman who dresses in stainless steel ... and carries tiny ads:
Try Free Java/.NET Libraries for Word Excel PowerPoint and PDF
htttp://www.e-iceblue.com/free-apis.html
    Bookmark Topic Watch Topic
  • New Topic