GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — [MINSTALL-197] Update to parent 41, cleanup by cstamas · Pull Request #61 · apache/maven-install-plugin

Conversation

@cstamas

@cstamas cstamas commented Jan 12, 2024 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

In general perform a cleanup of plugin, apply updates where needed. The plugin now builds against 3.9.x latest, and minimum is left as is (3.2.5).

A notable change along that above is removal of "baked in" packaging, now plugin relies completely and only on what project and artifact tells, there is no "if this is POM" check anymore. The new "BOM UT" shows this in action. Has to be noted though, that the UT tests ONLY the plugin, to use BOM packaging you need Maven that knows what it is (Maven 3 w/ extension or Maven 4 that has it OOTB).


https://issues.apache.org/jira/browse/MINSTALL-197

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@cstamas
[MINSTALL-197] Update to parent 41, cleanup
2e9b68a
In general perform a cleanup of plugin, apply updates
where needed. The plugin now builds against 3.9.x latest,
and minimum is lifted to 3.6.3.

---

https://issues.apache.org/jira/browse/MINSTALL-197
@cstamas cstamas self-assigned this Jan 12, 2024
michael-o
michael-o reviewed Jan 12, 2024
View reviewed changes
Comment thread pom.xml
<properties>
<javaVersion>8</javaVersion>
<mavenVersion>3.2.5</mavenVersion>
<mavenVersion>3.9.6</mavenVersion>

@michael-o michael-o Jan 12, 2024

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This lifts API to 3.9.6, isn't that a contradiction?

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@cstamas cstamas Jan 12, 2024

Copy link
Copy Markdown
Member Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Contradiction to what? The CI is updated by Slawek, so is build using 3.6.3/3.9.3 (see matrix), so min/max Maven is used, and deprecations immediately popped out (and were fixed as well).

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@michael-o michael-o Jan 12, 2024

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One is build, one API, no? Thought we raise at least build requirement to 3.6.3...

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@cstamas cstamas Jan 12, 2024

Copy link
Copy Markdown
Member Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we'd raise (well, lower, as this PR raises to 3.9.6) build to 3.6.3 we'd see deprecations from 2019, those from 5 years ago, no? We should build against latest, to see all current deprecations, and backward compat allows us to state (and test it) even with older maven versions, like CI shows (3.6.3 used as well). Unsure what is the question actually...

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@michael-o michael-o Jan 12, 2024

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let me think about that tomorrow or so...

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
michael-o
michael-o reviewed Jan 12, 2024
View reviewed changes
Comment thread src/test/java/org/apache/maven/plugins/install/stubs/InstallArtifactStub.java Resolved

Uh oh!

There was an error while loading. Please reload this page.

@cstamas
cstamas requested review from gnodet and slawekjaranowski January 12, 2024 09:09
slawekjaranowski
slawekjaranowski reviewed Jan 12, 2024
View reviewed changes
Comment thread pom.xml Resolved

Uh oh!

There was an error while loading. Please reload this page.

cstamas added 7 commits January 12, 2024 11:28
@cstamas
Do not have baked in packaging for check
a4de2e5
@cstamas
Shorten comment
4216c00
@cstamas
Return original prerequisite
fb6bfc4
@cstamas
Add BOM test
b9a749e
@cstamas
Remove c+p remnants
edf88f0
@cstamas
Last nit
57cca66
If pom A and project A has same coordinates, BUT the project A
has file set, use that instead.
@cstamas
Use version properties from parent
aa1fe76
This was referenced Jan 12, 2024
Bump org.apache.maven.plugins:maven-plugins from 39 to 41 #60
Closed
[MINSTALL-190] [SECURITY] Fix Temporary File Information Disclosure Vulnerability #47
Closed
@cstamas
cstamas requested review from michael-o and slawekjaranowski January 12, 2024 12:03
gnodet
gnodet reviewed Jan 12, 2024
View reviewed changes
Comment thread pom.xml Resolved

Uh oh!

There was an error while loading. Please reload this page.

@cstamas
Undo irrelevant change
ddb6cdd
rmannibucau
rmannibucau approved these changes Jan 12, 2024
View reviewed changes
@cstamas
cstamas merged commit 3ebb448 into master Jan 12, 2024
@cstamas
cstamas deleted the MINSTALL-197 branch January 12, 2024 20:02
@jira-importer

jira-importer commented Apr 2, 2025

Copy link
Copy Markdown

Resolve #247

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@gnodet gnodet gnodet left review comments
@rmannibucau rmannibucau rmannibucau approved these changes
@slawekjaranowski slawekjaranowski Awaiting requested review from slawekjaranowski
@michael-o michael-o Awaiting requested review from michael-o

Uh oh!

There was an error while loading. Please reload this page.

Assignees

@cstamas cstamas

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

6 participants

@cstamas @jira-importer @gnodet @michael-o @rmannibucau @slawekjaranowski
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.