I may come from a transitive dependency, mainly ActiveMQ. And I noticed that maven 2 does not really handle when repositories are down or unresponsive and usually fails the build instead of ignoring the repo. You just have to retry, or download manually the missing jars...
Cheers, Guillaume Nodet On 5/7/06, Asit Bhattacharya <[EMAIL PROTECTED]> wrote:
Thank you Guillaume. Just did that and build has gone past that failure point. Although I am getting a bunch of "CHECKSUM FAILED" warnings, build is still continuing. Also noticed that "maven-csharp.javaforge.com" is NOT referenced in servicemix maven2 pom.xml. I wonder where it coming from? Any idea? Thanks, Asit --- Guillaume Nodet <[EMAIL PROTECTED]> wrote: > The jar is available at > http://www.ibiblio.org/maven2/activemq/jmdns/1.0-RC2/ > and the > maven-csharp.javaforge.com repository is not > referenced by ServiceMix > maven 2 pom.xml. > Do you always have this issue ? > You could always try to download the jar manually > from the above link > and put it in your local repository. > > Cheers, > Guillaume Nodet > > On 5/7/06, Asit Bhattacharya > <[EMAIL PROTECTED]> wrote: > > Hi Guillaume, > > > > I tried build ServiceMix with Maven2. I am getting > > this error (see below). There is no server at > > "http://maven-csharp.javaforge.com". Is it a > > temporary situation? > > > > === > > Downloading: > > > http://maven-csharp.javaforge.com/repo/activemq/jmdns/1.0-RC2/jmdns-1.0-RC2.jar > > [INFO] > > > ------------------------------------------------------------------------ > > [ERROR] BUILD ERROR > > [INFO] > > > ------------------------------------------------------------------------ > > [INFO] Failed to resolve artifact. > > > > Error transferring file > > activemq:jmdns:jar:1.0-RC2 > > > > from the specified remote repositories: > > central (http://repo1.maven.org/maven2), > > servicemix-m2-repo > (http://servicemix.org/m2-repo), > > apache.snapshots > > (http://svn.apache.org/maven-snapshot-repository), > > codehaus-snapshot > > (http://snapshots.maven.codehaus.org/maven2), > > apache-maven1-snapshot > > (http://cvs.apache.org/repository), > > maven-csharp > > (http://maven-csharp.javaforge.com/repo) > > Path to dependency: > > 1) > > > org.apache.servicemix:servicemix-core:jar:3.0-SNAPSHOT > > 2) > > incubator-activemq:activemq-ra:jar:4.0-SNAPSHOT > > 3) activemq:jmdns:jar:1.0-RC2 > > > > > > > > Caused by I/O exception: Connection refused: > connect > > > > [INFO] > > > ------------------------------------------------------------------------ > > [INFO] Trace > > > org.apache.maven.lifecycle.LifecycleExecutionException: > > Error transferring file > > activemq:jmdns:jar:1.0-RC2 > > > > from the specified remote repositories: > > central (http://repo1.maven.org/maven2), > > servicemix-m2-repo > (http://servicemix.org/m2-repo), > > apache.snapshots > > (http://svn.apache.org/maven-snapshot-repository), > > codehaus-snapshot > > (http://snapshots.maven.codehaus.org/maven2), > > apache-maven1-snapshot > > (http://cvs.apache.org/repository), > > maven-csharp > > (http://maven-csharp.javaforge.com/repo) > > Path to dependency: > > 1) > > > org.apache.servicemix:servicemix-core:jar:3.0-SNAPSHOT > > 2) > > incubator-activemq:activemq-ra:jar:4.0-SNAPSHOT > > 3) activemq:jmdns:jar:1.0-RC2 > > > > > > at > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecuto > > .java:551) > > at > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLife > > ycleExecutor.java:475) > > at > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor > > java:454) > > at > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(Default > > ifecycleExecutor.java:306) > > at > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycle > > xecutor.java:273) > > at > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.jav > > :140) > > at > > > org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322) > > at > > > org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115) > > at > > > org.apache.maven.cli.MavenCli.main(MavenCli.java:256) > > at > > > sun.reflect.NativeMethodAccessorImpl.invoke0(Native > > Method) > > at > > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > > at > > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > > at > > java.lang.reflect.Method.invoke(Method.java:585) > > at > > > org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) > > at > > > org.codehaus.classworlds.Launcher.launch(Launcher.java:255) > > at > > > org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) > > at > > > org.codehaus.classworlds.Launcher.main(Launcher.java:375) > > Caused by: > > > org.apache.maven.artifact.resolver.ArtifactResolutionException: > > Error transferring file > > activemq:jmdns:jar:1.0-RC2 > > === > > > > Thanks, > > Asit > > > > --- Guillaume Nodet <[EMAIL PROTECTED]> wrote: > > > > > This should be fixed now. > > > However you may want to use maven 2. > > > There is a very nice plugin that allows you to > run a > > > webapp from the > > > maven project. > > > Just run 'mvn jetty6:run' inside the > > > ./servicemix-web module .... > > > > > > Cheers, > > > Guillaume Nodet > > > > > > On 5/5/06, Asit Bhattacharya > > > <[EMAIL PROTECTED]> wrote: > > > > > > > > Hi List, > > > > > > > > I am getting the following error while > building > > > > ServiceMix. servicemix-web is missing from > > > examples > > > > directory. Any clues? > > > > > > > > Asit > > > > > > > > ------ > > > > BUILD FAILED > > > > File...... > > > > > > > > > > C:\_work\projects\ServiceMix-apache\_maven\cache\maven-multiproject-plugin-1.3.1\plugin.j > > > > elly > > > > Element... maven:reactor > > > > Line...... 217 > > > > Column.... 9 > > > > Unable to obtain goal > > > [dist:prepare-bin-filesystem] -- > > > > C:\_work\projects\ServiceMix-apache\servicemi > > > > x-assembly\maven.xml:173:45: <copy> > > > > > > > > > > C:\_work\projects\ServiceMix-apache\servicemix-assembly\src\main > > > > \release\examples\servicemix-web not found. > > > > Total time: 4 minutes 11 seconds > > > > Finished at: Fri May 05 07:59:24 PDT 2006 > > > > ------ > > > > > > > > Asit N Bhattacharya. > > > > Make it simple, but not simpler. > > > > > > > > > __________________________________________________ > > > > Do You Yahoo!? > > > > Tired of spam? Yahoo! Mail has the best spam > > > protection around > > > > http://mail.yahoo.com > > > > > > > > > > > > > Asit N Bhattacharya. > > Make it simple, but not simpler. > > > > __________________________________________________ > > Do You Yahoo!? > > Tired of spam? Yahoo! Mail has the best spam > protection around > > http://mail.yahoo.com > > > Asit N Bhattacharya. Make it simple, but not simpler. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
