add emtomcat

This commit is contained in:
Shaun Chyxion 2022-12-25 17:55:55 +08:00
parent 00b4cbf379
commit dc2d45b738
428 changed files with 235 additions and 10112 deletions

View File

@ -16,7 +16,16 @@
<version>3.5.2-SNAPSHOT</version> <version>3.5.2-SNAPSHOT</version>
</parent> </parent>
<properties>
<spring-boot.version>2.5.3</spring-boot.version>
</properties>
<dependencies> <dependencies>
<dependency>
<groupId>com.pudonghot.emtomcat</groupId>
<artifactId>emtomcat-core</artifactId>
<version>0.0.1</version>
</dependency>
<dependency> <dependency>
<groupId>javax.servlet</groupId> <groupId>javax.servlet</groupId>
<artifactId>servlet-api</artifactId> <artifactId>servlet-api</artifactId>
@ -180,6 +189,36 @@
</dependency> </dependency>
</dependencies> </dependencies>
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<version>${spring-boot.version}</version>
<configuration>
<finalName>app</finalName>
<layout>ZIP</layout>
<skip>false</skip>
<excludes>
<exclude>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
</exclude>
</excludes>
</configuration>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>repackage</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<!--
<build> <build>
<plugins> <plugins>
<plugin> <plugin>
@ -202,53 +241,7 @@
</webResources> </webResources>
</configuration> </configuration>
</plugin> </plugin>
<!--<plugin>-->
<!--<groupId>org.jasig.maven</groupId>-->
<!--<artifactId>maven-translate-plugin</artifactId>-->
<!--<version>0.0.1</version>-->
<!--<executions>-->
<!--<execution>-->
<!--<goals>-->
<!--<goal>check</goal>-->
<!--</goals>-->
<!--<phase>process-resources</phase>-->
<!--</execution>-->
<!--</executions>-->
<!--<configuration>-->
<!--<messagesDirectory>${basedir}/src/main/webapp/WEB-INF/classes/</messagesDirectory>-->
<!--<mainMessagesFile>messages_en.properties</mainMessagesFile>-->
<!--</configuration>-->
<!--</plugin>-->
</plugins> </plugins>
<pluginManagement>
<plugins>
<!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
<plugin>
<groupId>org.eclipse.m2e</groupId>
<artifactId>lifecycle-mapping</artifactId>
<version>1.0.0</version>
<configuration>
<lifecycleMappingMetadata>
<pluginExecutions>
<pluginExecution>
<pluginExecutionFilter>
<groupId>org.jasig.maven</groupId>
<artifactId>maven-translate-plugin</artifactId>
<versionRange>[0.0.1,)</versionRange>
<goals>
<goal>check</goal>
</goals>
</pluginExecutionFilter>
<action>
<ignore/>
</action>
</pluginExecution>
</pluginExecutions>
</lifecycleMappingMetadata>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build> </build>
-->
</project> </project>

View File

@ -0,0 +1,14 @@
package org.jasig.cas.web;
import com.pudonghot.emtomcat.EmTomcat;
/**
* @author Donghuang
* @date Jul 24, 2021 15:15:58
*/
public class CasWebServer {
public static void main(String[] args) {
EmTomcat.run(8090);
}
}

View File

Before

Width:  |  Height:  |  Size: 18 KiB

After

Width:  |  Height:  |  Size: 18 KiB

View File

Before

Width:  |  Height:  |  Size: 57 KiB

After

Width:  |  Height:  |  Size: 57 KiB

View File

Before

Width:  |  Height:  |  Size: 37 KiB

After

Width:  |  Height:  |  Size: 37 KiB

View File

Before

Width:  |  Height:  |  Size: 41 KiB

After

Width:  |  Height:  |  Size: 41 KiB

View File

Before

Width:  |  Height:  |  Size: 1011 B

After

Width:  |  Height:  |  Size: 1011 B

View File

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB

Some files were not shown because too many files have changed in this diff Show More