You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by HIRRI El Houssein Amine <hi...@gmail.com> on 2011/04/12 13:12:04 UTC

Missing artifact org.apache.cxf

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
                
                        org.apache.cxf
                        cxf-bundle
                        2.2.5-incubator
                        bundle
                

When looking at .m2/repository/... , I found that cxf-bundle-2.2.5.jar
doesn't exist, so I download it, and put it in the appropriate directory,
but nothing is going to work

NB: sorry for my english, it is so bad :'( 

--
View this message in context: http://maven.40175.n5.nabble.com/Missing-artifact-org-apache-cxf-tp4297947p4297947.html
Sent from the Maven - Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Missing artifact org.apache.cxf

Posted by Daniel Kulp <dk...@apache.org>.
>                         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 El Houssein Amine wrote:
> 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
> 
>                         org.apache.cxf
>                         cxf-bundle
>                         2.2.5-incubator
>                         bundle
> 
> 
> When looking at .m2/repository/... , I found that cxf-bundle-2.2.5.jar
> doesn't exist, so I download it, and put it in the appropriate directory,
> but nothing is going to work
> 
> NB: sorry for my english, it is so bad :'(
> 
> --
> View this message in context:
> http://maven.40175.n5.nabble.com/Missing-artifact-org-apache-cxf-tp4297947
> p4297947.html Sent from the Maven - Users mailing list archive at
> Nabble.com.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org

-- 
Daniel Kulp
dkulp@apache.org
http://dankulp.com/blog
Talend - http://www.talend.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Missing artifact org.apache.cxf

Posted by Tim Kettler <ti...@udo.edu>.
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>
        <groupId>org.apache.cxf</groupId>
        <artifactId>cxf-bundle</artifactId>
        <version>2.3.3</version>
      </dependency>

This should work. Only declare the maven-bundle-plugin if you have a 
good reason to do so.

The attachment you sent was stripped from your mail somewhere and didn't 
reach the list. If you haven't got it working by now, you can paste it 
to pastebin.com and share the link, so that we can have a look.

-Tim

Am 12.04.2011 15:32, schrieb 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 context: http://maven.40175.n5.nabble.com/Missing-artifact-org-apache-cxf-tp4297947p4298193.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Missing artifact org.apache.cxf

Posted by Wayne Fay <wa...@gmail.com>.
> 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 important bits of your message. Look at the above text
to see what I mean -- this is all we got as regular email participants
-- the XML bits are gone. Please just subscribe as a regular email
participant and then unsubscribe in a week or whatever.

I have complained to Nabble about this problem but they haven't done
anything about it yet. I hope they do soon -- this is super
annoying...

Wayne

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Missing artifact org.apache.cxf

Posted by jjccring <jj...@gmail.com>.
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.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Missing artifact org.apache.cxf

Posted by HIRRI El Houssein Amine <hi...@gmail.com>.
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
	WurflManagement
	WurflManagement
	0.0.1-SNAPSHOT
	war
	
		
			xerces
			xercesImpl
			2.9.1
		
		
			org.apache.cxf
			cxf-bundle
			2.3.3
			compile
		
	
	
		
			
				org.apache.maven.plugins
				maven-compiler-plugin
				
					1.6
					1.6
				
			
		
	

------------------------------------------------------------------------------------------------

I share it to understand the solution ;)

--
View this message in context: http://maven.40175.n5.nabble.com/Missing-artifact-org-apache-cxf-tp4297947p4298596.html
Sent from the Maven - Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Missing artifact org.apache.cxf

Posted by Stuart McCulloch <mc...@gmail.com>.
On 12 April 2011 14:32, HIRRI El Houssein Amine <hi...@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 'maven-bundle-plugin the problem
> seem to be solved
>

That's strange, since I just tried the following minimal pom (and basic
web.xml) and was able to download the "cfx-bundle" jar and build a valid
WAR:

    <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd">
        <modelVersion>4.0.0</modelVersion>

        <groupId>WurflManagement</groupId>
        <artifactId>WurflManagement</artifactId>
        <version>0.0.1-SNAPSHOT</version>
        <packaging>war</packaging>

        <dependencies>
            <dependency>
                <groupId>org.apache.cxf</groupId>
                <artifactId>cxf-bundle</artifactId>
                <version>2.3.3</version>                         <!-- note
there's no "type" element -->
            </dependency>
        </dependencies>
    </project>

Results:

$ mvn clean install
...
$ unzip -l target/WurflManagement-0.0.1-SNAPSHOT.war
Archive:  target/WurflManagement-0.0.1-SNAPSHOT.war
  Length     Date   Time    Name
 --------    ----   ----    ----
        0  04-12-11 14:56   META-INF/
      126  04-12-11 14:56   META-INF/MANIFEST.MF
        0  04-12-11 14:56   WEB-INF/
        0  04-12-11 14:56   WEB-INF/classes/
        0  04-12-11 14:56   WEB-INF/lib/
   445288  04-06-11 22:01   WEB-INF/lib/antlr-2.7.7.jar
   895124  04-12-11 14:49   WEB-INF/lib/antlr-3.2.jar
   151989  04-12-11 14:49   WEB-INF/lib/antlr-runtime-3.2.jar
     4467  04-06-11 15:27   WEB-INF/lib/aopalliance-1.0.jar
    43578  04-12-11 14:49   WEB-INF/lib/asm-3.3.jar
  1663318  04-12-11 14:50   WEB-INF/lib/bcprov-jdk15-1.45.jar
   575389  04-06-11 17:35   WEB-INF/lib/commons-collections-3.2.1.jar
   279193  04-06-11 17:46   WEB-INF/lib/commons-lang-2.5.jar
    60686  04-06-11 15:44   WEB-INF/lib/commons-logging-1.1.1.jar
   100193  04-12-11 14:49   WEB-INF/lib/commons-pool-1.5.5.jar
  5218493  04-12-11 14:49   WEB-INF/lib/cxf-bundle-2.3.3.jar
    47465  04-12-11 14:49   WEB-INF/lib/geronimo-activation_1.1_spec-1.1.jar
    12452  04-12-11 14:49
WEB-INF/lib/geronimo-annotation_1.0_spec-1.1.1.jar
   223298  04-12-11 14:49   WEB-INF/lib/geronimo-javamail_1.4_spec-1.7.1.jar
    60214  04-12-11 14:49   WEB-INF/lib/geronimo-jaxws_2.2_spec-1.0.jar
    32359  04-12-11 14:49   WEB-INF/lib/geronimo-jms_1.1_spec-1.1.1.jar
    96323  04-12-11 14:49   WEB-INF/lib/geronimo-servlet_3.0_spec-1.0.jar
    28804  04-12-11 14:49   WEB-INF/lib/geronimo-stax-api_1.0_spec-1.0.1.jar
    15572  04-12-11 14:49
WEB-INF/lib/geronimo-ws-metadata_2.0_spec-1.1.3.jar
   104554  04-12-11 14:49   WEB-INF/lib/jaxb-api-2.2.1.jar
   877973  04-12-11 14:49   WEB-INF/lib/jaxb-impl-2.2.1.1.jar
  3112544  04-12-11 14:49   WEB-INF/lib/jaxb-xjc-2.2.1.1.jar
    72478  04-12-11 14:50   WEB-INF/lib/jettison-1.2.jar
    20119  04-12-11 14:49
WEB-INF/lib/jetty-continuation-7.2.2.v20101205.jar
    99250  04-12-11 14:49   WEB-INF/lib/jetty-http-7.2.2.v20101205.jar
    76718  04-12-11 14:49   WEB-INF/lib/jetty-io-7.2.2.v20101205.jar
   280517  04-12-11 14:49   WEB-INF/lib/jetty-server-7.2.2.v20101205.jar
   196838  04-12-11 14:49   WEB-INF/lib/jetty-util-7.2.2.v20101205.jar
     9898  04-12-11 14:50   WEB-INF/lib/jra-1.0-alpha-4.jar
   871260  04-12-11 14:50   WEB-INF/lib/js-1.7R2.jar
    46367  04-11-11 12:24   WEB-INF/lib/jsr311-api-1.1.1.jar
    32900  04-12-11 14:49   WEB-INF/lib/neethi-2.0.4.jar
    65261  04-06-11 15:02   WEB-INF/lib/oro-2.0.8.jar
    18817  04-12-11 14:49   WEB-INF/lib/saaj-api-1.3.jar
   278145  04-12-11 14:49   WEB-INF/lib/saaj-impl-1.3.2.jar
   278281  04-06-11 17:35   WEB-INF/lib/serializer-2.7.1.jar
    25496  04-06-11 15:26   WEB-INF/lib/slf4j-api-1.6.1.jar
   321190  04-12-11 14:49   WEB-INF/lib/spring-aop-3.0.5.RELEASE.jar
    53082  04-12-11 14:49   WEB-INF/lib/spring-asm-3.0.5.RELEASE.jar
   555410  04-12-11 14:49   WEB-INF/lib/spring-beans-3.0.5.RELEASE.jar
   668861  04-12-11 14:49   WEB-INF/lib/spring-context-3.0.5.RELEASE.jar
   382442  04-12-11 14:49   WEB-INF/lib/spring-core-3.0.5.RELEASE.jar
   169752  04-12-11 14:49   WEB-INF/lib/spring-expression-3.0.5.RELEASE.jar
   185312  04-12-11 14:49   WEB-INF/lib/spring-jms-3.0.5.RELEASE.jar
   231922  04-12-11 14:49   WEB-INF/lib/spring-tx-3.0.5.RELEASE.jar
   395587  04-12-11 14:49   WEB-INF/lib/spring-web-3.0.5.RELEASE.jar
   179985  04-12-11 14:49   WEB-INF/lib/stax2-api-3.0.2.jar
   172023  04-07-11 19:13   WEB-INF/lib/stringtemplate-3.2.jar
   421339  04-12-11 14:49   WEB-INF/lib/velocity-1.6.4.jar
   483862  04-12-11 14:49   WEB-INF/lib/woodstox-core-asl-4.0.8.jar
   148429  04-12-11 14:49   WEB-INF/lib/wsdl4j-1.6.2.jar
   333318  04-12-11 14:50   WEB-INF/lib/wss4j-1.5.11.jar
  3176148  04-06-11 17:35   WEB-INF/lib/xalan-2.7.1.jar
    84091  04-12-11 14:49   WEB-INF/lib/xml-resolver-1.2.jar
  2694049  04-12-11 14:50   WEB-INF/lib/xmlbeans-2.4.0.jar
   148829  04-12-11 14:49   WEB-INF/lib/XmlSchema-1.4.7.jar
   450163  04-12-11 14:50   WEB-INF/lib/xmlsec-1.4.4.jar
      296  04-12-11 14:51   WEB-INF/web.xml
        0  04-12-11 14:56   META-INF/maven/
        0  04-12-11 14:56   META-INF/maven/WurflManagement/
        0  04-12-11 14:56   META-INF/maven/WurflManagement/WurflManagement/
      606  04-12-11 14:56
META-INF/maven/WurflManagement/WurflManagement/pom.xml
      124  04-12-11 14:56
META-INF/maven/WurflManagement/WurflManagement/pom.properties
 --------                   -------
 27678567                   68 files

Because there's no <type> in the dependency, I didn't need to add the
maven-bundle-plugin - the downloaded dependency is cxf-bundle-2.3.3.jar
which you can see in the final WAR. So you really should be able to use a
normal dependency declaration as above and unfortunately I don't know why
this isn't working for you...

Oh well :/

-- 
Cheers, Stuart

Re: Missing artifact org.apache.cxf

Posted by HIRRI El Houssein Amine <hi...@gmail.com>.
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 context: http://maven.40175.n5.nabble.com/Missing-artifact-org-apache-cxf-tp4297947p4298193.html
Sent from the Maven - Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Missing artifact org.apache.cxf

Posted by Stuart McCulloch <mc...@gmail.com>.
On 12 April 2011 14:13, HIRRI El Houssein Amine <hi...@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
>                                maven-bundle-plugin
>                                2.3.4
>                                true
>

to be honest this isn't the ideal solution, you should be able to use:

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

and then you won't need to add the maven-bundle-plugin to your pom

but anyway, glad you found a solution :)


> Attached is my final
> http://maven.40175.n5.nabble.com/file/n4298156/pom.xml
> pom.xml  to help you with this kind of problems
>
> Thanks,
>
> --
> View this message in context:
> http://maven.40175.n5.nabble.com/Missing-artifact-org-apache-cxf-tp4297947p4298156.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>


-- 
Cheers, Stuart

Re: Missing artifact org.apache.cxf

Posted by HIRRI El Houssein Amine <hi...@gmail.com>.
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
				true
			

Attached is my final  http://maven.40175.n5.nabble.com/file/n4298156/pom.xml
pom.xml  to help you with this kind of problems

Thanks,

--
View this message in context: http://maven.40175.n5.nabble.com/Missing-artifact-org-apache-cxf-tp4297947p4298156.html
Sent from the Maven - Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Missing artifact org.apache.cxf

Posted by Tim Kettler <ti...@udo.edu>.
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 
maven-bundle-plugin to the <plugins> section of your pom and add 
<extension>true</extension> to make maven aware of the non standard 
packaging.

-Tim

Am 12.04.2011 14:45, schrieb 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
> <hi...@gmail.com>wrote:
>
>> 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: Missing artifact
>> org.apache.cxf:cxf-bundle:bundle:2.3.3:compile
>> 12/04/11 13:37:38 GMT: Missing artifact
>> com.sun.xml.bind:jaxb-xjc:jar:2.2.1.1:compile
>> 12/04/11 13:37:38 GMT: Missing artifact
>> org.bouncycastle:bcprov-jdk15:jar:1.45:runtime
>>
>> Attached is my file
>> http://maven.40175.n5.nabble.com/file/n4298099/pom.xml
>> pom.xml
>>
>>
>> --
>> View this message in context:
>> http://maven.40175.n5.nabble.com/Missing-artifact-org-apache-cxf-tp4297947p4298099.html
>> Sent from the Maven - Users mailing list archive at Nabble.com.
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Missing artifact org.apache.cxf

Posted by Stuart McCulloch <mc...@gmail.com>.
On 12 April 2011 13:56, HIRRI El Houssein Amine <hi...@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 *.lastUpdate files form
> the local repository), but the problem still for cxf-bundle (even if I
> remove the *.lastUpdate file). So now the error message is reduced to:
>
>    -> 12/04/11 13:49:32 GMT: Missing artifact
> org.apache.cxf:cxf-bundle:bundle:2.3.3:compile
> :(
>

you should use:

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

because the cxf-bundle project (which has packaging bundle) actually
produces artifacts of type "jar"

--
> View this message in context:
> http://maven.40175.n5.nabble.com/Missing-artifact-org-apache-cxf-tp4297947p4298127.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>


-- 
Cheers, Stuart

Re: Missing artifact org.apache.cxf

Posted by HIRRI El Houssein Amine <hi...@gmail.com>.
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 cxf-bundle (even if I
remove the *.lastUpdate file). So now the error message is reduced to:

    -> 12/04/11 13:49:32 GMT: Missing artifact
org.apache.cxf:cxf-bundle:bundle:2.3.3:compile
:(

--
View this message in context: http://maven.40175.n5.nabble.com/Missing-artifact-org-apache-cxf-tp4297947p4298127.html
Sent from the Maven - Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Missing artifact org.apache.cxf

Posted by Stuart McCulloch <mc...@gmail.com>.
On 12 April 2011 13:45, Anders Hammar <an...@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 project with packaging "war" produces artifacts of type "war"

...but a project with packaging "bundle" actually produces artifacts of type
"jar"
   (since bundles are still jars, just with additional metadata)

When in doubt, check what extension the artifact has in the repository and
use that as the type (in this case "jar" which is the default artifact type)


> 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
> <hi...@gmail.com>wrote:
>
> > 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: Missing artifact
> > org.apache.cxf:cxf-bundle:bundle:2.3.3:compile
> > 12/04/11 13:37:38 GMT: Missing artifact
> > com.sun.xml.bind:jaxb-xjc:jar:2.2.1.1:compile
> > 12/04/11 13:37:38 GMT: Missing artifact
> > org.bouncycastle:bcprov-jdk15:jar:1.45:runtime
> >
> > Attached is my file
> > http://maven.40175.n5.nabble.com/file/n4298099/pom.xml
> > pom.xml
> >
> >
> > --
> > View this message in context:
> >
> http://maven.40175.n5.nabble.com/Missing-artifact-org-apache-cxf-tp4297947p4298099.html
> > Sent from the Maven - Users mailing list archive at Nabble.com.
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
>



-- 
Cheers, Stuart

Re: Missing artifact org.apache.cxf

Posted by Anders Hammar <an...@hammar.net>.
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
<hi...@gmail.com>wrote:

> 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: Missing artifact
> org.apache.cxf:cxf-bundle:bundle:2.3.3:compile
> 12/04/11 13:37:38 GMT: Missing artifact
> com.sun.xml.bind:jaxb-xjc:jar:2.2.1.1:compile
> 12/04/11 13:37:38 GMT: Missing artifact
> org.bouncycastle:bcprov-jdk15:jar:1.45:runtime
>
> Attached is my file
> http://maven.40175.n5.nabble.com/file/n4298099/pom.xml
> pom.xml
>
>
> --
> View this message in context:
> http://maven.40175.n5.nabble.com/Missing-artifact-org-apache-cxf-tp4297947p4298099.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

Re: Missing artifact org.apache.cxf

Posted by HIRRI El Houssein Amine <hi...@gmail.com>.
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: Missing artifact
org.apache.cxf:cxf-bundle:bundle:2.3.3:compile
12/04/11 13:37:38 GMT: Missing artifact
com.sun.xml.bind:jaxb-xjc:jar:2.2.1.1:compile
12/04/11 13:37:38 GMT: Missing artifact
org.bouncycastle:bcprov-jdk15:jar:1.45:runtime

Attached is my file  http://maven.40175.n5.nabble.com/file/n4298099/pom.xml
pom.xml 


--
View this message in context: http://maven.40175.n5.nabble.com/Missing-artifact-org-apache-cxf-tp4297947p4298099.html
Sent from the Maven - Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Missing artifact org.apache.cxf

Posted by Anders Hammar <an...@hammar.net>.
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

Secondly, never put artifacts manually in your local repo. It's for Maven to
populate as it will manage some metadata as well. So, scratch the local repo
and start over by specifying a correct version of the cxf artifact.

/Anders

PS. Not sure if packaging 'bundle' is what you want....

On Tue, Apr 12, 2011 at 13:12, HIRRI El Houssein Amine
<hi...@gmail.com>wrote:

> 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
>
>                        org.apache.cxf
>                        cxf-bundle
>                        2.2.5-incubator
>                        bundle
>
>
> When looking at .m2/repository/... , I found that cxf-bundle-2.2.5.jar
> doesn't exist, so I download it, and put it in the appropriate directory,
> but nothing is going to work
>
> NB: sorry for my english, it is so bad :'(
>
> --
> View this message in context:
> http://maven.40175.n5.nabble.com/Missing-artifact-org-apache-cxf-tp4297947p4297947.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>