Plugins

EL4J contains following Maven plugins:

PluginDescription
checkclipse-helperConfigures Checkclipse for smooth Checkstyle integration in Eclipse.
env-supportTo share environment variables between Maven and the running application.
file-collectorPowerful copy tool.
JAX-WSIntegrates the wsgen and wsimport tool into the automated build process.
manifest-decoratorCollects information about artifacts to reconstruct artifact dependency order on runtime.
repohelperTool to install and deploy multiple libraries with its sources.
databasePlugin to automate database actions.
dependency-graphTool to visualize depedency graph.
mvn-recTool run maven commands for a project and all its dependent projets.

Please refer also the plugin section of the reference document and the maven cheat sheet for more information.

The plugins can also be used from outside of 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 setup like the following:

  <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>