Using Maven to build JAR from source in Subversion trunk
- by Anonymouse
There's a Java library that I would like to use in my project. My project uses Maven to pull in dependencies and it works great for everything except this one library. The problem is, this library never has releases. The author maintains the source in a Subversion repository and only makes changes in trunk.
Is there a way I can tell Maven to
Update (or check out) the library's source tree from Subversion
Build it according to its POM
Use the resulting jar as a dependency for this project
Do this regularly (possibly at each build)
For bonus points, mark which Subversion revision of that library I want to use
Thanks!