tangrammer/play2-maven-plugin

dist goal does not include the project itself in the classpath inside the start script

Closed this issue · 6 comments

tried the dist goal.
after unzipping the zip file created, tried to start the application with the 
start script.
application not started.
took me some time to figure out..

in the start script the classpath does not contain the jar of the project 
itself.
the class AbstractPlay2DistMojo should be fixed.
after line 98 (or later..) need to add something like
projectArtifacts.add(project.getArtifact())
or something like this..

thanks..
Adi

Original issue reported on code.google.com by 88ch...@gmail.com on 21 Oct 2013 at 7:42

Fixed in http://code.google.com/p/play2-maven-plugin/source/detail?r=94

Original comment by gslowiko...@gmail.com on 21 Oct 2013 at 10:39

  • Changed state: Fixed
  • Added labels: Milestone-1.0.0-alpha3, Usability
Wait for 1.0.0-alpha3 version. It will be available today if everything goes 
well.

Original comment by gslowiko...@gmail.com on 21 Oct 2013 at 12:02

I simplified the script. Does it work for you?

Also added Windows script, but with a bug. It's fixed in 1.0.0-alpha4.

Original comment by gslowiko...@gmail.com on 23 Oct 2013 at 8:29

works like a charm.
thanks
Adi

Original comment by 88ch...@gmail.com on 21 Nov 2013 at 9:33

Issue 16 has been merged into this issue.

Original comment by gslowiko...@gmail.com on 21 Nov 2013 at 11:38

Original comment by gslowiko...@gmail.com on 2 Jun 2014 at 7:46