14
nuget vs maven Miguel Fernández

NuGet vs Maven

Embed Size (px)

Citation preview

Page 1: NuGet vs Maven

nuget vs mavenMiguel Fernández

Page 2: NuGet vs Maven

2

2015

@dotnetmalaga

1977 1981 1985 1989 1993 1997 2001 2005 2009 2013

MAKE1/1/1977

Ant7/1/2000

Maven7/13/2004

NuGet10/5/2010

Today11/25/2015

timeline

Page 3: NuGet vs Maven

3

2015

@dotnetmalaga

package stats

Source: modulecounts.com

Page 4: NuGet vs Maven

nuget“package manager for the Microsoft development platform including .NET”

Pronunciation: “new-get”, no “nugget”

Page 5: NuGet vs Maven

5

2015

@dotnetmalaga

_ DRY_ More dependencies on new projects_ Updates_ Open source community

nuget

why?

Page 6: NuGet vs Maven

6

2015

@dotnetmalaga

_ Consume and publish packages_ Direct and transitive dependencies_ Config file transformations_ Based on PowerShell and MSBuild

nuget

main features

Page 7: NuGet vs Maven

nuget demo 1consume, create and publish a package

Page 8: NuGet vs Maven

8

2015

@dotnetmalaga

_ Official feed: nuget.org (gallery)_ Alternative feeds: artifactory, myget, octopus, nexus…_ Clients: Power Shell, Visual Studio, Package Explorer_ Chocolatey, boxstarter

nuget

ecosystem

Page 9: NuGet vs Maven

nuget demo 2create my own feed

Page 10: NuGet vs Maven

maven“software project management and comprehension tool”

Page 11: NuGet vs Maven

11

2015

@dotnetmalaga

_ pom.xml_ Everything is a package_ SNAPSHOT concept_ Machine-wide_ Scope_ Plugins and many more features

maven

differences

Page 12: NuGet vs Maven

maven demo 1consume, create and publish a package

Page 13: NuGet vs Maven

nuget future demoproject templates

Page 14: NuGet vs Maven

14

2015

@dotnetmalaga