Skip to content

Commit b9d8f1f

Browse files
committed
⬆️ Updated to grab github-package-repo from maven central
That package is now available from maven central, so the script can grab it from there without any additional configuration.
1 parent 50e49d5 commit b9d8f1f

File tree

1 file changed

+3
-20
lines changed

1 file changed

+3
-20
lines changed

jbang_scripts/GrabBundles.java

Lines changed: 3 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
///usr/bin/env jbang "$0" "$@" ; exit $?
2-
//REPOS mavencentral,github=https://maven.pkg.github.com/rmcdouga/*
32
//DEPS info.picocli:picocli:4.7.7
4-
//DEPS com.github.rmcdouga:github-package-repo:0.0.2-SNAPSHOT
3+
//DEPS io.github.rmcdouga:github-package-repo:0.0.2
54
//DEPS org.slf4j:slf4j-simple:2.0.17
65
//JAVA 25+
76

@@ -19,22 +18,6 @@
1918
/**
2019
* This JBang script will grab the latest bundles from the 4PointSolutions (GitHub) package repository.
2120
*
22-
* NOTE: The GitHub package repositories require user authentication. This script uses your maven
23-
* credentials to log into the GitHub package repository. This means that, in order to
24-
* pull down the .jars, a user needs to have setup their credentials in their local ~/.m2/settings.xml file.
25-
*
26-
* Your settings.xml should look something like this:
27-
* <?xml version="1.0"?>
28-
* <settings xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 https://maven.apache.org/xsd/settings-1.0.0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/SETTINGS/1.0.0">
29-
* <servers>
30-
* <server>
31-
* <id>github</id>
32-
* <username>Your GitHub Username goes here</username>
33-
* <password>Your Personal Access Token goes here</password>
34-
* </server>
35-
* </servers>
36-
* </settings>
37-
*
3821
*/
3922
@Command(name = "GrabBundles", mixinStandardHelpOptions = true, version = "GrabBundles 0.1",
4023
description = "GrabBundles will grab the latest bundle .jar files from the 4PointSolutions (GitHub) package repository.")
@@ -56,13 +39,13 @@ public Integer call() throws Exception {
5639
packages.repo("4PointSolutions", "FluentFormsAPI")
5740
.group("com._4point.aem.docservices")
5841
.artifact("rest-services.server")
59-
.version("0.0.3")
42+
.version("0.0.5-SNAPSHOT")
6043
.copyTo(dest, StandardCopyOption.REPLACE_EXISTING);
6144

6245
packages.repo("4PointSolutions", "FluentFormsAPI")
6346
.group("com._4point.aem")
6447
.artifact("fluentforms.core")
65-
.version("0.0.3")
48+
.version("0.0.5-SNAPSHOT")
6649
.copyTo(dest, StandardCopyOption.REPLACE_EXISTING);
6750

6851
return 0;

0 commit comments

Comments
 (0)