<path> in configuration block or -Dtomee-plugin.archive See http://people.apache.org/~rmannibucau/tomee-maven-plugin/deploy-mojo.html Le 24 mars 2013 15:37, "David Salter" <[email protected]> a écrit :
> Hi, > > tome:run works, but in this instance, I have a separate TomEE instance > that I want to deploy to (its running on localhost:8080). How do I specify > the path? > > Thanks. > > > On 24 Mar 2013, at 14:31, Romain Manni-Bucau <[email protected]> > wrote: > > > Mvn tomee:deploy is intended to deploy an external apps so you need to > > specify its path. To start tomee with the current app just run tomee:run > > Le 24 mars 2013 15:24, "David Salter" <[email protected]> a écrit : > > > >> Hi, > >> > >> I'm trying to deploy a war file to a running instance of TomEE. I'm > >> trying to run > >> > >> mvn tomee:deploy > >> > >> but I get the following error: > >> > >> [ERROR] Failed to execute goal > >> org.apache.openejb.maven:tomee-maven-plugin:1.0.1:deploy (default-cli) > on > >> project Rest: The parameters 'path' for goal > >> org.apache.openejb.maven:tomee-maven-plugin:1.0.1:deploy are missing or > >> invalid -> [Help 1] > >> > >> The plugin is defined in my pom.xml as: > >> > >> <plugin> > >> <groupId>org.apache.openejb.maven</groupId> > >> <artifactId>tomee-maven-plugin</artifactId> > >> <version>1.0.1</version> > >> </plugin> > >> > >> If I simply copy my .war file into the web apps folder of TomEE, > >> everything works ok. > >> > >> Can anyone suggest where I'm going wrong? > >> > >> Thanks. > >> > >> > >> > >
