On Thu, Feb 13, 2014 at 3:15 AM, Nicholas Evans <[email protected]> wrote:
> Hi Rob,
> I had this exact problem when I recently tried to build the sources.  I
> found this comment in the pom for the validator module which helped me
> solve the problem:
>
>     <!--
>    The POM of
> org.iso_relax.verifier.jaxp.validation:isorelax-jaxp-bridge:jar:1.0
>    on the central repo is not 4.0.0 complaint so that we should pick the
> one SMX
>    Repo already provides, as otherwise building under Maven 3.0.4 would
> fail!
>    So delete any old .m2 cache entries of yours for this artifact
> beforehand if
>    you make use of Maven 3.0.4+
>  -->
>

OK.  Thanks.  I'll keep that in mind next time.    For RC4 I avoided
the problem by downgrading to Maven 2.

Regards,

-Rob


> As it says, I deleted the jar out of my .m2 repository and then built the
> validator module first, then built the rest and it worked.
>
>
> 2014-02-12 17:39 GMT+01:00 Rob Weir <[email protected]>:
>
>> I upgraded to Maven 3.0.4, downloaded the trunk and started a
>> -Ppedantic build, to verify I'm starting from a good state.
>>
>> It went well until building the validator component.  It died
>> processing the org.iso_relax.verifier.jaxp.validation dependency.  The
>> error message was:  "The version cannot be empty".
>>
>> Our POM looks good, but when I look at the posted POM for this
>> artifact it looks ancient:
>>
>>
>> http://search.maven.org/remotecontent?filepath=org/iso_relax/verifier/jaxp/validation/isorelax-jaxp-bridge/1.0/isorelax-jaxp-bridge-1.0.pom
>>
>> This is Maven 1 format, yes?  <currentVersion> instead of <version>,
>> old model 3 instead of 4.0, etc.  So I don't think this is compatible
>> anymore.
>>
>> This looks like the same error Ian ran into before:
>>
>>
>> http://mail-archives.apache.org/mod_mbox/incubator-odf-dev/201205.mbox/%3CCAKw-CVK2-79B8a12pa=nwhl4b6vq+vodezdjq9famvivabs...@mail.gmail.com%3E
>>
>> Is there any workaround?  Or should I go back to Maven 2?
>>
>> -Rob
>>

Reply via email to