Read version from build-info.properties instead of pom.properties

This commit is contained in:
Sebastian Sdorra
2020-12-22 10:22:50 +01:00
committed by René Pfeuffer
parent acd8eb3a9a
commit 9d27c12de3

View File

@@ -71,7 +71,7 @@ public class BasicContextProvider implements SCMContextProvider
/** Path to the maven properties file of the scm-core artifact */
public static final String MAVEN_PROPERTIES =
"/META-INF/maven/sonia.scm/scm-core/pom.properties";
"/META-INF/scm/build-info.properties";
/** Maven property for the version of the artifact */
public static final String MAVEN_PROPERTY_VERSION = "version";