25 个提高Java开发人员效率的免费Maven插件

jopen 12年前
   <h2>License Management Plugins</h2>    <h2> <li><a title="White Source's Licenses Management Maven Plug-in" href="/misc/goto?guid=4958346979250684773" name="white-source-s-licenses-management-maven-plug-in">White Source's Licenses Management Maven Plug-in</a></li> </h2> 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.    <div style="margin-bottom:1em;float:right;margin-left:1em;clear:right;" class="separator">        </div> 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:    <ul>     <li>Track the inventory of Open Source Software (OSS) modules used by development</li>     <li>Automate the adoption and approval process</li>     <li><b>Get continuous updates</b> about legal and technical vulnerabilities</li>     <li>Audit and report on OSS status and compliance</li>    </ul>    <a href="/misc/goto?guid=4958346979250684773">White Source Software</a> is offered as a free, cloud-based service. White Source fully supports Java and plans to support additional languages in the future.    <h2> <li><a title="Mojo License Plugin" href="/misc/goto?guid=4958346980779472377" name="mojo-license-plugin" rel="nofollow">Mojo License Plugin</a></li> </h2> 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.    <h2>Project Release and Version Management Plugins</h2>    <h2> <li><a title="Versions Maven Plugin" href="/misc/goto?guid=4958346981573854159" name="versions-maven-plugin" rel="nofollow">Versions Maven Plugin</a></li> </h2> 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.    <h2> <li><a title="Enforcer" href="/misc/goto?guid=4958346982369646575" name="enforcer" rel="nofollow">Enforcer</a></li> </h2> 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.    <h2> <li><a title="Build Number" href="/misc/goto?guid=4958346983167303645" name="build-number" rel="nofollow">Build Number</a></li> </h2> 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.    <h2>Unit and Functional Testing Plugins</h2>    <h2> <li><a title="Surefire" href="/misc/goto?guid=4958346983966157180" name="surefire" rel="nofollow">Surefire</a></li> </h2> 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).    <h2> <li><a title="Selenium" href="/misc/goto?guid=4958346984761986521" name="selenium" rel="nofollow">Selenium</a></li> </h2> 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.    <h2> <li><a title="Surefire Report Plugin" href="/misc/goto?guid=4958346985554106854" name="surefire-report-plugin" rel="nofollow">Surefire Report Plugin</a></li> </h2> 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.    <h2>Code Quality Plugins</h2>    <h2> <li><a title="Findbugs" href="/misc/goto?guid=4958346986351783508" name="findbugs" rel="nofollow">Findbugs</a></li> </h2> 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.    <h2> <li><a title="Corbertura" href="/misc/goto?guid=4958346987150457988" name="corbertura" rel="nofollow">Corbertura</a></li> </h2> 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.    <h2>Relational Database Integration Plugins</h2>    <h2> <li><a title="SQL Plugin" href="/misc/goto?guid=4958346987957958481" name="sql-plugin" rel="nofollow">SQL Plugin</a></li> </h2> SQL statements can be executed in a strings combination, a list or set of files through SrcFiles, SqlCommand and fileset configurations respectively.    <h2> <li><a title="DB Plugin" href="/misc/goto?guid=4958346988753997965" name="db-plugin" rel="nofollow">DB Plugin</a></li> </h2> 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.    <h2> <li><a title="Liquibase" href="/misc/goto?guid=4958346989552966662" name="liquibase" rel="nofollow">Liquibase</a></li> </h2> 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.    <h2>NoSQL DB Integration Plugins</h2>    <h2> <li><a title="Cassandra Plugin" href="/misc/goto?guid=4958346990354700152" name="cassandra-plugin" rel="nofollow">Cassandra Plugin</a></li> </h2> A test instance of Apache Cassandra can be controlled within Apache Maven build with the support of Mojo’s Cassandra Plugin.    <h2> <li><a title="MongoDB Plugin" href="/misc/goto?guid=4958346991148753478" name="mongodb-plugin" rel="nofollow">MongoDB Plugin</a></li> </h2> 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.    <h2> <li><a title="HBase Plugin" href="/misc/goto?guid=4958346991948196578" name="hbase-plugin" rel="nofollow">HBase Plugin</a></li> </h2> 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.    <h2>Light Weight Web Container Plugins</h2>    <h2> <li><a title="Tomcat Plugin" href="/misc/goto?guid=4958346992756793745" name="tomcat-plugin" rel="nofollow">Tomcat Plugin</a></li> </h2> 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.    <h2> <li><a title="Jetty Plugin" href="/misc/goto?guid=4958346993549490678" name="jetty-plugin" rel="nofollow">Jetty Plugin</a></li> </h2> 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.    <h2>Application Server Plugin</h2>    <h2> <li><a title="JBoss Plugin" href="/misc/goto?guid=4958346994349648294" name="jboss-plugin" rel="nofollow">JBoss Plugin</a></li> </h2> JBoss application can be started or stopped with his plugin. Files can be deployed or undeployed to the JBoss application server.    <h2> <li><a title="Glassfish" href="/misc/goto?guid=4958346995155675958" name="glassfish" rel="nofollow">Glassfish</a></li> </h2> Glassfish domains can be managed and the components deployed within the Maven build lifecycle. The integration loop can be rapidly developed from this plugin.    <h2>Other Utility Plugins</h2>    <h2> <li><a title="Maven Eclipse Plugin" href="/misc/goto?guid=4958346995952955663" name="maven-eclipse-plugin" rel="nofollow">Maven Eclipse Plugin</a></li> </h2> 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:    <a href="/misc/goto?guid=4958336388847711768">Best Free Eclipse Productivity Plugins for Developers</a>    <h2> <li><a title="Assembly" href="/misc/goto?guid=4958346997503843885" name="assembly" rel="nofollow">Assembly</a></li> </h2> 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.    <h2> <li><a title="AntRun" href="/misc/goto?guid=4958346998296037226" name="antrun" rel="nofollow">AntRun</a></li> </h2> 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.    <h2> <li><a title="Exec" href="/misc/goto?guid=4958346999107552709" name="exec" rel="nofollow">Exec</a></li> </h2> 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.    <h2> <li><a title="JSPC" href="/misc/goto?guid=4958346999904246754" name="jspc" rel="nofollow">JSPC</a></li> </h2> 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.