Hi,
try mvn tomee:run after having added to the pom:
<plugin>
<groupId>org.apache.openejb.maven</groupId>
<artifactId>tomee-maven-plugin</artifactId>
<version>1.6.0-SNAPSHOT</version>
<configuration>
<tomeeClassifier>jaxrs</tomeeClassifier>
</configuration>
</plugin>
that said deploying a jar with rest services will probably fail because
rest endpoints reuse the context if the webapp
*Romain Manni-Bucau*
*Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
*Blog: **http://rmannibucau.wordpress.com/*<http://rmannibucau.wordpress.com/>
*LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
*Github: https://github.com/rmannibucau*
2013/3/5 Jason Zwolak <[email protected]>
> I know this is such a basic question and I should be able to just read the
> docs and follow the instructions... I've read some instructions (see notes
> below) and tried to follow them but I really have no idea where to begin to
> deploy my application. Are there instructions somewhere?
>
> I cannot figure out how to deploy my rest on ejb application (I followed
> the example at
> http://tomee.apache.org/examples-trunk/rest-on-ejb/README.html
>
> I got the tomee-maven-plugin and ran "mvn tomee:deploy
> $HOME/local/apache-tomee/webapps/" and got the error:
>
> Unknown lifecycle phase "/Users/jzwolak/local/apache-tomee/webapps/".
>
> I do not know how to build the war, but I do have a jar.
>
> Any help would be appreciated!!! A link to instructions/tutorial would be
> awesome!
>
> Thanks
> Jason
>
> NOTES:
> Here are the instructions I've read
> http://tomee.apache.org/application-deployment-solutions.html
> http://tomee.apache.org/deploying-in-tomee.html
>
> --
> Jason Zwolak
>