You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Our build had some errors outputs from Gradle at at mercedes-benz/sechub#1658.
The reason was the usage of spotless which relies on JDT parts for automated eclipse formatting.
Following output was shown multiple times:
Errors occurred while build effective model from /home/runner/.gradle/caches/modules-2/files-2.1/org.eclipse.platform/org.eclipse.core.expressions/3.8.200/eb159f34083b0135459745f934a6ad5eb61b61c/org.eclipse.core.expressions-3.8.200.pom:
'modelVersion' must be one of [4.0.0] but is '4.0'. in org.eclipse.platform:org.eclipse.core.expressions:3.8.200
A gradle build shall have not those warnings when there is a gradle/maven dependency to org.eclipse.core.expressions
Suggested solution
Change the pom model settings (sorry I did not find the part inside the sources) so next releases have 4.0.0 inside
Maybe change the existing deployed pom.xml at maven central to correct version in pom.xml for org.eclipse.core.expressions-3.8.200 - if possible
The text was updated successfully, but these errors were encountered:
de-jcup
changed the title
Gradle cannot build effective model because of failure in pom.xml for org.eclipse.platform:org.eclipse.core.expressions:3.8.200
Gradle cannot build effective model because of failure in pom.xml fo
Sep 19, 2022
Situation
Our build had some errors outputs from Gradle at at mercedes-benz/sechub#1658.
The reason was the usage of spotless which relies on JDT parts for automated eclipse formatting.
Following output was shown multiple times:
Looking at
https://repo1.maven.org/maven2/org/eclipse/platform/org.eclipse.core.expressions/3.8.200/org.eclipse.core.expressions-3.8.200.pom
The
pom.xml
contains<modelVersion>4.0</modelVersion>
The older version (3.8.100) https://repo1.maven.org/maven2/org/eclipse/platform/org.eclipse.core.expressions/3.8.100/org.eclipse.core.expressions-3.8.100.pom contains correctly:
<modelVersion>4.0.0</modelVersion>
Wanted
A gradle build shall have not those warnings when there is a gradle/maven dependency to
org.eclipse.core.expressions
Suggested solution
4.0.0
insidepom.xml
at maven central to correct version inpom.xml
fororg.eclipse.core.expressions-3.8.200
- if possibleThe text was updated successfully, but these errors were encountered: