Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
是否有一个 gradle 插件可以让我组装一个 JBoss sar 文件,包括它的 jboss-service.xml 部署描述符文件?感谢您提供有关如何最好地做到这一点的任何提示。
下面是我使用 Jar 任务组装 JBoss sar 文件的方法:
sourceSets { main { java { srcDir 'src/main/java' include '**/mypackage/service/*' } } } jar { extension = "sar" metaInf { from('src/mypackage/service') { include 'jboss-service.xml' } } }