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

pippo-bom #509

Open
whyicantusemyemailasusername opened this issue Apr 26, 2019 · 5 comments
Open

pippo-bom #509

whyicantusemyemailasusername opened this issue Apr 26, 2019 · 5 comments

Comments

@whyicantusemyemailasusername
Copy link
Contributor

It would be nice to have maven bom file like https://github.com/apache/logging-log4j2/blob/master/log4j-bom/pom.xml , to be able to specify pippo version only once like I do for log4j:

            <dependency>
                <groupId>org.apache.logging.log4j</groupId>
                <artifactId>log4j-bom</artifactId>
                <version>${log4j.version}</version>
                <type>pom</type>
                <scope>import</scope>
            </dependency>

Now I have to specify the version for each pippo artefact which is not that convenient.

@decebals
Copy link
Member

decebals commented May 2, 2019

Can you supply a PR please?

@mhagnumdw
Copy link
Member

Any progress here? I believe this will resolve my case below.

I thought about it now when I needed to get the version of Google Guice used by Pippo defined here.

@decebals
Copy link
Member

decebals commented Jul 6, 2020

Any progress here? I believe this will resolve my case below.

I thought about it now when I needed to get the version of Google Guice used by Pippo defined here.

I use the same approach in my projects (for all major libraries or multi modules libraries, I specify the version using a property in properties section of the pom.xml file).

@decebals
Copy link
Member

decebals commented Jul 6, 2020

@mhagnumdw

I feel that my answer is not what you expected 😄. I added some text on chat.

Regarding "BOM", I did not use it in my projects and I do not know what it brings valuable.

@mhagnumdw
Copy link
Member

Hi @decebals , sorry, I could have already informed you why I need this.

I thought about it now when I needed to get the version of Google Guice used by Pippo defined here.

I make use of guice-persist, guice-assistedinject and guice-multibindings, and I would like to keep their version synchronized with the version of guice brought by pippo-guice.

Regarding "BOM", I did not use it in my projects and I do not know what it brings valuable.

What is Maven BOM?
BOM stands for Bill Of Materials. A BOM is a special kind of POM that is used to control the versions of a project’s dependencies and provide a central place to define and update those versions.
BOM provides the flexibility to add a dependency to our module without worrying about the version that we should depend on.

Ref: https://www.baeldung.com/spring-maven-bom#2-what-is-maven-bom

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

No branches or pull requests

3 participants