question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[FEATURE] Inherited `image` definitions

See original GitHub issue

Description

In case of multiple projects using this plugin, it’s pretty difficult to centralize the configuration in a parent POM and reference only the required image blocks from child poms (pretty much the way dependencyManagement works). It would be nice to have a section where images can be pre-configured and then simply re-used inside other POMs. @rhuss we are willing to implement such a feature, would it make sense to have it?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
giannellocommented, Jun 19, 2020

@rhuss life was not nice to the project I was working on, and I completely forgot about this ticket. As nobody else seem to need this change, I’m closing it.

0reactions
awitthacommented, Jun 19, 2020

I didn’t see this originally, but I do have this use-case, for what it’s worth.

I work around the limitations by creating intermediate parent poms that use Maven’s <... combine.self="override"> and <... combine.children="override"> to ensure that only the relevant definitions are in-scope. Then, you just pick the correct parent pom and you’ve got your image definitions.

If I had a larger set of image definitions that I needed to work with, or needed to combine them in various (perhaps unknown 'till runtime) ways, this workaround wouldn’t work for me. My needs are simple enough that

Relying on the position of the images in the configuration …

has been sufficient, as the intermediate poms are “managed” and not exposed to end-users, so they are predictable enough.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Inherited Trait Definition & Image | GameSmartz
Inherited Trait definition: A characteristic that is passed from parents to offspring, like eye color.
Read more >
inherit - CSS: Cascading Style Sheets - MDN Web Docs
The inherit CSS keyword causes the element to take the computed value of the property from its parent element. It can be applied...
Read more >
What are Inherited Characteristics? | Heredity - Twinkl
Inheritance is the way that parents pass traits onto their offspring. It happens in plants, animals, and yes, even humans! You might have...
Read more >
`.gitlab-ci.yml` keyword reference - GitLab Docs
Documentation for GitLab Community Edition, GitLab Enterprise Edition, Omnibus GitLab, and GitLab Runner.
Read more >
GeneReviews Glossary - NCBI
Image LearnMore.jpg ... The proportion of individuals in a population who have inherited a specific ... Related terms: loss-of-function; pathogenic variant.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found