On 08/09/2010 01:23, Juergen Zimmermann wrote:
> When using Maven 2.2.1 (instead of 3.0.0-beta3) I get a CNFE regarding log4j's
> "Priority" class although it's in compileClasspathElements and in
> testClasspathElements. Please see the output of "mvn -e -X".
> Any hint is appreciated!
Try adding the log4j dependency at plugin level:

        <plugin>
          <groupId>org.jbehave</groupId>
          <artifactId>jbehave-maven-plugin</artifactId>
          <executions>
            <execution>
              <id>run-stories-as-embeddables</id>
              <phase>integration-test</phase>
              <configuration>
                   ...
              </configuration>
              <goals>
                <goal>run-stories-as-embeddables</goal>
              </goals>
            </execution>
          </executions>
          <dependencies>
            <dependency>
              <groupId>log4j</groupId>
              <artifactId>log4j</artifactId>
              <version>1.2.14</version>
            </dependency>
          </dependencies>
        </plugin>



---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to