Tomcat Maven plugin helps to deploy WAR packages to Tomcat servlet container without manually downloading and installing it on your machine. It works without any issues for the maven "clean tomcat7:run" command from the terminal. But for some reason, IntelliJ IDEA doesn’t recognize the plugins automatically. Here are the two issues I have found and … [Read more…]
Example: mvn install:install-file -Dfile=/Users/shamalroy/Dev/source/git_source/dependencies/my-jar-6.1.0-apis.jar -DgroupId=com.my.jar -DartifactId=my-jar -Dversion=6.1.0 -Dpackaging=jar Reference: https://maven.apache.org/guides/mini/guide-3rd-party-jars-local.html
If you need to do a partial search in a Map key, then this post is for you. An example might be searching a book title from a large library Map, where book title is the key and BookInfo object is the value of the map. The user will input prefix of the book name … [Read more…]
Logging is one of the most important and necessary part of any application design. It helps developers and support teams to debug and gather enough information on the logic flow of the application. A well designed logging system is helpful for maintaining applications for longer life cycle and saves thousands of hours. Sometime it is … [Read more…]
Prior versions of OSX Mavericks (10.9) comes with Maven 3 pre installed. If you are using OSX 10.9 or higher, your options are to install maven yourself or use homebrew or macports. I prefer to install it myself. The steps are fairly simple and straight forward. First check you have Java installed on your machine, … [Read more…]
Open Fire is one of the most popular XMPP based chat server. Few days back, I have worked with its IM Gateway plugins. Which provides gateway connectivity to the other public instant messaging networks. To access the XMPP services it has smack api for Java.