Yes, then it is probably appropriate for the Maven Compiler plugin to
support endorsed libraries. I can't remember if it always forks, but
if forking isn't specified, an error should be thrown when endorsed
libraries are used.
Paul
On Thu, Nov 12, 2009 at 3:19 PM, Daniel Kulp wrote:
> On Thu Nov
On Thu November 12 2009 2:22:51 pm Paul Benedict wrote:
> Is it possible to add endorsed libraries programatically? I thought
> the JDK grabbed all its endorsements from jdk_home\lib\ext
When you fork a jvm (javac fork or surefire set to fork), you can specify a
system property of other places to
Is it possible to add endorsed libraries programatically? I thought
the JDK grabbed all its endorsements from jdk_home\lib\ext
Paul
On Thu, Nov 12, 2009 at 12:48 PM, Daniel Kulp wrote:
>
> Just to follow up on this, it looks like the two main options are:
>
> 1) Add an "endorsed" scope. What w
Just to follow up on this, it looks like the two main options are:
1) Add an "endorsed" scope. What would be involved with that? What would
happen when a 2.0.10/2.2.1 maven version hits such a scope?This seems to
be a "maven core" thing with updates needed to a bunch of core things. N
I've done something for the javaee6 archetypes at mojo. I suppose you are
talking the same problem. Only compilation now, not surefire. It's a
solution within current constraints only. When leaving these behind, I would
go for endorsed scope.
http://svn.codehaus.org/mojo/trunk/mojo/mojo-archetypes/
9) use a new plugin (let's call it maven-java-plugin) to give us
namespacing in the pom. you'd add the plugin to the API pom and its
configuration section would annotate the pom with information about
what jdk versions the dependency is provided in, what versions it shod
be endorsed in, wha
2009/11/9 Daniel Kulp :
>
> While at ApacheCon last week, I talked to Jarek Gawor a bit and then followed
> up with a quick conversation with Brett about a problem that is soon going to
> hit CXF/Axis2/Geronimo.
I've already hit some "interesting" poms towards that end of the
projects built with m
While at ApacheCon last week, I talked to Jarek Gawor a bit and then followed
up with a quick conversation with Brett about a problem that is soon going to
hit CXF/Axis2/Geronimo.
Basically, we're going to need a mechanism to easily "endorse" a few api jars
when we call javac and when surefire