Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tutorial 1 - incorrect build #36

Open
aliverud opened this issue Dec 15, 2014 · 0 comments
Open

Tutorial 1 - incorrect build #36

aliverud opened this issue Dec 15, 2014 · 0 comments

Comments

@aliverud
Copy link

In the tutorial it states:
"The code will be generated in an src-gen folder within the same eclipse project as the ThingML source file. One sub-folder is created for each different target platform and an additional sub-folder is created for each configuration"

The folder is not src-gen but thingml-gen.

Also where to start build should be better specified, must be where the POM file is.

My build fails with the following:

PS C:\work\heads\heads-ide\workspace\Tutorial1\thingml-gen\java\HelloCfg> mvn clean package exec:java -Dexec.mainClass=org.thingml.generated.Main
[INFO] Scanning for projects...

....

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3.108 s
[INFO] Finished at: 2014-12-15T12:55:15+01:00
[INFO] Final Memory: 9M/153M
[INFO] ------------------------------------------------------------------------
[ERROR] Unknown lifecycle phase ".mainClass=org.thingml.generated.Main". You must specify a valid lifecycle phase or a g
oal in the format : or :[:]:. Available
lifecycle phases are: validate, initialize, generate-sources, process-sources, generate-resources, process-resources, co
mpile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, te
st-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integrati
on-test, verify, install, deploy, pre-clean, clean, post-clean, pre-site, site, post-site, site-deploy. -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/LifecyclePhaseNotFoundException

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants