diff --git a/build.gradle b/build.gradle index a6f3734..0199fe5 100644 --- a/build.gradle +++ b/build.gradle @@ -8,5 +8,5 @@ allprojects { } ext { - springInitializrVersion = '0.8.0.RELEASE' + springInitializrVersion = '0.10.2' } \ No newline at end of file diff --git a/start.xenit.eu/src/main/java/eu/xenit/alfred/initializr/start/build/SimpleBuildCustomizer.java b/start.xenit.eu/src/main/java/eu/xenit/alfred/initializr/start/build/SimpleBuildCustomizer.java index 4ba9711..6c598da 100644 --- a/start.xenit.eu/src/main/java/eu/xenit/alfred/initializr/start/build/SimpleBuildCustomizer.java +++ b/start.xenit.eu/src/main/java/eu/xenit/alfred/initializr/start/build/SimpleBuildCustomizer.java @@ -18,9 +18,6 @@ import eu.xenit.alfred.initializr.generator.buildsystem.Build; import io.spring.initializr.generator.project.ProjectDescription; -import io.spring.initializr.web.support.DefaultInitializrMetadataUpdateStrategy; -import org.apache.commons.logging.Log; -import org.apache.commons.logging.LogFactory; import org.springframework.core.Ordered; /** diff --git a/start.xenit.eu/src/main/java/eu/xenit/alfred/initializr/start/project/alfresco/artifacts/InLogicArtifactSelectorImpl.java b/start.xenit.eu/src/main/java/eu/xenit/alfred/initializr/start/project/alfresco/artifacts/InLogicArtifactSelectorImpl.java index b4cf5a8..9ae080c 100644 --- a/start.xenit.eu/src/main/java/eu/xenit/alfred/initializr/start/project/alfresco/artifacts/InLogicArtifactSelectorImpl.java +++ b/start.xenit.eu/src/main/java/eu/xenit/alfred/initializr/start/project/alfresco/artifacts/InLogicArtifactSelectorImpl.java @@ -18,9 +18,9 @@ public String getAlfrescoVersion() { return version.toString(); } if (version.getPatch() == 0) { - return version.getMajor() + "." + version.getMinor() + "." + version.getQualifier().getQualifier(); + return version.getMajor() + "." + version.getMinor() + "." + version.getQualifier().getId(); } - return version.getMajor() + "." + version.getMinor() + "." + version.getPatch() + "-" + version.getQualifier().getQualifier(); + return version.getMajor() + "." + version.getMinor() + "." + version.getPatch() + "-" + version.getQualifier().getId(); } @Override @@ -54,7 +54,7 @@ public String getAlfrescoDockerImage() { } private boolean isCommunity() { - return projectDescription.getPlatformVersion().getQualifier().getQualifier().matches("[a-g]*"); + return projectDescription.getPlatformVersion().getQualifier().getId().matches("[a-g]*"); } private boolean isSixOrAbove() {