开发者

Defining webapp styles in central maven project

Is there a possibility to place a web-app style (CSS fi开发者_如何学Pythonles and images) in a reusable maven project? To use this "style-projects" with other WAR projects.

Best regards

Stefan


It is possible to use a war-packaged project as a dependency in maven. This is called a "war overlay". It means that your resulting war file is a combination of the files from the dependency and your project copied over them:

http://maven.apache.org/plugins/maven-war-plugin/overlays.html

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜