I will try to explain what I did from the beginning:
My environment:
- JDK 1.6.0 u22
- Apache Maven 3.0.3
- Eclipse Indigo
- Windows 7 Enterprise 64-bits
- I am behind a proxy to access to Internet
- Maven download artifacts through Nexus server.
Fuse Installation:
1-Download fuse-esb-full-7.0.0.fuse-061.zip package
2-Unzip to C:\Instalacao\fuse-esb-7.0.0.fuse-061
3-Configure org.ops4j.pax.url.mvn.cfg to point to my Nexus server:
org.ops4j.pax.url.mvn.repositories=http://localhost:8081/nexus/content/groups/public
#org.ops4j.pax.url.mvn.repositories= \
#http://repo1.maven.org/maven2, \
#http://repo.fusesource.com/nexus/content/repositories/releases, \
#http://repo.fusesource.com/nexus/content/groups/ea, \
#http://svn.apache.org/repos/asf/servicemix/m2-repo, \
#http://repository.springsource.com/maven/bundles/release, \
#http://repository.springsource.com/maven/bundles/external, \
#http://scala-tools.org/repo-releases
Creation of cxf-basic sample project:
1-Create new Maven Project in Indigo
2-Select Archetype:
Group Id = org.apache.servicemix.tooling
Artifact Id=servicemix-cxf-code-first-osgi-bundle
Version = 2012.01.0.fuse-7-061
3-Fill maven project settings:
Group Id = org.fusesource.example
Artifact Id= cxf-basic
Version = 0.0.1-SNAPSHOT
4-Build project with: clean install
Installation of bundle in Fuse ESB:
1-C:\Instalacao\fuse-esb-7.0.0.fuse-061\bin\fuseesb.bat
2-install mvn:org.fusesource.example/cxf-basic/0.0.1-SNAPSHOT
3-start <id>
Tested with follow URL's
http://localhost:8181/cxf?wsdl
http://localhost:8181/cxf/PersonServiceCF?wsdl
Maven project attached.
Edited by: baleado on Jul 3, 2012 10:48 AM