Re: mvn cannot find pom and jar in maven central
David Niehaus <[email protected]> Fri, 19 Oct 2012 10:21:59 +0200
| Newsgroups | gmane.comp.java.prevayler |
|---|---|
| Message-ID | <[email protected]> |
Thank you, it worked well. I got confused by the 2.3 version providing it in a single jar. I looked for a new version in maven central expecting the same bundle and using the pom snippet provided. Probably it's a good idea to clearly state it on the web sites to prevent people to walk the same dead end or simply provide a parent jar via maven central. Thanks again for your help David Am 18.10.2012 um 19:20 schrieb Karl Wettin: > I think I see the problem now. > > org.prevayler.prevayler is the parent pom, it's not a jar. You probably want to create a dependency to org.prevayler.prevayler-factory (or org.prevayler.prevayler-core if you write your own factory). > > > > karl > > > 16 okt 2012 kl. 12:30 skrev David Niehaus: > >> Thanks Karl, >> >> tried both non of it works s.b. >> >> I still don't have a clue ! >> >> Any other idea would be very appreciated. >> >> David >> >> <dependency> >> <groupId>org.prevayler</groupId> >> <artifactId>prevayler</artifactId> >> <version>2.5</version> >> </dependency> >> >> >> [INFO] Scanning for projects... >> [INFO] >> [INFO] ------------------------------------------------------------------------ >> [INFO] Building ggicm-oodb 1.0 >> [INFO] ------------------------------------------------------------------------ >> Downloading: http://repo1.maven.org/maven2/org/prevayler/prevayler/2.5/prevayler-2.5.jar >> [INFO] ------------------------------------------------------------------------ >> [INFO] BUILD FAILURE >> [INFO] ------------------------------------------------------------------------ >> [INFO] Total time: 1.943s >> [INFO] Finished at: Mon Oct 15 12:17:43 CEST 2012 >> [INFO] Final Memory: 2M/15M >> [INFO] ------------------------------------------------------------------------ >> [ERROR] Failed to execute goal on project ggicm-oodb: Could not resolve dependencies for project ggi.oodb:ggicm-oodb:jar:1.0: Could not find artifact org.prevayler:prevayler:jar:2.5 in central (http://repo1.maven.org/maven2) -> [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] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException >> >> >> Am 11.10.2012 um 21:50 schrieb Karl Wettin: >> >>> org. >> >> >> ------------------------------------------------------------------------------ >> Don't let slow site performance ruin your business. Deploy New Relic APM >> Deploy New Relic app performance management and know exactly >> what is happening inside your Ruby, Python, PHP, Java, and .NET app >> Try New Relic at no cost today and get our sweet Data Nerd shirt too! >> http://p.sf.net/sfu/newrelic-dev2dev >> _______________________________________________ >> To unsubscribe go to the end of this page: http://lists.sourceforge.net/lists/listinfo/prevayler-discussion >> _______________________________________________ >> "Databases in Memoriam" -- http://www.prevayler.org > > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_sfd2d_oct > _______________________________________________ > To unsubscribe go to the end of this page: http://lists.sourceforge.net/lists/listinfo/prevayler-discussion > _______________________________________________ > "Databases in Memoriam" -- http://www.prevayler.org ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct _______________________________________________ To unsubscribe go to the end of this page: http://lists.sourceforge.net/lists/listinfo/prevayler-discussion _______________________________________________ "Databases in Memoriam" -- http://www.prevayler.org