cescoffier / maven-play2-plugin

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

Not a valid key: dist #32

Closed jchenry closed 11 years ago

jchenry commented 11 years ago

on Play 2.0.4

I copied the quickstart pom.xml verbatim (asside customization for my app)

ran 'mvn clean install' and failed with the following error:

[INFO] Copying default-4bc2aa_2.9.1-0.1-SNAPSHOT.jar to XXX-app-0.0.1-SNAPSHOT.jar [info] Set current project to default-4bc2aa (in build file:/XXX/XXX/XXX-app/) [error] Not a valid command: dist (similar: set, iflast, last) [error] Not a valid project ID: dist [error] Not a valid configuration: dist (similar: test) [error] Not a valid key: dist (similar: test, ivy-sbt, history) [error] dist [error] ^ [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 4:07.696s [INFO] Finished at: Tue Jan 29 21:57:04 PST 2013 [INFO] Final Memory: 13M/83M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal de.akquinet.innovation.play2:play2-maven-plugin:1.2.1:package (default-package) on project XXX-app: Error during distribution creation: Process exited with an error: 1 (Exit value: 1) -> [Help 1] [ERROR]

cescoffier commented 11 years ago

Hi,

I just tried to reproduce the bug without success. Here is what I did:

play new test
cd test
# create the pom.xml file from quickstart, no other edition
mvn clean install => Success

I'm using Play 2.0.4. Are you sure you are not using a Play 2.1 RC ?

jchenry commented 11 years ago

I mistakenly generated a project based on 1.x, which is still on the machine i was testing this on. my deepest apologies.