mirror of https://github.com/elunez/eladmin
support ark module install
parent
ad98f58e6f
commit
fff52cc450
|
@ -4,4 +4,6 @@
|
|||
*/target/*
|
||||
*/*.iml
|
||||
/.gradle/
|
||||
/application.pid
|
||||
/application.pid
|
||||
.DS_Store
|
||||
arkmodules/eladmin-system/target/*
|
||||
|
|
|
@ -17,7 +17,6 @@
|
|||
<jjwt.version>0.11.5</jjwt.version>
|
||||
<!-- oshi监控需要指定jna版本, 问题详见 https://github.com/oshi/oshi/issues/1040 -->
|
||||
<jna.version>5.8.0</jna.version>
|
||||
<sofa.ark.version>2.2.5</sofa.ark.version>
|
||||
</properties>
|
||||
|
||||
<dependencies>
|
||||
|
@ -88,6 +87,12 @@
|
|||
<artifactId>oshi-core</artifactId>
|
||||
<version>6.1.4</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>com.alipay.sofa.serverless</groupId>
|
||||
<artifactId>sofa-serverless-app-starter</artifactId>
|
||||
<version>${sofa.serverless.version}</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<!-- 打包 -->
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
|
||||
server:
|
||||
port: 8000
|
||||
compression:
|
||||
|
@ -33,6 +34,8 @@ spring:
|
|||
password: ${REDIS_PWD:}
|
||||
#连接超时时间
|
||||
timeout: 5000
|
||||
application:
|
||||
name: eladmin-system
|
||||
|
||||
task:
|
||||
pool:
|
||||
|
|
|
@ -16,8 +16,6 @@
|
|||
<jjwt.version>0.11.5</jjwt.version>
|
||||
<!-- oshi监控需要指定jna版本, 问题详见 https://github.com/oshi/oshi/issues/1040 -->
|
||||
<jna.version>5.8.0</jna.version>
|
||||
<sofa.ark.version>2.2.5</sofa.ark.version>
|
||||
<sofa.serverless.version>0.5.5</sofa.serverless.version>
|
||||
</properties>
|
||||
|
||||
<dependencies>
|
||||
|
@ -31,6 +29,17 @@
|
|||
<artifactId>netty-ark-plugin</artifactId>
|
||||
<version>${sofa.ark.version}</version>
|
||||
</dependency>
|
||||
<!-- <dependency>-->
|
||||
<!-- <groupId>com.alipay.sofa</groupId>-->
|
||||
<!-- <artifactId>web-ark-plugin</artifactId>-->
|
||||
<!-- <version>${sofa.ark.version}</version>-->
|
||||
<!-- </dependency>-->
|
||||
|
||||
<dependency>
|
||||
<groupId>com.alipay.sofa</groupId>
|
||||
<artifactId>netty-ark-plugin</artifactId>
|
||||
<version>${sofa.ark.version}</version>
|
||||
</dependency>
|
||||
<!-- 代码生成模块 -->
|
||||
<dependency>
|
||||
<groupId>me.zhengjie</groupId>
|
||||
|
|
|
@ -36,6 +36,8 @@ spring:
|
|||
mvc:
|
||||
pathmatch:
|
||||
matching-strategy: ANT_PATH_MATCHER
|
||||
application:
|
||||
name: eladmin-base
|
||||
|
||||
task:
|
||||
pool:
|
||||
|
|
15
pom.xml
15
pom.xml
|
@ -10,11 +10,12 @@
|
|||
<version>2.7</version>
|
||||
|
||||
<modules>
|
||||
<module>eladmin-base</module>
|
||||
<module>eladmin-common</module>
|
||||
<module>eladmin-logging</module>
|
||||
<module>eladmin-system</module>
|
||||
<module>eladmin-tools</module>
|
||||
<module>eladmin-generator</module>
|
||||
<module>arkmodules/eladmin-system</module>
|
||||
</modules>
|
||||
|
||||
<name>ELADMIN 后台管理</name>
|
||||
|
@ -23,7 +24,7 @@
|
|||
<parent>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-parent</artifactId>
|
||||
<version>2.6.4</version>
|
||||
<version>2.7.16</version>
|
||||
</parent>
|
||||
|
||||
<properties>
|
||||
|
@ -38,6 +39,8 @@
|
|||
<druid.version>1.2.8</druid.version>
|
||||
<commons-pool2.version>2.11.1</commons-pool2.version>
|
||||
<mapstruct.version>1.4.2.Final</mapstruct.version>
|
||||
<sofa.ark.version>2.2.5</sofa.ark.version>
|
||||
<sofa.serverless.version>0.5.5</sofa.serverless.version>
|
||||
</properties>
|
||||
|
||||
<dependencies>
|
||||
|
@ -108,8 +111,8 @@
|
|||
|
||||
<!--Mysql依赖包-->
|
||||
<dependency>
|
||||
<groupId>mysql</groupId>
|
||||
<artifactId>mysql-connector-java</artifactId>
|
||||
<groupId>com.mysql</groupId>
|
||||
<artifactId>mysql-connector-j</artifactId>
|
||||
<scope>runtime</scope>
|
||||
</dependency>
|
||||
|
||||
|
@ -207,7 +210,7 @@
|
|||
<repository>
|
||||
<id>public</id>
|
||||
<name>aliyun nexus</name>
|
||||
<url>http://maven.aliyun.com/nexus/content/groups/public/</url>
|
||||
<url>https://maven.aliyun.com/nexus/content/groups/public/</url>
|
||||
<releases>
|
||||
<enabled>true</enabled>
|
||||
</releases>
|
||||
|
@ -218,7 +221,7 @@
|
|||
<pluginRepository>
|
||||
<id>public</id>
|
||||
<name>aliyun nexus</name>
|
||||
<url>http://maven.aliyun.com/nexus/content/groups/public/</url>
|
||||
<url>https://maven.aliyun.com/nexus/content/groups/public/</url>
|
||||
<releases>
|
||||
<enabled>true</enabled>
|
||||
</releases>
|
||||
|
|
|
@ -14,6 +14,10 @@
|
|||
Date: 05/09/2020 10:49:19
|
||||
*/
|
||||
|
||||
CREATE DATABASE IF NOT EXISTS eladmin;
|
||||
|
||||
USE eladmin;
|
||||
|
||||
SET NAMES utf8mb4;
|
||||
SET FOREIGN_KEY_CHECKS = 0;
|
||||
|
||||
|
|
Loading…
Reference in New Issue