0

zkex dependency missing in ZK PE

asked 2012-08-05 16:16:38 +0800

orfen gravatar image orfen
27

updated 2012-08-05 17:44:31 +0800

Hello everyone,
I am following this guide to configure maven + ZK, to avoid doing something wrong I used a pom generator.
everything goes well until I change the repository for PE version (I do have a lincense) then maven compile process fails with the following message:
Could not find artifact org.zkoss.zk:zkex:jar:6.0.1 in ZK_CE

It seems to me that zkex jar is missing from PE repository :( check out the following screenshots of zk maven repos.
PE eval
PE

The original pom created by the generator is:

 
  <repositories>
    <repository>
      <id>ZK_CE</id>
      <name>ZK CE Repository</name>
      <url>http://mavensync.zkoss.org/maven2</url>
    </repository>
    <repository>
      <id>ZK_EVAL</id>
      <name>ZK PE Evaluation Repository</name>
      <url>http://mavensync.zkoss.org/eval</url>
    </repository>
  </repositories>

After I updated the PE repository, the previous example looks like this:

    <repositories>
        <repository>
            <id>ZK_CE</id>
            <name>ZK CE Repository</name>
            <url>http://mavensync.zkoss.org/maven2</url>
        </repository>
        <!--repository>
            <id>ZK_EVAL</id>
            <name>ZK PE Evaluation Repository</name>
            <url>http://mavensync.zkoss.org/eval</url>
        </repository-->
        <repository>
            <id>ZK_PE</id>
            <url>http://mavensync.zkoss.org/maven2</url>
        </repository>
    </repositories>

This might be related to another post in this forum.

delete flag offensive retag edit

6 Replies

Sort by ยป oldest newest

answered 2012-08-06 01:19:35 +0800

hawk gravatar image hawk
2255 1 5
http://hawkphoenix.blogsp... ZK Team

Hi, orfen:

I think maven repository for ZK PE is

https://maven.zkoss.org/repo/zk/ee
. It needs authentication.

link publish delete flag offensive edit

answered 2012-08-06 05:11:12 +0800

orfen gravatar image orfen
27

Hello hawk,
I think that repository is for ZK EE, anyway I tried the url that you suggest and the compile process fails with the following message: Could not transfer artifact org.zkoss.zk:zkex:pom:6.0.1 from/to ZK_PE (https://maven.zkoss.org/repo/zk/ee): Not authorized, ReasonPhrase:Authorization Required. -> [Help 1]

link publish delete flag offensive edit

answered 2012-08-06 06:03:25 +0800

hawk gravatar image hawk
2255 1 5
http://hawkphoenix.blogsp... ZK Team

updated 2012-08-06 06:03:39 +0800

Hi orfen:
If you have ZK PE licence, I think you should have a premium account and password to login to that repository.

link publish delete flag offensive edit

answered 2012-08-07 03:49:56 +0800

orfen gravatar image orfen
27

hawk, I think you need different account and password for EE than PE.
My settings.xml file looks like this:

<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
  <pluginGroups>
    <pluginGroup>org.mortbay.jetty</pluginGroup>
  </pluginGroups>
  <servers>
    <server>
      <id>ZK_PE</id>
      <username>USERNAME</username>
      <password>PASSWORD</password>
    </server>
  </servers>
</settings>

link publish delete flag offensive edit

answered 2012-08-07 07:39:45 +0800

hawk gravatar image hawk
2255 1 5
http://hawkphoenix.blogsp... ZK Team

Hi,
Because you got Not authorized error, you might need to verify your account and password.
you can use browser to connect to https://maven.zkoss.org/repo/zk/ee and enter your account and password to verify.

link publish delete flag offensive edit

answered 2012-10-03 18:29:41 +0800

orfen gravatar image orfen
27

Hi hawk
Sorry for the delay, I did not see you comment before.

I did have a typo error in my settings.

Now is working fine.

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-08-05 16:16:38 +0800

Seen: 442 times

Last updated: Oct 03 '12

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