Hi,
I think you just want to add the dependency of cxf bundle jar.
You can add the below snippet in your pom.xml
<dependency>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-bundle</artifactId>
<version>2.0.2-incubator</version>
</dependency>
Willem.
Patidar, Manoj wrote:
Hi,
I am new to cxf and i want to incldue cxf-2.0.2-incubator.jar in my
pom.xml when i added following code in pom.xml it does not compile.
<dependency>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf</artifactId>
<version>2.0.2-incubator</version>
</dependency>
actually my purpose is to include cxf-2.0.2-incubator.jar
Downloading:
http://people.apache.org/repo/m2-incubating-repository/org/apac
xf/cxf/2.0.2-incubator/cxf-2.0.2-incubator.jar
Downloading:
http://repo1.maven.org/maven2/org/apache/cxf/cxf/2.0.2-incubato
f-2.0.2-incubator.jar
[INFO]
---------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
---------------------------------------------------------------------
[INFO] Failed to resolve artifact.
Missing:
----------
1) org.apache.cxf:cxf:jar:2.0.2-incubator
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.apache.cxf -DartifactId=cxf
\
-Dversion=2.0.2-incubator -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=cxf \
-Dversion=2.0.2-incubator -Dpackaging=jar -Dfile=/path/to/file
\
-Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) kaiser:process:jar:1.2.2-SNAPSHOT
2) org.apache.cxf:cxf:jar:2.0.2-incubator
----------
1 required artifact is missing.
thanks
Manoj