Package org.apache.ivy
Class Main
java.lang.Object
org.apache.ivy.Main
Class used to launch ivy as a standalone tool.
Valid arguments can be obtained with the -? argument.
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
static ResolveReport
A method that allows to run embedded Ivy as if it were launched from CLI (e.g., for use with REPL in Java 9+).
-
Method Details
-
main
- Throws:
Exception
-
run
A method that allows to run embedded Ivy as if it were launched from CLI (e.g., for use with REPL in Java 9+).- Parameters:
args
- an array of command line arguments- Returns:
- null if asked for usage or version, or if anything fails during resolve, publish or launch; a ResolveReport on success
- Throws:
Exception
- if something goes wrong
-