How to deploy in a gwt-maven project -


first of all, i'm not sure folders , files have deploy in gwt-maven project i've got: .gwt .settings bin src/main/java target war pom.xml

i'm pretty sure, i've deploy pom.xml somehow , target folder. target folder doesn't contain pom.xml need deploying on jetty server

second: i've installed maven on webserver, apart embedding jetty-maven-plugin in pom.xml (by org.eclipse.jetty jetty-maven-plugin ) have absolutely no clue how project running on jetty server.

http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 siedlervoncatanc siedlervoncatanc war src/main/java src/main/java */.java maven-compiler-plugin 3.1 1.7 1.7

        </plugin>         <plugin>             <groupid>org.codehaus.mojo</groupid>             <artifactid>gwt-maven-plugin</artifactid>             <version>2.5.1</version>             <executions>                 <execution>                     <goals>                         <goal>compile</goal>                         <goal>test</goal>                     </goals>                     <configuration>                         <module>main.java.de.swp.catan.siedlervoncatanc</module>                         <runtarget>siedlervoncatanc.html</runtarget>                         <hostedwebapp>${webappdirectory}</hostedwebapp>                     </configuration>                 </execution>             </executions>         </plugin>         <plugin>             <groupid>org.eclipse.jetty</groupid>             <artifactid>jetty-maven-plugin</artifactid>         </plugin>     </plugins> </build> <dependencies>     <!-- gwt -->     <dependency>         <groupid>com.google.gwt</groupid>         <artifactid>gwt-servlet</artifactid>         <version>2.5.1</version>     </dependency>     <dependency>         <groupid>com.google.gwt</groupid>         <artifactid>gwt-user</artifactid>         <version>2.5.1</version>     </dependency>     <!-- smartgwt -->     <dependency>         <groupid>com.smartgwt</groupid>         <artifactid>smartgwt</artifactid>         <version>3.0</version>     </dependency>     <!-- event service -->     <dependency>         <groupid>de.novanic.gwteventservice</groupid>         <artifactid>gwteventservice</artifactid>         <version>1.2.0</version>     </dependency>      <!-- java-mail -->     <dependency>         <groupid>javax.mail</groupid>         <artifactid>mail</artifactid>         <version>1.4</version>     </dependency>      <!-- apache commons -->     <dependency>         <groupid>commons-lang</groupid>         <artifactid>commons-lang</artifactid>         <version>2.3</version>     </dependency>      <!-- htmlunit (wird im projekt irgendwo genutzt) -->     <!-- <dependency> <groupid>net.sourceforge.htmlunit</groupid> <artifactid>htmlunit</artifactid>          <version>2.4</version> </dependency> -->      <!-- guice -->     <dependency>         <groupid>com.google.inject</groupid>         <artifactid>guice</artifactid>         <version>3.0</version>     </dependency>      <!-- connector jdbc -->     <dependency>         <groupid>mysql</groupid>         <artifactid>mysql-connector-java</artifactid>         <version>5.1.25</version>     </dependency> </dependencies> <repositories>     <repository>         <id>com.smartgwt</id>         <url>http://www.smartclient.com/maven2</url>     </repository> </repositories> <version>0.2</version> 

have maven-jetty-plugin included in pom , under plugins , can run

     mvn jetty:run 

thanks


Comments

Popular posts from this blog

plot - Remove Objects from Legend When You Have Also Used Fit, Matlab -

java - Why does my date parsing return a weird date? -

Need help in packaging app using TideSDK on Windows -