I’m working on a Spring MVC project (using Gradle) to produce a template to be integrated on different projects. The template project contains few HTML files and some classes to handle the properties. I’ve configured the artifactory-gradle-plugin to generate and publish a WAR containing my HTML files and classes. Everything works just fine and my WAR and POM files are now available under my Artifactory server. Here’s a part of my build.gradle file
Unfortunately when I try to add this artifact as dependency on an other project, Gradle successfully finds the WAR but nothing is integrated in the project. I can’t find any HTML, classes or war files in the project.
Sounds good. I’ll proceed using your suggestion. Unfortunately, I was wondering to build a single artifact but it seems that itsn’t supported yet (or at all). Thanks for your help!
I’ve also asked this question on stackoverflow Feel free to answer the question there and I’ll accept it. Otherwise, I’ll add a link to this post on my stackoverflow post.