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 — Update build, get rid of legacy, fix CLI by cstamas · Pull Request #452 · codehaus-plexus/modello

Conversation

@cstamas

@cstamas cstamas commented May 29, 2024 •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown
Member

Fixes #434

Sorry, something went wrong.

Uh oh!

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

All reactions
@cstamas
Update build, get rid of legacy, fix CLI
152c67e
@cstamas
cstamas requested a review from slawekjaranowski May 29, 2024 17:10
@cstamas cstamas self-assigned this May 29, 2024
@cstamas cstamas mentioned this pull request May 29, 2024
ModelloCli is not working in 2.3.0 #434
Closed
@cstamas
cstamas marked this pull request as ready for review May 29, 2024 17:17
@cstamas cstamas mentioned this pull request May 29, 2024
Fix ModelloCli broken after moving from Plexus to JSR330 #435
Closed
cstamas
cstamas commented May 29, 2024
View reviewed changes
Comment thread modello-core/pom.xml Resolved

Uh oh!

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

@cstamas

cstamas commented May 29, 2024 •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown
Member Author

Not yet done: need to review (and probably) fix the modello-maven-plugin deps, as they are off now done

All reactions

Sorry, something went wrong.

Uh oh!

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

@cstamas
Tidy up
c1be0d5
@fridrich

fridrich commented May 30, 2024

Copy link
Copy Markdown
Contributor

I would still prefer 90352d3 because there are tools out there that instantiate the Modello class. And also lookup of ModeloCore.ROLE is done all around the place in tests, so this would be consistent with that.

All reactions

Sorry, something went wrong.

Uh oh!

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

@cstamas
Port 90352d3 to this PR
cf5bf74
@cstamas

cstamas commented May 30, 2024

Copy link
Copy Markdown
Member Author

@fridrich ported, pls review

All reactions

Sorry, something went wrong.

Uh oh!

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

@cstamas

cstamas commented May 30, 2024

Copy link
Copy Markdown
Member Author

The lookup does not matter, the String ROLE is legacy, latest Plexus (not the sisu plexus shim) introduced lookup(Class) and the only difference is that you don't need casting.

All reactions

Sorry, something went wrong.

Uh oh!

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

@fridrich

fridrich commented May 30, 2024

Copy link
Copy Markdown
Contributor

Another thing. the slf4j-simple does not need to be runtime dependency. one can have there slf4j-nop if one does not need logging

All reactions

Sorry, something went wrong.

Uh oh!

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

@cstamas

cstamas commented May 30, 2024

Copy link
Copy Markdown
Member Author

Without slf4j backend, CLI will emit warning like you reported in the issue... So you say that no logging backend is needed at all? (noop?)

All reactions

Sorry, something went wrong.

Uh oh!

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

@fridrich

fridrich commented May 30, 2024

Copy link
Copy Markdown
Contributor

The slf4j-nop is an artifact that is noop logger

All reactions

Sorry, something went wrong.

Uh oh!

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

@fridrich

fridrich commented May 30, 2024

Copy link
Copy Markdown
Contributor

org.slf4j:slf4j-nop is the artifact

All reactions

Sorry, something went wrong.

Uh oh!

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

@fridrich

fridrich commented May 30, 2024

Copy link
Copy Markdown
Contributor

So, one can leave the choice for the user.

All reactions

Sorry, something went wrong.

Uh oh!

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

@cstamas
CLI use nop logging, rest unchanged
46dde25
@fridrich

fridrich commented May 30, 2024

Copy link
Copy Markdown
Contributor

testing, will report in 30 minutes

All reactions

Sorry, something went wrong.

Uh oh!

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

@fridrich

fridrich commented May 30, 2024

Copy link
Copy Markdown
Contributor

Faster then that: it works. Thanks a lot.

fridrich reacted with hooray emoji
All reactions
  • 🎉 1 reaction

Sorry, something went wrong.

Uh oh!

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

@fridrich

fridrich commented May 30, 2024

Copy link
Copy Markdown
Contributor

nagyom szepem keszenem

fridrich reacted with laugh emoji
All reactions
  • 😄 1 reaction

Sorry, something went wrong.

Uh oh!

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

@cstamas

cstamas commented May 30, 2024

Copy link
Copy Markdown
Member Author

ni za kaj (molim, i drugi put)

fridrich reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

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

@fridrich

fridrich commented May 30, 2024

Copy link
Copy Markdown
Contributor

ni za kaj (molim, i drugi put)

In my original language it would be: "nemas za co (dakujem a aj druhy raz)"

fridrich reacted with laugh emoji
All reactions
  • 😄 1 reaction

Sorry, something went wrong.

Uh oh!

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

@fridrich

fridrich commented May 30, 2024

Copy link
Copy Markdown
Contributor

Just there is a downgrade of plexus-utils 4.0.1 -> 3.5.1 Intended?

All reactions

Sorry, something went wrong.

Uh oh!

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

@cstamas

cstamas commented May 30, 2024

Copy link
Copy Markdown
Member Author

Just there is a downgrade of plexus-utils 4.0.1 -> 3.5.1 Intended?

Yes, keep this Maven3 compat for now (p-u 3.x is for Maven3, p-u 4.x is for Maven4)

fridrich reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

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

@cstamas

cstamas commented May 30, 2024

Copy link
Copy Markdown
Member Author

Let's see what @slawekjaranowski has to say as well...

All reactions

Sorry, something went wrong.

Uh oh!

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

@cstamas

cstamas commented Jun 4, 2024

Copy link
Copy Markdown
Member Author

@slawekjaranowski ping

All reactions

Sorry, something went wrong.

Uh oh!

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

slawekjaranowski
slawekjaranowski approved these changes Jun 5, 2024
View reviewed changes

@slawekjaranowski slawekjaranowski left a comment

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.

some magics with dependencies but ok 😄

Sorry, something went wrong.

Uh oh!

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

cstamas reacted with thumbs up emoji
All reactions
  • 👍 1 reaction
@cstamas

cstamas commented Jun 5, 2024

Copy link
Copy Markdown
Member Author

Reason for magic: we make modello-core "complete" as it provides now (and was providing) the CLI that needs to be runnable. And then later, in modello-maven-plugin we make sure that bits provided to maven plugins are properly provided/excluded. Before, it was "provided" in modello-core, so nothing was needed in modello-maven-plugin, but this breaks CLI. Now, modello-core is "complete" and modello-maven-plugin POM makes sure all is okay in plugin as well.

All reactions

Sorry, something went wrong.

Uh oh!

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

@cstamas
cstamas merged commit 0c1a562 into master Jun 5, 2024
@cstamas
cstamas deleted the update-fix-cli branch June 5, 2024 08:16
@fridrich

fridrich commented Jun 7, 2024

Copy link
Copy Markdown
Contributor

Would a working CLI justify a 2.4.1? @slawekjaranowski @cstamas

cstamas reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

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

@slawekjaranowski slawekjaranowski added the maintenance Cleanup, refactoring or other internal change label Nov 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@slawekjaranowski slawekjaranowski slawekjaranowski approved these changes

Uh oh!

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

Assignees

@cstamas cstamas

Labels

maintenance Cleanup, refactoring or other internal change

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

ModelloCli is not working in 2.3.0

Uh oh!

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

3 participants

@cstamas @fridrich @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.