开发者

Defining webapp styles in central maven project

开发者 https://www.devze.com 2023-03-29 12:19 出处:网络
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.

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

精彩评论

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