Andrew, are you using Maven 3? I had some troubles that sound like this
until I switched to Maven 2. Maven 3 seems to be stricter on things like
this. m2eclipse comes with Maven 3 by default...
-Shane
On Fri, May 27, 2011 at 6:26 AM, Justin Deoliveira <[email protected]>wrote:
> Odd... i just looked at the root pom and indeed there are two definitions
> for xercesImpl in the root pom dependencyManagement section, one for 2.6.2
> and one for 2.4.0. Obviously an oversight... the 2.4.2 declaration should be
> removed. Actually some the other xml dependencies (xmlParserAPIs) does the
> same. Oh boy and looking at the geotools poms the versions there are even
> different... xerces 2.7.1.
>
> Looks like some cleanup is in order :)
>
> On Fri, May 27, 2011 at 6:41 AM, Andrea Aime <[email protected]
> > wrote:
>
>> On Fri, May 27, 2011 at 1:37 PM, Andrew Chamberlain
>> <[email protected]> wrote:
>> > Hi All,
>> >
>> >
>> >
>> > I’m currently getting Geoserver set up in Eclipse (as described here)
>> and
>> > have come across the following issue reported by Maven plugin for
>> eclipse:
>> >
>> >
>> >
>> > [ERROR]
>> >
>> 'dependencyManagement.dependencies.dependency.(groupId:artifactId:type:classifier)'
>> > must be unique: xerces:xercesImpl:jar -> version 2.4.0 vs 2.6.2 @
>> > org.geoserver:geoserver:2.2-SNAPSHOT, C:\Workspace\geoserver\src\pom.xml
>> >
>> >
>> >
>> > This happens for all modules that use xercesImpl 2.4.0, instead of
>> version
>> > 2.6.2 as referenced by Geoserver.
>>
>> All modules that use xercesImpl 2.4.0... which ones would those be?
>>
>> > Has anyone else found this problem? How important is it for Geoserver
>> to
>> > use version 2.6.2? Any ideas would be much appreciated.
>>
>> I know that in the past we tried to get jaxb in the GS classpath which
>> I hear required a different version of xerces, that resulted in GML
>> encoding/decoding
>> not working anymore.
>> So I guess.. pretty important? Justin surely knows more about this,
>> hopefully
>> he'll chime in
>>
>> Cheers
>> Andrea
>>
>>
>>
>> --
>> -------------------------------------------------------
>> Ing. Andrea Aime
>> GeoSolutions S.A.S.
>> Tech lead
>>
>> Via Poggio alle Viti 1187
>> 55054 Massarosa (LU)
>> Italy
>>
>> phone: +39 0584 962313
>> fax: +39 0584 962313
>>
>> http://www.geo-solutions.it
>> http://geo-solutions.blogspot.com/
>> http://www.youtube.com/user/GeoSolutionsIT
>> http://www.linkedin.com/in/andreaaime
>> http://twitter.com/geowolf
>>
>> -------------------------------------------------------
>>
>>
>> ------------------------------------------------------------------------------
>> vRanger cuts backup time in half-while increasing security.
>> With the market-leading solution for virtual backup and recovery,
>> you get blazing-fast, flexible, and affordable data protection.
>> Download your free trial now.
>> http://p.sf.net/sfu/quest-d2dcopy1
>> _______________________________________________
>> Geoserver-devel mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/geoserver-devel
>>
>
>
>
> --
> Justin Deoliveira
> OpenGeo - http://opengeo.org
> Enterprise support for open source geospatial.
>
>
>
> ------------------------------------------------------------------------------
> vRanger cuts backup time in half-while increasing security.
> With the market-leading solution for virtual backup and recovery,
> you get blazing-fast, flexible, and affordable data protection.
> Download your free trial now.
> http://p.sf.net/sfu/quest-d2dcopy1
> _______________________________________________
> Geoserver-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-devel
>
>
--
Shane StClair
Software Engineer
Axiom Consulting & Design
523 W 8th Ave
Suite 104
Anchorage, AK 99501
http://www.axiomalaska.com
------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery,
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now.
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel