[ https://issues.apache.org/jira/browse/MNG-5567?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15848221#comment-15848221 ]
Grzegorz Slowikowski commented on MNG-5567: ------------------------------------------- As Joerg writes, zip files are often used for non-classpath resources. I'd like to describe my case. My Maven plugin for Play! Framework 1.x requires zip dependency in project (not plugin) dependencies containing the resources which must be extracted and accessed as *files* later during the build cycle. Check 'com.google.code.maven-play-plugin.org.playframework:play:1.4.3:framework:zip' as an example. It has over 20MB and should not be present on the classpath. Plugin finds dependency with 'framework' classifier and 'zip' extension, extracts it, and doesn't expect it to be in the classpath. Since zip files were newer added to classpath, so the scope of such dependency wasn't important. If declared without a scope (using default 'compile' scope) it will be available in runtime (for example, added to war files). I cannot predict, how it will influence user projects using my plugin. BTW The original issue was about hsql zip-type dependency. There is no such dependency, check http://repo1.maven.org/maven2/hsqldb/hsqldb/1.7.3.0/ > 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)