-
Notifications
You must be signed in to change notification settings - Fork 71
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
使用spring boot进行改造,使用java -jar zkWeb-V1.1.jar即可运行
- Loading branch information
Showing
29 changed files
with
917 additions
and
396 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,206 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||
<modelVersion>4.0.0</modelVersion> | ||
<groupId>com.yasenagat.zkweb</groupId> | ||
<artifactId>zkWeb</artifactId> | ||
<packaging>jar</packaging> | ||
<version>v1.1</version> | ||
|
||
<name>zkWeb</name> | ||
<url>https://github.com/zhitom/zkweb</url> | ||
<parent> | ||
<groupId>org.springframework.boot</groupId> | ||
<artifactId>spring-boot-starter-parent</artifactId> | ||
<version>2.0.2.RELEASE</version> | ||
</parent> | ||
<properties> | ||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | ||
<java-version>1.8</java-version> | ||
<org.springframework-version>5.0.5.RELEASE</org.springframework-version> | ||
<org.aspectj-version>1.9.1</org.aspectj-version> | ||
<org.slf4j-version>1.7.25</org.slf4j-version> | ||
<jackson.version>2.9.6</jackson.version> | ||
</properties> | ||
|
||
<build> | ||
<resources> | ||
<resource> | ||
<directory>${basedir}/src/main/webapp</directory> | ||
<!--注意此次必须要放在此目录下才能被访问到--> | ||
<targetPath>META-INF/resources/webapp</targetPath> | ||
<excludes> | ||
<exclude>WEB-INF/**</exclude> | ||
</excludes> | ||
<includes> | ||
<include>**/**</include> | ||
</includes> | ||
</resource> | ||
<resource> | ||
<directory>${basedir}/src/main/webapp/WEB-INF</directory> | ||
<!--注意此次必须要放在此目录下才能被访问到jsp--> | ||
<targetPath>/WEB-INF/</targetPath> | ||
<includes> | ||
<include>**/**</include> | ||
</includes> | ||
</resource> | ||
<resource> | ||
<directory>${basedir}/src/main/resources</directory> | ||
<includes> | ||
<include>**/**</include> | ||
</includes> | ||
</resource> | ||
</resources> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.springframework.boot</groupId> | ||
<artifactId>spring-boot-maven-plugin</artifactId> | ||
</plugin> | ||
<!-- <plugin> --> | ||
<!-- <artifactId>maven-war-plugin</artifactId> --> | ||
<!-- <version>3.2.2</version> --> | ||
<!-- <configuration> --> | ||
<!-- </configuration> --> | ||
<!-- </plugin> --> | ||
</plugins> | ||
</build> | ||
<dependencies> | ||
<!-- <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starters</artifactId> | ||
<version>2.0.2.RELEASE</version> <type>pom</type> </dependency> --> | ||
<!-- Spring --> | ||
<dependency> | ||
<groupId>org.springframework.boot</groupId> | ||
<artifactId>spring-boot-starter-web</artifactId> | ||
</dependency> | ||
<!-- <dependency> --> | ||
<!-- <groupId>org.springframework.boot</groupId> --> | ||
<!-- <artifactId>spring-boot-starter-data-jpa</artifactId> --> | ||
<!-- </dependency> --> | ||
<dependency> | ||
<groupId>org.springframework.boot</groupId> | ||
<artifactId>spring-boot-devtools</artifactId> | ||
<optional>true</optional> <!-- 这个需要为 true 热部署才有效 --> | ||
</dependency> | ||
<!-- <dependency> | ||
<groupId>org.springframework.boot</groupId> | ||
<artifactId>spring-boot-starter-tomcat</artifactId> | ||
</dependency> --> | ||
<dependency> | ||
<groupId>org.springframework.boot</groupId> | ||
<artifactId>spring-boot-starter-jdbc</artifactId> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.springframework.boot</groupId> | ||
<artifactId>spring-boot-configuration-processor</artifactId> | ||
<optional>true</optional> | ||
</dependency> | ||
<!-- <dependency> --> | ||
<!-- <groupId>org.springframework</groupId> --> | ||
<!-- <artifactId>spring-webflux</artifactId> --> | ||
<!-- </dependency> --> | ||
<!-- <dependency> --> | ||
<!-- <groupId>org.springframework.data</groupId> --> | ||
<!-- <artifactId>spring-data-couchbase</artifactId> --> | ||
<!-- </dependency> --> | ||
<!-- <dependency> --> | ||
<!-- <groupId>org.springframework.hateoas</groupId> --> | ||
<!-- <artifactId>spring-hateoas</artifactId> --> | ||
<!-- </dependency> --> | ||
<dependency> | ||
<groupId>org.springframework.session</groupId> | ||
<artifactId>spring-session-jdbc</artifactId> | ||
</dependency> | ||
<dependency> | ||
<groupId>javax.annotation</groupId> | ||
<artifactId>javax.annotation-api</artifactId> | ||
</dependency> | ||
<!-- <dependency> --> | ||
<!-- <groupId>org.apache.tomcat</groupId> --> | ||
<!-- <artifactId>tomcat-annotations-api</artifactId> --> | ||
<!-- </dependency> --> | ||
|
||
<!-- Logging --> | ||
<dependency> | ||
<groupId>org.slf4j</groupId> | ||
<artifactId>slf4j-api</artifactId> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.slf4j</groupId> | ||
<artifactId>jcl-over-slf4j</artifactId> | ||
<!-- <scope>runtime</scope> --> | ||
</dependency> | ||
|
||
<dependency> | ||
<groupId>com.fasterxml.jackson.jr</groupId> | ||
<artifactId>jackson-jr-all</artifactId> | ||
</dependency> | ||
<!-- servlet --> | ||
<dependency> | ||
<groupId>javax.servlet</groupId> | ||
<artifactId>servlet-api</artifactId> | ||
<version>3.0-alpha-1</version> | ||
<!-- <scope>provided</scope> --> | ||
</dependency> | ||
|
||
<!-- JSP依赖 必需使用,内置的tomcat不支持jsp--> | ||
<dependency> | ||
<groupId>org.apache.tomcat.embed</groupId> | ||
<artifactId>tomcat-embed-jasper</artifactId> | ||
<!-- <scope>provided</scope> --> | ||
</dependency> | ||
<dependency> | ||
<groupId>javax.servlet</groupId> | ||
<artifactId>jstl</artifactId> | ||
</dependency> | ||
|
||
<!-- Zookeeper --> | ||
<dependency> | ||
<groupId>org.apache.zookeeper</groupId> | ||
<artifactId>zookeeper</artifactId> | ||
<version>3.4.12</version> | ||
<exclusions> | ||
<exclusion> | ||
<groupId>org.slf4j</groupId> | ||
<artifactId>slf4j-log4j12</artifactId> | ||
</exclusion> | ||
</exclusions> | ||
</dependency> | ||
|
||
<dependency> | ||
<groupId>com.h2database</groupId> | ||
<artifactId>h2</artifactId> | ||
<!-- <scope>runtime</scope> --> | ||
<!-- <version>1.4.197</version> --> | ||
</dependency> | ||
<dependency> | ||
<groupId>commons-dbutils</groupId> | ||
<artifactId>commons-dbutils</artifactId> | ||
<version>1.7</version> | ||
</dependency> | ||
<!-- https://mvnrepository.com/artifact/com.google.guava/guava --> | ||
<dependency> | ||
<groupId>com.google.guava</groupId> | ||
<artifactId>guava</artifactId> | ||
<version>23.0</version> | ||
</dependency> | ||
|
||
<dependency> | ||
<groupId>com.mchange</groupId> | ||
<artifactId>c3p0</artifactId> | ||
<version>0.9.5.2</version> | ||
</dependency> | ||
|
||
<!-- https://mvnrepository.com/artifact/com.mchange/mchange-commons-java --> | ||
<dependency> | ||
<groupId>com.mchange</groupId> | ||
<artifactId>mchange-commons-java</artifactId> | ||
<version>0.2.15</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>junit</groupId> | ||
<artifactId>junit</artifactId> | ||
<scope>test</scope> | ||
</dependency> | ||
</dependencies> | ||
|
||
</project> |
Oops, something went wrong.