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

Michael Osipov commented on MNG-5567:
-------------------------------------

In your case, you can tell the Maven Dependency Plugin to download your ZIP 
file and extract it, not from dependency tree, you can also set scope to 
{{provided}}, of course. For you, ZIP files shouldn't be on the classpath, for 
others they should because it is standard behavior. You can always exclude such 
a dep, but not the other way unless this is fixed.

What is your proposal to fix this issue, make is compliant with the docs of 
{{java(1)}}? I have abused JARs for bundle CSS/JS files just because ZIP 
packaging isn't available. This is overdesigned too.

It does not really matter wether the HSQLDB dep exists, the matter was the 
missing ZIP file on cp.

> Zip files are not included in classpaths at all
> -----------------------------------------------
>
>                 Key: MNG-5567
>                 URL: https://issues.apache.org/jira/browse/MNG-5567
>             Project: Maven
>          Issue Type: Bug
>          Components: Dependencies
>    Affects Versions: 3.3.9
>            Reporter: Pablo La Greca
>            Assignee: Michael Osipov
>            Priority: Critical
>             Fix For: 3.5.1
>
>
> when i added a dependency that was zip file 
> eg
> {code:xml}            <dependency>
>                       <groupId>hsqldb</groupId>
>                       <artifactId>hsqldb</artifactId>
>                       <version>1.7.3.0</version>
>                       <scope>provided</scope>
>                       <type>zip</type>
>               </dependency>
> {code}
>  this file was not included in the test classpath and so the test would not 
> pass



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to