Uploaded image for project: 'Build'
  1. Build
  2. BUILD-199

Updated maven-dependency-plugin to 2.10 (dependency:analyze doesn't work on multi-module-projects with 2.9)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Neutral
    • POMs 31
    • None
    • Build Tools
    • None

    Description

      Doing an mvn dependency:analyze on a multi-module-project doesn't work with version 2.9 of the maven plugin.

      See: https://jira.codehaus.org/browse/MDEP-466

      A workaround is to downgrade the plugin to 2.8:

      mvn org.apache.maven.plugins:maven-dependency-plugin:2.8:analyze
      
      Error looks like this:
      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:2.9:analyze (default-cli) on project magnolia-theme-pop: Cannot analyze dependencies: /Users/johndoe/code/modules/standard-templating-kit/magnolia-module-standard-templating-kit/target/classes (Is a directory) -> [Help 1]
      [ERROR]
      [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
      [ERROR] Re-run Maven using the -X switch to enable full debug logging.
      [ERROR]
      [ERROR] For more information about the errors and possible solutions, please read the following articles:
      [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
      [ERROR]
      [ERROR] After correcting the problems, you can resume the build with the command
      [ERROR]   mvn <goals> -rf :magnolia-theme-pop
      
      Added workaround to the following modules
      • site (master)
      • stk (master)
      • templating-essentials (master)
      • categorization (master)

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                gjoseph Magnolia International
                pmundt Philip Mundt
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: