Fix Jetty hangs during install.

This commit is contained in:
Paulo Gustavo Veiga 2014-01-25 15:27:03 -03:00
parent 5b1fb27ca2
commit 5d4da27842
3 changed files with 9 additions and 6 deletions

View File

@ -5,6 +5,7 @@
<properties> <properties>
<com.wisemapping.version>3.1-SNAPSHOT</com.wisemapping.version> <com.wisemapping.version>3.1-SNAPSHOT</com.wisemapping.version>
<superpom.dir>${project.basedir}/wise-webapps</superpom.dir>
</properties> </properties>
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
@ -101,12 +102,11 @@
</plugin> </plugin>
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<inherited>true</inherited>
<artifactId>maven-compiler-plugin</artifactId> <artifactId>maven-compiler-plugin</artifactId>
<version>3.1</version> <version>3.1</version>
<configuration> <configuration>
<source>1.6</source> <source>1.7</source>
<target>1.6</target> <target>1.7</target>
<encoding>UTF-8</encoding> <encoding>UTF-8</encoding>
</configuration> </configuration>
</plugin> </plugin>

3
setup.sh Normal file
View File

@ -0,0 +1,3 @@
#!/bin/bash
export MAVEN_OPTS="-XX:MaxPermSize=128M"

View File

@ -461,6 +461,7 @@
<plugin> <plugin>
<groupId>org.apache.tomcat.maven</groupId> <groupId>org.apache.tomcat.maven</groupId>
<artifactId>tomcat7-maven-plugin</artifactId> <artifactId>tomcat7-maven-plugin</artifactId>
<version>2.0</version>
<configuration> <configuration>
<path>/wisemapping</path> <path>/wisemapping</path>
<warFile>${project.build.directory}/wisemapping.war</warFile> <warFile>${project.build.directory}/wisemapping.war</warFile>
@ -473,9 +474,9 @@
</plugin> </plugin>
<plugin> <plugin>
<groupId>org.mortbay.jetty</groupId> <groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-maven-plugin</artifactId> <artifactId>jetty-maven-plugin</artifactId>
<version>8.1.14.v20131031</version> <version>9.1.0.v20131115</version>
<configuration> <configuration>
<stopKey>foo</stopKey> <stopKey>foo</stopKey>
<stopPort>9999</stopPort> <stopPort>9999</stopPort>
@ -498,7 +499,6 @@
<value>${project.build.directory}</value> <value>${project.build.directory}</value>
</systemProperty> </systemProperty>
</systemProperties> </systemProperties>
<!--<scanIntervalSeconds>10</scanIntervalSeconds>-->
</configuration> </configuration>
<executions> <executions>
<execution> <execution>