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

Matthias Bünger commented on MJAR-100:
--------------------------------------

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

> Release preparation fails because jar plugin skips packaging of test jar
> ------------------------------------------------------------------------
>
>                 Key: MJAR-100
>                 URL: https://issues.apache.org/jira/browse/MJAR-100
>             Project: Maven JAR Plugin (Moved to GitHub Issues)
>          Issue Type: Bug
>         Environment: maven - 2.0.8
>            Reporter: Ashish Vashishta
>            Priority: Major
>
> The release preparation goals fails when run with -DskipTests=true. The 
> failure occurs because the jar plugin doesn't create the *.tests.jar. The jar 
> plugin being used is 2.2.
> When same goal is run with previous jar plugin version (2.1), everything 
> works fine.
> The comparison of outputs from these two run indicate this behaviour.
> 1. When run with jar plugin version 2.2, following information is printed on 
> console
>     [INFO] [jar:jar]
>     [INFO] Building jar: D:\..\abc.jar
>     [INFO] [jar:jar {execution: default}]
>     [INFO] [jar:test-jar {execution: default}]
>     [INFO] Skipping packaging of the test-jar
> 2. While when run with jar plugin version 2.1, following information is 
> printed on console
>     [INFO] [jar:jar]
>     [INFO] Building jar: D:\..\abc.jar
>     [INFO] [jar:jar {execution: default}]
>     [INFO] [jar:test-jar {execution: default}]
>     [INFO] Building jar: D:\..\abc-tests.jar



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to