Hi guys, I used *jar.enabled = true* on a web application project that uses the war plugin. I want to produce a jar archive for project java code, but I've not yet found a way to publish the jar (unless obviously splitting the project into two sub-projects). I'd like to publish on install on local maven cache at least the jar (better if both), but when I add the jar to the /archives/ closure this way
the build fails complaining /org.gradle.api.InvalidUserDataException: A POM can not have multiple main artifacts. Already have MavenArtifact coreapp:war:war:null, trying to add MavenArtifact coreapp:jar:jar:null/. Any idea on how to install on local maven cache both the war and jar? Cheers Davide -- View this message in context: http://gradle.1045684.n5.nabble.com/War-plugin-and-maven-how-to-publish-both-war-and-jar-tp4745667p4745667.html Sent from the gradle-user mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
