0

Maven repositories

asked 2012-07-29 11:30:11 +0800

nmpallas gravatar image 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 flag offensive retag edit

6 Replies

Sort by ยป oldest newest

answered 2012-07-29 15:12:02 +0800

MontyPan gravatar image 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

link publish delete flag offensive edit

answered 2012-07-31 07:42:19 +0800

nmpallas gravatar image 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..;)

link publish delete flag offensive edit

answered 2012-07-31 07:59:06 +0800

MontyPan gravatar image 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

link publish delete flag offensive edit

answered 2012-07-31 08:43:47 +0800

nmpallas gravatar image 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..:)

link publish delete flag offensive edit

answered 2012-07-31 08:59:48 +0800

gekkio gravatar image gekkio flag of Finland
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.

link publish delete flag offensive edit

answered 2012-07-31 14:46:26 +0800

terrytornado gravatar image terrytornado flag of Germany
9393 3 7 16
http://www.oxitec.de/

I agree with gekkio

link publish delete flag offensive edit
Your reply
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

RSS

Stats

Asked: 2012-07-29 11:30:11 +0800

Seen: 118 times

Last updated: Jul 31 '12

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