You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by "David J. M. Karlsen" <da...@davidkarlsen.com> on 2006/09/20 22:58:10 UTC

Re: Maven2 versus JAXB

chrisnc skrev:

It fails on the following dependency:

Missing:
----------
1) javax.xml:jsr173:jar:1.0

  Try downloading the file manually from:
      http://ftpna2.bea.com/pub/downloads/jsr173.jar

  Then, install it using the command:
      mvn install:install-file -DgroupId=javax.xml -DartifactId=jsr173 \
          -Dversion=1.0 -Dpackaging=jar -Dfile=/path/to/file

  Path to dependency:
        1) com.sun.tools.xjc.maven2:maven-jaxb-plugin:maven-plugin:1.0
        2) com.sun.xml.bind:jaxb-impl:jar:2.0.1
        3) javax.xml:jaxb-api:jar:2.0
        4) javax.xml:jsr173:jar:1.0

----------
1 required artifact is missing.

for artifact:
  com.sun.tools.xjc.maven2:maven-jaxb-plugin:maven-plugin:1.0

from the specified remote repositories:
  codehaus.org (http://snapshots.repository.codehaus.org),
  central (http://repo1.maven.org/maven2),
  tlc-snapshots (http://commons.ucalgary.ca/pub/m2-snapshots),
  java.net (https://maven-repository.dev.java.net/nonav/repository),
  apache.snapshots (http://people.apache.org/maven-snapshot-repository),
  davidkarlsen.com Snapshots (http://www.davidkarlsen.com/m2/)


Looking at the license: http://www.ibiblio.org/maven2/javax/xml/jsr173/1.0/

would it be illegal to distribuate the jar at ibiblio?




>Hi. 
>
>Don't know if you solved this yet, but it worked for me just adding the
>version tag to the plugin information, as below:
>
><plugin> 
>        <groupId>com.sun.tools.xjc.maven2</groupId> 
>        <artifactId>maven-jaxb-plugin</artifactId> 
>        <version>1.0</version>
>        <executions> 
>          <execution> 
>            <goals> 
>              <goal>generate</goal> 
>            </goals> 
>          </execution> 
>        </executions> 
>      </plugin>
>  
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Maven2 versus JAXB

Posted by Wayne Fay <wa...@gmail.com>.
I won't disagree with you on the "hope problems disappear" but I do
want to note that this "problem" is not Sun's fault -- its a BEA
license on this particular artifact...

Streaming API for XML (JSR-173) for JavaTM Specification ("Specification")
Version: 1.0
Status: FCS
Release: [insert date]
Copyright 2002, 2003 BEA Systems, Inc.
2315 North First Street, San Jose CA, 95131
All rights reserved.

Wayne

On 9/20/06, David J. M. Karlsen <da...@davidkarlsen.com> wrote:
> Wayne Fay skrev:
>
> > IANAL, but I believe the issue with the license is the
> > "non-transferable" aspect of this license, along with the fact that
> > this license is only granted upon acceptance of their
> > click-shrinkwrap. Since Maven cannot enforce this (does not force
> > users to click "ACCEPT" prior to downloading the artifact), they
> > cannot host the file on Central.
>
> OK - anyway I foun this one @ java.net:
>
> <groupId>com.sun.tools.xjc.maven2</groupId>
>         <artifactId>maven-jaxb1-plugin</artifactId>
>
> (and I was really looking for a jaxb-1.x based one.
>
> Hope problems as these will dissappear as Sun and Java opens up.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Maven2 versus JAXB

Posted by "David J. M. Karlsen" <da...@davidkarlsen.com>.
Wayne Fay skrev:

> IANAL, but I believe the issue with the license is the
> "non-transferable" aspect of this license, along with the fact that
> this license is only granted upon acceptance of their
> click-shrinkwrap. Since Maven cannot enforce this (does not force
> users to click "ACCEPT" prior to downloading the artifact), they
> cannot host the file on Central.

OK - anyway I foun this one @ java.net:

<groupId>com.sun.tools.xjc.maven2</groupId>
        <artifactId>maven-jaxb1-plugin</artifactId>

(and I was really looking for a jaxb-1.x based one.

Hope problems as these will dissappear as Sun and Java opens up.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Maven2 versus JAXB

Posted by Carlos Sanchez <ca...@apache.org>.
You can use statx:stax-api it's the opensource version

On 9/20/06, Wayne Fay <wa...@gmail.com> wrote:
> IANAL, but I believe the issue with the license is the
> "non-transferable" aspect of this license, along with the fact that
> this license is only granted upon acceptance of their
> click-shrinkwrap. Since Maven cannot enforce this (does not force
> users to click "ACCEPT" prior to downloading the artifact), they
> cannot host the file on Central.
>
> BEA SYSTEMS, INC. ("BEA") IS WILLING TO LICENSE THIS SPECIFICATION TO
> YOU ONLY UPON THE CONDITION THAT YOU ACCEPT ALL OF THE TERMS CONTAINED
> IN THIS LICENSE AGREEMENT ("AGREEMENT").? PLEASE READ THE TERMS AND
> CONDITIONS OF THIS AGREEMENT CAREFULLY. BY DOWNLOADING THIS
> SPECIFICATION, YOU ACCEPT THE TERMS AND CONDITIONS OF THE AGREEMENT.
> IF YOU ARE NOT WILL?ING TO BE BOUND BY IT, SELECT THE "DECLINE" BUTTON
> AT THE BOTTOM OF THIS PAGE AND THE DOWNLOADING PROCESS WILL NOT
> CONTINUE.
>
> NOTICE; LIMITED LICENSE GRANTS
>
> 1. License for Evaluation Purposes. BEA hereby grants you a
> fully-paid, non-exclusive, non-transfer?able, worldwide, limited
> license (without the right to sublicense), under BEA's applicable
> intellectual property rights to view, download, use and reproduce the
> Specification only for the purpose of internal eval?uation, which
> shall be understood to include developing applications intended to run
> on an implementation of the Specification provided that such
> applications do not themselves implement any portion(s) of the
> Spec?ification.
>
> 2. License for the Distribution of Compliant Implementations. BEA also
> grants you a perpetual, non-exclusive, non-transferable, worldwide,
> fully paid-up, royalty free, limited license (without the right to
> sub?license) under  any applicable copyrights or, subject to the
> provisions of subsection 3 below, patent rights it may have covering
> the Specification to create and/or distribute an implementation of the
> Speci?fication that: (a) fully implements the Specification including
> all its required interfaces and functionality, and  (b) passes the
> Tech?nology Compatibility Kit  for such Specification (?Compliant
> Implementation?).
>
> Wayne
>
> On 9/20/06, David J. M. Karlsen <da...@davidkarlsen.com> wrote:
> > chrisnc skrev:
> >
> > It fails on the following dependency:
> >
> > Missing:
> > ----------
> > 1) javax.xml:jsr173:jar:1.0
> >
> >   Try downloading the file manually from:
> >       http://ftpna2.bea.com/pub/downloads/jsr173.jar
> >
> >   Then, install it using the command:
> >       mvn install:install-file -DgroupId=javax.xml -DartifactId=jsr173 \
> >           -Dversion=1.0 -Dpackaging=jar -Dfile=/path/to/file
> >
> >   Path to dependency:
> >         1) com.sun.tools.xjc.maven2:maven-jaxb-plugin:maven-plugin:1.0
> >         2) com.sun.xml.bind:jaxb-impl:jar:2.0.1
> >         3) javax.xml:jaxb-api:jar:2.0
> >         4) javax.xml:jsr173:jar:1.0
> >
> > ----------
> > 1 required artifact is missing.
> >
> > for artifact:
> >   com.sun.tools.xjc.maven2:maven-jaxb-plugin:maven-plugin:1.0
> >
> > from the specified remote repositories:
> >   codehaus.org (http://snapshots.repository.codehaus.org),
> >   central (http://repo1.maven.org/maven2),
> >   tlc-snapshots (http://commons.ucalgary.ca/pub/m2-snapshots),
> >   java.net (https://maven-repository.dev.java.net/nonav/repository),
> >   apache.snapshots (http://people.apache.org/maven-snapshot-repository),
> >   davidkarlsen.com Snapshots (http://www.davidkarlsen.com/m2/)
> >
> >
> > Looking at the license: http://www.ibiblio.org/maven2/javax/xml/jsr173/1.0/
> >
> > would it be illegal to distribuate the jar at ibiblio?
> >
> >
> >
> >
> > >Hi.
> > >
> > >Don't know if you solved this yet, but it worked for me just adding the
> > >version tag to the plugin information, as below:
> > >
> > ><plugin>
> > >        <groupId>com.sun.tools.xjc.maven2</groupId>
> > >        <artifactId>maven-jaxb-plugin</artifactId>
> > >        <version>1.0</version>
> > >        <executions>
> > >          <execution>
> > >            <goals>
> > >              <goal>generate</goal>
> > >            </goals>
> > >          </execution>
> > >        </executions>
> > >      </plugin>
> > >
> > >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>


-- 
I could give you my word as a Spaniard.
No good. I've known too many Spaniards.
                             -- The Princess Bride

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Maven2 versus JAXB

Posted by Wayne Fay <wa...@gmail.com>.
IANAL, but I believe the issue with the license is the
"non-transferable" aspect of this license, along with the fact that
this license is only granted upon acceptance of their
click-shrinkwrap. Since Maven cannot enforce this (does not force
users to click "ACCEPT" prior to downloading the artifact), they
cannot host the file on Central.

BEA SYSTEMS, INC. ("BEA") IS WILLING TO LICENSE THIS SPECIFICATION TO
YOU ONLY UPON THE CONDITION THAT YOU ACCEPT ALL OF THE TERMS CONTAINED
IN THIS LICENSE AGREEMENT ("AGREEMENT").? PLEASE READ THE TERMS AND
CONDITIONS OF THIS AGREEMENT CAREFULLY. BY DOWNLOADING THIS
SPECIFICATION, YOU ACCEPT THE TERMS AND CONDITIONS OF THE AGREEMENT.
IF YOU ARE NOT WILL?ING TO BE BOUND BY IT, SELECT THE "DECLINE" BUTTON
AT THE BOTTOM OF THIS PAGE AND THE DOWNLOADING PROCESS WILL NOT
CONTINUE.

NOTICE; LIMITED LICENSE GRANTS

1. License for Evaluation Purposes. BEA hereby grants you a
fully-paid, non-exclusive, non-transfer?able, worldwide, limited
license (without the right to sublicense), under BEA's applicable
intellectual property rights to view, download, use and reproduce the
Specification only for the purpose of internal eval?uation, which
shall be understood to include developing applications intended to run
on an implementation of the Specification provided that such
applications do not themselves implement any portion(s) of the
Spec?ification.

2. License for the Distribution of Compliant Implementations. BEA also
grants you a perpetual, non-exclusive, non-transferable, worldwide,
fully paid-up, royalty free, limited license (without the right to
sub?license) under  any applicable copyrights or, subject to the
provisions of subsection 3 below, patent rights it may have covering
the Specification to create and/or distribute an implementation of the
Speci?fication that: (a) fully implements the Specification including
all its required interfaces and functionality, and  (b) passes the
Tech?nology Compatibility Kit  for such Specification (?Compliant
Implementation?).

Wayne

On 9/20/06, David J. M. Karlsen <da...@davidkarlsen.com> wrote:
> chrisnc skrev:
>
> It fails on the following dependency:
>
> Missing:
> ----------
> 1) javax.xml:jsr173:jar:1.0
>
>   Try downloading the file manually from:
>       http://ftpna2.bea.com/pub/downloads/jsr173.jar
>
>   Then, install it using the command:
>       mvn install:install-file -DgroupId=javax.xml -DartifactId=jsr173 \
>           -Dversion=1.0 -Dpackaging=jar -Dfile=/path/to/file
>
>   Path to dependency:
>         1) com.sun.tools.xjc.maven2:maven-jaxb-plugin:maven-plugin:1.0
>         2) com.sun.xml.bind:jaxb-impl:jar:2.0.1
>         3) javax.xml:jaxb-api:jar:2.0
>         4) javax.xml:jsr173:jar:1.0
>
> ----------
> 1 required artifact is missing.
>
> for artifact:
>   com.sun.tools.xjc.maven2:maven-jaxb-plugin:maven-plugin:1.0
>
> from the specified remote repositories:
>   codehaus.org (http://snapshots.repository.codehaus.org),
>   central (http://repo1.maven.org/maven2),
>   tlc-snapshots (http://commons.ucalgary.ca/pub/m2-snapshots),
>   java.net (https://maven-repository.dev.java.net/nonav/repository),
>   apache.snapshots (http://people.apache.org/maven-snapshot-repository),
>   davidkarlsen.com Snapshots (http://www.davidkarlsen.com/m2/)
>
>
> Looking at the license: http://www.ibiblio.org/maven2/javax/xml/jsr173/1.0/
>
> would it be illegal to distribuate the jar at ibiblio?
>
>
>
>
> >Hi.
> >
> >Don't know if you solved this yet, but it worked for me just adding the
> >version tag to the plugin information, as below:
> >
> ><plugin>
> >        <groupId>com.sun.tools.xjc.maven2</groupId>
> >        <artifactId>maven-jaxb-plugin</artifactId>
> >        <version>1.0</version>
> >        <executions>
> >          <execution>
> >            <goals>
> >              <goal>generate</goal>
> >            </goals>
> >          </execution>
> >        </executions>
> >      </plugin>
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org