dev@wadl.java.net

Re: svn commit: r138 - branches/mavenization/source/pom.xml

From: Marc Hadley <Marc.Hadley_at_Sun.COM>
Date: Tue, 20 Nov 2007 09:38:49 -0500

On Nov 20, 2007, at 9:11 AM, Wilfred Springer wrote:

> I would love to have both. However, I also think the out of the box
> experience is important, and - from my perspective - that's
> currently more
> important. What I would suggest is first merge this version with the
> head,
> and then start work on (re)-introducing the latest versions of JAXB
> and
> JAXWS. I've seen a couple of approaches in which people trick the
> classloader. I'd prefer that instead of annoying everybody with the
> burden
> of having to use the endorsement mechanism.
>
+1. Also, last I heard, we should see JAXB 2.1 in JDK 6.0 U4 making
the point moot. AFAIK, there should be no impact on the code to switch
from 2.0 to 2.1 so we can do that easily once U4 becomes available.

Marc.

> 2007/11/20, Farrukh Najmi <farrukh_at_wellfleetsoftware.com>:
>>
>> Hi Wilfred,
>>
>> First I want to say thank for all the improvements you have been
>> making.
>>
>> What follows is more of a question than a strong opinion.
>>
>> For me personally, it is more important to be aligned with latest
>> JAXB
>> and JAXWS
>> than it is to be on JDK6. This change therefor is a step back from
>> that
>> perspective.
>> There are workarounds for JDK6 and latest JAXB:
>>
>> "
>> If you'll be using JAXB 2.1 with JDK6, you'll have to use the
>> endorsed
>> directory mechanism
>> <http://java.sun.com/j2se/1.4.2/docs/guide/standards/> to override
>> JAXB
>> 2.0 API in JDK with JAXB 2.1 API (this can be done by either a system
>> property normal or putting the jar in a certain pre-defined
>> directory rare.)
>> "
>>
>> So the question is would most users want alignment with latets JAXB
>> RI
>> or ease of use with JDK 1.6?
>> Perhaps we should ask the user community?
>>
>> wilfred_at_dev.java.net wrote:
>>> Author: wilfred
>>> Date: 2007-11-19 16:04:48+0000
>>> New Revision: 138
>>>
>>> Modified:
>>> branches/mavenization/source/pom.xml
>>>
>>> Log:
>>> Changed the JAXB version numbers to 2.0.* to prevent problems
>>> running
>> everything on Java 6.
>>>
>>>
>>> Modified: branches/mavenization/source/pom.xml
>>> Url:
>> https://wadl.dev.java.net/source/browse/wadl/branches/mavenization/source/pom.xml?view=diff&rev=138&p1=branches/mavenization/source/pom.xml&p2=branches/mavenization/source/pom.xml&r1=137&r2=138
>>>
>> =
>> =
>> =
>> =
>> =
>> =
>> =
>> =
>> =
>> =====================================================================
>>> --- branches/mavenization/source/pom.xml (original)
>>> +++ branches/mavenization/source/pom.xml 2007-11-19
>>> 16:04:48+0000
>>> @@ -7,6 +7,7 @@
>>> <version>1.0-SNAPSHOT</version>
>>> <name>WADL</name>
>>> <url>http://wadl.dev.java.net/</url>
>>> +
>>> <build>
>>> <plugins>
>>> <plugin>
>>> @@ -45,34 +46,7 @@
>>> </plugin>
>>> </plugins>
>>> </reporting>
>>> -
>>> - <dependencies>
>>> - <dependency>
>>> - <groupId>junit</groupId>
>>> - <artifactId>junit</artifactId>
>>> - <version>3.8.1</version>
>>> - <scope>test</scope>
>>> - </dependency>
>>> -
>>> - <dependency>
>>> - <groupId>log4j</groupId>
>>> - <artifactId>log4j</artifactId>
>>> - <version>1.2.14</version>
>>> - </dependency>
>>>
>>> - <dependency>
>>> - <groupId>commons-logging</groupId>
>>> - <artifactId>commons-logging</artifactId>
>>> - <version>1.1</version>
>>> - <exclusions>
>>> - <exclusion>
>>> - <groupId>javax.servlet</groupId>
>>> - <artifactId>servlet-api</artifactId>
>>> - </exclusion>
>>> - </exclusions>
>>> - </dependency>
>>> - </dependencies>
>>> -
>>> <dependencyManagement>
>>> <dependencies>
>>> <dependency>
>>> @@ -110,8 +84,8 @@
>>> <artifactId>sjsxp</artifactId>
>>> </exclusion>
>>> </exclusions>
>>> -
>>> </dependency>
>>> +
>>> <dependency>
>>> <groupId>stax</groupId>
>>> <artifactId>stax-api</artifactId>
>>> @@ -125,12 +99,6 @@
>>> </dependency>
>>>
>>> <dependency>
>>> - <groupId>javax.xml.bind</groupId>
>>> - <artifactId>jsr173_api</artifactId>
>>> - <version>2.1.2</version>
>>> - </dependency>
>>> -
>>> - <dependency>
>>> <groupId>com.sun.xml.ws</groupId>
>>> <artifactId>jaxws-tools</artifactId>
>>> <version>2.1.2</version>
>>> @@ -139,23 +107,19 @@
>>> <dependency>
>>> <groupId>javax.xml.bind</groupId>
>>> <artifactId>jaxb-api</artifactId>
>>> - <version>2.1</version>
>>> - </dependency>
>>> + <version>2.0</version>
>>> + </dependency>
>>> +
>>> <dependency>
>>> <groupId>com.sun.xml.bind</groupId>
>>> <artifactId>jaxb-impl</artifactId>
>>> - <version>2.1.4</version>
>>> + <version>2.0.3</version>
>>> </dependency>
>>> - <dependency>
>>> - <groupId>com.sun.xml.bind</groupId>
>>> - <artifactId>jaxb1-impl</artifactId>
>>> - <version>2.1.4</version>
>>> - </dependency>
>>>
>>> <dependency>
>>> <groupId>com.sun.xml.bind</groupId>
>>> <artifactId>jaxb-xjc</artifactId>
>>> - <version>2.1.4</version>
>>> + <version>2.0.3</version>
>>> </dependency>
>>>
>>> <!--
>>> @@ -272,6 +236,7 @@
>>> <name>Wellfleet Repository</name>
>>> <url>scp://tbd/m2/repository/</url>
>>> </repository>
>>> +
>>> <snapshotRepository>
>>> <id>jvnet-repository</id>
>>> <name>Wellfleet Repository</name>
>>> @@ -281,27 +246,17 @@
>>> </distributionManagement>
>>>
>>> <scm>
>>> - <connection>scm:svn:http://wadl.dev.java.net/svn/wadl/trunk
>> </connection>
>>> - <developerConnection>scm:svn:
>> https://wadl.dev.java.net/svn/wadl/trunk</developerConnection>
>>> - <url>https://svn.freebxml.wellfleetsoft.webfactional.com/omar/trunk
>> </url>
>>> + <connection>scm:svn:http://wadl.dev.java.net/svn/wadl/trunk/source
>> </connection>
>>> + <developerConnection>scm:svn:
>> https://wadl.dev.java.net/svn/wadl/trunk/source</developerConnection>
>>> + <url>https://wadl.dev.java.net/source/browse/wadl/trunk/source/
>> </url>
>>> </scm>
>>>
>>> -
>>> <modules>
>>> <module>wadl-core</module>
>>> <module>wadl-maven-plugin</module>
>>> <module>wadl-ant</module>
>>> <module>wadl-cmdline</module>
>>> <module>wadl-dist</module>
>>> - <!--module>wadl2java-samples</module-->
>>> </modules>
>>>
>>> - <properties>
>>> - <jaxb.version>2.1.4</jaxb.version>
>>> - <!--jaxb.version>2.1.5-SNAPSHOT</jaxb.version-->
>>> - <jaxws.version>2.1.2</jaxws.version>
>>> - <!--jaxws.version>2.1.2-SNAPSHOT</jaxws.version-->
>>> - </properties>
>>> -
>>> -
>>> </project>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: commits-unsubscribe_at_wadl.dev.java.net
>>> For additional commands, e-mail: commits-help_at_wadl.dev.java.net
>>>
>>>
>>
>>
>> --
>> Regards,
>> Farrukh Najmi
>>
>> Web: http://www.wellfleetsoftware.com
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe_at_wadl.dev.java.net
>> For additional commands, e-mail: dev-help_at_wadl.dev.java.net
>>
>>

---
Marc Hadley <marc.hadley at sun.com>
CTO Office, Sun Microsystems.