Deployment Recorder Extension

This POM contains the default configuration for all projects which are located in com.soebes

License

License

Categories

Categories

Maven Build Tools
GroupId

GroupId

com.soebes.maven.extensions
ArtifactId

ArtifactId

deployment-recorder-extension
Last Version

Last Version

0.1.0
Release Date

Release Date

Type

Type

jar
Description

Description

Deployment Recorder Extension
This POM contains the default configuration for all projects which are located in com.soebes
Project Organization

Project Organization

SoftwareEntwicklung Beratung Schulung
Source Code Management

Source Code Management

https://github.com/khmarbaise/deployment-recorder-extension/

Download deployment-recorder-extension

How to add to project

<!-- https://jarcasting.com/artifacts/com.soebes.maven.extensions/deployment-recorder-extension/ -->
<dependency>
    <groupId>com.soebes.maven.extensions</groupId>
    <artifactId>deployment-recorder-extension</artifactId>
    <version>0.1.0</version>
</dependency>
// https://jarcasting.com/artifacts/com.soebes.maven.extensions/deployment-recorder-extension/
implementation 'com.soebes.maven.extensions:deployment-recorder-extension:0.1.0'
// https://jarcasting.com/artifacts/com.soebes.maven.extensions/deployment-recorder-extension/
implementation ("com.soebes.maven.extensions:deployment-recorder-extension:0.1.0")
'com.soebes.maven.extensions:deployment-recorder-extension:jar:0.1.0'
<dependency org="com.soebes.maven.extensions" name="deployment-recorder-extension" rev="0.1.0">
  <artifact name="deployment-recorder-extension" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.soebes.maven.extensions', module='deployment-recorder-extension', version='0.1.0')
)
libraryDependencies += "com.soebes.maven.extensions" % "deployment-recorder-extension" % "0.1.0"
[com.soebes.maven.extensions/deployment-recorder-extension "0.1.0"]

Dependencies

compile (2)

Group / Artifact Type Version
javax.inject : javax.inject jar 1
org.apache.maven.plugin-tools : maven-plugin-annotations jar 3.5

provided (3)

Group / Artifact Type Version
org.apache.maven : maven-core jar 3.1.1
org.slf4j : slf4j-api jar 1.7.5
org.eclipse.aether : aether-api jar 1.0.0.v20140518

test (2)

Group / Artifact Type Version
org.testng : testng jar 6.9.8
org.assertj : assertj-core jar 2.1.0

Project Modules

There are no modules declared in this project.

Deployment Recorder Extension

Apache License, Version 2.0, January 2004 Maven Central Build Status

This is an EventSpy implementation which collects the information about the deployed artifacts and writes it into a single file in projectRoot/target/. This file is named deployment-recorder.lst.

If you like to use this extension with Maven 3.1.1+ till Maven 3.2.5 you need to manually download it from Maven Central and put the resulting jar file into the ${M2_HOME}/lib/ext directory or if you like to use it directly you have to add the following parameter on command line:

mvn -Dmaven.ext.class.path=PathWhereItIsLocated/deployment-recorder-extension-0.1.0-mvn311.jar clean package

If you like to use this extension for Maven 3.3.1+ you have to define the following .mvn/extensions.xml file:

<extensions xmlns="http://maven.apache.org/EXTENSIONS/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://maven.apache.org/EXTENSIONS/1.0.0 http://maven.apache.org/xsd/core-extensions-1.0.0.xsd">
  <extension>
    <groupId>com.soebes.maven.extensions</groupId>
    <artifactId>deployment-recorder-extension</artifactId>
    <version>0.1.0</version>
  </extension>
</extensions>

If you have configured the deployment-recorder-extension this will mentioned at the beginning of the build like this:

[INFO] deployment-recorder-extension Version 0.1.0 started.

If you do an mvn deploy will run without supplemental output except the line as mentioned before. After the build has finished the file deployment-recorder.lst will contain lines like this:

com.soebes.examples.j2ee:parent:pom:1.1.2-20170325.120735-41:1.1.2-SNAPSHOT
com.soebes.examples.j2ee:domain:jar:1.1.2-20170325.120736-41:1.1.2-SNAPSHOT
com.soebes.examples.j2ee:domain:pom:1.1.2-20170325.120736-41:1.1.2-SNAPSHOT
com.soebes.examples.j2ee:service-client:jar:1.1.2-20170325.120736-41:1.1.2-SNAPSHOT
com.soebes.examples.j2ee:service-client:pom:1.1.2-20170325.120736-41:1.1.2-SNAPSHOT
com.soebes.examples.j2ee:webgui:war:1.1.2-20170325.120736-41:1.1.2-SNAPSHOT
com.soebes.examples.j2ee:webgui:pom:1.1.2-20170325.120736-41:1.1.2-SNAPSHOT
com.soebes.examples.j2ee:service:jar:1.1.2-20170325.120736-41:1.1.2-SNAPSHOT
com.soebes.examples.j2ee:service:pom:1.1.2-20170325.120736-41:1.1.2-SNAPSHOT
com.soebes.examples.j2ee:app:ear:1.1.2-20170325.120736-41:1.1.2-SNAPSHOT
com.soebes.examples.j2ee:app:pom:1.1.2-20170325.120736-41:1.1.2-SNAPSHOT
com.soebes.examples.j2ee:appasm:pom:1.1.2-20170325.120736-41:1.1.2-SNAPSHOT
com.soebes.examples.j2ee:shade:jar:1.1.2-20170325.120736-41:1.1.2-SNAPSHOT
com.soebes.examples.j2ee:shade:pom:1.1.2-20170325.120736-41:1.1.2-SNAPSHOT
com.soebes.examples.j2ee:shade:jar:1.1.2-20170325.120736-41:1.1.2-SNAPSHOT:test
com.soebes.examples.j2ee:shade:jar:1.1.2-20170325.120736-41:1.1.2-SNAPSHOT:dev
com.soebes.examples.j2ee:shade:jar:1.1.2-20170325.120736-41:1.1.2-SNAPSHOT:prod
com.soebes.examples.j2ee:assembly:pom:1.1.2-20170325.120736-42:1.1.2-SNAPSHOT
com.soebes.examples.j2ee:assembly:zip:1.1.2-20170325.120736-42:1.1.2-SNAPSHOT:archive
com.soebes.examples.j2ee:assembly:jar:1.1.2-20170325.120736-42:1.1.2-SNAPSHOT:prod
com.soebes.examples.j2ee:assembly:jar:1.1.2-20170325.120736-42:1.1.2-SNAPSHOT:dev

The format is: groupId:artifactId:extension:version:baseVersion[:classifier].

Prerequisites minimum for this is Maven 3.1.1+ and Java 1.7 as run time.

If you have ideas for improvements etc. just fill in issues in the tracking system.

Versions

Version
0.1.0