I have a scenario where I need some build dependencies, more specifically,
jars that are needed to build my server side functions, that I don't wish
to be included in the built WAR file for deployment.
A good example of this is Apache Jakarta Commons DBCP connection pooling. I
need it to build my API, but Tomcat already comes with it and doesn't need
to be deployed with my WAR file.
Another example is the Spring framework. My app server already contains it,
but to build my API I need it.
I have created a couple of Subversion patches against XINS 2.1 to implement this feature
using the "deploy" attribute on the <dependency> element, it defaults to "true", so building a war acts as it currently does under vanilla XINS 2.1.
Log in to post a comment.