nuget vs maven Miguel Fernández 1
timeline MAKE Ant Maven NuGet Today 1/1/1977 7/1/2000 7/13/2004 10/5/2010 11/25/2015 1977 1977 1981 1985 1989 1993 1997 2001 2005 2009 2013 2016 Today
package stats Source: modulecounts.com
nuget Pronunciation: “new-get”, no “nugget” “package manager for the Microsoft development platform including .NET” 4
why? DRY More dependencies on new projects Updates nuget why? DRY More dependencies on new projects Updates Open source community
main features Consume and publish packages nuget main features Consume and publish packages Direct and transitive dependencies Config file transformations Based on PowerShell and MSBuild
nuget demo 1 consume, create and publish a package 7
ecosystem Official feed: nuget.org (gallery) Alternative feeds: artifactory, myget, octopus, nexus… Clients: Power Shell, Visual Studio, Package Explorer Chocolatey, boxstarter
nuget demo 2 create my own feed 9
maven “software project management and comprehension tool” 10
differences pom.xml Everything is a package SNAPSHOT concept maven differences pom.xml Everything is a package SNAPSHOT concept Machine-wide Scope Plugins and many more features
maven demo 1 consume, create and publish a package 12
nuget future demo project templates 13