On Fri, 2008-05-23 at 19:00 +0200, Martin Desruisseaux wrote:
> Andrea Aime a écrit :
> > Wondering if putting jaxb dependencies at the top of the pom.xml files
> > in the xsd modules is going to buy us the desired order...
>
> Adrian tried and it worked for him.
Not exactly,
the patch attached below declares a full dependency on jaxb which gets
Justin's tests to run again in Eclipse so he can get back to work.
Hopefully this helps everyone in the interim until we sort out what's
going on with all these different dependencies on different versions of
jaxb.
cheers,
--adrian
Index: pom.xml
===================================================================
--- pom.xml (revision 30400)
+++ pom.xml (working copy)
@@ -643,6 +643,12 @@
<artifactId>jdom</artifactId>
<version>1.0</version>
</dependency>
+ <dependency>
+ <groupId>javax.xml.bind</groupId>
+ <artifactId>jaxb-api</artifactId>
+ <version>2.2</version>
+ </dependency>
+
<!-- Apache -->
<dependency>
@@ -1368,6 +1374,14 @@
<name>Geotools repository</name>
<url>http://maven.geotools.fr/repository</url>
</repository>
+
+ <repository>
+ <id>java.net</id>
+ <name>java.net Maven Repository</name>
+ <url>http://download.java.net/maven/1</url>
+ <layout>legacy</layout>
+ </repository>
+
</repositories>
Index: modules/library/metadata/pom.xml
===================================================================
--- modules/library/metadata/pom.xml (revision 30400)
+++ modules/library/metadata/pom.xml (working copy)
@@ -151,10 +151,12 @@
compilation-time.
-->
<dependency>
- <groupId>org.geotools.maven</groupId>
- <artifactId>jaxb</artifactId>
+ <groupId>javax.xml.bind</groupId>
+ <artifactId>jaxb-api</artifactId>
+ <!--
<scope>provided</scope>
<version>${project.version}</version>
+ -->
</dependency>
</dependencies>
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel