maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Kettler <tim.kett...@udo.edu>
Subject Re: Missing artifact org.apache.cxf
Date Tue, 12 Apr 2011 13:01:00 GMT
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
> <hirri.ha@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


Mime
View raw message