apache / apache/maven

[MNG-5567] Zip files are not included in classpaths at all

Open
#6,770 22 comments 0 reactions 0 assignees View on GitHub
bug priority:critical
Dominant language
Java
Stars
5.3k
Forks
3.1k
Avg merge
20h 42m
Merged PRs (30d)
297

Description

**[Pablo La Greca](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=pablo.lagreca)** opened **[MNG-5567](https://issues.apache.org/jira/browse/MNG-5567?redirect=false)** and commented

when i added a dependency that was zip file
eg

```xml

hsqldb
hsqldb
1.7.3.0
provided
zip

```

this file was not included in the test classpath and so the test would not pass

---

**Affects:** 3.3.9

**Issue Links:**
- [MNG-1683](https://issues.apache.org/jira/browse/MNG-1683) type zip for packaging ?

- [MNG-6080](https://issues.apache.org/jira/browse/MNG-6080) New scope for non-functional dependencies

- [MNG-2500](https://issues.apache.org/jira/browse/MNG-2500) Zip files are not included in the test classpath

- [MWAR-406](https://issues.apache.org/jira/browse/MWAR-406) custom artifact types don't get copied to WEB-INF/lib
(_**"is depended upon by"**_)

**Remote Links:**
- [Page
](https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=67636510)

1 votes, 12 watchers

Contributor guide

Open the contributing guide

Research direction

Start by reading this issue’s discussion and the linked MNG-2500 issue about zip files missing from the test classpath. Trace how the example dependency with type zip is handled when Maven builds the test classpath; done means that dependency is included there.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.