Skip to content

Commit

Permalink
Minimum supported maven version is 3.9.5
Browse files Browse the repository at this point in the history
  • Loading branch information
gzsombor committed Mar 25, 2024
1 parent 07bdcb6 commit e461957
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public JHipsterModule buildMavenModule(JHipsterModuleProperties properties, Vers
return moduleBuilder(properties)
.context()
.put("dasherizedBaseName", properties.projectBaseName().kebabCase())
.put("mavenVersion", mavenVersion.version())
.put("latestMavenVersion", mavenVersion.version())
.and()
.prerequisites(JAVA_PREREQUISITES)
.files()
Expand Down Expand Up @@ -100,7 +100,7 @@ public JHipsterModule buildMavenWrapperModule(JHipsterModuleProperties propertie
//@formatter:off
return moduleBuilder(properties)
.context()
.put("mavenVersion", mavenVersion.version())
.put("latestMavenVersion", mavenVersion.version())
.and()
.startupCommands()
.maven("")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/{{mavenVersion}}/apache-maven-{{mavenVersion}}-bin.zip
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/{{latestMavenVersion}}/apache-maven-{{latestMavenVersion}}-bin.zip
wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.2.0/maven-wrapper-3.2.0.jar
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>

<maven.version>{{mavenVersion}}</maven.version>
<!-- Minimum supported Maven version -->
<maven.version>3.9.5</maven.version>
</properties>

<build>
Expand Down

0 comments on commit e461957

Please sign in to comment.