This repository was archived by the owner on Oct 11, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 11
This repository was archived by the owner on Oct 11, 2024. It is now read-only.
Build/Install Fail #50
Copy link
Copy link
Open
Labels
Description
I followed the reference from there , on ubuntu 14.04 x64
- download the project from github 2)
mvn install(mvn2 actually)
But error jumped out when building
Downloading: http://oss.sonatype.org/content/repositories/postgis-releases/com/sun/jersey/jersey-bundle/1.8/je[8/1821]
dle-1.8.pom
[INFO] Unable to find resource 'com.sun.jersey:jersey-bundle:pom:1.8' in repository sonatype-postgis-releases (http://
oss.sonatype.org/content/repositories/postgis-releases)
Downloading: http://repo1.maven.org/maven2/com/sun/jersey/jersey-bundle/1.8/jersey-bundle-1.8.pom
21K downloaded (jersey-bundle-1.8.pom)
Downloading: http://maven.glassfish.org/content/groups/glassfish/com/sun/jersey/jersey-project/1.8/jersey-project-1.8.
pom
178b downloaded (jersey-project-1.8.pom)
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = '81ffbd1712afe8cdf138b570c0fc9934742c33c1'; remote = '<html>
<head><title>301' - RETRYING
Downloading: http://maven.glassfish.org/content/groups/glassfish/com/sun/jersey/jersey-project/1.8/jersey-project-1.8.
pom
178b downloaded (jersey-project-1.8.pom)
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = '81ffbd1712afe8cdf138b570c0fc9934742c33c1'; remot
e = '<html>
<head><title>301' - IGNORING
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Cannot build project dependency tree for project: MavenProject: org.n52.oss:service:0.6 @ /root/OpenSensorSearc
h/service/pom.xml
Not a v4.0.0 POM. for project com.sun.jersey:jersey-project at /root/.m2/repository/com/sun/jersey/jersey-project/1.8/
jersey-project-1.8.pom
[INFO] ------------------------------------------------------------------------
When fetching POM from https://maven.java.net/content/groups/glassfish/com/sun/jersey/jersey-project/1.8/jersey-project-1.8.pom . In web browser this page returns a 404 page.
But in your folder of your PC, after mvn install , actually you've gotten a file
file jersey-project-1.8.pom looks like:
<html>
<head><title>301 Moved Permanently</title></head>
<body bgcolor="white">
<center><h1>301 Moved Permanently</h1></center>
<hr><center>nginx</center>
</body>
</html>Obviously this is not a XML file. And the building procedure has been stopped from here.
How to fix this? Or any ideas about the https://maven.java.net/content/groups/glassfish/com/sun/jersey/jersey-project/1.8/jersey-project-1.8.pom ?
Reactions are currently unavailable