On Tue, Feb 1, 2011 at 3:40 PM, Mike Edwards
<mike.edwards.inglen...@gmail.com> wrote:
> On 01/02/2011 14:16, ant elder wrote:
>>
>> On Tue, Feb 1, 2011 at 2:07 PM, Mike Edwards
>> <mike.edwards.inglen...@gmail.com>  wrote:
>>>
>>> On 01/02/2011 13:55, ant elder wrote:
>>>>
>>>> On Tue, Feb 1, 2011 at 1:43 PM, Mike Edwards
>>>> <mike.edwards.inglen...@gmail.com>    wrote:
>>>>>
>>>>> On 30/01/2011 10:08, ant elder wrote:
>>>>>>
>>>>>> Please review and vote on RC2 of the Java SCA 2.0 Beta2 release.
>>>>>>
>>>>>> The artifacts are at:
>>>>>>
>>>>>> http://people.apache.org/~antelder/tuscany/2.0-beta2-RC2/
>>>>>>
>>>>>> The release tag is at:
>>>>>>
>>>>>>
>>>>>> http://svn.apache.org/repos/asf/tuscany/sca-java-2.x/tags/2.0-Beta2-RC2
>>>>>>
>>>>>> Here's my +1
>>>>>>
>>>>>>   ...ant
>>>>>>
>>>>> I get a build test failure when I do a clean build of the source
>>>>> distribution.
>>>>>
>>>>> The failure is with the Legal Checks iTest
>>>>>
>>>>> The surefire output:
>>>>>
>>>>> </error>
>>>>>    <system-err>Jars in distribution but not in LICENSE:
>>>>> [jaxme-api-0.3.jar]
>>>>>
>>>>>
>>>>> I checked the dependency tree for jaxme and it derives from
>>>>> implementation-bpel:
>>>>>
>>>>> [INFO] |  +-
>>>>>
>>>>>
>>>>> org.apache.tuscany.sca:tuscany-implementation-bpel-runtime:jar:2.0-Beta2:compile
>>>>> [INFO] |  |  +- org.apache.ode:ode-bpel-epr:jar:1.3.2:compile
>>>>> [INFO] |  |  +- org.apache.ode:ode-bpel-store:jar:1.3.2:compile
>>>>> [INFO] |  |  +- org.apache.ode:ode-bpel-dao:jar:1.3.2:compile
>>>>> [INFO] |  |  +- org.apache.ode:ode-dao-jpa:jar:1.3.2:compile
>>>>> [INFO] |  |  +- org.apache.ode:ode-dao-jpa-ojpa-derby:zip:1.3.2:compile
>>>>> [INFO] |  |  +- org.apache.ode:ode-bpel-runtime:jar:1.3.2:compile
>>>>> [INFO] |  |  +- org.apache.ode:ode-bpel-api:jar:1.3.2:compile
>>>>> [INFO] |  |  +- org.apache.ode:ode-scheduler-simple:jar:1.3.2:compile
>>>>> [INFO] |  |  +- org.apache.ode:ode-utils:jar:1.3.2:compile
>>>>> [INFO] |  |  +- org.apache.ode:ode-bpel-compiler:jar:1.3.2:compile
>>>>> [INFO] |  |  +- org.apache.ode:ode-bpel-schemas:jar:1.3.2:compile
>>>>> [INFO] |  |  +- org.apache.ode:ode-bpel-obj:jar:1.3.2:compile
>>>>> [INFO] |  |  +- org.apache.ode:ode-jacob:jar:1.3.2:compile
>>>>> [INFO] |  |  +- org.apache.ode:ode-jacob-ap:jar:1.3.2:compile
>>>>> [INFO] |  |  +- org.apache.ode:ode-agents:jar:1.3.2:compile
>>>>> [INFO] |  |  +- org.apache.ode:ode-dao-hibernate:jar:1.3.2:compile
>>>>> [INFO] |  |  +-
>>>>> org.eclipse.equinox:common:jar:3.5.0-v20090520-1800:compile
>>>>> [INFO] |  |  +- commons-lang:commons-lang:jar:2.3:compile
>>>>> [INFO] |  |  +- commons-collections:commons-collections:jar:3.2:compile
>>>>> [INFO] |  |  +-
>>>>> org.apache.geronimo.modules:geronimo-kernel:jar:2.0.1:compile
>>>>> [INFO] |  |  +-
>>>>> org.apache.geronimo.components:geronimo-transaction:jar:2.1.4:compile
>>>>> [INFO] |  |  |  +- org.slf4j:slf4j-api:jar:1.6.1:compile
>>>>> [INFO] |  |  |  \- org.objectweb.howl:howl:jar:1.0.1-1:compile
>>>>> [INFO] |  |  +-
>>>>> org.apache.geronimo.specs:geronimo-jta_1.1_spec:jar:1.1.1:compile
>>>>> [INFO] |  |  +-
>>>>> org.apache.geronimo.specs:geronimo-jpa_3.0_spec:jar:1.1.1:compile
>>>>> [INFO] |  |  +-
>>>>>
>>>>>
>>>>> org.apache.geronimo.specs:geronimo-j2ee-connector_1.5_spec:jar:2.0.0:compile
>>>>> [INFO] |  |  +-
>>>>> org.apache.geronimo.components:geronimo-connector:jar:2.1.4:compile
>>>>> [INFO] |  |  +- org.apache.derby:derby:jar:10.4.1.3:compile
>>>>> [INFO] |  |  +- tranql:tranql-connector:jar:1.1:compile
>>>>> [INFO] |  |  |  \- regexp:regexp:jar:1.3:compile
>>>>> [INFO] |  |  +- org.apache.openjpa:openjpa:jar:1.2.1:compile
>>>>> [INFO] |  |  |  \- commons-pool:commons-pool:jar:1.3:compile
>>>>> [INFO] |  |  +- net.sourceforge.serp:serp:jar:1.13.1:compile
>>>>> [INFO] |  |  +- jaxen:jaxen:jar:1.1.1:compile
>>>>> [INFO] |  |  |  +- dom4j:dom4j:jar:1.6.1:compile
>>>>> [INFO] |  |  |  |  \- jaxme:jaxme-api:jar:0.3:compile
>>>>> [INFO] |  |  |  \- jdom:jdom:jar:1.0:compile
>>>>>
>>>>>
>>>>> Why this should pop up now I have no idea - presumably some 3rd party
>>>>> dependecncy has changed.
>>>>>
>>>>
>>>> Jaxme is defined in the dom4j pom.xml as an optional dependency so it
>>>> shouldn't be getting included, and it doesn't get included in my build
>>>> of the distribution so the license itest passing cleanly. Its odd that
>>>> jaxme is getting included in your build:
>>>> - what version of Maven are you using?
>>>> - there are no changes related to this that i can see between
>>>> trunk/bete2, does jaxme show up in your trunk build?
>>>>
>>>>    ...ant
>>>>
>>> Ant,
>>>
>>> Maven is 2.2.0
>>>
>>> Can't see it in my trunk build at the moment but I need to do a fresh
>>> build
>>> of that
>>>
>>>
>>> Yours,  Mike.
>>>
>>
>> I can't think of anything to explain why you get that and i don't.
>>
>> Would you look in the dom4j pom.xml in your local repository to verify
>> that the jaxme dependency is optional, eg C:\Documents and
>> Settings\Administrator\.m2\repository\dom4j\dom4j\1.6.1\dom4j-1.6.1.pom:
>>
>>     <dependency>
>>       <groupId>jaxme</groupId>
>>       <artifactId>jaxme-api</artifactId>
>>       <version>0.3</version>
>>       <optional>true</optional>
>>     </dependency>
>>
>>    ...ant
>>
> Ant,
>
> I can confirm that I see the exact same problem with my trunk build.
>
> When I look at my repo and the POM for dom4j, I see this:
>
>    <dependency>
>      <groupId>jaxme</groupId>
>      <artifactId>jaxme-api</artifactId>
>      <version>0.3</version>
>    </dependency>
>
> - clearly not optional..
>
> this is dom4j 1.6.1 from a clean repo as of today.
>
>
> Yours,  Mike.
>

The pom.xml in the central repository has it as optional:
http://repo1.maven.org/maven2/dom4j/dom4j/1.6.1/dom4j-1.6.1.pom

Perhaps the one you have is from when we had all the other
repositories defined in tuscany and one of them had a duff version?
Could you try deleting it from your local repo and seeing if a fresh
build downloads a good version and if not where its downloading it
from?

   ...ant

Reply via email to