I encounter a problem that testing doesn't get executed. Searching on
the internet, people say that ceoms from old junit version suppressing
the newer one. Checking with -X some plugin looks suspicious.

- maven-antrun-plugin:1.6:run (save-version)
[DEBUG]       
org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9-stable-1:compile
[DEBUG]          junit:junit:jar:3.8.1:compile
[DEBUG]          classworlds:classworlds:jar:1.1-alpha-2:compile

- maven-remote-resources-plugin:1.1:process
[DEBUG]    org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9:compile
[DEBUG]       junit:junit:jar:3.8.1:compile
[DEBUG]    velocity:velocity-dep:jar:1.4:compile


-  maven-resources-plugin:2.4:resources (default-resources)
[DEBUG]       
org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9-stable-1:compile
[DEBUG]          junit:junit:jar:3.8.1:compile

- maven-scala-plugin:2.15.0:compile (default)
[DEBUG] org.scala-tools:maven-scala-plugin:jar:2.15.0:
[DEBUG]    org.apache.maven:maven-plugin-api:jar:2.2.1:compile
[DEBUG]    org.apache.maven:maven-project:jar:2.2.1:compile
[DEBUG]       
org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9-stable-1:compile
[DEBUG]          junit:junit:jar:3.8.1:compile

- gmaven-plugin:1.2:execute (default)
[DEBUG]    org.codehaus.gmaven.runtime:gmaven-runtime-loader:jar:1.2:compile
[DEBUG]       org.codehaus.gmaven.feature:gmaven-feature-support:jar:1.2:compile
[DEBUG]       org.codehaus.plexus:plexus-classworlds:jar:1.2-alpha-13:compile
[DEBUG]          junit:junit:jar:3.8.2:compile (version managed from 3.8.1)

I tried to add tag excluding junit with old version in those plugins

    <dependency>
      <groupId>org.codehaus.plexus</groupId>
      <artifactId>plexus-container-default</artifactId>
      <version>1.0-alpha-9-stable-1</version>
      <exclusions>
        <exclusion>
          <groupId>junit</groupId>
          <artifactId>junit</artifactId>
        </exclusion>
      </exclusions>
    </dependency>

but does not working.

Is there any place I can check for finding the possible root cause? Or
what additional tag need to be added for fixing this problem?

Thanks.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to