Uploaded image for project: 'Maven Dependency Plugin'
  1. Maven Dependency Plugin
  2. MDEP-793

ignoredUsedUndeclaredDependencies not affected to non-test scoped

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • analyze
    • None

    Description

      When we add some of artifacts to ignoredUsedUndeclaredDependencies and use classes from this artifacts only in test code we have reported it as  non-test scoped.

      In order pass non-test scoped check we must add artifacts to project .... but we want to avoid adding according to ignoredUsedUndeclaredDependencies

      Logs from executing:

      [WARNING] Non-test scoped test only dependencies found:
      [WARNING]    joda-time:joda-time:jar:2.10:compile
      
      [INFO] Ignored used undeclared dependencies:
      [INFO]    joda-time:joda-time:jar:2.10:compile
      ...
      

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            sjaranowski Slawomir Jaranowski
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: