a
This commit is contained in:
commit
3a2bac6a06
@ -0,0 +1,30 @@
|
|||||||
|
spring:
|
||||||
|
application:
|
||||||
|
name: maven-repository
|
||||||
|
banner:
|
||||||
|
location: classpath:banner/banner.txt
|
||||||
|
datasource:
|
||||||
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
||||||
|
url: jdbc:mysql://10.0.0.4:3307/meven_repository?rewriteBatchedStatements=true
|
||||||
|
username: meven_repository_admin
|
||||||
|
password: meven_repository_admin_password
|
||||||
|
druid:
|
||||||
|
initial-size: 1
|
||||||
|
min-idle: 1
|
||||||
|
maxActive: 1024
|
||||||
|
|
||||||
|
server:
|
||||||
|
port: 8081
|
||||||
|
|
||||||
|
|
||||||
|
sa-token:
|
||||||
|
token-name: satoken
|
||||||
|
timeout: 2592000
|
||||||
|
active-timeout: -1
|
||||||
|
is-concurrent: true
|
||||||
|
is-share: false
|
||||||
|
token-style: uuid
|
||||||
|
is-log: false
|
||||||
|
|
||||||
|
mybatis-plus:
|
||||||
|
type-handlers-package: com.mingliqiye.libs.ibatis.typeHandlers
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,3 @@
|
|||||||
|
create database meven_repository collate utf8mb4_unicode_ci;
|
||||||
|
create user 'meven_repository_admin'@'%' IDENTIFIED BY 'meven_repository_admin_password';
|
||||||
|
GRANT ALL ON meven_repository.* TO 'meven_repository_admin'@'%'
|
@ -0,0 +1,22 @@
|
|||||||
|
DROP TABLE IF EXISTS `repositorys`;
|
||||||
|
create table `repositorys`
|
||||||
|
(
|
||||||
|
id binary(16) default (uuid_to_bin(
|
||||||
|
uuid(),
|
||||||
|
1)) primary key,
|
||||||
|
name varchar(256) unique not null,
|
||||||
|
type enum ('PROXY','LOCAL','GROUP') not null,
|
||||||
|
explanation text,
|
||||||
|
group_names json,
|
||||||
|
creation_time timestamp(6) default current_timestamp(6) not null,
|
||||||
|
creator_id binary(16) not null,
|
||||||
|
update_time timestamp(6) null,
|
||||||
|
regenerator_id binary(16) null,
|
||||||
|
foreign key (creator_id) references users (id),
|
||||||
|
foreign key (regenerator_id) references users (id)
|
||||||
|
);
|
||||||
|
|
||||||
|
insert into repositorys (id, name, type, explanation, group_names, creator_id, regenerator_id)
|
||||||
|
values (0x689EFC204D1F11F08134DB0063E177A7, 'public', 'GROUP', '主仓库', '[]', 0x689EFC204D1F11F08134DB0063E177A7,
|
||||||
|
0x689EFC204D1F11F08134DB0063E177A7);
|
||||||
|
|
@ -0,0 +1,21 @@
|
|||||||
|
DROP TABLE IF EXISTS `users`;
|
||||||
|
create table `users`
|
||||||
|
(
|
||||||
|
id binary(16) default (uuid_to_bin(
|
||||||
|
uuid(),
|
||||||
|
1)) primary key,
|
||||||
|
username varchar(256) unique not null,
|
||||||
|
password varchar(256) not null,
|
||||||
|
nickname varchar(256) not null,
|
||||||
|
prermissions json,
|
||||||
|
roles json,
|
||||||
|
icon mediumblob,
|
||||||
|
admin bool default false,
|
||||||
|
creation_time timestamp(6) default current_timestamp(6) not null,
|
||||||
|
creator_id binary(16) not null,
|
||||||
|
update_time timestamp(6) null,
|
||||||
|
regenerator_id binary(16) null,
|
||||||
|
foreign key (creator_id) references users (id),
|
||||||
|
foreign key (regenerator_id) references users (id)
|
||||||
|
);
|
||||||
|
INSERT INTO users (id, username, password, nickname, prermissions, roles, icon, admin, creator_id, regenerator_id) VALUES (0x689EFC204D1F11F08134DB0063E177A7, 'admin', 'admin', '管理员', '[]', '[]', null, 1, 0x689EFC204D1F11F08134DB0063E177A7, 0x689EFC204D1F11F08134DB0063E177A7);
|
55
com.mingliqiye.maven.repository-1.0/BOOT-INF/classpath.idx
Normal file
55
com.mingliqiye.maven.repository-1.0/BOOT-INF/classpath.idx
Normal file
@ -0,0 +1,55 @@
|
|||||||
|
- "BOOT-INF/lib/HikariCP-6.3.0.jar"
|
||||||
|
- "BOOT-INF/lib/druid-1.2.25.jar"
|
||||||
|
- "BOOT-INF/lib/druid-spring-boot-3-starter-1.2.25.jar"
|
||||||
|
- "BOOT-INF/lib/jackson-annotations-2.19.0.jar"
|
||||||
|
- "BOOT-INF/lib/jackson-core-2.19.0.jar"
|
||||||
|
- "BOOT-INF/lib/jackson-databind-2.19.0.jar"
|
||||||
|
- "BOOT-INF/lib/jackson-datatype-jdk8-2.19.0.jar"
|
||||||
|
- "BOOT-INF/lib/jackson-datatype-jsr310-2.19.0.jar"
|
||||||
|
- "BOOT-INF/lib/jackson-module-parameter-names-2.19.0.jar"
|
||||||
|
- "BOOT-INF/lib/jakarta.annotation-api-2.1.1.jar"
|
||||||
|
- "BOOT-INF/lib/jakarta.inject-api-2.0.1.jar"
|
||||||
|
- "BOOT-INF/lib/jakarta.servlet-api-6.0.0.jar"
|
||||||
|
- "BOOT-INF/lib/jbcrypt-0.4.jar"
|
||||||
|
- "BOOT-INF/lib/jul-to-slf4j-2.0.17.jar"
|
||||||
|
- "BOOT-INF/lib/log4j-api-2.24.3.jar"
|
||||||
|
- "BOOT-INF/lib/log4j-to-slf4j-2.24.3.jar"
|
||||||
|
- "BOOT-INF/lib/logback-classic-1.5.18.jar"
|
||||||
|
- "BOOT-INF/lib/logback-core-1.5.18.jar"
|
||||||
|
- "BOOT-INF/lib/micrometer-commons-1.15.0.jar"
|
||||||
|
- "BOOT-INF/lib/micrometer-observation-1.15.0.jar"
|
||||||
|
- "BOOT-INF/lib/micronaut-core-4.9.3.jar"
|
||||||
|
- "BOOT-INF/lib/micronaut-inject-4.9.3.jar"
|
||||||
|
- "BOOT-INF/lib/mybatis-3.5.19.jar"
|
||||||
|
- "BOOT-INF/lib/mybatis-plus-3.5.12.jar"
|
||||||
|
- "BOOT-INF/lib/mybatis-plus-annotation-3.5.12.jar"
|
||||||
|
- "BOOT-INF/lib/mybatis-plus-core-3.5.12.jar"
|
||||||
|
- "BOOT-INF/lib/mybatis-plus-extension-3.5.12.jar"
|
||||||
|
- "BOOT-INF/lib/mybatis-plus-spring-3.5.12.jar"
|
||||||
|
- "BOOT-INF/lib/mybatis-plus-spring-boot-autoconfigure-3.5.12.jar"
|
||||||
|
- "BOOT-INF/lib/mybatis-plus-spring-boot3-starter-3.5.12.jar"
|
||||||
|
- "BOOT-INF/lib/mybatis-spring-3.0.4.jar"
|
||||||
|
- "BOOT-INF/lib/mysql-connector-j-9.2.0.jar"
|
||||||
|
- "BOOT-INF/lib/sa-token-core-1.44.0.jar"
|
||||||
|
- "BOOT-INF/lib/sa-token-jackson-1.44.0.jar"
|
||||||
|
- "BOOT-INF/lib/sa-token-jakarta-servlet-1.44.0.jar"
|
||||||
|
- "BOOT-INF/lib/sa-token-spring-boot-autoconfig-1.44.0.jar"
|
||||||
|
- "BOOT-INF/lib/sa-token-spring-boot3-starter-1.44.0.jar"
|
||||||
|
- "BOOT-INF/lib/slf4j-api-2.0.17.jar"
|
||||||
|
- "BOOT-INF/lib/snakeyaml-2.4.jar"
|
||||||
|
- "BOOT-INF/lib/spring-aop-6.2.7.jar"
|
||||||
|
- "BOOT-INF/lib/spring-beans-6.2.7.jar"
|
||||||
|
- "BOOT-INF/lib/spring-boot-3.5.0.jar"
|
||||||
|
- "BOOT-INF/lib/spring-boot-autoconfigure-3.5.0.jar"
|
||||||
|
- "BOOT-INF/lib/spring-context-6.2.7.jar"
|
||||||
|
- "BOOT-INF/lib/spring-core-6.2.7.jar"
|
||||||
|
- "BOOT-INF/lib/spring-expression-6.2.7.jar"
|
||||||
|
- "BOOT-INF/lib/spring-jcl-6.2.7.jar"
|
||||||
|
- "BOOT-INF/lib/spring-jdbc-6.2.7.jar"
|
||||||
|
- "BOOT-INF/lib/spring-tx-6.2.7.jar"
|
||||||
|
- "BOOT-INF/lib/spring-web-6.2.7.jar"
|
||||||
|
- "BOOT-INF/lib/spring-webmvc-6.2.7.jar"
|
||||||
|
- "BOOT-INF/lib/tomcat-embed-core-10.1.41.jar"
|
||||||
|
- "BOOT-INF/lib/tomcat-embed-el-10.1.41.jar"
|
||||||
|
- "BOOT-INF/lib/tomcat-embed-websocket-10.1.41.jar"
|
||||||
|
- "BOOT-INF/lib/uuid-creator-6.1.0.jar"
|
10
com.mingliqiye.maven.repository-1.0/BOOT-INF/layers.idx
Normal file
10
com.mingliqiye.maven.repository-1.0/BOOT-INF/layers.idx
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
- "dependencies":
|
||||||
|
- "BOOT-INF/lib/"
|
||||||
|
- "spring-boot-loader":
|
||||||
|
- "org/"
|
||||||
|
- "snapshot-dependencies":
|
||||||
|
- "application":
|
||||||
|
- "BOOT-INF/classes/"
|
||||||
|
- "BOOT-INF/classpath.idx"
|
||||||
|
- "BOOT-INF/layers.idx"
|
||||||
|
- "META-INF/"
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
com.mingliqiye.maven.repository-1.0/BOOT-INF/lib/jbcrypt-0.4.jar
Normal file
BIN
com.mingliqiye.maven.repository-1.0/BOOT-INF/lib/jbcrypt-0.4.jar
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
19
com.mingliqiye.maven.repository-1.0/META-INF/MANIFEST.MF
Normal file
19
com.mingliqiye.maven.repository-1.0/META-INF/MANIFEST.MF
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
Manifest-Version: 1.0
|
||||||
|
Implementation-Title: com.mingliqiye.maven.repository
|
||||||
|
Implementation-Version: 1.0
|
||||||
|
Email: minglipro@163.com
|
||||||
|
Implementation-Vendor: minglipro|Armamem0t
|
||||||
|
COPYRIGHT: Copyright 2026 minglipro All rights reserved.
|
||||||
|
Env: prod
|
||||||
|
LICENSE: Apache License 2.0
|
||||||
|
Created: 2025-06-18 13:05:06
|
||||||
|
Updated: 2025-06-20 02:59:24
|
||||||
|
Start-Class: com.mingliqiye.maven.repository.MavenRepositoryApplication
|
||||||
|
Main-Class: org.springframework.boot.loader.launch.JarLauncher
|
||||||
|
Spring-Boot-Version: 3.5.0
|
||||||
|
Spring-Boot-Classes: BOOT-INF/classes/
|
||||||
|
Spring-Boot-Lib: BOOT-INF/lib/
|
||||||
|
Spring-Boot-Classpath-Index: BOOT-INF/classpath.idx
|
||||||
|
Spring-Boot-Layers-Index: BOOT-INF/layers.idx
|
||||||
|
Build-Jdk-Spec: 21
|
||||||
|
|
@ -0,0 +1 @@
|
|||||||
|
org.springframework.boot.loader.nio.file.NestedFileSystemProvider
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user