Win a copy of TensorFlow 2.0 in Action this week in the Artificial Intelligence and Machine Learning forum!
  • 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
  • Liutauras Vilda
  • Paul Clapham
  • Bear Bibeault
  • Jeanne Boyarsky
Sheriffs:
  • Ron McLeod
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Jj Roberts
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • salvin francis
  • Scott Selikoff
  • fred rosenberger

Is there a Java equivalent for NuGet of C#?

 
Ranch Foreman
Posts: 1834
9
  • 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: 12442
269
  • 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 Foreman
Posts: 1834
9
  • 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: 12442
269
  • 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 Foreman
Posts: 1834
9
  • 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: 12442
269
  • 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.
 
Ranch Hand
Posts: 76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
NuGet packages contain reusable code that other developers make available to you for use in your projects. Packages are installed into a Visual Studio project using the NuGet Package Manager, the Package Manager Console, or the dotnet CLI. NET or . NET Core project.
 
What kind of corn soldier are you? And don't say "kernel" - that's only for this tiny ad:
the value of filler advertising in 2020
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic