pippo icon indicating copy to clipboard operation
pippo copied to clipboard

pippo-bom

Open whyicantusemyemailasusername opened this issue 5 years ago • 5 comments

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.

Can you supply a PR please?

decebals avatar May 02 '19 09:05 decebals

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.

mhagnumdw avatar Jul 05 '20 21:07 mhagnumdw

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 avatar Jul 06 '20 08:07 decebals

@mhagnumdw

I feel that my answer is not what you expected :smile:. 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.

decebals avatar Jul 06 '20 09:07 decebals

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

mhagnumdw avatar Jul 06 '20 12:07 mhagnumdw