mirror of https://github.com/apache/maven.git
Update location for searching for the version
This commit is contained in:
parent
03bc10d19a
commit
fcd0a69a15
|
@ -86,7 +86,7 @@ public class MavenWrapperMain {
|
||||||
|
|
||||||
static String wrapperVersion() {
|
static String wrapperVersion() {
|
||||||
try {
|
try {
|
||||||
InputStream resourceAsStream = MavenWrapperMain.class.getResourceAsStream("/META-INF/maven/org.apache.maven/maven-wapper/pom.properties");
|
InputStream resourceAsStream = MavenWrapperMain.class.getResourceAsStream("/META-INF/maven/io.takari/maven-wapper/pom.properties");
|
||||||
if (resourceAsStream == null) {
|
if (resourceAsStream == null) {
|
||||||
throw new RuntimeException("No maven properties found.");
|
throw new RuntimeException("No maven properties found.");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue