OpenLiberty / ci.maven

Maven plugins for managing Liberty profile servers #devops
Apache License 2.0
130 stars 91 forks source link

3.9 Version does not wortk with Maven < 3.8.6 #1738

Closed c-koell closed 1 year ago

c-koell commented 1 year ago

With Version 3.9 we get following Exception running on Maven 3.8.4

Failed to execute goal [io.openliberty.tools:liberty-maven-plugin:3.9:dev[The plugin io.openliberty.tools:liberty-maven-plugin:3.9 requires Maven version 3.8.6

In the release news from https://github.com/OpenLiberty/ci.maven/releases/tag/liberty-maven-3.9 i havn't found any hint that a minimal Maven version is required now .

With Version 3.8.2 it works fine.

cherylking commented 1 year ago

@c-koell Thanks for opening the issue. We did not intentionally make a change that requires a minimum version of 3.8.6, or we would have updated the release notes accordingly (and the README). There were a couple of versions of Maven that contained a problem that affected the running of the dev goal. That was version 3.8.2 and 3.8.3. So version 3.8.4 should have been fine.

I will look into what is causing this new failure.

cherylking commented 1 year ago

@c-koell So it looks like this change was part of the work to prepare to support Maven 4.0. Since the change happened back in June, I overlooked capturing it in the release notes and README. I will update both today. Thanks again for letting us know.