Skip to content

Allow multiple executions of the Maven plugin #239

Open
@mp911de

Description

@mp911de

In my build, I'd like to set up multiple plugin executions:

<plugin>
	<groupId>org.jfrog.buildinfo</groupId>
	<artifactId>artifactory-maven-plugin</artifactId>
	<version>2.6.1</version>
	<executions>
		<execution>
			<id>deploy-docs</id>
			<goals>
				<goal>publish</goal>
			</goals>
			<configuration>
			…
			</configuration>
		</execution>
		<execution>
			<id>deploy-schema</id>
			<goals>
				<goal>publish</goal>
			</goals>
			<configuration>
			…
			</configuration>
		</execution>
	</executions>
</plugin>

I'm using this pattern to run the plugin with different configurations, mostly regarding inclusion/exclusion patterns and applying different deployProperties to the execution.

The plugin checks for multiple executions and runs only once.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions