OK, “complete” in the sense that it is operational. One thing I’ve learned in my efforts is that, once you go Maven, you go a lot of other directions, as well.
For instance, I elected not only to let Maven build my project, but also to modularize it. My functional test automation framework is now split into four modules:
That’s the conceptual split between these modules. In practice, there’s still a lot of work to make each as independent as I’d like.
Maven is already building and modularizing my project. Why not let it help me to integrate new dependencies, as well? Since converting to Maven, I’ve added a connection pool manager called BoneCP. I didn’t have to download a JAR (and all the JARs that JAR depends on). I just added the dependency to the POM file, and Maven did the rest automatically, behind the scenes. Now, when I build my project, that dependency is automatically downloaded (if necessary) and linked into my classpath. I did the same with Apache Commons DbUtils. Just a quick reference in the POM in the module that requires these dependencies, and it’s done. When I release a version of my framework to my company’s repository manager (Artifactory), those dependencies will be automatically acquired and linked by any other project that depends on mine.
I have a few more near-term features and goals for which this transition to Maven is going to be very helpful, if not essential:
I’ll be posting on the more interesting of these goals as they become reality.


Categories
Tag Cloud
Blog RSS
Comments RSS
Last 50 Posts
Back
Back
Void
Life « Default
Earth
Wind
Water
Fire
Light 