I have a CXF WS project that I would use it in another project, I would consume this WS in a Web Project but I don\'t know how to generate Jar file.
Please have you
This should work:
org.apache.maven.plugins
maven-jar-plugin
jar-services-provided
compile
jar
org.apache.maven.plugins
maven-install-plugin
install
install-file
jar
${project.artifactId}
${project.groupId}
${project.version}
${project.build.directory}/${project.artifactId}-${project.version}.jar
Taken from this blog.