maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexander Kriegisch (JIRA)" <>
Subject [jira] [Created] (MDEP-532) Undeclared test resources fail build despite 'ignoreNonCompile'
Date Thu, 07 Jul 2016 14:31:11 GMT
Alexander Kriegisch created MDEP-532:

             Summary: Undeclared test resources fail build despite 'ignoreNonCompile'
                 Key: MDEP-532
             Project: Maven Dependency Plugin
          Issue Type: Bug
          Components: analyze
    Affects Versions: 2.10
         Environment: Windows 7 Pro 64-bit, Java OpenSDK 8, Maven 3.3.9
            Reporter: Alexander Kriegisch

I have this plugin in my project's root POM:


Even though I want to ignore used undeclared test dependencies via {{<ignoreNonCompile>true</ignoreNonCompile>}},
my build fails like this in several modules:

[INFO] --- maven-dependency-plugin:2.10:analyze-only (analyze) @ xxx.yyy ---
[WARNING] Used undeclared dependencies found:
[WARNING]    org.jboss.shrinkwrap.resolver:shrinkwrap-resolver-api-maven:jar:2.2.0:test
[WARNING]    org.jboss.shrinkwrap:shrinkwrap-api:jar:1.2.3:test
[WARNING]    org.jboss.arquillian.container:arquillian-container-test-api:jar:1.1.11.Final:test
[WARNING]    org.jboss.arquillian.spock:arquillian-spock-core:jar:1.0.0.RC4_XXX:test
[WARNING]    org.jboss.shrinkwrap.resolver:shrinkwrap-resolver-api-maven-archive:jar:2.2.0:test

This message was sent by Atlassian JIRA

View raw message