I am trying to upgrade to the latest CXF 2.1 from 2.0.5.  I am using
http://repo1.maven.org/maven2.  

        
            org.apache.cxf
            cxf-rt-frontend-jaxws
            2.1
        
        
            org.apache.cxf
            cxf-rt-transports-http
            2.1
        

        
            org.apache.cxf
            cxf-rt-transports-http-jetty
            2.1
        
     

Doing an install I am getting the following errors:

Missing:
----------
1) org.apache.cxf:apache-cxf:jar:2.1

  Try downloading the file manually from the project website.

  Then, install it using the command:
      mvn install:install-file -DgroupId=org.apache.cxf
-DartifactId=apache-cxf
-Dversion=2.1 -Dpackaging=jar -Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file
there:

      mvn deploy:deploy-file -DgroupId=org.apache.cxf
-DartifactId=apache-cxf -D
version=2.1 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url]
-DrepositoryId=[id]


  Path to dependency:
        1) com.monsanto.tps.architecture:cxf-test:war:1.0.0-SNAPSHOT
        2) org.apache.cxf:apache-cxf:jar:2.1

2) com.sun.xml.bind:jaxb-xjc:jar:2.1.6

  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-xjc
-Dversion=2.1.6 -Dpackaging=jar -Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file
there:

      mvn deploy:deploy-file -DgroupId=com.sun.xml.bind
-DartifactId=jaxb-xjc -D
version=2.1.6 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url]
-DrepositoryId=[i
d]

  Path to dependency:
        1) com.monsanto.tps.architecture:cxf-test:war:1.0.0-SNAPSHOT
        2) org.apache.cxf:apache-cxf:jar:2.1
        3) org.apache.cxf:cxf-tools-common:jar:2.1
        4) com.sun.xml.bind:jaxb-xjc:jar:2.1.6

3) com.sun.xml.bind:jaxb-impl:jar:2.1.6

  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.1.6 -Dpackaging=jar -Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file
there:

      mvn deploy:deploy-file -DgroupId=com.sun.xml.bind
-DartifactId=jaxb-impl -
Dversion=2.1.6 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url]
-DrepositoryId=[
id]

  Path to dependency:
        1) com.monsanto.tps.architecture:cxf-test:war:1.0.0-SNAPSHOT
        2) org.apache.cxf:apache-cxf:jar:2.1
        3) org.apache.cxf:cxf-tools-common:jar:2.1
        4) com.sun.xml.bind:jaxb-impl:jar:2.1.6

4) com.sun.xml.fastinfoset:FastInfoset:jar:1.2.2

  Try downloading the file manually from the project website.

  Then, install it using the command:
      mvn install:install-file -DgroupId=com.sun.xml.fastinfoset
-DartifactId=Fa
stInfoset -Dversion=1.2.2 -Dpackaging=jar -Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file
there:

      mvn deploy:deploy-file -DgroupId=com.sun.xml.fastinfoset
-DartifactId=Fast
Infoset -Dversion=1.2.2 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url]
-Drepos
itoryId=[id]

  Path to dependency:
        1) com.monsanto.tps.architecture:cxf-test:war:1.0.0-SNAPSHOT
        2) org.apache.cxf:apache-cxf:jar:2.1
        3) org.apache.cxf:cxf-rt-core:jar:2.1
        4) com.sun.xml.fastinfoset:FastInfoset:jar:1.2.2

5) javax.ws.rs:jsr311-api:jar:0.6

  Try downloading the file manually from the project website.

  Then, install it using the command:
      mvn install:install-file -DgroupId=javax.ws.rs -DartifactId=jsr311-api
-Dv
ersion=0.6 -Dpackaging=jar -Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file
there:

      mvn deploy:deploy-file -DgroupId=javax.ws.rs -DartifactId=jsr311-api
-Dver
sion=0.6 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url]
-DrepositoryId=[id]

  Path to dependency:
        1) com.monsanto.tps.architecture:cxf-test:war:1.0.0-SNAPSHOT
        2) org.apache.cxf:apache-cxf:jar:2.1
        3) org.apache.cxf:cxf-rt-frontend-jaxrs:jar:2.1
        4) javax.ws.rs:jsr311-api:jar:0.6

----------
5 required artifacts are missing.

I browsed to see if these dependencies are in repo1.  They are not.

What to do? 
-- 
View this message in context: 
http://www.nabble.com/CXF-2.1-Maven-Dependency-Resolution-from-repo1-tp17083624p17083624.html
Sent from the cxf-issues mailing list archive at Nabble.com.

Reply via email to