Unable to build install package with Maven

242 views
Skip to first unread message

Donald Bynum

unread,
Sep 6, 2016, 4:48:58 PM9/6/16
to DSpace Technical Support
I have just done a clean install of all pre-reqs and am trying to build the install package.

I am running mvn -Ddb.name=oracle package
I have set up a proxy, but I get the following error:

https\://oss.sonatype.org/content/repositories/releases/.error=Could not transfer artifact org.sonatype.oss\:oss-parent\:pom\:9 from/to sonatype-releases (https\://oss.sonatype.org/content/repositories/releases/)\: Connect to oss.sonatype.org\:443 [oss.sonatype.org/107.23.166.173, oss.sonatype.org/52.22.249.229] failed\: Connection refused\: connect
http\://maven.restlet.org/.error=Could not transfer artifact org.sonatype.oss\:oss-parent\:pom\:9 from/to restlet (http\://maven.restlet.org)\: Connect to maven.restlet.org\:80 [maven.restlet.org/52.43.2.203, maven.restlet.org/54.187.87.72] failed\: Connection refused\: connect
@default-sonatype-releases-https\://oss.sonatype.org/content/repositories/releases/.lastUpdated=1473193905106
@default-central-https\://repo.maven.apache.org/maven2/.lastUpdated=1473193908173
@default-restlet-http\://maven.restlet.org/.lastUpdated=1473193907148
https\://repo.maven.apache.org/maven2/.error=Could not transfer artifact org.sonatype.oss\:oss-parent\:pom\:9 from/to central (https\://repo.maven.apache.org/maven2)\: Connect to repo.maven.apache.org\:443 [repo.maven.apache.org/151.101.32.215] failed\: Connection refused\: connect


Help would be much appreciated.



oss-parent-9.pom.lastUpdated

Donald Bynum

unread,
Sep 6, 2016, 5:28:48 PM9/6/16
to DSpace Technical Support
I forgot to add, I can browse to https://oss.sonatype.org/content/repositories/releases/org/sonatype/oss/oss-parent/9/ on the same machine and I see the POM in that location.

Tim Donohue

unread,
Sep 9, 2016, 10:36:37 AM9/9/16
to Donald Bynum, DSpace Technical Support

Hi Donald,

This definitely sounds like either a proxy or a firewall issue.  Something must be blocking Maven, but working OK from your web browser.

It's hard to debug these issues without more information, but here's a good hint from StackOverflow:

http://stackoverflow.com/a/16729906/3750035

So, I'd recommend looking again at your Maven proxy settings...or checking to see if you have a firewall that may be blocking this access.  If you need further help, you can always send more info about your proxy settings along to this mailing list.

Good luck,

Tim

--
You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dspace-tech...@googlegroups.com.
To post to this group, send email to dspac...@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.

-- 
Tim Donohue
Technical Lead for DSpace & DSpaceDirect
DuraSpace.org | DSpace.org | DSpaceDirect.org

Donald Bynum

unread,
Sep 9, 2016, 10:44:09 AM9/9/16
to DSpace Technical Support
Talk about timing!  I found out this morning that there was indeed a firewall rule block Maven from getting out.  I just used a non-firewalled connection and, voila, all is good.  Thanks for the response.

Don.


On Tuesday, September 6, 2016 at 4:48:58 PM UTC-4, Donald Bynum wrote:
Reply all
Reply to author
Forward
0 new messages