You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by Asit Bhattacharya <as...@yahoo.com> on 2006/05/05 17:06:29 UTC
maven build error
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
Re: maven build error
Posted by Guillaume Nodet <gn...@gmail.com>.
For an unkown reason, this file has not been uploaded to public repos.
I' ve put it in our private repo at
http://servicemix.org/m2-repo/org/codehaus/xfire/xfire-parent/1.1/xfire-parent-1.1.pom
Cheers,
Guillaume Nodet
On 5/19/06, Pierre NOTEL <pi...@bull.net> wrote:
>
> Hi,
> I downloaded the latest version on the svn and I'm trying to compile it.
> I'm using maven 2.0.4 and I configured the settings.xml file as the
> previous mail show.
> But the compilation failed as follows :
>
> Downloading:
>
> https://maven-repository.dev.java.net/nonav/repository/org.codehaus.xfire/poms/xfire-parent-1.1.pom
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Error building POM (may not be this project's POM).
> Project ID: null:xfire-all:jar:1.1
> Reason: Cannot find parent: org.codehaus.xfire:xfire-parent for project:
> null:xfire-all:jar:1.1
>
> When I try to go on
> "
> https://maven-repository.dev.java.net/nonav/repository/org.codehaus.xfire/poms/xfire-parent-1.1.pom
> "
> a 404 error is raised.
>
> What can I do to download this ressource ?
>
> Regards,
>
> Pierre NOTEL
>
>
--
Cheers,
Guillaume Nodet
Re: maven build error
Posted by Pierre NOTEL <pi...@bull.net>.
Hi,
I downloaded the latest version on the svn and I'm trying to compile it.
I'm using maven 2.0.4 and I configured the settings.xml file as the
previous mail show.
But the compilation failed as follows :
Downloading:
https://maven-repository.dev.java.net/nonav/repository/org.codehaus.xfire/poms/xfire-parent-1.1.pom
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).
Project ID: null:xfire-all:jar:1.1
Reason: Cannot find parent: org.codehaus.xfire:xfire-parent for project:
null:xfire-all:jar:1.1
When I try to go on
"https://maven-repository.dev.java.net/nonav/repository/org.codehaus.xfire/poms/xfire-parent-1.1.pom"
a 404 error is raised.
What can I do to download this ressource ?
Regards,
Pierre NOTEL
Re: maven build error
Posted by Guillaume Nodet <gn...@gmail.com>.
Codehaus repository is down.
Due to maven 2 bugs, downloads will usually fail.
You should define a mirror for codehaus repository in your
~/.m2/settings.xml
Try something like the following:
<settings>
<mirrors>
<mirror>
<id>mergere.com</id>
<name>Mergere Repository</name>
<url>http://repo.mergere.com/maven2</url>
<mirrorOf>codehaus</mirrorOf>
</mirror>
<mirror>
<id>mergere.com</id>
<name>Mergere Repository</name>
<url>http://repo.mergere.com/maven2</url>
<mirrorOf>codehaus-snapshot</mirrorOf>
</mirror>
</mirrors>
</settings>
Cheers,
Guillaume Nodet
On 5/18/06, markpittsnh <ma...@yahoo.com> wrote:
>
>
> 1.I found the jar under, http://ftp.ibiblio.org/maven/activemq/jars/ -
> but
> nit the correct path.
> 2.downloaded it.
> 3.ran
> mvn -Dmaven.test.skip=true install:install-file -DgroupId=activemq
> -DartifactId=jmdns -Dversion=1.0-RC2 -Dpackaging=jar
> -Dfile=C:/dl/jmdns-1.0-RC2.jar
> 4.is the next step to run ?
> mvn -Dmaven.test.skip=true install
>
> Thanks and regards,
> Mark
>
>
>
>
>
> --
> View this message in context:
> http://www.nabble.com/maven-build-error-t1564586.html#a4456838
> Sent from the ServiceMix - User forum at Nabble.com.
>
>
--
Cheers,
Guillaume Nodet
Re: maven build error
Posted by markpittsnh <ma...@yahoo.com>.
1.I found the jar under, http://ftp.ibiblio.org/maven/activemq/jars/ - but
nit the correct path.
2.downloaded it.
3.ran
mvn -Dmaven.test.skip=true install:install-file -DgroupId=activemq
-DartifactId=jmdns -Dversion=1.0-RC2 -Dpackaging=jar
-Dfile=C:/dl/jmdns-1.0-RC2.jar
4.is the next step to run ?
mvn -Dmaven.test.skip=true install
Thanks and regards,
Mark
--
View this message in context: http://www.nabble.com/maven-build-error-t1564586.html#a4456838
Sent from the ServiceMix - User forum at Nabble.com.
Re: maven build error
Posted by markpittsnh <ma...@yahoo.com>.
I am at revision
C:\java\sm3\trunk>svn up
At revision 407600.
...and this is the latest error....
[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),
activemq-tmp-repo
(http://people.apache.org/~chirino/incubator-activemq-4.0/maven2)
Path to dependency:
1) org.apache.servicemix:servicemix-core:jar:3.0-SNAPSHOT
2) incubator-activemq:activemq-ra:jar:4.0
3) activemq:jmdns:jar:1.0-RC2
Caused by I/O exception: Server returned HTTP response code: 502 for URL:
http://snapshots.maven.codehaus.org/maven2/activemq/jmdns/1.0-RC2/jmdns-1.0-RC2.jar
[INFO]
------------------------------------------------------------------------
--
View this message in context: http://www.nabble.com/maven-build-error-t1564586.html#a4456380
Sent from the ServiceMix - User forum at Nabble.com.
Re: maven build error
Posted by Guillaume Nodet <gn...@gmail.com>.
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 <as...@yahoo.com> 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 <gn...@gmail.com> 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
> > <as...@yahoo.com> 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 <gn...@gmail.com> 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
> > > > <as...@yahoo.com> 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
>
Re: maven build error
Posted by Asit Bhattacharya <as...@yahoo.com>.
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 <gn...@gmail.com> 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
> <as...@yahoo.com> 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 <gn...@gmail.com> 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
> > > <as...@yahoo.com> 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
Re: maven build error
Posted by Guillaume Nodet <gn...@gmail.com>.
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 <as...@yahoo.com> 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 <gn...@gmail.com> 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
> > <as...@yahoo.com> 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
>
Re: maven build error
Posted by Asit Bhattacharya <as...@yahoo.com>.
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 <gn...@gmail.com> 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
> <as...@yahoo.com> 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
Re: maven build error
Posted by Guillaume Nodet <gn...@gmail.com>.
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 <as...@yahoo.com> 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
>