Hi all,
I already asked this question on Stackoverflow. I thought I have a working solution but it appears it’s just a workaround. I need to find the root of it.
My problem is following:
I have an ivy repo with the following pattern
repositories {
ivy {
url ARTIFACTORY_SERVER_URL + ':' + ARTIFACTORY_SERVER_PORT + '/' + ARTIFACTORY_SERVER_CONTEXT + '/myRepo'
layout "pattern", {
artifact '[organisation]/[module]/[revision]/[type]s/[artifact]-[revision].[ext]'
ivy '[organisation]/[module]/[revision]/[type]s/[artifact]-[revision].[ext]'
}
}
}
When I build jars everything works as expected. Now I’m in a situation where I need to build a war file with the war plugin.
When the war builds it also includes javadoc and sources in the WEB-INF/lib folder. My guess is that it pulls everything which is in the publication section of the ivy descriptor file of a dependency. All I want is the jar file. Nothing else.
Does anybody know what might happen here?