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
N/A (problem occurs when compiling plugin with Maven)
What Operating System are you using (both controller, and any agents involved in the problem)?
N/A (problem occurs when compiling plugin with Maven)
Reproduction steps
Clone project.
Run Maven validate on project using the Maven wrapper
Expected Results
validate should be successful.
Actual Results
An error that the Maven version is too low (the Maven wrapper settings pull in 3.3.9, but Jenkins parent POM requires at least 3.8.1):
[INFO] Scanning for projects...
[WARNING] The POM for org.jenkins-ci.tools:maven-hpi-plugin:jar:3.22 is missing, no dependency information available
[WARNING] Failed to build parent project for org.jenkins-ci.plugins:gitlab-plugin:hpi:1.5.28-SNAPSHOT
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building GitLab Plugin 1.5.28-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-hpi-plugin:3.22:validate (default-validate) @ gitlab-plugin ---
[INFO]
[INFO] --- maven-hpi-plugin:3.22:validate-hpi (default-validate-hpi) @ gitlab-plugin ---
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0:display-info (display-info) @ gitlab-plugin ---
[INFO] Maven Version: 3.3.9
[INFO] JDK Version: 11.0.12 normalized as: 11.0.12
[INFO] Java Vendor: Eclipse Foundation
[INFO] OS Info: Arch: x86_64 Family: mac Name: mac os x Version: 11.1
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0:enforce (display-info) @ gitlab-plugin ---
[WARNING] The POM for org.apache.logging.log4j:log4j-api-java9:zip:2.11.2 is missing, no dependency information available
[INFO] Ignoring requireUpperBoundDeps in javax.servlet:javax.servlet-api
[INFO] Ignoring requireUpperBoundDeps in org.kohsuke:access-modifier-annotation
[INFO] Ignoring requireUpperBoundDeps in com.google.guava:guava
[INFO] Adding ignore: module-info
[WARNING] Rule 2: org.apache.maven.plugins.enforcer.RequireMavenVersion failed with message:
3.8.1 required to no longer download dependencies via HTTP (use HTTPS instead).
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 5.820 s
[INFO] Finished at: 2022-01-11T11:52:21+00:00
[INFO] Final Memory: 32M/114M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-enforcer-plugin:3.0.0:enforce (display-info) on project gitlab-plugin: Some Enforcer rules have failed. Look above for specific messages explaining why the rule failed. -> [Help 1]
[ERROR]
Anything else?
I don't have Maven 3.3.9 installed on my system, so I can only assume that mvnw has pulled it in.
The text was updated successfully, but these errors were encountered:
Jenkins and plugins versions report
N/A (problem occurs when compiling plugin with Maven)
What Operating System are you using (both controller, and any agents involved in the problem)?
N/A (problem occurs when compiling plugin with Maven)
Reproduction steps
validate
on project using the Maven wrapperExpected Results
validate
should be successful.Actual Results
An error that the Maven version is too low (the Maven wrapper settings pull in 3.3.9, but Jenkins parent POM requires at least 3.8.1):
Anything else?
I don't have Maven 3.3.9 installed on my system, so I can only assume that
mvnw
has pulled it in.The text was updated successfully, but these errors were encountered: