Well, a broken build is useless to everyone, so while we try to find the proper solution I'm going to deliver the solution proposed by David.
-- Luciano Resende http://people.apache.org/~lresende On 12/7/06, Luciano Resende <[EMAIL PROTECTED]> wrote:
Doing a google code search, looke like the felix trunk poms are all using 0.9.0 version.. I'm wondering if we are using any felix artifact that is referencing a 0.9.0 version, cause it does not seems that we are referencing it directly.... also, I'm not sure what's the best way to track this kind of dependency from another dependency.... I had this in the past, and was only able to fix this by a try/fail approach... Who is working with OSGI ? Maybe he/she could help us identifying the offender artifact :) -- Luciano Resende http://people.apache.org/~lresende <http://people.apache.org/%7Elresende> On 12/7/06, kelvin goodson <[EMAIL PROTECTED]> wrote: > > Does anyone have a proper solution to this? I've been playing with > <dependencyManagement> elements in various places the parent pom > hierarchy, > but nothing other than an explicit version in the dependency section > seems > to change the version that's being requested. Also a mvn > help:efective-pom > on a pom file that is exhibiting the symptom does not seem to contain a > specific request for the 0.9 version in its output. So where is this > version request coming from? > > Kelvin. > > On 07/12/06, David Sanders <[EMAIL PROTECTED]> wrote: > > > > Adding version element to several pom files fixed the build problem > for > > me. > > Since I'm new to Maven, this workaround may not be the correct > solution, > > though. > > > > Workaround: Add version, e.g., > > > > <plugin> > > <groupId> org.apache.felix.plugins</groupId> > > <artifactId>maven-osgi-plugin</artifactId> > > <version>0.8.0-SNAPSHOT</version> > > ... > > > > to all (may be overkill) pom files referencing felix. > > > > $ grep -rl --include=pom.xml 'felix' . > > ./java/sampleapps/pom.xml > > ./java/sca/pom.xml > > ./java/sca/runtime/osgi/pom.xml > > ./java/spec/commonj/pom.xml > > ./java/spec/sca/pom.xml > > ./java/spec/sdo-api/pom.xml > > ./java/testing/sca/pom.xml > > > > > > > > > > > > On 12/6/06, Luciano Resende < [EMAIL PROTECTED]> wrote: > > > > > > I'm not sure... i searched all our pom files and does not look like > we > > > have > > > explicitly set 0.9.0 as the dependency version... > > > > > > Here is some more info... > > > > > > > > > [INFO] Tuscany Standalone Distribution > > > [INFO] Tuscany Project > > > Downloading: > > > > > > > > > http://people.apache.org/repo/m2-snapshot-repository/org/apache/felix/felix/0.9.0-incubator-SNAPSHOT/felix-0.9.0-incubator-SNAPSHOT.pom > > > [WARNING] Unable to get resource from repository apache.snapshots ( > > > http://people.apache.org/repo/m2-snapshot-repository) > > > > > ..... > > > > > >
