Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
84 changes: 55 additions & 29 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,6 @@
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>

<!--
为了省去重复配置的麻烦,这里直接继承jeebiz-boot-parent
父级项目:https://github.com/Jeebiz/jeebiz-boot.git
-->
<parent>
<groupId>net.jeebiz</groupId>
<artifactId>jeebiz-boot-parent</artifactId>
<version>1.0.2-SNAPSHOT</version>
<relativePath></relativePath>
</parent>

<groupId>io.github.easy4j</groupId>
<artifactId>spring-boot-starter-samples</artifactId>
<version>1.0.0-SNAPSHOT</version>
Expand All @@ -22,26 +11,63 @@
<name>Spring Boot Starter Samples</name>
<description>Spring Boot Starter Samples</description>

<modules>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<spring-boot.version>1.5.22.RELEASE</spring-boot.version>
</properties>

<dependencyManagement>
<dependencies>
<!-- 替代已失效的 net.jeebiz:jeebiz-boot-parent 提供的版本管理:Spring Boot 1.5.x(Spring 4.3.x) -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-dependencies</artifactId>
<version>${spring-boot.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>

<module>spring-boot-sample-axis2</module>
<module>spring-boot-sample-casclient</module>
<module>spring-boot-sample-cxf</module>
<module>spring-boot-sample-disruptor</module>
<module>spring-boot-sample-druid</module>
<module>spring-boot-sample-ehcache3</module>
<module>spring-boot-sample-flyway</module>
<module>spring-boot-sample-hikaricp</module>
<modules>
<!-- 可从公共仓库解析依赖并通过构建的示例 -->
<module>spring-boot-sample-jetbrick</module>
<module>spring-boot-sample-kaptcha</module>
<module>spring-boot-sample-log4j2</module>
<module>spring-boot-sample-pf4j</module>
<module>spring-boot-sample-rocketmq</module>
<module>spring-boot-sample-swagger2</module>
<module>spring-boot-sample-websocket</module>
<module>spring-boot-sample-sharding-jdbc</module>
<module>spring-boot-sample-pf4j2</module>
<module>spring-boot-sample-socketio</module>
<module>spring-boot-sample-swagger2</module>
<!-- pf4j 插件示例子树(独立聚合器,含 Dependabot 安全告警修复目标) -->
<module>spring-boot-sample-pf4j/pf4j-plugin-sample</module>
<module>spring-boot-sample-pf4j2/pf4j2-plugin-sample</module>
</modules>


<!--
历史示例:依赖未发布到中央仓库的构件(io.github.hiwepy:* starter、
com.oracle:ojdbc6 等)或 pom 存在历史遗留问题,暂不参与默认构建。
启用方式:mvn -P legacy-samples clean verify
-->
<profiles>
<profile>
<id>legacy-samples</id>
<modules>
<module>spring-boot-sample-axis2</module>
<module>spring-boot-sample-casclient</module>
<module>spring-boot-sample-cxf</module>
<module>spring-boot-sample-disruptor</module>
<module>spring-boot-sample-druid</module>
<module>spring-boot-sample-ehcache3</module>
<module>spring-boot-sample-flyway</module>
<module>spring-boot-sample-hikaricp</module>
<module>spring-boot-sample-kaptcha</module>
<module>spring-boot-sample-log4j2</module>
<module>spring-boot-sample-pf4j</module>
<module>spring-boot-sample-pf4j2</module>
<module>spring-boot-sample-rocketmq</module>
<module>spring-boot-sample-socketio</module>
<module>spring-boot-sample-websocket</module>
</modules>
</profile>
</profiles>

</project>
2 changes: 1 addition & 1 deletion spring-boot-sample-axis2/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>io.github.hiwepy</groupId>
<groupId>io.github.easy4j</groupId>
<artifactId>spring-boot-starter-samples</artifactId>
<version>1.0.0-SNAPSHOT</version>
</parent>
Expand Down
2 changes: 1 addition & 1 deletion spring-boot-sample-casclient/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<parent>
<!-- Your own application should inherit from spring-boot-starter-parent -->
<groupId>io.github.hiwepy</groupId>
<groupId>io.github.easy4j</groupId>
<artifactId>spring-boot-starter-samples</artifactId>
<version>1.0.0-SNAPSHOT</version>
</parent>
Expand Down
2 changes: 1 addition & 1 deletion spring-boot-sample-cxf/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<parent>
<!-- Your own application should inherit from spring-boot-starter-parent -->
<groupId>io.github.hiwepy</groupId>
<groupId>io.github.easy4j</groupId>
<artifactId>spring-boot-starter-samples</artifactId>
<version>1.0.0-SNAPSHOT</version>
</parent>
Expand Down
2 changes: 1 addition & 1 deletion spring-boot-sample-disruptor/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
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>io.github.hiwepy</groupId>
<groupId>io.github.easy4j</groupId>
<artifactId>spring-boot-starter-samples</artifactId>
<version>1.0.0-SNAPSHOT</version>
</parent>
Expand Down
2 changes: 1 addition & 1 deletion spring-boot-sample-druid/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
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>io.github.hiwepy</groupId>
<groupId>io.github.easy4j</groupId>
<artifactId>spring-boot-starter-samples</artifactId>
<version>1.0.0-SNAPSHOT</version>
</parent>
Expand Down
2 changes: 1 addition & 1 deletion spring-boot-sample-ehcache3/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
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>io.github.hiwepy</groupId>
<groupId>io.github.easy4j</groupId>
<artifactId>spring-boot-starter-samples</artifactId>
<version>1.0.0-SNAPSHOT</version>
</parent>
Expand Down
2 changes: 1 addition & 1 deletion spring-boot-sample-flyway/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
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>io.github.hiwepy</groupId>
<groupId>io.github.easy4j</groupId>
<artifactId>spring-boot-starter-samples</artifactId>
<version>1.0.0-SNAPSHOT</version>
</parent>
Expand Down
2 changes: 1 addition & 1 deletion spring-boot-sample-hikaricp/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
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>io.github.hiwepy</groupId>
<groupId>io.github.easy4j</groupId>
<artifactId>spring-boot-starter-samples</artifactId>
<version>1.0.0-SNAPSHOT</version>
</parent>
Expand Down
2 changes: 1 addition & 1 deletion spring-boot-sample-jetbrick/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
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>io.github.hiwepy</groupId>
<groupId>io.github.easy4j</groupId>
<artifactId>spring-boot-starter-samples</artifactId>
<version>1.0.0-SNAPSHOT</version>
</parent>
Expand Down
2 changes: 1 addition & 1 deletion spring-boot-sample-kaptcha/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
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>io.github.hiwepy</groupId>
<groupId>io.github.easy4j</groupId>
<artifactId>spring-boot-starter-samples</artifactId>
<version>1.0.0-SNAPSHOT</version>
</parent>
Expand Down
2 changes: 1 addition & 1 deletion spring-boot-sample-log4j2/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
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>io.github.hiwepy</groupId>
<groupId>io.github.easy4j</groupId>
<artifactId>spring-boot-starter-samples</artifactId>
<version>1.0.0-SNAPSHOT</version>
</parent>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
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>io.github.hiwepy</groupId>
<groupId>io.github.easy4j</groupId>
<artifactId>pf4j-plugin</artifactId>
<version>1.0.0-SNAPSHOT</version>
</parent>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<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>io.github.hiwepy</groupId>
<groupId>io.github.easy4j</groupId>
<artifactId>pf4j-plugin</artifactId>
<version>1.0.0-SNAPSHOT</version>
</parent>
Expand Down Expand Up @@ -64,14 +64,13 @@
<artifactId>maven-compiler-plugin</artifactId>
<!-- 设置源文件编码方式 -->
<configuration>
<annotationProcessors>
<annotationProcessor>ro.fortsoft.pf4j.processor.ExtensionAnnotationProcessor</annotationProcessor>
</annotationProcessors>
<!-- ro.fortsoft.pf4j 1.3.0 的注解处理器与 JDK 9+ 不兼容,改为静态维护 META-INF/extensions.idx -->
<proc>none</proc>
<defaultLibBundleDir>lib</defaultLibBundleDir>
<!-- 源代码编译版本 -->
<source>1.7</source>
<source>1.8</source>
<!-- 目标平台编译版本 -->
<target>1.7</target>
<target>1.8</target>
<!-- 字符集编码 -->
<encoding>${project.build.sourceEncoding}</encoding>
<!-- -->
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pf4j.plugin.impl.extensions.AuthcExtensionPointImpl1
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<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>io.github.hiwepy</groupId>
<groupId>io.github.easy4j</groupId>
<artifactId>pf4j-plugin</artifactId>
<version>1.0.0-SNAPSHOT</version>
</parent>
Expand Down Expand Up @@ -65,14 +65,13 @@
<artifactId>maven-compiler-plugin</artifactId>
<!-- 设置源文件编码方式 -->
<configuration>
<annotationProcessors>
<annotationProcessor>ro.fortsoft.pf4j.processor.ExtensionAnnotationProcessor</annotationProcessor>
</annotationProcessors>
<!-- ro.fortsoft.pf4j 1.3.0 的注解处理器与 JDK 9+ 不兼容,改为静态维护 META-INF/extensions.idx -->
<proc>none</proc>
<defaultLibBundleDir>lib</defaultLibBundleDir>
<!-- 源代码编译版本 -->
<source>1.7</source>
<source>1.8</source>
<!-- 目标平台编译版本 -->
<target>1.7</target>
<target>1.8</target>
<!-- 字符集编码 -->
<encoding>${project.build.sourceEncoding}</encoding>
<!-- -->
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pf4j.plugin.impl.extensions.AuthcExtensionPointImpl2
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
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>io.github.hiwepy</groupId>
<groupId>io.github.easy4j</groupId>
<artifactId>pf4j-plugin</artifactId>
<version>1.0.0-SNAPSHOT</version>
</parent>
Expand Down
19 changes: 9 additions & 10 deletions spring-boot-sample-pf4j/pf4j-plugin-sample/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
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>io.github.hiwepy</groupId>
<groupId>io.github.easy4j</groupId>
<artifactId>pf4j-plugin</artifactId>
<version>1.0.0-SNAPSHOT</version>
<packaging>pom</packaging>
Expand Down Expand Up @@ -185,14 +185,14 @@
<!-- 编译插件:编译主代码至主输出目录 -->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.5.1</version>
<version>3.13.0</version>
<!-- 设置源文件编码方式 -->
<configuration>
<defaultLibBundleDir>lib</defaultLibBundleDir>
<!-- 源代码编译版本 -->
<source>1.7</source>
<source>1.8</source>
<!-- 目标平台编译版本 -->
<target>1.7</target>
<target>1.8</target>
<!-- 字符集编码 -->
<encoding>${project.build.sourceEncoding}</encoding>
<!-- -->
Expand Down Expand Up @@ -411,12 +411,11 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
</plugin>
<!-- 文档插件:发布时自动生成文档
<!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-javadoc-plugin -->
<plugin>
<!-- 文档插件:发布时自动生成文档 -->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<!-- 文档插件:发布时自动生成文档
https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-javadoc-plugin
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
</plugin>-->
<!-- 安装插件:将项目输出构件安装到本地仓库 -->
<!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-install-plugin -->
Expand Down
2 changes: 1 addition & 1 deletion spring-boot-sample-pf4j/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
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>io.github.hiwepy</groupId>
<groupId>io.github.easy4j</groupId>
<artifactId>spring-boot-starter-samples</artifactId>
<version>1.0.0-SNAPSHOT</version>
</parent>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
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>io.github.hiwepy</groupId>
<groupId>io.github.easy4j</groupId>
<artifactId>pf4j2-plugin</artifactId>
<version>1.0.0-SNAPSHOT</version>
</parent>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<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>io.github.hiwepy</groupId>
<groupId>io.github.easy4j</groupId>
<artifactId>pf4j2-plugin</artifactId>
<version>1.0.0-SNAPSHOT</version>
</parent>
Expand Down Expand Up @@ -69,9 +69,9 @@
</annotationProcessors>
<defaultLibBundleDir>lib</defaultLibBundleDir>
<!-- 源代码编译版本 -->
<source>1.7</source>
<source>1.8</source>
<!-- 目标平台编译版本 -->
<target>1.7</target>
<target>1.8</target>
<!-- 字符集编码 -->
<encoding>${project.build.sourceEncoding}</encoding>
<!-- -->
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<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>io.github.hiwepy</groupId>
<groupId>io.github.easy4j</groupId>
<artifactId>pf4j2-plugin</artifactId>
<version>1.0.0-SNAPSHOT</version>
</parent>
Expand Down Expand Up @@ -69,9 +69,9 @@
</annotationProcessors>
<defaultLibBundleDir>lib</defaultLibBundleDir>
<!-- 源代码编译版本 -->
<source>1.7</source>
<source>1.8</source>
<!-- 目标平台编译版本 -->
<target>1.7</target>
<target>1.8</target>
<!-- 字符集编码 -->
<encoding>${project.build.sourceEncoding}</encoding>
<!-- -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
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>io.github.hiwepy</groupId>
<groupId>io.github.easy4j</groupId>
<artifactId>pf4j2-plugin</artifactId>
<version>1.0.0-SNAPSHOT</version>
</parent>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
import org.pf4j.PluginManager;
import org.pf4j.PluginWrapper;
import org.pf4j.RuntimeMode;
import org.pf4j.spring.boot.ext.Pf4jJarPluginManager;

import pf4j2.plugin.api.AuthcExtensionPoint;
import pf4j2.plugin.api.annotation.ExtensionMapping;
Expand Down
Loading
Loading