{"id":19082244,"url":"https://github.com/waikato-datamining/instant-adams","last_synced_at":"2025-09-20T03:14:23.756Z","repository":{"id":57744864,"uuid":"242836493","full_name":"waikato-datamining/instant-adams","owner":"waikato-datamining","description":"Boostrapping ADAMS applications simply from a list of modules, without compilation.","archived":false,"fork":false,"pushed_at":"2025-04-29T03:33:00.000Z","size":90,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-29T04:33:54.972Z","etag":null,"topics":["bootstrapping","maven"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/waikato-datamining.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-02-24T20:29:55.000Z","updated_at":"2025-04-29T03:33:03.000Z","dependencies_parsed_at":"2024-10-29T03:32:52.076Z","dependency_job_id":null,"html_url":"https://github.com/waikato-datamining/instant-adams","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/waikato-datamining%2Finstant-adams","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/waikato-datamining%2Finstant-adams/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/waikato-datamining%2Finstant-adams/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/waikato-datamining%2Finstant-adams/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/waikato-datamining","download_url":"https://codeload.github.com/waikato-datamining/instant-adams/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251667254,"owners_count":21624457,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bootstrapping","maven"],"created_at":"2024-11-09T02:42:40.479Z","updated_at":"2025-09-20T03:14:18.704Z","avatar_url":"https://github.com/waikato-datamining.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# instant-adams\nBoostrapping ADAMS applications simply from list of modules, without compilation.\nAdditional jars (binary and sources) can be injected into the process as well.\nYou can either generate cross-platform applications, by using shell scripts for \nLinux/Mac and batch files for Windows, or Linux packages for Debian (`.deb`) \nand/or Redhat (`.rpm`).\n\n## Command-line\n\n```\nAllows bootstrapping of ADAMS applications by simply supplying the modules.\n\n\nUsage: [--help] [-m DIR] [-u FILE] [-j DIR] [-p FILE] [-n NAME]\n       -M MODULES -V VERSION [-d DEPENDENCY...] [-D FILE...]\n       [-J JAR_OR_DIR...] [-s] [-S JAR_OR_DIR...] -o DIR [-C]\n       [-v JVM...] [-c CLASSNAME] [--deb] [--deb-snippet FILE] [--rpm]\n       [--rpm-snippet FILE] [-l]\n\nOptions:\n-m, --maven_home DIR\n\tThe directory with a local Maven installation to use instead of the\n\tbundled one.\n\n-u, --maven_user_settings FILE\n\tThe file with the maven user settings to use other than\n\t$HOME/.m2/settings.xml.\n\n-j, --java_home DIR\n\tThe Java home to use for the Maven execution.\n\n-p, --pom_template FILE\n\tThe alternative template for the pom.xml to use.\n\n-n, --name NAME\n\tThe name to use for the project in the pom.xml. Also used as library\n\tdirectory and executable name when generating Debian/Redhat packages.\n\n-M, --module MODULES\n\tThe comma-separated list of ADAMS modules to use for the application,\n\te.g.: adams-weka,adams-groovy,adams-excel\n\n-V, --version VERSION\n\tThe version of ADAMS to use, e.g., '20.1.1' or '20.2.0-SNAPSHOT'.\n\tUse 'LATEST' to use the latest snapshot version available.\n\n-d, --dependency DEPENDENCY\n\tThe additional maven dependencies to use for bootstrapping ADAMS\n\t(group:artifact:version), e.g.: nz.ac.waikato.cms.weka:kfGroovy:1.0.12\n\n-D, --dependency-file FILE\n\tThe file(s) with additional maven dependencies to use for bootstrapping\n\tADAMS (group:artifact:version), one dependency per line.\n\n-J, --external-jar JAR_OR_DIR\n\tThe external jar or directory with jar files to also include in the\n\tapplication.\n\n-s, --sources\n\tIf enabled, source jars of all the Maven artifacts will get downloaded\n\tas well and stored in a separated directory.\n\n-S, --external-source JAR_OR_DIR\n\tThe external source jar or directory with source jar files to also\n\tinclude in the application.\n\n-o, --output_dir DIR\n\tThe directory to output the bootstrapped ADAMS application in.\n\n-C, --clean\n\tIf enabled, the 'clean' goals gets executed.\n\n-v, --jvm JVM\n\tThe parameters to pass to the JVM before launching the application in\n\tthe scripts.\n\n-c, --main_class CLASSNAME\n\tThe main class to launch in the scripts.\n\n--deb\n\tIf enabled, a Debian .deb package is generated. Required tools: fakeroot,\n\tdpkg-deb\n\n--deb-snippet FILE\n\tThe custom Maven pom.xml snippet for generating a Debian package.\n\n--rpm\n\tIf enabled, a Redhat .rpm package is generated.\n\n--rpm-snippet FILE\n\tThe custom Maven pom.xml snippet for generating a Redhat package.\n\n-l, --list_modules\n\tIf enabled, all currently available ADAMS modules are output (all other\n\toptions get ignored).\n```\n\n\n## Examples\n\n## Cross-platform\n\nThe following examples bootstrap an ADAMS application (from the 20.1.1 release) \nwith support for Weka, Groovy and Excel:\n \n```bash\njava -jar instant-adams-0.1.4-spring-boot.jar \\\n  -C \\\n  -M adams-weka,adams-groovy,adams-excel \\\n  -V 20.1.1 \\\n  -o ./out \\\n  -v -Xmx1g\n```\n\nAnd the same using Java:\n\n```java\nimport adams.bootstrap.Main;\nimport java.io.File;\n\npublic class BootstrapTest {\n  \n  public static void main(String[] args) {\n    Main main = new Main()\n      .clean(true)\n      .modules(\"adams-weka,adams-groovy,adams-excel\")\n      .version(\"20.1.1\")\n      .outputDir(new File(\"./out\"))\n      .jvm(\"-Xmx1g\");\n    String result = main.execute();\n    if (result != null)\n      System.err.println(result);\n  }\n} \n```\n\n### Debian package\n\nThe same, but compiled as Debian (.deb) package:\n \n```bash\njava -jar instant-adams-0.1.4-spring-boot.jar \\\n  -C \\\n  -M adams-weka,adams-groovy,adams-excel \\\n  -n adams-test \\\n  -V 20.1.1 \\\n  -o ./out \\\n  -v -Xmx1g \\\n  --deb\n```\n\nAnd the same using Java:\n\n```java\nimport adams.bootstrap.Main;\nimport java.io.File;\n\npublic class BootstrapTest {\n  \n  public static void main(String[] args) {\n    Main main = new Main()\n      .clean(true)\n      .modules(\"adams-weka,adams-groovy,adams-excel\")\n      .name(\"adams-test\")\n      .version(\"20.1.1\")\n      .outputDir(new File(\"./out\"))\n      .jvm(\"-Xmx1g\")\n      .debian(true);\n    String result = main.execute();\n    if (result != null)\n      System.err.println(result);\n  }\n} \n```\n\n**Note:** The *name* is used as package name and executable for launching the\napplication, in this case you will get `/usr/bin/weka`.\n\n\n## Releases\n\n* [0.1.5](https://github.com/waikato-datamining/instant-adams/releases/download/instant-adams-0.1.5/instant-adams-0.1.5-spring-boot.jar)\n* [0.1.4](https://github.com/waikato-datamining/instant-adams/releases/download/instant-adams-0.1.4/instant-adams-0.1.4-spring-boot.jar)\n* [0.1.3](https://github.com/waikato-datamining/instant-adams/releases/download/instant-adams-0.1.3/instant-adams-0.1.3-spring-boot.jar)\n* [0.1.2](https://github.com/waikato-datamining/instant-adams/releases/download/instant-adams-0.1.2/instant-adams-0.1.2-spring-boot.jar)\n* [0.1.1](https://github.com/waikato-datamining/instant-adams/releases/download/instant-adams-0.1.1/instant-adams-0.1.1-spring-boot.jar)\n* [0.1.0](https://github.com/waikato-datamining/instant-adams/releases/download/instant-adams-0.1.0/instant-adams-0.1.0-spring-boot.jar)\n* [0.0.1](https://github.com/waikato-datamining/instant-adams/releases/download/instant-adams-0.0.1/instant-adams-0.0.1-spring-boot.jar)\n\n\n## Maven\n\n```xml\n    \u003cdependency\u003e\n      \u003cgroupId\u003enz.ac.waikato.cms.adams\u003c/groupId\u003e\n      \u003cartifactId\u003einstant-adams\u003c/artifactId\u003e\n      \u003cversion\u003e0.1.5\u003c/version\u003e\n    \u003c/dependency\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwaikato-datamining%2Finstant-adams","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwaikato-datamining%2Finstant-adams","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwaikato-datamining%2Finstant-adams/lists"}