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)
>
.....