Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update build toolchain #247

Merged
merged 1 commit into from
Jul 24, 2022
Merged

Update build toolchain #247

merged 1 commit into from
Jul 24, 2022

Conversation

basil
Copy link
Member

@basil basil commented Jul 23, 2022

@dblock dblock merged commit 2f5c8cf into jenkinsci:master Jul 24, 2022
@dblock
Copy link
Member

dblock commented Jul 24, 2022

On my local mac I now get this (after this change):

mvn test

[INFO] --- maven-enforcer-plugin:3.1.0:enforce (display-info) @ ansicolor ---
[WARNING] Missing:
----------
1) org.jenkins-ci.plugins.workflow:workflow-step-api:jar:622.vb_8e7c15b_c95a_

  Try downloading the file manually from the project website.

  Then, install it using the command: 
      mvn install:install-file -DgroupId=org.jenkins-ci.plugins.workflow -DartifactId=workflow-step-api -Dversion=622.vb_8e7c15b_c95a_ -Dpackaging=jar -Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file there: 
      mvn deploy:deploy-file -DgroupId=org.jenkins-ci.plugins.workflow -DartifactId=workflow-step-api -Dversion=622.vb_8e7c15b_c95a_ -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

  Path to dependency: 
  	1) org.jenkins-ci.plugins.workflow:workflow-step-api:jar:622.vb_8e7c15b_c95a_

Downgrading back to 4.40 I am seeing this:

[WARNING] Rule 1: org.apache.maven.plugins.enforcer.RequireMavenVersion failed with message:
3.8.1 required to no longer download dependencies via HTTP (use HTTPS instead).
[INFO] ------------------------------------------------------------------------

This seems to have some workarounds (https://stackoverflow.com/questions/45337558/failed-to-execute-goal-org-apache-maven-pluginsmaven-enforcer-plugin) but I would rather fix it - can't find how.

@basil basil deleted the refresh branch July 24, 2022 18:08
@basil
Copy link
Member Author

basil commented Jul 24, 2022

On my local mac I now get this (after this change)

That is mojohaus/extra-enforcer-rules#226 which was introduced in extra-enforcer-rules 1.6.0 (adopted in plugin-pom 4.43) and fixed in extra-enforcer-rules 1.6.1 (adopted in the forthcoming plugin-pom 4.44).

The warning is just log spam and does not have any impact on development or production.

I would rather fix it - can't find how.

The message tells you how: use Maven 3.8.1 or higher.

@dblock
Copy link
Member

dblock commented Jul 25, 2022

On my local mac I now get this (after this change)

That is mojohaus/extra-enforcer-rules#226 which was introduced in extra-enforcer-rules 1.6.0 (adopted in plugin-pom 4.43) and fixed in extra-enforcer-rules 1.6.1 (adopted in the forthcoming plugin-pom 4.44).

The warning is just log spam and does not have any impact on development or production.

I would rather fix it - can't find how.

The message tells you how: use Maven 3.8.1 or higher.

Gah, that message was totally confusing, thx.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants