[ 
https://issues.apache.org/jira/browse/MSOURCES-32?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17959405#comment-17959405
 ] 

Matthias Bünger commented on MSOURCES-32:
-----------------------------------------

This project has moved from Jira to GitHub Issues. This issue was migrated to 
[apache/maven-source-plugin#108|https://github.com/apache/maven-source-plugin/issues/108].
 

> Usage dependency-plugin with source-plugin causes BUILD ERROR
> -------------------------------------------------------------
>
>                 Key: MSOURCES-32
>                 URL: https://issues.apache.org/jira/browse/MSOURCES-32
>             Project: Maven Source Plugin (Moved to GitHub Issues)
>          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
>            Priority: Major
>         Attachments: MSOURCES-32.zip, log.txt, maven.out
>
>
> 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 was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to