replace with TomcatBoot
This commit is contained in:
parent
0466b07c33
commit
4d598e0e51
2 changed files with 7 additions and 33 deletions
36
pom.xml
36
pom.xml
|
@ -65,15 +65,10 @@
|
|||
<elasticsearch.version>1.7.2</elasticsearch.version>
|
||||
<cluster.runner.version>1.7.0.0</cluster.runner.version>
|
||||
|
||||
<!-- Jetty -->
|
||||
<jetty.boot.version>0.3.4</jetty.boot.version>
|
||||
|
||||
<!-- Tomcat -->
|
||||
<tomcat.delegate>true</tomcat.delegate>
|
||||
<tomcat.useSeparateTomcatClassLoader>true</tomcat.useSeparateTomcatClassLoader>
|
||||
<maven.tomcat.uriEncoding>UTF-8</maven.tomcat.uriEncoding>
|
||||
<maven.tomcat.tomcatUsers.file>${basedir}/src/test/resources/tomcat-users.xml</maven.tomcat.tomcatUsers.file>
|
||||
<tomcat.boot.version>0.3.7</tomcat.boot.version>
|
||||
|
||||
<!-- Maven Repository -->
|
||||
<maven.snapshot.repo.url>https://oss.sonatype.org/content/repositories/snapshots</maven.snapshot.repo.url>
|
||||
<maven.release.repo.url>http://central.maven.org/maven2</maven.release.repo.url>
|
||||
</properties>
|
||||
|
@ -202,11 +197,6 @@
|
|||
</excludes>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.codelibs</groupId>
|
||||
<artifactId>tomcat8-maven-plugin</artifactId>
|
||||
<version>3.0-SNAPSHOT</version>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.dbflute</groupId>
|
||||
<artifactId>dbflute-maven-plugin</artifactId>
|
||||
|
@ -584,27 +574,11 @@
|
|||
|
||||
<!-- jetty -->
|
||||
<dependency>
|
||||
<groupId>org.dbflute.jetty</groupId>
|
||||
<artifactId>jetty-boot</artifactId>
|
||||
<version>${jetty.boot.version}</version>
|
||||
<groupId>org.dbflute.tomcat</groupId>
|
||||
<artifactId>tomcat-boot</artifactId>
|
||||
<version>${tomcat.boot.version}</version>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
<dependency> <!-- jetty-all does not contain JSP -->
|
||||
<groupId>org.eclipse.jetty</groupId>
|
||||
<artifactId>jetty-jsp</artifactId>
|
||||
<version>9.2.13.v20150730</version>
|
||||
<scope>provided</scope>
|
||||
<exclusions> <!-- jstl already exists -->
|
||||
<exclusion>
|
||||
<groupId>org.eclipse.jetty.orbit</groupId>
|
||||
<artifactId>javax.servlet.jsp.jstl</artifactId>
|
||||
</exclusion>
|
||||
<exclusion>
|
||||
<groupId>org.glassfish.web</groupId>
|
||||
<artifactId>javax.servlet.jsp.jstl</artifactId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
|
||||
<!-- test -->
|
||||
<dependency>
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
package org.codelibs.fess;
|
||||
|
||||
import org.dbflute.jetty.JettyBoot;
|
||||
import org.dbflute.tomcat.TomcatBoot;
|
||||
|
||||
public class FessBoot {
|
||||
|
||||
public static void main(String[] args) {
|
||||
// TODO args
|
||||
new JettyBoot(8080, "/fess").asDevelopment(isNoneEnv()).bootAwait();
|
||||
new TomcatBoot(8080, "/fess").useTldDetect().asDevelopment(isNoneEnv()).bootAwait();
|
||||
}
|
||||
|
||||
private static boolean isNoneEnv() {
|
||||
|
|
Loading…
Add table
Reference in a new issue