Generating Swagger as part of a Maven Build

Most of my projects use Maven to build and coordinate dependencies and run unit and build integration tests. I’ve found it a real pain that I could not generate my swagger docs as part of the build. I have found a really easy way. In Jenkins, I have a downstream job that runs specific maven […]

Localized Maven Repositories – A Hot Tip

I’ve been building a Maven Project that uses some jar files which are not in Maven Central (or any repository). I ran across this article – Local Maven Dependencies. I found it very helpful. Simply, do the following: create a directory (d:/folder/repo) Run a maven deploy to url (it’ll create the repository details based on […]

Maven Tips

Here are some tips for Maven Java Projects in Eclipse. #1 If you pom.xml is missing maven-compiler-plugin, Eclipse (when you do Maven > Update Project), defaults the compiler level for the project to 1.5. <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>2.0.2</version> <configuration> <source>1.7</source> <target>1.7</target> </configuration> </plugin> Now, it gets even more tricky… if your project has defined features […]

My Experience with maven-antrun-plugin

I’ve been spending some time with maven so that files which matched a certain criteria were automatically moved in the project – OpenNTF SocialSDK.  The files only should be moved when the files don’t have -SNAPSHOT at the end of the version. I started modifying some code that used maven-antrun-plugin, which bridges the maven-ant worlds.  […]

My Introduction to Liberty and WebSockets

Recently, I’ve been turned on to IBM WebSphere Liberty – super fast and highly configurable Application Server Runtime.  The runtime requires Java 7.0 to get access to the latest features to build web applications, OSGi applications and EJBs. Two features caught my eye were Java Servlet 3.1 and Java API for WebSocket 1.0.  The WebSocket […]