| src | ||
| tests/sample_project | ||
| .gitignore | ||
| Cargo.lock | ||
| Cargo.toml | ||
| README.md | ||
Jargo
Exploring the need/possibility to move from maven/gradle to cargo.
That is, build tool for java taking inspiration from Cargo
And it's called Jargo. I do not wish to put a J in front of anything, as is the java tradition, but 'jargo' actually sounds kinda nice and it conveys pretty much what it is.
It is NOT a new maven (not yet at least).
Basic premisses:
- written in Rust
- does NOT copy anything from the maven philosophy (phases, goals etc). Instead find out on the go what would be a good design
- uses TOML
see tests/sample_project/Jargo.toml to get an impression of what that looks like.
Goals:
- Simple management of (test) dependencies, using existing maven repositories
- ability to compile to jar files
- ability to run unit tests
After this, we'll validate it's performance. If it's not faster/easier/better than maven, then abort
But instead, if it will save you time/resources/heart failure, then why not take this next level?
- upload to maven repo's
- plugin mechanism for specific goals (code generation, javadoc, etc).
- migrating from maven in actual projects
Questions:
- Why?
Every tool is currently being rewritten in rust. And for good reason!
- Why not create a drop-in replacement for maven written in rust?
While that would make migration a no-brainer, it seems too ambitious based on what I've seen of the maven codebase