I think it's a "feature" for the reactor build which tries to use the same
version of an artifact if the referenced artifact itself is part of the
source tree in the same build.
Thanks,
Raymond
----- Original Message -----
From: "Luciano Resende" <[EMAIL PROTECTED]>
To: "Wayne Fay" <[EMAIL PROTECTED]>
Cc: "Maven Users List" <users@maven.apache.org>; <[EMAIL PROTECTED]>
Sent: Tuesday, April 17, 2007 11:38 AM
Subject: Re: Missing dependencies if building from parent directory (maven
2.0.5)
I have found the solution for this issue, looks like there were some
artifacts using different <version> element, and this was causing the
problem. Having all artifacts with same <version> solved the build issues.
Is this a BUG ?
On 4/11/07, Luciano Resende <[EMAIL PROTECTED]> wrote:
Even if I explicitly add the version node for
<artifactId>tuscany-das-rdb</artifactId>,
I get the same problem. Any ideas on how I could debug and try to find
what's causing the problem ?
On 4/10/07, Wayne Fay <[EMAIL PROTECTED]> wrote:
>
> I haven't pulled the code and built etc yet, but I noticed the pom.xml
> for <artifactId>tuscany-das-rdb</artifactId> is missing a <version/>
> node. This may be related to your issues...
>
> Wayne
>
> On 4/9/07, Luciano Resende <[EMAIL PROTECTED]> wrote:
> > Hi maven gurus
> >
> > We are having a strange dependency issue in our build at Apache
> Tuscany
> > project. Starting from a clean m2 repo, if one tries the top-level
> build
> > (/java), he will face some dependencies issues like the one attached
> below,
> > but the issue actually goes away if you actually build from actual
> child
> > project (java/das). Simmilar missing dependencies issues are being
> reported
> > on the sca child project while trying to build from root (/java), and
> then
> > it goes away if you actually build from the child directory
> (java/sca). Our
> > svn code is available at [1] for reference. Any thoughts ?
> >
> > [1] https://svn.apache.org/repos/asf/incubator/tuscany/java/
> >
> > Missing:
> > ----------
> > 1) org.apache.tuscany.das:tuscany-das-rdb:jar:1.0-incubator-SNAPSHOT
> >
> > Try downloading the file manually from the project website.
> >
> > Then, install it using the command:
> > mvn install:install-file
> > -DgroupId=org.apache.tuscany.das-DartifactId=tuscany-das-rdb \
> > -Dversion=1.0-incubator-SNAPSHOT -Dpackaging=jar
> > -Dfile=/path/to/file
> >
> > Path to dependency:
> > 1)
> >
> org.apache.tuscany.das.samples:sample-companyweb:war:1.0-incubator-SNAPSHOT
> > 2)
> org.apache.tuscany.das:tuscany-das-rdb:jar:1.0-incubator-SNAPSHOT
> >
> > ----------
> > 1 required artifact is missing.
> >
> > for artifact:
> >
> >
> org.apache.tuscany.das.samples:sample-companyweb:war:1.0-incubator-SNAPSHOT
> >
> > from the specified remote repositories:
> > central ( http://repo1.maven.org/maven2),
> > apache.incubator (
> http://people.apache.org/repo/m2-incubating-repository/
> > ),
> > apache.ws.m1.snapshots ( http://ws.zones.apache.org/repository),
> > apache.snapshots
> > (http://people.apache.org/repo/m2-snapshot-repository
> )
> >
> >
> > --
> > Luciano Resende
> > http://people.apache.org/~lresende<http://people.apache.org/%7Elresende>
> >
>
--
Luciano Resende
http://people.apache.org/~lresende <http://people.apache.org/%7Elresende>
--
Luciano Resende
http://people.apache.org/~lresende
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]