Usage dependency-plugin with source-plugin causes BUILD ERROR
-------------------------------------------------------------

                 Key: MSOURCES-32
                 URL: http://jira.codehaus.org/browse/MSOURCES-32
             Project: Maven 2.x Source Plugin
          Issue Type: Bug
         Environment: Maven version: 2.0.8, Java version: 1.5.0_12, OS name: 
"windows xp" version: "5.1" arch: "x86" Family: "windows"
            Reporter: Valeriy Gavrilovets


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. =(

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to