Workaround solves the issue
http://jira.codehaus.org/browse/MXMLBEANS-13

        <dependency>
            <groupId>xmlbeans</groupId>
            <artifactId>xbean</artifactId>
            <version>2.2.0</version>
        </dependency>

        <!--
        Avoid broken dependency error (due to licensing issues): 
        Unable to download the artifact from any repository
xmlbeans:xmlbeans-jsr173-api:2.0-dev:jar

        The current workaround is to explicitly list the `staxx' exclude
in the 
        xmlbeans plugin pom in your project:
         -->
        <dependency>
            <groupId>stax</groupId>
            <artifactId>stax</artifactId>
            <version>1.1.1-dev</version>
            <scope>compile</scope>
            <exclusions>
                <exclusion>
                    <artifactId>xmlbeans-jsr173-api</artifactId>
                    <groupId>xmlbeans</groupId>
                </exclusion>
            </exclusions>
        </dependency>

        <dependency>
            <groupId>net.sf.saxon</groupId>
            <artifactId>saxon</artifactId>
            <version>8.7</version>
        </dependency>
        
        <dependency>
            <groupId>junit</groupId>
            <artifactId>junit</artifactId>
            <version>3.8.1</version>
            <scope>test</scope>
        </dependency>

    </dependencies>

> -----Original Message-----
> From: Pilgrim, Peter 
> Sent: 02 November 2006 12:08
> To: 'Maven Users List'
> Subject: [M2] Repository Lost Dependency for xmlbeans:xmlbeans:2.2.0
> 
> 
> Hi
> 
> It would appear that the dependencies for XML Beans 2.2.0 
> have disappeared.
> 
> Downloading: 
> http://mirrors.sunsite.dk/maven2/xmlbeans/xmlbeans-jsr173-api/
> 2.0-dev/xmlbeans-jsr173-api-2.0-dev.pom
> [WARNING] Unable to get resource from repository central 
> (http://repo1.maven.org/maven2)
> Downloading: 
> http://mirrors.sunsite.dk/maven2/xmlbeans/xmlbeans-jsr173-api/
> 2.0-dev/xmlbeans-jsr173-api-2.0-dev.jar
> [WARNING] Unable to get resource from repository central 
> (http://repo1.maven.org/maven2) [INFO] 
> --------------------------------------------------------------
> ----------
> [ERROR] BUILD ERROR
> [INFO] 
> --------------------------------------------------------------
> ----------
> [INFO] Failed to resolve artifact.
> 
> Missing:
> ----------
> 1) xmlbeans:xmlbeans-jsr173-api:jar:2.0-dev
> 
>   Try downloading the file manually from the project website.
> 
>   Then, install it using the command:
>       mvn install:install-file -DgroupId=xmlbeans 
> -DartifactId=xmlbeans-jsr173-a pi \
>           -Dversion=2.0-dev -Dpackaging=jar -Dfile=/path/to/file
> 
>   Path to dependency:
>         1) 
> com.ubs.firc.ptsp.valuations:ptsp-valuations-schema:jar:0.1-SNAPSHOT
>         2) stax:stax:jar:1.1.1-dev
>         3) xmlbeans:xmlbeans-jsr173-api:jar:2.0-dev
> 
> ----------
> 1 required artifact is missing.
> 
> for artifact:
>   com.ubs.firc.ptsp.valuations:ptsp-valuations-schema:jar:0.1-SNAPSHOT
> 
> from the specified remote repositories:
>   central (http://repo1.maven.org/maven2)
> 
> 
> Indeed there is nothing no longer there at 
> http://repo1.maven.org/maven2/xmlbeans/xmlbeans-jsr173-ri/2.0-dev/
> 
> I just checked Mvnregistry.org. How up-to-date is this site?
> 
> Any ideas for XmlBeans 2.2.0 anyway?
> 
> --
> Peter Pilgrim
> UBS Investment Bank,
> PTS Portal / IT FIRC OPS LDN,
> 100 Liverpool Street, London EC2M 2RH, United Kingdom
> +44 (0) 20 75 75692
> :: Java EE / E-Commerce / Enterprise Integration / Development ::
> 

--
Peter Pilgrim
UBS Investment Bank, 
PTS Portal / IT FIRC OPS LDN,
100 Liverpool Street, London EC2M 2RH, United Kingdom
+44 (0) 20 75 75692
:: Java EE / E-Commerce / Enterprise Integration / Development ::

Visit our website at http://www.ubs.com

This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses.  The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission.  If
verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to