You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by Marnie McCormack <ma...@googlemail.com> on 2006/11/24 12:38:24 UTC

Missing dependencies ?

Hi All,

I wonder if anyone else is having problems building in the distribution dir
(or building for idea) with the errors below (from mvn in the distribution
dir).

I think my svn is fully up to date on trunk.

[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

Missing:
----------
1) org.apache.qpid:qpid-broker:jar:1.0-incubating-M2-SNAPSHOT

  Try downloading the file manually from the project website.

  Then, install it using the command:
      mvn install:install-file -DgroupId=org.apache.qpid-DartifactId=qpid-broke
r \
          -Dversion=1.0-incubating-M2-SNAPSHOT -Dpackaging=jar
-Dfile=/path/to/f
ile

  Path to dependency:
        1) org.apache.qpid:qpid-distribution:jar:1.0-incubating-M2-SNAPSHOT
        2) org.apache.qpid:qpid-broker:jar:1.0-incubating-M2-SNAPSHOT

2) org.apache.qpid:qpid-common:jar:1.0-incubating-M2-SNAPSHOT

  Try downloading the file manually from the project website.

  Then, install it using the command:
      mvn install:install-file -DgroupId=org.apache.qpid-DartifactId=qpid-commo
n \
          -Dversion=1.0-incubating-M2-SNAPSHOT -Dpackaging=jar
-Dfile=/path/to/f
ile

  Path to dependency:
        1) org.apache.qpid:qpid-distribution:jar:1.0-incubating-M2-SNAPSHOT
        2) org.apache.qpid:qpid-common:jar:1.0-incubating-M2-SNAPSHOT

3) org.apache.qpid:qpid-client:jar:1.0-incubating-M2-SNAPSHOT

  Try downloading the file manually from the project website.

  Then, install it using the command:
      mvn install:install-file -DgroupId=org.apache.qpid-DartifactId=qpid-clien
t \
          -Dversion=1.0-incubating-M2-SNAPSHOT -Dpackaging=jar
-Dfile=/path/to/f
ile

  Path to dependency:
        1) org.apache.qpid:qpid-distribution:jar:1.0-incubating-M2-SNAPSHOT
        2) org.apache.qpid:qpid-client:jar:1.0-incubating-M2-SNAPSHOT

----------
3 required artifacts are missing.

for artifact:
  org.apache.qpid:qpid-distribution:jar:1.0-incubating-M2-SNAPSHOT

from the specified remote repositories:
  central (http://repo1.maven.org/maven2)


[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 17 seconds
[INFO] Finished at: Fri Nov 24 11:34:57 GMT 2006
[INFO] Final Memory: 5M/9M
[INFO]
------------------------------------------------------------------------

Regards,

Marnie

Re: Missing dependencies ?

Posted by Rajith Attapattu <ra...@gmail.com>.
he he ...somebody was quick with the Disclamer !!!

On 11/24/06, Gordon Sim <gs...@redhat.com> wrote:
>
> Rajith Attapattu wrote:
> > This worked for me too.
> > Did u follow Gordons instructions?
>
> I wouldn't call them instructions! I was just recounting what I did,
> rather than stating the 'correct' way to do anything.
>

Re: Missing dependencies ?

Posted by Gordon Sim <gs...@redhat.com>.
Rajith Attapattu wrote:
> This worked for me too.
> Did u follow Gordons instructions?

I wouldn't call them instructions! I was just recounting what I did, 
rather than stating the 'correct' way to do anything.

Re: Missing dependencies ?

Posted by Rajith Attapattu <ra...@gmail.com>.
This worked for me too.
Did u follow Gordons instructions?

Rajith

On 11/24/06, Marnie McCormack <ma...@googlemail.com> wrote:
>
> Could be a settings thing I guess - you get the qpid-broker:jar:
> 1.0-incubating-M2-SNAPSHOT.jar ok ?
>
> Thanks,
> Marnie
>
>
> On 11/24/06, Steven Shaw <st...@gmail.com> wrote:
> >
> > On 24/11/06, Gordon Sim <gs...@redhat.com> wrote:
> > > One question: I untarred the release manually, but having a target (or
> > > mavens equivalent) that did that (or equivalent) would be great for
> > > developing. Is there a way to get maven to install a release into a
> > > particular folder rather than create a tarball?
> >
> > The MINA developers talk about a assembly:assembly command. Does that
> > work for you?
> >
> >    http://mina.apache.org/developer-guide.html
> >
> > It didn't work for me last time I tried it but I wasn't in the
> > distribution directory when I did.
> >
> > Steve.
> >
>
>

Re: Missing dependencies ?

Posted by Marnie McCormack <ma...@googlemail.com>.
Could be a settings thing I guess - you get the qpid-broker:jar:
1.0-incubating-M2-SNAPSHOT.jar ok ?

Thanks,
Marnie


On 11/24/06, Steven Shaw <st...@gmail.com> wrote:
>
> On 24/11/06, Gordon Sim <gs...@redhat.com> wrote:
> > One question: I untarred the release manually, but having a target (or
> > mavens equivalent) that did that (or equivalent) would be great for
> > developing. Is there a way to get maven to install a release into a
> > particular folder rather than create a tarball?
>
> The MINA developers talk about a assembly:assembly command. Does that
> work for you?
>
>    http://mina.apache.org/developer-guide.html
>
> It didn't work for me last time I tried it but I wasn't in the
> distribution directory when I did.
>
> Steve.
>

Re: Missing dependencies ?

Posted by Steven Shaw <st...@gmail.com>.
On 24/11/06, Gordon Sim <gs...@redhat.com> wrote:
> One question: I untarred the release manually, but having a target (or
> mavens equivalent) that did that (or equivalent) would be great for
> developing. Is there a way to get maven to install a release into a
> particular folder rather than create a tarball?

The MINA developers talk about a assembly:assembly command. Does that
work for you?

    http://mina.apache.org/developer-guide.html

It didn't work for me last time I tried it but I wasn't in the
distribution directory when I did.

Steve.

Re: Missing dependencies ?

Posted by Gordon Sim <gs...@redhat.com>.
Marnie McCormack wrote:
> I wonder if anyone else is having problems building in the distribution dir
> (or building for idea) with the errors below (from mvn in the distribution
> dir).

Works for me (I ran mvn in the base dir first, then moved to distribution).

The qpid-server script doesn't work in the bin release due to the 
classpath of the conf file referencing two launcher jars that aren't 
there. Using qpid-run directly works though.

One question: I untarred the release manually, but having a target (or 
mavens equivalent) that did that (or equivalent) would be great for 
developing. Is there a way to get maven to install a release into a 
particular folder rather than create a tarball?