Adding maven libs to web artifacts

Is there an easy way to add all maven libs to a web artefacts WEB-INF/lib? Our builds are part way through a migration from Ant & Ivy to Maven. Currently this means we're using Ant to build but Maven to resolve depenedancies instead of Ivy. What I'm lacking is a way to add all maven artefacts from the pom.xml to the artefact lib folder?

Seems the artefact builder wants me to add each individual lib. But doing this would be very fragile as the pom module versions are bound to keep changing, but the artefact build won't I'd guess?

Please sign in to leave a comment.