Logger to record maven lifecycle events and timing
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src/main/java/net/jonbell/maven/logger
.gitignore
README.md
pom.xml

README.md

maven-lifecycle-logger

Configuration: To record only tests, do -DlogTestsOnly=true. To specify output file, do -DlogFile=some/log/file otherwise default will be maven.build.log. If file exists, it's truncated.

To install: Copy to your maven lib/ext/ directory and it will always run (to find the lib dir, do mvn -version) Or Add as an extension to your pom of interest:

...
		<extensions>
			<extension>
				<groupId>net.jonbell.maven</groupId>
				<artifactId>lifecycle-logger</artifactId>
				<version>0.0.1-SNAPSHOT</version>
			</extension>
		</extensions>
...
</build>

You should be able to get it from my snapshot repo:

		<repository>
			<id>jb.snapshots</id>
			<name>jons snapshots</name>
			<url>https://maven.jonbell.net/repository/snapshots</url>
		</repository>
	</repositories>