0

ZK Maven BOM

asked 2019-10-16 18:53:05 +0800

ajimener gravatar image ajimener
3 1

Hi!

I'm using ZK & ZKEE in several maven projects, so I've to manage multiple dependencies to zk projects and I want to keep the version of them in sync, so I don't mix different versions. The solution is using dependencyManagement in a parent project, but it would be great if you publish a bom project so I don't have to specify all the different projects. It'd be really helpful to me.

Thank you!

delete flag offensive retag edit

Comments

Sounds like an interesting/reasonable idea, we will evaluate if we can do so.

jeanher ( 2019-10-18 11:50:03 +0800 )edit

same here, good idea, any input from your side about what would be most helpful? maybe you already created a shared dependency pom you can provide as a basis for consideration. It's always helpful to get some concrete input.

cor3000 ( 2019-10-18 12:08:49 +0800 )edit

3 Answers

Sort by ยป oldest newest most voted
0

answered 2020-01-08 14:57:06 +0800

cor3000 gravatar image cor3000
5250 2 7
ZK Team

The feature ZK-4458 - provide a maven BOM (bill of materials) has been implemented and a first testable version is available in FL version 9.0.1.FL.20200103-Eval

example usage in a pom.xml:

<properties>
    <zk.version>9.0.1.FL.20200103-Eval</zk.version>
</properties>
...
<dependencies>
    <dependency>
        <groupId>org.zkoss.zk</groupId>
        <artifactId>zkmax</artifactId>
    </dependency>
    <dependency>
        <groupId>org.zkoss.zk</groupId>
        <artifactId>zuti</artifactId>
    </dependency>
    ...
    <dependency>
        <groupId>org.zkoss.zkforge</groupId>
        <artifactId>ckez</artifactId>
    </dependency>
    ...
</dependencies>
...
<dependencyManagement>
    <dependencies>
        <dependency>
            <groupId>org.zkoss.zk</groupId>
            <artifactId>zk-bom</artifactId>
            <version>${zk.version}</version>
            <type>pom</type>
            <scope>import</scope>
       </dependency>
   </dependencies>
</dependencyManagement>

Feedback welcome.

link publish delete flag offensive edit
0

answered 2020-01-08 15:24:13 +0800

ajimener gravatar image ajimener
3 1

This is awesome news!. I'm going to give it a try and I'll post back the results. Thank you.

link publish delete flag offensive edit
0

answered 2020-01-09 17:58:45 +0800

ajimener gravatar image ajimener
3 1

I've been already testing it and is exactly what I was needing. Thank you.

link publish delete flag offensive edit
Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow
2 followers

RSS

Stats

Asked: 2019-10-16 18:53:05 +0800

Seen: 29 times

Last updated: Jan 09

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More