Joerg Heinicke wrote:
But how to trace it back when the dependency report does not even mention it. I wonder if I'm actually the only one with this problem? It's probably not critical since it seems to occur only with the Eclipse plugin and fixing the build path is easy. But it might point to a deeper error who the next one hit at a completely different point.

Instead of generating the report, you can use the Maven dependency module (http://maven.apache.org/plugins/maven-dependency-plugin/). The only problem is that the released version of the module only offers limited functionality. However, a snapshot release is more helpful. In order to use it, add this snippet to your Maven pom:

  <profiles>
   <profile>
      <id>use-snapshots</id>
      <build>
        <plugins>
          <plugin>
            <artifactId>maven-dependency-plugin</artifactId>
            <version>2.0-alpha-5-SNAPSHOT</version>
          </plugin>
        </plugins>
      </build>
      <repositories>
        <repository>
          <id>apache.org</id>
          <name>Maven Snapshots</name>
          <url>http://people.apache.org/repo/m2-snapshot-repository</url>
          <releases>
            <enabled>false</enabled>
          </releases>
          <snapshots>
            <enabled>true</enabled>
          </snapshots>
        </repository>
        <repository>
          <id>codehaus.org</id>
          <name>CodeHaus Snapshots</name>
          <url>http://snapshots.repository.codehaus.org</url>
          <releases>
            <enabled>false</enabled>
          </releases>
          <snapshots>
            <enabled>true</enabled>
          </snapshots>
        </repository>
      </repositories>
      <pluginRepositories>
        <pluginRepository>
          <id>apache.org</id>
          <name>Maven Plugin Snapshots</name>
          <url>http://people.apache.org/repo/m2-snapshot-repository</url>
          <releases>
            <enabled>false</enabled>
          </releases>
          <snapshots>
            <enabled>true</enabled>
          </snapshots>
        </pluginRepository>
        <pluginRepository>
          <id>codehaus.org</id>
          <name>Maven Plugin Snapshots (Codehaus)</name>
          <url>http://snapshots.repository.codehaus.org</url>
          <releases>
            <enabled>false</enabled>
          </releases>
          <snapshots>
            <enabled>true</enabled>
          </snapshots>
        </pluginRepository>
      </pluginRepositories>
    </profile>
  </profiles>

and then run

mvn dependency:tree -P use-snapshots

HTH

--
Reinhard Pötz                            Managing Director, {Indoqa} GmbH
                          http://www.indoqa.com/en/people/reinhard.poetz/

Member of the Apache Software Foundation
Apache Cocoon Committer, PMC member, PMC Chair        [EMAIL PROTECTED]
_________________________________________________________________________

Reply via email to