Re: Maven compiler endorsed libraries

2010-04-07 Thread Rick McGuire
On 4/6/2010 5:23 PM, Jarek Gawor wrote: I came up with one solution (committed in revision 931319). In this solution I created a maven-property-plugin which executes in the validate phase and sets bootClassPath system property. The value of bootClassPath property is set to

Re: Maven compiler endorsed libraries

2010-04-07 Thread Jarek Gawor
On Wed, Apr 7, 2010 at 5:47 AM, Rick McGuire rick...@gmail.com wrote: On 4/6/2010 5:23 PM, Jarek Gawor wrote: I came up with one solution (committed in revision 931319). In this solution I created a maven-property-plugin which executes in the validate phase and sets bootClassPath system

Re: Maven compiler endorsed libraries

2010-04-07 Thread David Jencks
On Apr 7, 2010, at 6:24 AM, Jarek Gawor wrote: On Wed, Apr 7, 2010 at 5:47 AM, Rick McGuire rick...@gmail.com wrote: On 4/6/2010 5:23 PM, Jarek Gawor wrote: I came up with one solution (committed in revision 931319). In this solution I created a maven-property-plugin which executes in

Re: Maven compiler endorsed libraries

2010-04-07 Thread Jarek Gawor
On Wed, Apr 7, 2010 at 12:31 PM, David Jencks david_jen...@yahoo.com wrote: On Apr 7, 2010, at 6:24 AM, Jarek Gawor wrote: On Wed, Apr 7, 2010 at 5:47 AM, Rick McGuire rick...@gmail.com wrote: On 4/6/2010 5:23 PM, Jarek Gawor wrote: I came up with one solution (committed in revision

Re: Maven compiler endorsed libraries

2010-04-07 Thread Jarek Gawor
On Wed, Apr 7, 2010 at 1:20 PM, Jarek Gawor jga...@gmail.com 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.

Re: Maven compiler endorsed libraries

2010-04-06 Thread Jarek Gawor
I came up with one solution (committed in revision 931319). In this solution I created a maven-property-plugin which executes in the validate phase and sets bootClassPath system property. The value of bootClassPath property is set to -Xbootclasspath/p:pathpathSeparatorpath... string where each

Re: Maven compiler endorsed libraries

2010-04-03 Thread Daniel Kulp
On Friday 02 April 2010 2:08:44 pm Jarek Gawor wrote: Hi, We need to find a way to make the compiler in Maven to load certain libraries as endorsed libraries. I know this has been discussed before but do we have some specific solutions for this problem? We will need to deal with this fairly

Maven compiler endorsed libraries

2010-04-02 Thread Jarek Gawor
Hi, We need to find a way to make the compiler in Maven to load certain libraries as endorsed libraries. I know this has been discussed before but do we have some specific solutions for this problem? We will need to deal with this fairly soon now - for example to implement the @Resource.lookup