相关疑难解决方法(0)

How to package an Apache CXF application into a monolithic JAR with the Maven "shade" plugin

I am writing a console-based Java application, intended to be run by cron in a batch-processing manner. The batch-processing application makes calls to a SOAP web service, using the Apache CXF framework for JAX-WS.

To make deployment easier, and to prevent CLASSPATH issues, I would like to bundle up the application (with all its dependencies) into a single monolithic JAR file... using the "shade" plugin for Maven.

My application works just fine when I run it from my Eclipse …

java maven-2 cxf maven

25
推荐指数
3
解决办法
2万
查看次数

标签 统计

cxf ×1

java ×1

maven ×1

maven-2 ×1