skjolber / maven-pom-recorder

maven-pom-recorder

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

maven-pom-recorder

Maven instrumentation agent for recording access of pom.xml files within the ~/.m2/repository folder; in other word which artifacts are in use.

Results are written to ~/.m2/maven-pom-recorder-XYZ.txt, where XYZ is a random string (per process).

Bugs, feature suggestions and help requests can be filed with the issue-tracker.

Help wanted!

Do you know a better way to transparently get hold of the POMs which are in use in a build, let me know.

  • Filesystem atime does not work (because many filesystems are mounted without this active).

Obtain

The project is implemented in Java and built using Maven. The project is available on the central Maven repository.

Usage

export MAVEN_OPTS="$MAVEN_OPTS -javaagent:/path/to/agent.jar"

The agent modifies the source code of the FileSource so that file paths are forwarded to the recorder.

Shaded contents

  • ASM

License

Apache 2.0

History

  • 1.0.0: Initial release

About

maven-pom-recorder


Languages

Language:Java 100.0%