You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Guillaume Sauthier (JIRA)" <ji...@apache.org> on 2008/02/21 13:55:19 UTC

[jira] Created: (CXF-1445) Missing repository definition

Missing repository definition
-----------------------------

                 Key: CXF-1445
                 URL: https://issues.apache.org/jira/browse/CXF-1445
             Project: CXF
          Issue Type: Bug
          Components: Build system
    Affects Versions: 2.0.4
            Reporter: Guillaume Sauthier
            Priority: Minor


I wanted to port to Maven our Easybeans/CXF extension.
So I've added a dependency on cxf-api and cxf-rt-transports-http:

    <dependency>
      <groupId>org.apache.cxf</groupId>
      <artifactId>cxf-rt-transports-http</artifactId>
      <version>2.0.4-incubating</version>
    </dependency>

In my POM, I've got 3 repositories (ow2, ow2-snapshots and m2-apache-incubating).

But I've got a maven transitive dependency error:

[INFO] Failed to resolve artifact.

Missing:
----------
1) com.sun.xml.bind:jaxb-impl:jar:2.0.5

  Try downloading the file manually from the project website.

  Then, install it using the command: 
      mvn install:install-file -DgroupId=com.sun.xml.bind -DartifactId=jaxb-impl \
          -Dversion=2.0.5 -Dpackaging=jar -Dfile=/path/to/file

  Path to dependency: 
  	1) org.ow2.easybeans.extensions:easybeans-cxf-extension:jar:1.0.0.RC3-SNAPSHOT
  	2) org.apache.cxf:cxf-rt-transports-http:jar:2.0.4-incubator
  	3) org.apache.cxf:cxf-rt-core:jar:2.0.4-incubator
  	4) com.sun.xml.bind:jaxb-impl:jar:2.0.5

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

AFAIK, the latests JAXB artifacts are not in the  maven2-repository.dev.java.net (http://download.java.net/maven/2) repository but in a maven1 repository:
http://download.java.net/maven/1.

As a workaround, I've added this repository definition in my own POM, but I think this legacy repository should be declared in the CXF POM.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (CXF-1445) Missing repository definition

Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-1445?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Kulp resolved CXF-1445.
------------------------------

       Resolution: Fixed
    Fix Version/s: 2.0.6
         Assignee: Daniel Kulp


java.net is now in the top level pom.

> Missing repository definition
> -----------------------------
>
>                 Key: CXF-1445
>                 URL: https://issues.apache.org/jira/browse/CXF-1445
>             Project: CXF
>          Issue Type: Bug
>          Components: Build system
>    Affects Versions: 2.0.4
>            Reporter: Guillaume Sauthier
>            Assignee: Daniel Kulp
>            Priority: Minor
>             Fix For: 2.0.6
>
>
> I wanted to port to Maven our Easybeans/CXF extension.
> So I've added a dependency on cxf-api and cxf-rt-transports-http:
>     <dependency>
>       <groupId>org.apache.cxf</groupId>
>       <artifactId>cxf-rt-transports-http</artifactId>
>       <version>2.0.4-incubating</version>
>     </dependency>
> In my POM, I've got 3 repositories (ow2, ow2-snapshots and m2-apache-incubating).
> But I've got a maven transitive dependency error:
> [INFO] Failed to resolve artifact.
> Missing:
> ----------
> 1) com.sun.xml.bind:jaxb-impl:jar:2.0.5
>   Try downloading the file manually from the project website.
>   Then, install it using the command: 
>       mvn install:install-file -DgroupId=com.sun.xml.bind -DartifactId=jaxb-impl \
>           -Dversion=2.0.5 -Dpackaging=jar -Dfile=/path/to/file
>   Path to dependency: 
>   	1) org.ow2.easybeans.extensions:easybeans-cxf-extension:jar:1.0.0.RC3-SNAPSHOT
>   	2) org.apache.cxf:cxf-rt-transports-http:jar:2.0.4-incubator
>   	3) org.apache.cxf:cxf-rt-core:jar:2.0.4-incubator
>   	4) com.sun.xml.bind:jaxb-impl:jar:2.0.5
> ----------
> 1 required artifact is missing.
> AFAIK, the latests JAXB artifacts are not in the  maven2-repository.dev.java.net (http://download.java.net/maven/2) repository but in a maven1 repository:
> http://download.java.net/maven/1.
> As a workaround, I've added this repository definition in my own POM, but I think this legacy repository should be declared in the CXF POM.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.