Using Maven to build JAR from source in Subversion trunk
Posted
by Anonymouse
on Stack Overflow
See other posts from Stack Overflow
or by Anonymouse
Published on 2010-04-11T05:47:10Z
Indexed on
2010/04/11
5:53 UTC
Read the original article
Hit count: 220
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!
© Stack Overflow or respective owner