users@jersey.java.net

[Jersey] Issues when building master code from Github

From: Ä¿²»¿úÔ° <33150258_at_qq.com>
Date: Tue, 15 Apr 2014 16:28:25 +0800

Hi Jersey team,
I download the latest Jersey code from GitHub, and try to build it using maven, however, it failed due to following errors, it seems can the jersey.repackaged.com.google.common codes do not exists in the downloading code,
can you do me a favor on how to solve it?
.....
[INFO] jersey-tests-osgi ................................. SKIPPED
[INFO] jersey-tests-osgi-functional ...................... SKIPPED
[INFO] jersey-tests-performance .......................... SKIPPED
[INFO] custom-parametrized-test .......................... SKIPPED
[INFO] performance-test-tools ............................ SKIPPED

[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 27.540 s
[INFO] Finished at: 2014-04-15T15:59:22+08:00
[INFO] Final Memory: 96M/274M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project jersey-common: Compilation failure: Compilation failure:
[ERROR] /home/prowler/work/jersey/jersey-master/core-common/src/main/java/org/glassfish/jersey/process/internal/Stage.java:[42,48] package jersey.repackaged.com.google.common.base does not exist
[ERROR] /home/prowler/work/jersey/jersey-master/core-common/src/main/java/org/glassfish/jersey/model/ContractProvider.java:[51,51] package jersey.repackaged.com.google.common.collect does not exist
[ERROR] /home/prowler/work/jersey/jersey-master/core-common/src/main/java/org/glassfish/jersey/model/ContractProvider.java:[52,51] package jersey.repackaged.com.google.common.collect does not exist
[ERROR] /home/prowler/work/jersey/jersey-master/core-common/src/main/java/org/glassfish/jersey/uri/internal/JerseyUriBuilder.java:[61,51] package jersey.repackaged.com.google.common.collect does not exist
[ERROR] /home/prowler/work/jersey/jersey-master/core-common/src/main/java/org/glassfish/jersey/uri/internal/JerseyUriBuilder.java:[62,47] package jersey.repackaged.com.google.common.net does not exist
[ERROR] /home/prowler/work/jersey/jersey-master/core-common/src/main/java/org/glassfish/jersey/spi/ContentEncoder.java:[59,51] package jersey.repackaged.com.google.common.collect does not exist

....



By the way, I tried to download other version code using git command on ubuntu, for example, I execute git clone ssh://git_at_github.com:jersey/jersey-1.18.git, it always throws following errors:
Initialized empty Git repository in /home/xxx/xxx/jersey/jersey/.git/
ssh: Could not resolve hostname github.com:jersey: Name or service not known
fatal: The remote end hung up unexpectedly

it would be a great help to me if you can reply this mail, thanks very much.


Regards,
Martin