maven install oba error

217 views
Skip to first unread message

Dunn

unread,
Jun 5, 2014, 4:02:11 PM6/5/14
to onebusaway...@googlegroups.com
Hi,

I got this error while trying to install oba using command "mvn clean install", i wonder if anyone know what it is, is it related to "Failure to find com.vividsolutions:jts:jar:1.10 in http://nexus.onebusaway.org/content/groups/public/"?

thanks all.

"
[ERROR] Failed to execute goal on project onebusaway-geospatial: Could not resolve dependencies for project org.onebusaway:onebusaway-geospatial:jar:1.1.12-SNAPSHOT: The following artifacts could not be resolved: com.vividsolutions:jts:jar:1.10, edu.washington.cs.rse:javaproj:jar:1.0.4: Failure to find com.vividsolutions:jts:jar:1.10 in http://nexus.onebusaway.org/content/groups/public/ was cached in the local repository, resolution will not be reattempted until the update interval of public.onebusaway.org has elapsed or updates are forced -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :onebusaway-geospatial

"

Dunn.

Sheldon A. Brown

unread,
Jun 5, 2014, 4:12:53 PM6/5/14
to onebusaway...@googlegroups.com, onebusaway...@googlegroups.com
Thanks Dunn,

There seems to be a problem with the maven repositories that archive OBA. Hang in there, we hope it will be publicly acknowledged and perhaps even resolved soon. 

The interim solution is to copy your .m2 directory from a machine that has built OBA before. 


Sent from my mobile device (I'll be brief)
--
You received this message because you are subscribed to the Google Groups "onebusaway-developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to onebusaway-devel...@googlegroups.com.
To post to this group, send email to onebusaway...@googlegroups.com.
Visit this group at http://groups.google.com/group/onebusaway-developers.
For more options, visit https://groups.google.com/d/optout.

Dunn

unread,
Jun 5, 2014, 5:34:29 PM6/5/14
to onebusaway...@googlegroups.com
Hello Sheldon,

- I confirm your solution works.
- i lost many hours thinking it is mvn or the http://nexus.onebusaway.org/content/groups/public/com/vividsolutions/jts/1.10/jts-1.10.pom  repo is at fault but hesitate to post question :)
- i am testing to finish document but bum again. 

***** for those who may want to see the error when do "mvn install" or "mvn clean install"
[INFO] ------------------------------------------------------------------------
[INFO] Building onebusaway-geospatial 1.1.12-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[WARNING] The POM for com.vividsolutions:jts:jar:1.10 is missing, no dependency information available
[WARNING] The POM for edu.washington.cs.rse:javaproj:jar:1.0.4 is missing, no dependency information available
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] onebusaway-application-modules .................... SUCCESS [1.204s]
[INFO] onebusaway-core ................................... SUCCESS [1.426s]
[INFO] onebusaway-geospatial ............................. FAILURE [0.034s]
[INFO] onebusaway-federations ............................ SKIPPED
[INFO] onebusaway-realtime-api ........................... SKIPPED
[INFO] onebusaway-transit-data ........................... SKIPPED
[INFO] onebusaway-api-core ............................... SKIPPED
[INFO] onebusaway-container .............................. SKIPPED
[INFO] onebusaway-users .................................. SKIPPED
[INFO] onebusaway-geocoder ............................... SKIPPED
[INFO] onebusaway-presentation ........................... SKIPPED
[INFO] onebusaway-api-webapp ............................. SKIPPED
[INFO] onebusaway-phone .................................. SKIPPED
[INFO] onebusaway-phone-webapp ........................... SKIPPED
[INFO] onebusaway-sms-webapp ............................. SKIPPED
[INFO] onebusaway-webapp ................................. SKIPPED
[INFO] onebusaway-transit-data-federation ................ SKIPPED
[INFO] onebusaway-transit-data-federation-webapp ......... SKIPPED
[INFO] onebusaway-combined-webapp ........................ SKIPPED
[INFO] onebusaway-federations-webapp ..................... SKIPPED
[INFO] onebusaway-gtfs-hibernate-spring .................. SKIPPED
[INFO] onebusaway-gwt-common ............................. SKIPPED
[INFO] onebusaway-quickstart ............................. SKIPPED
[INFO] onebusaway-quickstart-common ...................... SKIPPED
[INFO] onebusaway-quickstart-bootstrap ................... SKIPPED
[INFO] onebusaway-quickstart-mains ....................... SKIPPED
[INFO] onebusaway-quickstart-webapp ...................... SKIPPED
[INFO] onebusaway-transit-data-federation-builder ........ SKIPPED
[INFO] onebusaway-quickstart-assembly .................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3.684s
[INFO] Finished at: Thu Jun 05 14:37:02 MDT 2014
[INFO] Final Memory: 17M/679M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project onebusaway-geospatial: Could not resolve dependencies for project org.onebusaway:onebusaway-geospatial:jar:1.1.12-SNAPSHOT: The following artifacts could not be resolved: com.vividsolutions:jts:jar:1.10, edu.washington.cs.rse:javaproj:jar:1.0.4: Failure to find com.vividsolutions:jts:jar:1.10 in http://nexus.onebusaway.org/content/groups/public/ was cached in the local repository, resolution will not be reattempted until the update interval of public.onebusaway.org has elapsed or updates are forced -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :onebusaway-geospatial
dungle@CakePHP:~/src2/onebusaway-application-modules$

*****

Thanks for all the help.

Dunn.


On Thursday, 5 June 2014 14:12:53 UTC-6, Sheldon A. Brown wrote:
Thanks Dunn,

There seems to be a problem with the maven repositories that archive OBA. Hang in there, we hope it will be publicly acknowledged and perhaps even resolved soon. 

The interim solution is to copy your .m2 directory from a machine that has built OBA before. 


Sent from my mobile device (I'll be brief)

On Jun 5, 2014, at 4:02 PM, Dunn <dunnle...@gmail.com> wrote:

Hi,

I got this error while trying to install oba using command "mvn clean install", i wonder if anyone know what it is, is it related to "Failure to find com.vividsolutions:jts:jar:1.10 in http://nexus.onebusaway.org/content/groups/public/"?

thanks all.

"
[ERROR] Failed to execute goal on project onebusaway-geospatial: Could not resolve dependencies for project org.onebusaway:onebusaway-geospatial:jar:1.1.12-SNAPSHOT: The following artifacts could not be resolved: com.vividsolutions:jts:jar:1.10, edu.washington.cs.rse:javaproj:jar:1.0.4: Failure to find com.vividsolutions:jts:jar:1.10 in http://nexus.onebusaway.org/content/groups/public/ was cached in the local repository, resolution will not be reattempted until the update interval of public.onebusaway.org has elapsed or updates are forced -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :onebusaway-geospatial

"

Dunn.

--
You received this message because you are subscribed to the Google Groups "onebusaway-developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to onebusaway-developers+unsub...@googlegroups.com.

Sean Barbeau

unread,
Jun 9, 2014, 2:05:28 PM6/9/14
to onebusaway...@googlegroups.com
As a temporary solution for anyone working on a new machine that doesn't have access to another copy of the libraries, I've uploaded the missing artifacts (pulled off a local machine) to Google Drive here, since I haven't been able to track them down anywhere else remotely:
https://drive.google.com/file/d/0B8oU647elPShNWU4a3BlczRGNHc/edit?usp=sharing

You can try copying them directly into your .m2 directory:
  1. For JTS, copy files from JTS subdirectory in zip to .m2\repository\edu\washington\cs\rse\javaproj\1.0.4
  2. For UW Javaproj, copy files from Javaproj subdirectory in zip to .m2\repository\com\vividsolutions\jts\1.10
Or, use these instructions to have Maven install the JARs for each library into your local repo:
http://maven.apache.org/guides/mini/guide-3rd-party-jars-local.html

Hopefully after you add these files, it should fix the build.  I copied my entire .m2 directory over to the new machine since it was easiest, so if there are any other missing dependencies that aren't included here please let me know and I'll upload them too.

Sean

Sheldon A. Brown

unread,
Jun 10, 2014, 1:35:25 PM6/10/14
to onebusaway...@googlegroups.com
I can also offer a maven repository that has some of the dependencies cached.  It may help:

http://developer.onebusaway.org/archiva/repository/internal

Sheldon


To unsubscribe from this group and stop receiving emails from it, send an email to onebusaway-devel...@googlegroups.com.

Sean Barbeau

unread,
Jun 10, 2014, 3:04:42 PM6/10/14
to onebusaway...@googlegroups.com
Thanks Sheldon!

So, instead of the manual download/install method I mentioned above, you can now grab missing artifacts from Sheldon's repo using the following maven command format:

mvn org.apache.maven.plugins:maven-dependency-plugin:2.1:get -DrepoUrl=http://developer.onebusaway.org/archiva/repository/internal/ -Dartifact=com.vividsolutions:jts:1.10

This should pull down the artifact from Sheldon's repo if nexus isn't up, and install it in your local maven repository.  If you keep getting missing artifact errors for new artifacts, repeat the above maven command for each of them, and you should eventually get to a complete build.

Sean
To unsubscribe from this group and stop receiving emails from it, send an email to onebusaway-developers+unsubscri...@googlegroups.com.

To post to this group, send email to onebusaway...@googlegroups.com.
Visit this group at http://groups.google.com/group/onebusaway-developers.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "onebusaway-developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to onebusaway-developers+unsub...@googlegroups.com.
To post to this group, send email to onebusaway-developers@googlegroups.com.

S. Morris Rose

unread,
Jun 11, 2014, 8:55:42 PM6/11/14
to onebusaway...@googlegroups.com
I think that our Maven nightmare is over- it evidently was due to a machine being restarted with configuration that gave it the same IP as the box serving nexus.cs. My mistake- made back in December 2013 but laying in wait until late May. Sorry for the outage- it seemed to come and go, which made it a head-scratcher.




To unsubscribe from this group and stop receiving emails from it, send an email to onebusaway-devel...@googlegroups.com.

To post to this group, send email to onebusaway...@googlegroups.com.
Visit this group at http://groups.google.com/group/onebusaway-developers.
For more options, visit https://groups.google.com/d/optout.



--
S. Morris Rose for OneBusAway.org

Barbeau, Sean

unread,
Jun 12, 2014, 9:42:11 AM6/12/14
to onebusaway...@googlegroups.com

Thanks for fixing this!  Seems like it is resolved, so I closed the open issue here:

https://github.com/OneBusAway/onebusaway-application-modules/issues/93

 

Sean

To unsubscribe from this group and stop receiving emails from it, send an email to onebusaway-devel...@googlegroups.com.
To post to this group, send email to onebusaway...@googlegroups.com.
Visit this group at http://groups.google.com/group/onebusaway-developers.
For more options, visit https://groups.google.com/d/optout.

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

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




--

S. Morris Rose for OneBusAway.org

--
You received this message because you are subscribed to a topic in the Google Groups "onebusaway-developers" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/onebusaway-developers/OvI7qWOinME/unsubscribe.
To unsubscribe from this group and all its topics, send an email to onebusaway-devel...@googlegroups.com.

Reply all
Reply to author
Forward
0 new messages