Skip to content

Commit e237851

Browse files
jmesnilpedro-hos
authored andcommitted
Update the code to find Prospero version
Required after the changes in the pom.xml in #940. This fixes #952 Signed-off-by: Jeff Mesnil <jmesnil@ibm.com>
1 parent 27eee67 commit e237851

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

prospero-common/src/main/java/org/wildfly/prospero/VersionLogger.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public static String getVersion() throws Exception {
5555
URL url = resources.nextElement();
5656
Manifest manifest = new Manifest(url.openStream());
5757
final String specTitle = manifest.getMainAttributes().getValue("Specification-Title");
58-
if ("prospero-common".equals(specTitle) || "prospero-cli".equals(specTitle)) {
58+
if ("Prospero Common".equals(specTitle) || "Prospero CLI".equals(specTitle)) {
5959
return StringUtils.join(manifest.getMainAttributes().getValue("Implementation-Version"));
6060
}
6161
}

0 commit comments

Comments
 (0)