geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jarek Gawor <>
Subject Re: Maven compiler & endorsed libraries
Date Wed, 07 Apr 2010 17:46:08 GMT
On Wed, Apr 7, 2010 at 1:20 PM, Jarek Gawor <> wrote:
> I considered that too. If you're dealing with released artifacts that
> should work ok. But if you are dealing with snapshot dependencies, you
> might have multiple jars in the same directory with a different
> snapshot version. The -Djava.endorsed.dirs would pick up all these
> jars and so we wouldn't know exactly which jar is actually used.
> That's why a temporary directory would be needed to copy the specific
> artifact.
> Once the annotation, jaxws, etc. specs are released it should be
> trivial to update the geronimo-property-plugin to return
> -Djava.endorsed.dirs property instead of -Xbootclasspath property.

Btw, I just updated the geronimo-property-plugin to return files or
directories in the property it sets. So if we wanted the pass the
-Djava.endorsed.dirs property to the compiler or surefire plugin we
just need to configure the geronimo-property-plugin with:


instead of:



View raw message