Skip to content

Commit 9f8e5c6

Browse files
committed
Configure japicmp to work with new single spring boot starter
1 parent ce743aa commit 9f8e5c6

File tree

2 files changed

+33
-0
lines changed
  • support/spring-boot

2 files changed

+33
-0
lines changed

support/spring-boot/spring-boot-starter/pom.xml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,4 +86,31 @@
8686

8787
</dependencies>
8888

89+
<build>
90+
<plugins>
91+
<plugin>
92+
<groupId>com.github.siom79.japicmp</groupId>
93+
<artifactId>japicmp-maven-plugin</artifactId>
94+
<executions>
95+
<execution>
96+
<id>single-boot-jar</id>
97+
<goals>
98+
<goal>cmp</goal>
99+
</goals>
100+
<configuration>
101+
<oldVersion>
102+
<dependency>
103+
<!-- This project was moved into another jar -->
104+
<groupId>${project.groupId}</groupId>
105+
<artifactId>shiro-spring-boot-web-starter</artifactId>
106+
<version>${shiro.previousVersion}</version>
107+
<type>jar</type>
108+
</dependency>
109+
</oldVersion>
110+
</configuration>
111+
</execution>
112+
</executions>
113+
</plugin>
114+
</plugins>
115+
</build>
89116
</project>

support/spring-boot/spring-boot-web-starter/pom.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,12 @@
3131

3232
<artifactId>shiro-spring-boot-web-starter</artifactId>
3333
<name>Apache Shiro :: Support :: Spring Boot Web</name>
34+
<description>Deprecated, these classes were moved to shiro-spring-boot-starter</description>
35+
36+
<properties>
37+
<!-- japicmp config was moved into the combine 'shiro-spring-boot-starter' module -->
38+
<japicmp.skip>true</japicmp.skip>
39+
</properties>
3440

3541
<dependencies>
3642

0 commit comments

Comments
 (0)