users@jaxb.java.net

Re: Maven2 with JAXB 2.0

From: Franz Fehringer <feh_at_isogmbh.de>
Date: Fri, 19 May 2006 09:05:43 +0200

Hello Jonathan,

I have still a few points,

    * If i access http://jaxb.dev.java.net/jaxb-maven2-plugin/ with IE6
      (latest patches applied) i get (free translation from the original
      german error message) line 316 object required.
      The M$ script debugger shows the line
      for( n=dd.parentNode.previousSibling; n!=null; n=n.previousSibling ) {
      with
      n=dd.parentNode.previousSibling
      highlighted.
    * According to Joerg.Schaible_at_Elsag-Solutions.com citing
      http://www.mavenregistry.com/search/artifacts?hl=en&q=jsr173&btnG=Search+Registry
      javax.xml.bind should be only javax.xml and com.sun.xml.bind
      should be only com.sun.xml (but this would not match your
      directory names??).
    * On http://jaxb.dev.java.net/jaxb-maven2-plugin/ you still have

      <groupId>jaxb</groupId>

      <artifactId>jaxb-impl</artifactId>

      <version>2.0-SNAPSHOT</version>

      Why not

      <groupId>com.sun.xml.bind</groupId>

      <artifactId>jaxb-impl</artifactId>

      <version>2.0</version>

      ??
    * The jaxb dependencies shown on
      http://jaxb.dev.java.net/jaxb-maven2-plugin/ are also in the pom
      from the downloaded zip
      https://jaxb.dev.java.net/jaxb-maven2-plugin/maven-jaxb-plugin-1.0.zip.
      Why list them twice; or the other way round: can i omit them from
      my pom.xml?

Greetings

Franz

Jonathan Johnson schrieb:
>
> Kohsuke -- The pom here
> https://maven-repository.dev.java.net/repository/com.sun.xml.bind/poms/jaxb-impl-2.0.pom
> needs the activation.jar version to be change from 1.0.2 to 1.1.
>
>
>
> Franz -- your comments were helpful, I have cleaned up the
> instructions. The instructions for using the JAXB Maven 2 plugin are
> here http://jaxb.dev.java.net/jaxb-maven2-plugin/
>
>
>
> You also asked why this plugin is dependent on ant. This plugin
> depends on the jars ant since it delegates to the
> com.sun.tools.xjc.XJC2Task which requires the ant jar (currently 1.6.5).
>
>
>
> You also mentioned
>
> >> I sit behind a proxy and have difficulties accessing https sites
> with Maven2 (http works perfect).
>
> >> Also, why not reorganize the repository making <legacy> obsolete?
>
>
>
> Kohsuke Kawaguchi and the folks at Sun are working on updating the
> java.net Maven 2 repository. He should be seeing this request. See
> Kohsuke's comments in his blog http://weblogs.java.net/blog/kohsuke/
>
>
>