Re: Missing artifact org.apache.cxf

2011-12-21 Thread jjccring
Removing TYPE../TYPE worked for me as well. thanks HIRRI El Houssein Amine -- View this message in context: http://maven.40175.n5.nabble.com/Missing-artifact-org-apache-cxf-tp4297947p5092134.html Sent from the Maven - Users mailing list archive at Nabble.com.

Missing artifact org.apache.cxf

2011-04-12 Thread HIRRI El Houssein Amine
Hi everybody, I'm trying to develop a web service using CXF with maven, so when I add the cxf dependency to pom.xml, I got this error message: - Missing artifact org.apache.cxf:cxf-bundle:bundle:2.2.5:compile The dependency code is as follow

Re: Missing artifact org.apache.cxf

2011-04-12 Thread Anders Hammar
Your xml snippet is missing all element names, but I think I can guess them. I believe that the version your specifying doesn't exist in central. If you try some exisiting version it should work. Here's a search of existing versions for you: http://search.maven.org/#search|ga|1|cxf-bundle

Re: Missing artifact org.apache.cxf

2011-04-12 Thread Daniel Kulp
cxf-bundle 2.2.5-incubator There never was a 2.2.5-incubator version.CXF graduated long before that. You likelyl can just change that to 2.2.5, but I would also suggest updating to 2.3.3. Dan On Tuesday 12 April 2011 7:12:04 AM HIRRI

Re: Missing artifact org.apache.cxf

2011-04-12 Thread HIRRI El Houssein Amine
Thank you all for your replay, I just changed the cxf version to 2.3.3 but, I still have the same problem. I also removed the .m2/repository folder, and then a new one was created with a lot of jars, but the one for cxf-bundle contain no jar file. Here is the error message: 12/04/11 13:37:38 GMT:

Re: Missing artifact org.apache.cxf

2011-04-12 Thread Anders Hammar
There is no such artifact with packaging 'bundle' I believe. You should probably change to 'jar'. Where are you getting the incorrect info from? /Anders On Tue, Apr 12, 2011 at 14:43, HIRRI El Houssein Amine hirri...@gmail.comwrote: Thank you all for your replay, I just changed the cxf

Re: Missing artifact org.apache.cxf

2011-04-12 Thread HIRRI El Houssein Amine
You can just check it http://repo1.maven.org/maven2/org/apache/cxf/cxf-bundle/2.3.3/ here or http://search.maven.org/#search|ga|1|cxf-bundle here . I just fix the problem for the 2 last artifacts (by removing the *.lastUpdate files form the local repository), but the problem still for

Re: Missing artifact org.apache.cxf

2011-04-12 Thread Stuart McCulloch
On 12 April 2011 13:45, Anders Hammar and...@hammar.net wrote: There is no such artifact with packaging 'bundle' I believe. Maven has the concept of project packaging and artifact type, and the two aren't always the same So a project with packaging jar produces artifacts of type jar ...and a

Re: Missing artifact org.apache.cxf

2011-04-12 Thread Tim Kettler
In fact, the artifact in question is an osgi bundle build with the maven-bundle-plugin and as such has the packing set to 'bundle'. Normally one refers to such artifacts just like normal 'jar' artifacts omitting the type. If you need to refer to them as 'bundle' artifact you need to add the

Re: Missing artifact org.apache.cxf

2011-04-12 Thread Stuart McCulloch
On 12 April 2011 13:56, HIRRI El Houssein Amine hirri...@gmail.com wrote: You can just check it http://repo1.maven.org/maven2/org/apache/cxf/cxf-bundle/2.3.3/ here or http://search.maven.org/#search|ga|1|cxf-bundle here . I just fix the problem for the 2 last artifacts (by removing the

Re: Missing artifact org.apache.cxf

2011-04-12 Thread HIRRI El Houssein Amine
Thank you everybody for your replays I just fix it using the solution of Tim Kettler, I just added the following to my pom.xml org.apache.felix maven-bundle-plugin 2.3.4

Re: Missing artifact org.apache.cxf

2011-04-12 Thread Stuart McCulloch
On 12 April 2011 14:13, HIRRI El Houssein Amine hirri...@gmail.com wrote: Thank you everybody for your replays I just fix it using the solution of Tim Kettler, I just added the following to my pom.xml org.apache.felix

Re: Missing artifact org.apache.cxf

2011-04-12 Thread HIRRI El Houssein Amine
Dear Stuart McCulloch, I already use org.apache.cxf cxf-bundle 2.3.3 in my file (you can check the attached file to my previous post), and the problem persist, but when I add the plugin 'maven-bundle-plugin the problem seem to be solved -- View this message in

Re: Missing artifact org.apache.cxf

2011-04-12 Thread Tim Kettler
I should have expressed myself more clearly. The preferred solution is just to omit the type element. and declare the dependency like Stuart showed in his mail: dependency groupIdorg.apache.cxf/groupId artifactIdcxf-bundle/artifactId version2.3.3/version

Re: Missing artifact org.apache.cxf

2011-04-12 Thread Stuart McCulloch
On 12 April 2011 14:32, HIRRI El Houssein Amine hirri...@gmail.com wrote: Dear Stuart McCulloch, I already use org.apache.cxf cxf-bundle 2.3.3 in my file (you can check the attached file to my previous post), and the problem persist, but when I add the plugin

Re: Missing artifact org.apache.cxf

2011-04-12 Thread HIRRI El Houssein Amine
Sorry, I've just read your message, It seam that you are alright. After removing the .. from my POM, things works perfectly. So I think this is the optimal solution. My pom.xml is like that: 4.0.0

Re: Missing artifact org.apache.cxf

2011-04-12 Thread Wayne Fay
My pom.xml is like that:        4.0.0        WurflManagement        WurflManagement        0.0.1-SNAPSHOT        war Hirri, please stop posting your messages via Nabble. It strips XML, HTML and other