nacos/config/pom.xml

193 lines
6.8 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Copyright 1999-2018 Alibaba Group Holding Ltd.
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->
2018-07-21 00:27:23 +08:00
<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">
2018-12-10 19:53:15 +08:00
<parent>
<groupId>com.alibaba.nacos</groupId>
<artifactId>nacos-all</artifactId>
<version>${revision}</version>
2018-12-10 19:53:15 +08:00
</parent>
2018-12-10 19:53:15 +08:00
<modelVersion>4.0.0</modelVersion>
2018-12-10 19:53:15 +08:00
<artifactId>nacos-config</artifactId>
<packaging>jar</packaging>
2018-12-10 19:53:15 +08:00
<name>nacos-config ${project.version}</name>
<url>https://nacos.io</url>
2018-12-10 19:53:15 +08:00
<dependencies>
2024-08-21 16:37:53 +08:00
<dependency>
<groupId>dm.jdbc</groupId>
<artifactId>DmJdbcDriver</artifactId>
<version>${dm-jdbc.version}</version>
</dependency>
2018-12-10 19:53:15 +08:00
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
2019-09-25 15:46:34 +08:00
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>nacos-api</artifactId>
</dependency>
2018-12-10 19:53:15 +08:00
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>nacos-core</artifactId>
</dependency>
<dependency>
<groupId>com.alibaba.nacos</groupId>
<artifactId>nacos-persistence</artifactId>
2018-12-10 19:53:15 +08:00
</dependency>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
</dependency>
[ISSUE #5695] Add config encrypt spi for nacos server. (#7934) * [ISSUE#5695] Add a plugin SPI for configuration encryption and decryption for Nacos 2.0 (#6655) * Defines the interface * 增加aes实现 * 客户端、服务端加解密实现 * 客户端、服务端加解密实现 * fix code quality (#6727) * [ISSUE#5695] Add a plugin SPI for configuration encryption and decryption for Nacos 2.0, EncryptedDataKey is persisted (#6740) * Defines the interface * 增加aes实现 * 客户端、服务端加解密实现 * 客户端、服务端加解密实现 * 秘钥持久化 * 秘钥持久化 * [ISSUE#5695] Summer2021 Cache encryptedDataKey (#6878) * Defines the interface * 增加aes实现 * 客户端、服务端加解密实现 * 客户端、服务端加解密实现 * 秘钥持久化 * 秘钥持久化 * 秘钥缓存到内存中 * 解决冲突 * 修改filter继承AbstractConfigFilter (#6879) * [ISSUE#5695] Summer2021 EncryptedDataKey is persisted to Derby (#6882) * [ISSUE#5695] Add a plugin SPI for configuration encryption and decryption for Nacos 2.0 (#6655) * Defines the interface * 增加aes实现 * 客户端、服务端加解密实现 * 客户端、服务端加解密实现 * fix code quality (#6727) * # This is a combination of 6 commits.tree cf7a399f99c4d81b8667c8de06f5ceb8c79fb6f0 parent 8024ecf31bf23a9edab416be8a3bfd1c0e48ce5e author 李晓双 Li Xiao Shuang <644968328@qq.com> 1630028256 +0800 committer lixiaoshuang <644968328@qq.com> 1631804378 +0800 # This is a combination of 3 commits. # This is the 1st commit message: [ISSUE#5695] Add a plugin SPI for configuration encryption and decryption for Nacos 2.0, EncryptedDataKey is persisted (#6740) * Defines the interface * 增加aes实现 * 客户端、服务端加解密实现 * 客户端、服务端加解密实现 * 秘钥持久化 * 秘钥持久化 # This is the commit message #2: [ISSUE#5695] Summer2021 Cache encryptedDataKey (#6878) * Defines the interface * 增加aes实现 * 客户端、服务端加解密实现 * 客户端、服务端加解密实现 * 秘钥持久化 * 秘钥持久化 * 秘钥缓存到内存中 * 解决冲突 # This is the commit message #3: 修改filter继承AbstractConfigFilter (#6879) # This is the commit message #6: 客户端、服务端加解密实现 * parent 8024ecf31bf23a9edab416be8a3bfd1c0e48ce5e author 李晓双 Li Xiao Shuang <644968328@qq.com> 1630028256 +0800 committer lixiaoshuang <644968328@qq.com> 1631805204 +0800 parent 8024ecf31bf23a9edab416be8a3bfd1c0e48ce5e author 李晓双 Li Xiao Shuang <644968328@qq.com> 1630028256 +0800 committer lixiaoshuang <644968328@qq.com> 1631804378 +0800 [ISSUE#5695] Add a plugin SPI for configuration encryption and decryption for Nacos 2.0, EncryptedDataKey is persisted (#6740) * 配置加解密插件 * derby支持秘钥存储 * 克隆功能兼容配置加解密 (#6913) * [ISSUE#5695] Summer2021 Import/export compatible with configuration encryption and decryption (#6956) * 克隆功能兼容配置加解密 * 导入导出兼容配置加解密 * 秘钥base64编码、更换AES加密模式 (#6974) * [ISSUE#5695] Summer2021 add unit test for ConfigCryptoFilter (#6991) * add unit test for ConfigCryptoFilter * add unit test for ConfigCryptoFilter * [ISSUE#5695] Summer2021 add unit test for CryptoExecutor (#6990) * add unit test for CryptoExecutor * add Copyright * [ISSUE#5695] Summer2021 add unit test for CryptoManager (#6989) * add unit test for CryptoManager * add unit test for CryptoManager * [ISSUE#5695] Summer2021 add unit test for AesCrypto (#6988) * add unit test for AesCrypto * update AesCryptoTest * Increased iv randomness * add default Iv * fix javadoc * fix unit test * defining plugin intergace * Replace the client encryption and decryption actuator * Replace the server encryption and decryption actuator * add unit test * add unit test * remove old code * fix NacosConfigServiceTest * Encryption and decryption to achieve migration Co-authored-by: 杨翊 SionYang <263976490@qq.com>
2022-03-16 10:54:11 +08:00
<dependency>
<groupId>com.alibaba.nacos</groupId>
<artifactId>nacos-encryption-plugin</artifactId>
</dependency>
<dependency>
<groupId>com.alibaba.nacos</groupId>
<artifactId>nacos-config-plugin</artifactId>
</dependency>
2018-12-10 19:53:15 +08:00
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpasyncclient</artifactId>
</dependency>
2018-12-10 19:53:15 +08:00
<!-- Provided -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-tomcat</artifactId>
</dependency>
2019-04-01 21:16:44 +08:00
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-core</artifactId>
</dependency>
2018-12-10 19:53:15 +08:00
<dependency>
2019-04-01 21:16:44 +08:00
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
2018-12-10 19:53:15 +08:00
</dependency>
2019-01-07 20:44:16 +08:00
<dependency>
<groupId>io.micrometer</groupId>
<artifactId>micrometer-registry-prometheus</artifactId>
</dependency>
<dependency>
<groupId>io.micrometer</groupId>
<artifactId>micrometer-registry-influx</artifactId>
</dependency>
<dependency>
<groupId>io.micrometer</groupId>
<artifactId>micrometer-registry-elastic</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-aop</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-actuator</artifactId>
</dependency>
<dependency>
<groupId>org.yaml</groupId>
<artifactId>snakeyaml</artifactId>
</dependency>
<dependency>
<groupId>com.alibaba.nacos</groupId>
<artifactId>nacos-control-plugin</artifactId>
<version>${revision}</version>
</dependency>
<dependency>
<groupId>com.alibaba.nacos</groupId>
<artifactId>nacos-datasource-plugin</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-test-autoconfigure</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-test</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest</artifactId>
<scope>test</scope>
</dependency>
2018-12-10 19:53:15 +08:00
</dependencies>
<build>
<plugins>
<!--<plugin>
2018-12-10 19:53:15 +08:00
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<skipTests>true</skipTests>
<argLine>-Dnacos.standalone=true</argLine>
</configuration>
</plugin>-->
2018-12-10 19:53:15 +08:00
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<configuration>
<archive>
<manifest>
<mainClass>com.alibaba.nacos.config.server.Config</mainClass>
</manifest>
</archive>
<descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs>
</configuration>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>springboot</id>
<dependencies>
<dependency>
<groupId>${project.groupId}</groupId>
2018-12-10 19:53:15 +08:00
<artifactId>nacos-core</artifactId>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<mainClass>com.alibaba.nacos.config.server.Config</mainClass>
</configuration>
</plugin>
</plugins>
<finalName>nacos-config</finalName>
</build>
</profile>
</profiles>
2018-07-21 00:27:23 +08:00
</project>