Plugins

EL4J contains the following Maven plugins:

Please refer also the plugin section of the reference document and the maven cheat sheet for more information.
PluginDescription
checkclipse-helperConfigures Checkclipse for smooth Checkstyle integration into Eclipse.
env-supportTo share environment variables between Maven and the running application.
file-collectorPowerful copy tool.
JAX-WSIntegrates the wsgen and wsimport tools into the automated build process.
manifest-decoratorCollects information about artifacts to reconstruct the artifact dependency order on runtime.
repohelperTool to install and deploy multiple libraries with their sources.
databasePlugin to automate database actions.
dependency-graphTool to visualize a project's depedency graph.
duplicatefinderTool to find different versions of the same jar in the classpath.
spring-ideCollects all beans files that are used in a ModuleApplicationContext.
beansDeprecated. Has been renamed to maven spring ide plugin.
cobertura-runtimeBuild and deploy the application nearly as normal with maven and let Cobertura measure the coverage while working on the application.
ecplipse-serverCreate a tomcat6x server inside your eclipse workspace.

The plugins can also be used from outside EL4J, they are in our repository. Here's a sample config for your pom.xml file:

  <pluginRepository>
    <id>elca-services</id>
    <url>http://el4.elca-services.ch/el4j/maven2repository</url>
    <releases>
     <enabled>true</enabled>
    </releases>
  </pluginRepository>

The individual plugins can then be set up as follows:

  <plugins>
    [...]
    <plugin>
     <groupId>ch.elca.el4j.maven.plugins</groupId>
     <artifactId>maven-depgraph-plugin</artifactId>
     <configuration>
      <outDir>target/site/images</outDir>
      <outFile>${pom.artifactId}.png</outFile>
     </configuration>
     <version>1.2</version>
    </plugin>
    <plugin>
     <groupId>ch.elca.el4j.maven.plugins</groupId>
     <artifactId>maven-repohelper-plugin</artifactId>
     <version>1.2</version>
    </plugin>
    <plugin>
     <groupId>ch.elca.el4j.maven.plugins</groupId>
     <artifactId>maven-file-collector-plugin</artifactId>
     <version>1.2</version>
    </plugin>
    <plugin>
     <groupId>ch.elca.el4j.maven.plugins</groupId>
     <artifactId>maven-database-plugin</artifactId>
     <version>1.2</version>
    </plugin>    
  </plugins>