wouterhardeman / play2-maven-plugin

Automatically exported from code.google.com/p/play2-maven-plugin
0 stars 0 forks source link

Add "assets" jar to distribution archive. #59

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Assets written to separate jar file with "assets" suffix (default behavior in 
Play! 2.3.x and later versions) should be added to "lib" directory of 
distribution archive in play2:dist and play2:dist-exploded mojos.

Assets can be packaged in separate jar, if someone wants it. IMO this adds no 
value, but since Play! behaves in this way, some developers would like to do it 
in Maven build as well.
No problem, I will write a wiki page about it later.

"assets" jar has to be added to "lib" directory of distribution archive because 
it must be present in the classpath when running application in Play! server.

Additional configuration parameter "distClassifierIncludes" will be added. To 
add "assets" jar add this line:

<distClassifierIncludes>assets</distClassifierIncludes>

to plugin configuration.

Original issue reported on code.google.com by gslowiko...@gmail.com on 13 Nov 2014 at 2:43

GoogleCodeExporter commented 8 years ago
https://code.google.com/p/play2-maven-plugin/source/detail?r=1138 - 
"distClassifierIncludes" configuration parameter added.

Original comment by gslowiko...@gmail.com on 13 Nov 2014 at 2:45

GoogleCodeExporter commented 8 years ago
New 1.0.0-alpha9-SNAPSHOT snapshot deployed.

Original comment by gslowiko...@gmail.com on 13 Nov 2014 at 3:00

GoogleCodeExporter commented 8 years ago
https://code.google.com/p/play2-maven-plugin/source/detail?r=1139 - 
configuration parameter added to test projects using SbtWeb.

Original comment by gslowiko...@gmail.com on 13 Nov 2014 at 3:01