HoraceTian opened a new issue, #6007: URL: https://github.com/apache/shenyu/issues/6007
### Question starter pom 继承 <?xml version="1.0" encoding="UTF-8"?> <!-- ~ Licensed to the Apache Software Foundation (ASF) under one or more ~ contributor license agreements. See the NOTICE file distributed with ~ this work for additional information regarding copyright ownership. ~ The ASF licenses this file to You 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. --> <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> <parent> <groupId>org.apache.shenyu</groupId> <artifactId>shenyu-spring-boot-starter-plugin</artifactId> <version>2.6.1</version> </parent> <groupId>com.horace.cloud</groupId> <version>1.0.0-SNAPSHOT</version> <artifactId>horace-spring-boot-starter-plugin-auth</artifactId> <dependencies> <!-- 业务组件 Start --> <dependency> <groupId>com.horace.cloud</groupId> <artifactId>horace-shenyu-plugin-auth</artifactId> <version>1.0.0-SNAPSHOT</version> </dependency> <!-- 业务组件 End --> <!-- Spring 组件 Start --> <!-- Spring 组件 End --> </dependencies> </project> plugin pom 继承 <?xml version="1.0" encoding="UTF-8"?> <!-- ~ Licensed to the Apache Software Foundation (ASF) under one or more ~ contributor license agreements. See the NOTICE file distributed with ~ this work for additional information regarding copyright ownership. ~ The ASF licenses this file to You 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. --> <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> <parent> <groupId>org.apache.shenyu</groupId> <artifactId>shenyu-plugin</artifactId> <version>2.6.1</version> </parent> <version>1.0.0-SNAPSHOT</version> <groupId>com.horace.cloud</groupId> <artifactId>horace-shenyu-plugin-auth</artifactId> <dependencies> <dependency> <groupId>org.apache.shenyu</groupId> <artifactId>shenyu-plugin-base</artifactId> <version>2.6.1</version> </dependency> </dependencies> </project> 仅引入一个根依赖 <dependencies> <dependency> <groupId>org.apache.shenyu</groupId> <artifactId>shenyu-plugin-base</artifactId> <version>2.6.1</version> </dependency> </dependencies> 打包时 JDK 采用 JDK17 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@shenyu.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org