We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0eb20a8 commit ff26527Copy full SHA for ff26527
1 file changed
src/java/frameworks/java_cf_env.go
@@ -86,8 +86,9 @@ func (j *JavaCfEnvFramework) Supply() error {
86
func (j *JavaCfEnvFramework) Finalize() error {
87
// Add the JAR to additional libraries (classpath)
88
javaCfEnvDir := filepath.Join(j.context.Stager.DepDir(), "java_cf_env")
89
- // Match both the Maven name (java-cfenv-all-<ver>.jar) and the CF mirror name
90
- // (java-cfenv_<ver>_<stack>_<sha>.jar, underscores) — a hyphen-only glob misses the latter.
+ // The CF mirror installs the jar as java-cfenv_<ver>_<stack>_<sha>.jar (underscores).
+ // Glob java-cfenv*.jar so this — and a hyphenated Maven name, if the uri is ever
91
+ // pointed directly at Maven Central — both match.
92
jarPattern := filepath.Join(javaCfEnvDir, "java-cfenv*.jar")
93
94
matches, err := filepath.Glob(jarPattern)
0 commit comments