db-jdo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matthew Adams <matt...@matthewadams.me>
Subject Re: ant optional?
Date Fri, 10 Dec 2010 04:21:24 GMT
I can commit. Out of twin for weekend though. Will do next week. 

Sent from mobile device. Responses brief.

On Dec 9, 2010, at 2:10 PM, Craig L Russell <craig.russell@oracle.com> wrote:

> Hi Matthew,
> Go ahead and commit or if you don't have commit access (I forget) then open a JIRA and
attach a patch for one of us to commit.
> Craig
> On Dec 9, 2010, at 6:33 AM, Matthew Adams wrote:
>> Maven's test scope only means that it needs to be on the test classpath.  It would
not introduce a runtime or even compile time dependency of jdo-api.jar.  Optional means that
if Maven can't find it, compilation should still succeed, which it wouldn't if it weren't
available.  Again, <scope> and <optional> are orthogonal concerns.
>> -Matthew
>> Sent from mobile device. Responses brief.
>> On Dec 9, 2010, at 1:24 AM, Andy Jefferson <andy@datanucleus.org> wrote:
>>>> You do not want to mark it as not optional since IIRC that would mean that
>>>> anything building against jdo-api.jar would have to have ant in the
>>>> CLASSPATH. We do not want that.
>>> Although maybe the "test" scope would override that requirement?
>>> No subsititute for actually trying it with a clean M2 repo, and
>>> building/running a simple JDO project against it (with clean M2 repo also).
>>> -- 
>>> Andy
>>> DataNucleus (http://www.datanucleus.org)
> Craig L Russell
> Architect, Oracle
> http://db.apache.org/jdo
> 408 276-5638 mailto:Craig.Russell@oracle.com
> P.S. A good JDO? O, Gasp!

View raw message