Skip to content

[Feature] Please add jrun install -r requirements.jrun syntax #13

Open
@jleaders

Description

@jleaders

I know jrun is primarily for running java, but it strikes me as being a possibly remarkably simple dependency manager. (groovy, gradle, ant, maven all seem quite complex)

This request is not without precedent, see the following technologies who employ this pattern:

  • gem
  • npm
  • bower
  • pip
  • composer
  • ansible-galaxy

You could make it pip-like "one line, multi-depeandancy install" behavior, similar to pip install -r requirements.txt. What do you think of creating a jrun install that does the same thing that jrun is currently doing, but also copies the downloaded artifacts to a specified folder (--out)?

I'm imagining:

$ cat requirements.jrun

net.razorvine:pyrolite
# insert more dependancies here... also support PURL syntax?

$jrun install --requirements requirements.jrun --out ./lib
is the same as
$jrun install -r requirements.jrun -o ./lib
Which then results in:
$tree ./lib

./lib
└── net.razorvine
    └── pyrolite
        ├── pom.xml
        ├── pyrolite-4.21.jar
        └── serpent-1.23.jar



Then any java project could just add ./lib as it's library path, and just create a jrun.requirements for all their dependency management

This will satisfy the heart of this request which has 25,000 views
https://stackoverflow.com/questions/2710266/is-there-a-package-manager-for-java-like-easy-install-for-python

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions