-
FEATURED COMPONENTS
First time here? Check out the FAQ!
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!
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.
Asked: 2019-10-16 18:53:05 +0800
Seen: 29 times
Last updated: Jan 09 '20
ZK Application with Eclipse and Maven
problems using zk eval in maven pom.xml
ZK application with Maven, versions 6.5 and 7
upgrade CE to EE in a maven project(invalid CEN header (bad signature))
What maven dependency is used for org.zkoss.reference.developer?
how do i integrate maven dependencies with zkstudio project template
Sounds like an interesting/reasonable idea, we will evaluate if we can do so.
jeanher ( 2019-10-18 11:50:03 +0800 )editsame 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