|
|
|
|
|
by richbell
1267 days ago
|
|
> What would you say is the main difference with Maven/Java vs NPM? Maven doesn't allow execution of arbitrary code at install-time, which curbs a large number of potential supply-chain attacks. Because of the JVM and JARs being mostly self-contained Maven doesn't really need to worry about system or runtime dependencies (unless you're using Scala...). This allows Maven to be a 'dumb' package manager that relies on simple semantics (no hidden specially-generated indices, for example) and be fairly successful. Of course, there's an internal battle of whether Gradle or Maven is superior, but they both rely on the same distribution and packaging specifications. |
|