Uploaded image for project: 'Maven Source Plugin'
  1. Maven Source Plugin
  2. MSOURCES-32

Usage dependency-plugin with source-plugin causes BUILD ERROR

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • None
    • None
    • None
    • Maven version: 2.0.8, Java version: 1.5.0_12, OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows"

    Description

      I use dependecy-plugin to copy some jars into the project. I attach it to initialize phase. If i do so, the source-plugin gets silly.

      [INFO] [jar:jar]
      [INFO] Building jar: c:\share\sample-project\ISSUE\target\ISSUE-0.0.1-SNAPSHOT.jar
      [INFO] Preparing source:jar
      [WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.
      [INFO] ------------------------------------------------------------------------
      [ERROR] BUILD ERROR
      [INFO] ------------------------------------------------------------------------
      [INFO] One or more required plugin parameters are invalid/missing for 'dependency:copy'

      [0] Inside the definition for plugin 'maven-dependency-plugin' specify the following:

      <configuration>
      ...
      <artifactItems>VALUE</artifactItems>
      </configuration>.

      I get silly too. =(

      Attachments

        1. MSOURCES-32.zip
          4 kB
          Valeriy Gavrilovets
        2. log.txt
          3 kB
          Valeriy Gavrilovets
        3. maven.out
          132 kB
          Robert Golkosky

        Issue Links

          Activity

            People

              Unassigned Unassigned
              valar Valeriy Gavrilovets
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: