Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cbi-dev] Nexus/Maven issue at LocationTech

Thanh,

Thanks for trying.  In ~/.m2/repository/org/locationtech/geomesa/geomesa-core-accumulo1.5/1.0.0-rc.1, there is one file named geomesa-core-accumulo1.5-1.0.0-rc.1.pom.lastUpdated

The relevant contents are

#NOTE: This is an internal implementation file, its format can be changed without prior notice.
#Fri Dec 05 19:34:24 UTC 2014
default-https\://repo.locationtech.org/content/repositories/releases/.lastUpdated=1417808064164
https\://repository.apache.org/service/local/repositories/releases/content/.lastUpdated=1417806992522
https\://repo.locationtech.org/content/repositories/releases/.error=Could not transfer artifact org.locationtech.geomesa\:geomesa-core-accumulo1.5\:pom\:1.0.0-rc.1 from/to LocationTechReleases (https\://repo.locationtech.org/content/repositories/releases/)\: The target server failed to respond
http\://repo.maven.apache.org/maven2/.lastUpdated=1417806993681
....

I can navigate to the RC1 poms/jars using a web browser, so I don't think our firewall is to blame.  Other than that, I don't believe we have a proxy server in the way.

I'm wondering if the https certs are registered in my JVM properly.  I did try to build with -Dmaven.wagon.http.ssl.insecure=true -Dmaven.wagon.http.ssl.allowall=true, but I am still running into the same errors.

Thanks again,

Jim


On 12/05/2014 02:02 PM, Thanh Ha wrote:
Unfortunately I can not reproduce, the fact that it is working for me though tells me that perhaps you are behind a corporate firewall or proxy that may be blocking repo.locationtech.org or you need to configure your Maven to use your proxy server if you have one.

My Maven local repo contains the artifact that you mention for geomesa-accumulo1.5:

ls .m2repo/org/locationtech/geomesa/geomesa-accumulo1.5/1.0.0-rc.1/                                                                                                                                2014-12-05
geomesa-accumulo1.5-1.0.0-rc.1.pom  geomesa-accumulo1.5-1.0.0-rc.1.pom.lastUpdated  geomesa-accumulo1.5-1.0.0-rc.1.pom.sha1  _remote.repositories


Some details on how to setup a Proxy server with Maven can be found here:


Hope this helps,

Thanh


On Fri, Dec 5, 2014 at 11:22 AM, Jim Hughes <jnh5y@xxxxxxxx> wrote:
Thanh,

Thanks.  I replied in the bug just now.  We are seeing this issue elsewhere (specifically, from CCRi and from other users). 

I've updated the wip_repo branch; the sha of the tip is 884f848f449163fd6f87d14fa4df652efe62dd8f.  Also, we are having trouble getting the artifact org.locationtech.geomesa:geomesa-core-accumulo1.5:jar:1.0.0-rc.1.

Thanks again for any help,

Jim


On 12/05/2014 11:17 AM, Thanh Ha wrote:
I wasn't able to reproduce the problem with org.locationtech.geomesa:geomesa-core-accumulo1.5:jar:1.0.0-SNAPSHOT using the wip_repo branch. I left some comments in the bug. One thing I had to do was comment out the geotools dependencies since those jars are not available on Maven Central or LocationTech.

Are you seeing this from Hudson or elsewhere?

Regards,

Thanh

On Fri, Dec 5, 2014 at 10:41 AM, Jim Hughes <jnh5y@xxxxxxxx> wrote:
Hi all,

Is there anyone who can help with this?

Thanks,

Jim


On 12/02/2014 02:50 PM, Denis Roy wrote:
Hello,

If anyone with Maven/Nexus knowledge feels like helping out the LocationTech group, please have a look at this bug:

https://locationtech.org/bugs/show_bug.cgi?id=36

We have encountered failures while trying to use the Location Tech repos detailed at https://locationtech.org/wiki/The_Nexus#Published_Repositories.

As a concrete example, we have a GeoMesa 'QuickStart' project, and I've cooked up a branch with the LT repo specified in the pom. https://github.com/geomesa/geomesa-quickstart/tree/wip_repo

When trying to do a 'mvn clean install', we see errors indicating that Maven isn't able to communicate correctly with the LT Nexus. I've attached the output of 'mvn clean install -X -U' with that branch.

[ERROR] Failed to execute goal on project geomesa-quickstart: Could not resolve dependencies for project groupId:geomesa-quickstart:jar:1.0-SNAPSHOT: Could not find artifact org.locationtech.geomesa:geomesa-core-accumulo1.5:jar:1.0.0-SNAPSHOT in geotools (http://download.osgeo.org/webdav/geotools) -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal on project geomesa-quickstart: Could not resolve dependencies for project groupId:geomesa-quickstart:jar:1.0-SNAPSHOT: Could not find artifact org.locationtech.geomesa:geomesa-core-accumulo1.5:jar:1.0.0-SNAPSHOT in geotools (http://download.osgeo.org/webdav/geotools)


Thanks!

Denis
_______________________________________________
cbi-dev mailing list
cbi-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/cbi-dev

_______________________________________________
cbi-dev mailing list
cbi-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/cbi-dev



_______________________________________________
cbi-dev mailing list
cbi-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/cbi-dev


_______________________________________________
cbi-dev mailing list
cbi-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/cbi-dev



_______________________________________________
cbi-dev mailing list
cbi-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/cbi-dev


Back to the top