Hacker News new | ask | show | jobs
Show HN: Tool to help old Java projects not on modern build systems (maven-tools.mohants.com)
1 points by pmg1991 12 days ago
The tool resolves dependencies and generates a ZIP containing the artifact and all required transitive JARs. Visualization to see the dependency graph.

Some use cases:

• Legacy Ant projects • No modern build system • Air-gapped or offline environments and need to upgrade a jar with transitive jars. • Quick prototyping and debugging • Situations where you just need the JARs( including transitive jars) and not a full Maven project

The service doesn't require an account and doesn't retain dependency requests. New features or suggestions are welcome here: https://github.com/pmg1991/maven-tools, MIT License source code.

Recommended Maven commands if you have a proper Maven project setup:

# Download dependencies to local repository mvn dependency:go-offline

# Copy dependencies to a directory (default: target/dependency) mvn dependency:copy-dependencies

# Copy dependencies to custom directory mvn dependency:copy-dependencies -DoutputDirectory=/path/to/dir

# Download all dependencies (including transitive) mvn dependency:resolve