Skip to content

Commit 7c16c00

Browse files
committed
Add spring-batch-notion
1 parent 01c644f commit 7c16c00

File tree

2 files changed

+45
-138
lines changed

2 files changed

+45
-138
lines changed

.github/workflows/spring-batch-notion.yml

Lines changed: 5 additions & 70 deletions
Original file line numberDiff line numberDiff line change
@@ -17,74 +17,9 @@ env:
1717

1818
jobs:
1919

20-
java-lts:
20+
build:
2121

22-
name: Java ${{ matrix.java }}
23-
strategy:
24-
fail-fast: false
25-
matrix:
26-
java: [ 17, 21 ]
27-
runs-on: ubuntu-latest
28-
29-
steps:
30-
- uses: actions/checkout@v4
31-
- name: Set up Java
32-
uses: actions/setup-java@v4
33-
with:
34-
java-version: ${{ matrix.java }}
35-
distribution: 'zulu'
36-
cache: maven
37-
- name: Test
38-
run: ./mvnw $MAVEN_ARGS verify
39-
40-
java-oracle:
41-
42-
name: Java ${{ matrix.java }}
43-
strategy:
44-
fail-fast: false
45-
matrix:
46-
java: [ 23, 24 ]
47-
runs-on: ubuntu-latest
48-
49-
steps:
50-
- uses: actions/checkout@v4
51-
- name: Set up Java
52-
uses: oracle-actions/setup-java@v1
53-
with:
54-
website: jdk.java.net
55-
release: ${{ matrix.java }}
56-
version: latest
57-
- name: Test
58-
run: ./mvnw $MAVEN_ARGS verify
59-
60-
spring-boot:
61-
62-
name: Spring Boot ${{ matrix.spring }}
63-
strategy:
64-
fail-fast: false
65-
matrix:
66-
spring: [ 3.2.0, 3.2.10, 3.3.0, 3.4.0-M3 ]
67-
runs-on: ubuntu-latest
68-
69-
steps:
70-
- uses: actions/checkout@v4
71-
- name: Set up Java
72-
uses: actions/setup-java@v4
73-
with:
74-
java-version: '21'
75-
distribution: 'zulu'
76-
cache: maven
77-
- name: Set Spring Boot ${{ matrix.spring }}
78-
run: >
79-
./mvnw $MAVEN_ARGS versions:update-parent
80-
-DparentVersion=${{ matrix.spring }}
81-
-DskipResolution
82-
- name: Test
83-
run: ./mvnw $MAVEN_ARGS -Pspring-milestone verify
84-
85-
javadoc:
86-
87-
name: Javadoc
22+
name: Build
8823
runs-on: ubuntu-latest
8924

9025
steps:
@@ -93,7 +28,7 @@ jobs:
9328
uses: actions/setup-java@v4
9429
with:
9530
java-version: '21'
96-
distribution: 'zulu'
31+
distribution: 'temurin'
9732
cache: maven
98-
- name: Generate Javadoc
99-
run: ./mvnw $MAVEN_ARGS javadoc:javadoc
33+
- name: Build with Maven
34+
run: ./mvnw $MAVEN_ARGS verify javadoc:javadoc

spring-batch-notion/pom.xml

Lines changed: 40 additions & 68 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<groupId>org.springframework.boot</groupId>
77
<artifactId>spring-boot-starter-parent</artifactId>
8-
<version>3.3.4</version>
8+
<version>3.3.5</version>
99
<relativePath/>
1010
</parent>
1111

@@ -98,34 +98,12 @@
9898
<dependency>
9999
<groupId>org.wiremock.integrations</groupId>
100100
<artifactId>wiremock-spring-boot</artifactId>
101-
<version>3.0.2</version>
101+
<version>3.0.3</version>
102102
<scope>test</scope>
103103
</dependency>
104104
</dependencies>
105105

106106
<build>
107-
<pluginManagement>
108-
<plugins>
109-
<plugin>
110-
<groupId>org.apache.maven.plugins</groupId>
111-
<artifactId>maven-javadoc-plugin</artifactId>
112-
<configuration>
113-
<additionalDependencies>
114-
<dependency>
115-
<groupId>com.google.code.findbugs</groupId>
116-
<artifactId>jsr305</artifactId>
117-
<version>3.0.2</version>
118-
</dependency>
119-
</additionalDependencies>
120-
<failOnWarnings>true</failOnWarnings>
121-
<links>
122-
<link>https://docs.spring.io/spring-batch/docs/${spring-batch.version}/api/</link>
123-
<link>https://docs.spring.io/spring-framework/docs/${spring-framework.version}/api/</link>
124-
</links>
125-
</configuration>
126-
</plugin>
127-
</plugins>
128-
</pluginManagement>
129107
<plugins>
130108
<plugin>
131109
<groupId>com.mycila</groupId>
@@ -178,6 +156,44 @@ limitations under the License.
178156
</execution>
179157
</executions>
180158
</plugin>
159+
<plugin>
160+
<groupId>org.apache.maven.plugins</groupId>
161+
<artifactId>maven-javadoc-plugin</artifactId>
162+
<configuration>
163+
<additionalDependencies>
164+
<dependency>
165+
<groupId>com.google.code.findbugs</groupId>
166+
<artifactId>jsr305</artifactId>
167+
<version>3.0.2</version>
168+
</dependency>
169+
</additionalDependencies>
170+
<failOnWarnings>true</failOnWarnings>
171+
<links>
172+
<link>https://docs.spring.io/spring-batch/docs/${spring-batch.version}/api/</link>
173+
<link>https://docs.spring.io/spring-framework/docs/${spring-framework.version}/api/</link>
174+
</links>
175+
</configuration>
176+
<executions>
177+
<execution>
178+
<id>attach-javadoc</id>
179+
<goals>
180+
<goal>jar</goal>
181+
</goals>
182+
</execution>
183+
</executions>
184+
</plugin>
185+
<plugin>
186+
<groupId>org.apache.maven.plugins</groupId>
187+
<artifactId>maven-source-plugin</artifactId>
188+
<executions>
189+
<execution>
190+
<id>attach-source</id>
191+
<goals>
192+
<goal>jar-no-fork</goal>
193+
</goals>
194+
</execution>
195+
</executions>
196+
</plugin>
181197
<plugin>
182198
<groupId>org.codehaus.mojo</groupId>
183199
<artifactId>flatten-maven-plugin</artifactId>
@@ -207,48 +223,4 @@ limitations under the License.
207223
</plugin>
208224
</plugins>
209225
</build>
210-
211-
<profiles>
212-
<profile>
213-
<id>release</id>
214-
<build>
215-
<plugins>
216-
<plugin>
217-
<groupId>org.apache.maven.plugins</groupId>
218-
<artifactId>maven-javadoc-plugin</artifactId>
219-
<executions>
220-
<execution>
221-
<id>attach-javadoc</id>
222-
<goals>
223-
<goal>jar</goal>
224-
</goals>
225-
</execution>
226-
</executions>
227-
</plugin>
228-
<plugin>
229-
<groupId>org.apache.maven.plugins</groupId>
230-
<artifactId>maven-source-plugin</artifactId>
231-
<executions>
232-
<execution>
233-
<id>attach-source</id>
234-
<goals>
235-
<goal>jar-no-fork</goal>
236-
</goals>
237-
</execution>
238-
</executions>
239-
</plugin>
240-
</plugins>
241-
</build>
242-
</profile>
243-
<profile>
244-
<id>spring-milestone</id>
245-
<repositories>
246-
<repository>
247-
<id>spring-milestone</id>
248-
<name>Spring Milestones</name>
249-
<url>https://repo.spring.io/milestone</url>
250-
</repository>
251-
</repositories>
252-
</profile>
253-
</profiles>
254226
</project>

0 commit comments

Comments
 (0)