Skip to content

PLOS/docker-maven-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker Maven Plugin

This Maven plugin attaches a shutdown hook to the jvm which stops and removes the Docker instance used in the testing phase of the Maven lifecycle.

Building

mvn clean package

Deploying

To install plugin in local Maven repo.

mvn install

To install plugin in Ambra Maven repo - only versioned artifacts (ie, not snapshots) can be deployed to this repo.

mvn deploy

Here is the url to browse Ambra repo

Testing

You can test the shutdown hook by running the docker mojo tester script. You'll need to update the CLASSPATH - see script for details.

./docker-mojo-tester.sh