25 Best Free Maven Plug-ins to Make Java Developer More Productive

Best Free Maven Plug-ins to Make Java Developer More Productive
Large software applications can be customized and enhanced for unique or specific abilities by adding a set of software components called plugins. Generally plugins are used in web browsers, virus scans, recognition and display of new file types.

Maven is a leading Java project management tool. A project’s build, documentation, reporting can be managed from a central piece of information. This concept is based on project object model (POM).

Maven provides a uniform build system by building a project using POM concept and plugins which will be shared by all projects. Using the right plugin in your development environment can save a lot of unwanted efforts in day to day coding and other activities. We have found that some of these plugins help automate and simplify everyday build and release related work.

The best Maven plugins we found to be really useful and time saving for your project team are described below:

    License Management Plugins

  1. White Source's Licenses Management Maven Plug-in
  2. Any software development project that uses Open Source (almost all of us), must identify and track the OSS components it uses, their licenses, requirements, etc. This can be quite time consuming and sometimes complex for developers. White Source offers a free SaaS solution for that. The White Source's Maven plugin continuously and automatically updates the White Source repository whenever a new open source component is added, to ensure that all the open source components are immediately reported, analyzed, and reviewed for approval -without any overhead. This allows companies to accelerate the development process and manage the open source license more efficiently, and with fewer errors.
    White Source provides a simple to use, yet powerful solution for companies that need to manage their open source assets to ensure license compliance in order to avoid pitfalls such as lawsuits, penalties and lost business. Developers and managers use White Source’s free cloud-based solution to track, audit and report on open source components throughout the software development life cycle. Unlike other solutions, White Source is a convenient cost-effective solution even for medium and small companies. With White Source’s easy-to-use, cloud-based platform companies can:
    • Track the inventory of Open Source Software (OSS) modules used by development
    • Automate the adoption and approval process
    • Get continuous updates about legal and technical vulnerabilities
    • Audit and report on OSS status and compliance
    White Source Software is offered as a free, cloud-based service. White Source fully supports Java and plans to support additional languages in the future.

  3. Mojo License Plugin
  4. This plugin is mainly to manage licenses of a Maven project and its dependencies. It carries out updating file headers, check third party licenses, download dependencies license, retrieving license information from dependencies, updating license.txt files etc.

    Project Release and Version Management Plugins

  5. Versions Maven Plugin
  6. Different versions of artifacts in a project’s POM can be managed. Updating artifacts referenced in a Maven pom.xml file can be carried out. Rereading modifications of the pom.xml within one invocation of Maven is not possible in Maven 2.0, 2.1, 2.2 and 3.0.

  7. Enforcer
  8. Rules can be executed for projects in a multi-project build. Environmental constraints in a project such as Maven version, OS family and JDK version can be controlled through the Enforcer plugin goals with user created and standard rules.

  9. Build Number
  10. A distinctive build number for each project can be obtained by this plugin. A version for a project may remain same, but many iterations will be done till the release. Each build will have a unique identifying build number.

    Unit and Functional Testing Plugins

  11. Surefire
  12. Unit tests of a particular application during test stage of a build life cycle can be executed with this plugin. Reports are generated in plain text files (*. Txt) format and XML files (*. Xml).

  13. Selenium
  14. As the name suggests, this plugin supports the use of Selenium with Maven. Automated web-application testing can be done by invoking the Selenium Remote control server through the Selenium Maven Plugin.

  15. Surefire Report Plugin
  16. Using this plugin XML files can be parsed and rendered to DOXIA which enables the creation of a web interface version of the test results. The results are generated in HTML format.

    Code Quality Plugins

  17. Findbugs
  18. Findbugs is a plugin for Java programs to tackle bugs. The bug patterns concept is used. Basically the bug pattern is a code idiom. Most often it is an error. Java bytecode is inspected for bug patterns using static analysis.

  19. Corbertura
  20. As the name suggests, Corbertura features can be brought into the Maven 2 environment by this plugin. Unit testing efforts can be determined by this plugin which helps to understand the part of Java program lacking test coverage.

    Relational Database Integration Plugins

  21. SQL Plugin
  22. SQL statements can be executed in a strings combination, a list or set of files through SrcFiles, SqlCommand and fileset configurations respectively.

  23. DB Plugin
  24. A database can have administrative access to the support of this plugin. Database statements can be also be executed. It has an ability to create and drop databases.

  25. Liquibase
  26. This an open source plugin licensed under Apache 2.0. It has a database-independent library. The database can be managed or tracked for any changes. The database is saved in human readable formats.

    NoSQL DB Integration Plugins

  27. Cassandra Plugin
  28. A test instance of Apache Cassandra can be controlled within Apache Maven build with the support of Mojo’s Cassandra Plugin.

  29. MongoDB Plugin
  30. This plugin is mainly designed to create, execute database scripts. The updated scripts can also be executed. This plugin supports the attribute. This helps in storing host/usr/pass in maven settings.xml.

  31. HBase Plugin
  32. Mini HBase can be started and stopped by this Maven plugin. Testing code can be integrated to interact with the HBase cluster with the support of this plugin.

    Light Weight Web Container Plugins

  33. Tomcat Plugin
  34. Manipulation of WAR projects within the servlet container of Apache Tomcat is made possible with the support of the Apache Tomcat Maven plugin. The WAR Apache Maven project can be implemented with the help of Apache Maven. However, the WAR file need not be deployed to an Apache TomCat every time.

  35. Jetty Plugin
  36. The last two steps of a web application testing can be skipped with the help of this application. Its default function is to scan target/classes for changes in Java sources.

    Application Server Plugin

  37. JBoss Plugin
  38. JBoss application can be started or stopped with his plugin. Files can be deployed or undeployed to the JBoss application server.

  39. Glassfish
  40. Glassfish domains can be managed and the components deployed within the Maven build lifecycle. The integration loop can be rapidly developed from this plugin.

    Other Utility Plugins

  41. Maven Eclipse Plugin
  42. Eclipse IDE files like wtpmodules, settings folder and Classpath can be generated for use within a project with the support of this plugin. This plugin proves to be very powerful for project generated using maven archetypes. In case you are using Eclipse for your project development you would also find this post useful: Best Free Eclipse Productivity Plugins for Developers

  43. Assembly
  44. The project output can be aggregated along with its site documentation, modules, dependencies and other files into a single archive with the support of the Assembly Plugin.

  45. AntRun
  46. A way to pollute the POM is possible with this plugin. It is better to move all Ant tasks to a build.xml file and when required calls it from the POM with Ant task command.

  47. Exec
  48. Execution of system, Java programs in a separate process is possible with the help of this plugin. Java programs can also be executed in the same VM.

  49. JSPC
  50. JSP pages can be pre-compiled and be included in War file through this plugin. JSPC plugin has to be used in conjunction with maven-war plugin.

There are both free and paid plugins available. Even though it is tempting to go for a free plugin, developers and teams should choose the right plugin based on the requirements. Furthermore, advanced features, full support and updates for the plugin has to be checked while choosing the plugin.
I hope you found this post useful. What maven plug-ins do you use in your project? Feel free to share in comments section.

Related

Tools 3635348250187962222

Post a Comment Default Comments

  1. It is a very informative post. I found the list very informative and useful. Thank you for sharing it.

    http://www.melbournewebsites.com.au/web-development/ | <a href="http://www.melbournewebsites.com.au/web-development/> website development<

    ReplyDelete
  2. plugin's are easy to use rather installing all the stuff individually...Thank you!!

    ReplyDelete

Individuals who comment on FromDev at regular basis, will be rewarded in Top Commenter section. (Comments are selectively moderated so please do not spam)

emo-but-icon

item