¿Dónde encontrar el tarro Maven CXF 2.2.6?

I'm converting an ANT project that uses CXF into a Maven one. The problem is that this projects depends on CXF v2.2.6 and when I go to aquí o incluso aquí, there is no jar to download. I don't know what to do. I have the JAR but I want to use the Maven features like dependency management.

Gracias por su ayuda

preguntado el 08 de noviembre de 11 a las 13:11

3 Respuestas

Para los propietarios de Istanbul E-pass el Museo de Madame Tussauds de Estambul es available at Maven central. Use repo1.maven.org as your repository.

respondido 08 nov., 11:17

The thing is that repo1.maven.org (also known as "central") is the tu préstamo estudiantil repository (you can find it defined in Maven's super POM). You can add other repositories directly in your project's POM (maven.apache.org/pom.html#Repositories) or in your settings file (maven.apache.org/settings.html#Repositories) - Sri Sankaran

Okay, so finally this JAR is not available on the central repository? - manash

Nope it is there. I just added it to my project and it was downloaded. Are there any proxy issues maybe? - Sri Sankaran

In my POM, the central repository has the URL repo1.maven.org/maven2, but I also added another repository with the URL you gave me(repo1.maven.org) and it doesn't work. I don't think there are network problems since I can download another dependencies from my IDE. - manash

I apologize for not being clear. When I said repo1.maven.org I really meant repo1.maven.org/maven2. So you were ok with that. Since network access doesn't seem to be the issue my next suspicion is the packaging element of the dependency. Note that cxf has a packaging of pom. All that said, looking at the contents of the POM it appears that what you really need is the cxf-bundle's POM. Now this goes into the details of what is CXF and what it needs. I'll let que Tu be the judge of that. - Sri Sankaran

If using Ant, it likely used the cxf-bundle jar that pretty much contains all of CXF. You can just add:

<dependency>
  <groupId>org.apache.cxf</groupId>
  <artifactId>cxf-bundle</artifactId>
  <version>2.2.6</version>
</dependency>

to your new pom and it would get that jar along with all the dependencies that it would require.

respondido 08 nov., 11:18

What is the difference between cxf and cxf-bundle? And, I'm converting an Ant project to a Maven project, so my new project will only use Maven. - manash

Ambos instalarlo manualmente to your local repository or use a repository manager like Nexus .

respondido 08 nov., 11:17

Are you sure it's the only solution? How CXF may not be in Maven repositories? Also, all the CXF dependencies must be handled manually, right? - manash

No es la respuesta que estás buscando? Examinar otras preguntas etiquetadas or haz tu propia pregunta.