You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@shiro.apache.org by bd...@apache.org on 2021/04/22 03:37:21 UTC

[shiro] 03/03: Configure japicmp to work with new single spring boot starter

This is an automated email from the ASF dual-hosted git repository.

bdemers pushed a commit to branch single-spring-1-8
in repository https://gitbox.apache.org/repos/asf/shiro.git

commit 246b9cd1b0c3eb6f5289cddcbf56a6c3141313a1
Author: Brian Demers <bd...@apache.org>
AuthorDate: Wed Apr 21 23:30:57 2021 -0400

    Configure japicmp to work with new single spring boot starter
---
 support/spring-boot/spring-boot-starter/pom.xml    | 27 ++++++++++++++++++++++
 .../spring-boot/spring-boot-web-starter/pom.xml    |  6 +++++
 2 files changed, 33 insertions(+)

diff --git a/support/spring-boot/spring-boot-starter/pom.xml b/support/spring-boot/spring-boot-starter/pom.xml
index a19c1fb..aaf7236 100644
--- a/support/spring-boot/spring-boot-starter/pom.xml
+++ b/support/spring-boot/spring-boot-starter/pom.xml
@@ -86,4 +86,31 @@
 
     </dependencies>
 
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>com.github.siom79.japicmp</groupId>
+                <artifactId>japicmp-maven-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <id>single-boot-jar</id>
+                        <goals>
+                            <goal>cmp</goal>
+                        </goals>
+                        <configuration>
+                            <oldVersion>
+                                <dependency>
+                                    <!-- This project was moved into another jar -->
+                                    <groupId>${project.groupId}</groupId>
+                                    <artifactId>shiro-spring-boot-web-starter</artifactId>
+                                    <version>${shiro.previousVersion}</version>
+                                    <type>jar</type>
+                                </dependency>
+                            </oldVersion>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+        </plugins>
+    </build>
 </project>
diff --git a/support/spring-boot/spring-boot-web-starter/pom.xml b/support/spring-boot/spring-boot-web-starter/pom.xml
index cf45dbe..c897046 100644
--- a/support/spring-boot/spring-boot-web-starter/pom.xml
+++ b/support/spring-boot/spring-boot-web-starter/pom.xml
@@ -31,6 +31,12 @@
 
     <artifactId>shiro-spring-boot-web-starter</artifactId>
     <name>Apache Shiro :: Support :: Spring Boot Web</name>
+    <description>Deprecated, these classes were moved to shiro-spring-boot-starter</description>
+
+    <properties>
+        <!-- japicmp config was moved into the combine 'shiro-spring-boot-starter' module -->
+        <japicmp.skip>true</japicmp.skip>
+    </properties>
 
     <dependencies>