cescoffier / maven-play2-plugin

A Maven Plugin to build Play2 applications
Apache License 2.0
49 stars 41 forks source link

fixed "Cannot find the packaged file - Too many matches" error #40

Closed attr closed 11 years ago

attr commented 11 years ago

quick fix for mvn package failures: ERROR] Cannot find the packaged file - Too many matches [ERROR] /home/attr/web-play/target/scala-2.10/app-web-play_2.10-1.0.0-SNAPSHOT-javadoc.jar [ERROR] /home/attr/web-play/target/scala-2.10/app-web-play_2.10-1.0.0-SNAPSHOT-sources.jar [ERROR] /home/attr/web-play/target/scala-2.10/app-web-play_2.10-1.0.0-SNAPSHOT.jar

cescoffier commented 11 years ago

Hi,

play 2.1.0 is creating those new artifacts. We should think about attaching them to the project if the project configuration says so (we should add parameters for that).

cescoffier commented 11 years ago

I've applied a modified version of your patch. Please review.

I also fix #41 so the artifacts can be attached to the build.