BuildGraph maven plugin

Maven plugin that can create pictures of maven project execution graph.

License

License

Categories

Categories

Maven Build Tools
GroupId

GroupId

com.github.misterreg.mavenplugins
ArtifactId

ArtifactId

build-graph-maven-plugin
Last Version

Last Version

0.0.3
Release Date

Release Date

Type

Type

maven-plugin
Description

Description

BuildGraph maven plugin
Maven plugin that can create pictures of maven project execution graph.
Project URL

Project URL

https://github.com/misterreg/build-graph-maven-plugin
Source Code Management

Source Code Management

https://github.com/misterreg/build-graph-maven-plugin

Download build-graph-maven-plugin

How to add to project

<plugin>
    <groupId>com.github.misterreg.mavenplugins</groupId>
    <artifactId>build-graph-maven-plugin</artifactId>
    <version>0.0.3</version>
</plugin>

Dependencies

compile (4)

Group / Artifact Type Version
org.apache.maven : maven-plugin-api jar 3.0
org.apache.maven : maven-core jar 3.0.4
org.apache.maven : maven-embedder jar 3.0.4
org.javabits.jgrapht : jgrapht-ext jar 0.9.3

provided (1)

Group / Artifact Type Version
org.apache.maven.plugin-tools : maven-plugin-annotations jar 3.4

test (2)

Group / Artifact Type Version
junit : junit jar 4.11
org.apache.maven.shared : maven-invoker jar 2.2

Project Modules

There are no modules declared in this project.

build-graph-maven-plugin description

This plugin designed to draw maven reactor build graph with relations and statuses.

Plugin is designed to run with -T and -fae options.

It could be placed in any lifecycle phase, plugin always tries launch in the end of maven build session.

Look at examples in tests/src/test/resources folder.

Example launch:

sample build graph

mvn -T 4 -fae clean package

Write this in your aggregator pom.xml

<plugin>
  <groupId>com.github.misterreg.mavenplugins</groupId>
  <artifactId>build-graph-maven-plugin</artifactId>
  <version>0.0.1</version>
  <executions>
    <execution>
      <id>build-graph</id>
      <phase>package</phase>
      <goals>
        <goal>build-graph</goal>
      </goals>
    </execution>
  </executions>
  <configuration>
    <pngScale>2</pngScale>
    <pngFileName>testGraph</pngFileName>
    <excludeProjects>
      <param>project1</param>
      <param>project1</param>
    </excludeProjects>
    <projectMask>project $groupId:$artifactId:$version</projectMask>
    <graphOrientation>horizontal</graphOrientation>
  </configuration>
</plugin>

Versions

Version
0.0.3
0.0.2