Skip to content
This repository has been archived by the owner on Nov 6, 2023. It is now read-only.

Commit

Permalink
Merge pull request #37 from xenit-eu/DEVEM-437
Browse files Browse the repository at this point in the history
DEVEM-437 depend on initializr version 0.10.2
  • Loading branch information
driesdeproost authored Jul 15, 2021
2 parents 42eb624 + aae16fc commit c0991b0
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ allprojects {
}

ext {
springInitializrVersion = '0.8.0.RELEASE'
springInitializrVersion = '0.10.2'
}
Original file line number Diff line number Diff line change
Expand Up @@ -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;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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() {
Expand Down

0 comments on commit c0991b0

Please sign in to comment.