# Maven repositories

nmpallas
115 4
http://nmpallas.wordpress...

Dear all,
for those of us who are really fun of the orchestration tools(maven) I must admit I try to update my deps in my poms in order to receive the latest 6.0.2 jars for the CE
version of zk I want to use.The guide is rather deprecated on how to setup the deps since it points to version 6.0.0 still. Is there anything planned so that i can do simply
the following in my pom and the import should work?

                <dependency>
<groupId>org.zkoss.zk</groupId>
<artifactId>zk</artifactId>
<version>\${zk.version}</version>
<scope>compile</scope>
<type>jar</type>
</dependency>


And for it to work out of the box?I am navigating through the repository and under the group zk no clear 6.0.2 folder exists...rather something that appends FL.(timestamp)?.I am the only one facing the problem????
@The devel team: It's more important to have a downloadable .zip with everything bundled or configuring maven repository correctly first before going live with a new version?I think nowadays most of the devels (java devels out in the wild) prefer some kind of orchestration tools than simply importing in an eclipse project jars(the reason of jar hell!).

regards
Nick

delete retag edit

## 6 Replies

MontyPan
435 3
http://xitop.blogspot.com...

In this case, You can change the version variable (zk.version) to designate which ZK version you want to use.
To use freshly version, you can assign the value like "6.1.0.FL.20120717"

Maven is flexible, there are many ways to set a pom.xml.
Guild provides a simple runnable example, it can't cover all of the Maven feature.

Regards,
Monty Pan

nmpallas
115 4
http://nmpallas.wordpress...

I totally agree with that...but for example it would be a better approach not to have to dig to the repositories to see the timestamp you append but to have at some point the official 6.0.1 and 6.0.2 without a timestamp.Flexible maven is(omg i am sounding like master yoda..) but you understand my point..;)

MontyPan
435 3
http://xitop.blogspot.com...

Sorry... I am a little confused.
Freshly versions are not official release, usually will be more than one FL in the same version number.
So timestamp is a way (maybe the only way) to identify.

May the ZK be with you... :P

Regards,
Monty Pan

nmpallas
115 4
http://nmpallas.wordpress...

According to this link: http://www.zkoss.org/download/zk the version to download is 6.0.2. If you go to the repository there is no folder called 6.0.2 but everything has a timestamp(at least until yesterday)...so the contradiction is that the zip with the jars for downloading is available but if I want to use maven i have to search through
the maven repository in order to find the correct version number..:( that's my saying...the force is with me..:)

gekkio
899 1
http://gekkio.fi/blog

nmpallas, the release versions are uploaded to the maven repository after a fairly long delay. You'll probably see the artifacts there in a week or so.

Personally I find the delays disappointing. Releases should be automated as much as possible so that it's easy to upload maven artifacts immediately without any delay.

9393 3 7 16
http://www.oxitec.de/

I agree with gekkio

[hide preview]