You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2020/11/03 11:13:51 UTC

[Bug 64858] Allow to deploy a WAR whose dependencies are on a Maven repository

https://bz.apache.org/bugzilla/show_bug.cgi?id=64858

--- Comment #7 from Mark Thomas <ma...@apache.org> ---
(In reply to Gael Lalire from comment #6)
> Yes, WebResource are a terrific extension point. However it's a pity that
> scanners don't use it and rely on constructed jar: URL.

Which code are you referring to here? The StandardJarScanner obtains URLs for
the JARs via the WebResources implementation.

> Anyway I already use WebResource but I need an entry point.

That is expected to be the definition of a custom implementation for one or
more components of the web resources implementation.

> As long as JPMS named module are not activated I can overload Tomcat classes
> by a classpath hack.
> 
> But with JPMS named module activated I cannot use an already defined package
> that why I propose this PR https://github.com/apache/tomcat/pull/375.

My preference continues to be doing this via WebResources and making changes
there as necessary to permit extensions like this.

> Anyway I'm sorry to read that such integration has (almost) no change to get
> merged and I would like to know why do you think that.

Too invasive.


> I also saw you now provide generated named bundle through BND.
> I tested it and got 3 issues :

We are aware of those and they are being fixed via other bug reports.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org