Skip to content
This repository has been archived by the owner on Feb 14, 2024. It is now read-only.

Maven plugin for collecting specific artifacts from multi module maven project into single directory

License

Notifications You must be signed in to change notification settings

Skrethel/artifact-collector-maven-plugin

Repository files navigation

Description

Maven plugin for collecting specific artifacts from multi module maven project into single directory. Useful only with multi modules project - does nothing in single pom project.

Configuration

  • skip - skips execution. Default: false
  • target directory - place where collected files will be put. If path is absolute than plugin assumes that directory exists and is writable. If relative then it is relative to top level build directory. Default: collected-artifacts
  • target packaging - list of packaging types to collect. Examples of types: jar, war, rpm etc. Default: rpm

Usage

Add sonatype snapshot repo to your maven repository list and configure plugin in your root pom.xml's build plugins section.

Example for binding plugin to install phase.

<plugin>
	<groupId>com.github.skrethel</groupId>
	<artifactId>artifact-collector-maven-plugin</artifactId>
	<version>1.1-SNAPSHOT</version>
	<configuration>
		<targetPackaging>
			<value>rpm</value>
			<value>deb</value>
		</targetPackaging>
	</configuration>
	<executions>
		<execution>
			<phase>install</phase>
			<goals>
				<goal>collect</goal>
			</goals>
		</execution>
	</executions>
</plugin>

About

Maven plugin for collecting specific artifacts from multi module maven project into single directory

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages