True, if you look at Java only.
But in the case of Maven, it was always only JAR that ended up on the classpath.
IMHO, we cannot "flip it", as we may break who knows how many projects now.

I am fine by adding new type (ie. "zip-classpath") to Maven 4, but for
Maven 3, no luck IMO.

T

On Sat, Apr 19, 2025 at 4:14 PM Gary Gregory <garydgreg...@gmail.com> wrote:
>
> On Sat, Apr 19, 2025 at 9:32 AM Michael Osipov <micha...@apache.org> wrote:
> >
> > On 2025/04/18 07:36:25 Olivier Cailloux wrote:
> > > Dear list,
> > >
> > > I have read https://issues.apache.org/jira/browse/MNG-5567 but did not
> > > manage to understand whether the issue has supposedly been solved or
> > > even whether it is consensual that it should be solved. One person (who
> > > seems to be, or was at the time, a Maven developer?) seems to argue
> > > that it should, but other voices seem to be opposed to it.
> > >
> > > I just lost hours trying to understand why my (zip) dependency was not
> > > reachable from my code, then thought that my IDE was at fault, and
> > > finally realized that Maven itself does not seem to include zip types
> > > in the classpath.
> > >
> > > I want to raise my support for fixing this: there is clearly a natural
> > > expectation for this to work, considering that java accepts zip files
> > > as dependencies.
> >
> > I've tried once to make it happen years ago, but people weren't ready for 
> > that. According to the Java spec ZIPs are totally valid for the classpath, 
> > so a Maven problem. In my opinion that artifact handler should be part fo 
> > Maven 4.
>
> IIRC, zips on the classpath have been working in JVMs since the early
> days, if not the earliest.
>
> Gary
>
> >
> > M
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> > For additional commands, e-mail: users-h...@maven.apache.org
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to