Skip to content

Replace play2-maven-plugin by maven-dependency-plugin #7

@amanteaux

Description

@amanteaux

Currently, the build is made in the pom.xml file using:

<plugin>
	<groupId>com.google.code.play2-maven-plugin</groupId>
	<artifactId>play2-maven-plugin</artifactId>
	<version>1.0.0-rc5</version>
	<executions>
		<execution>
			<goals>
				<goal>dist</goal>
			</goals>
			<phase>package</phase>
		</execution>
	</executions>
</plugin>

This could be replaced by:

<plugin>
	<groupId>org.apache.maven.plugins</groupId>
	<artifactId>maven-dependency-plugin</artifactId>
	<version>3.6.1</version>
	<executions>
		<execution>
			<id>copy-dependencies</id>
			<phase>package</phase>
			<goals>
				<goal>copy-dependencies</goal>
			</goals>
		</execution>
	</executions>
</plugin>

This needs to be tested further to make sure that this is the correct alternative.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions