Skip to content

Commit 30ea4c3

Browse files
committed
Merge remote-tracking branch 'origin/update-from-template' into develop
2 parents 91770e9 + b581783 commit 30ea4c3

File tree

10 files changed

+37
-65
lines changed

10 files changed

+37
-65
lines changed

.github/dependabot.yml

Lines changed: 0 additions & 22 deletions
This file was deleted.

.github/workflows/checkBuild.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ jobs:
7272

7373
code-style:
7474
runs-on: ubuntu-latest
75+
if: ${{ github.event_name != 'pull_request' || !startsWith(github.head_ref, 'renovate/') }}
7576

7677
strategy:
7778
matrix:

.github/workflows/release.yml

Lines changed: 8 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -60,12 +60,13 @@ jobs:
6060
6161
- name: Un-SNAP
6262
run: |
63+
mvnwPath=$(readlink -f ./mvnw)
6364
modules=("") # root
6465
modules+=($(grep -ozP '(?<=module>)[^<]+' 'pom.xml' | tr -d '\0'))
6566
for i in "${modules[@]}"
6667
do
6768
echo "Processing $i/pom.xml"
68-
(cd "$i" && ../mvnw -B versions:set -DremoveSnapshot -DgenerateBackupPoms=false)
69+
(cd "$i" && $mvnwPath -B versions:set -DremoveSnapshot -DgenerateBackupPoms=false)
6970
done
7071
7172
- name: Get version
@@ -137,7 +138,6 @@ jobs:
137138
working-directory: ${{ env.PRIMARY_MAVEN_MODULE }}
138139

139140
publish-pages:
140-
name: Publish dependencies and licenses to github pages
141141
runs-on: ubuntu-latest
142142
needs: [prepare_release]
143143
steps:
@@ -156,40 +156,15 @@ jobs:
156156
distribution: 'temurin'
157157
cache: 'maven'
158158

159-
- name: Build dependencies/licenses files
160-
run: mvn -B project-info-reports:dependencies
159+
- name: Build site
160+
run: ../mvnw -B site
161161
working-directory: ${{ env.PRIMARY_MAVEN_MODULE }}
162162

163-
- name: Upload licenses - Upload Artifact
164-
uses: actions/upload-artifact@v4
165-
with:
166-
name: dependencies-licenses
167-
path: ${{ env.PRIMARY_MAVEN_MODULE }}/target/site
168-
169-
- name: Generate docs/dependencies dir
170-
run: mkdir -p docs/dependencies
171-
172-
- name: Move built files into docs/dependencies
173-
run: mv ${{ env.PRIMARY_MAVEN_MODULE }}/target/site/* docs/dependencies
174-
175-
- name: Rename dependencies.html to index.html
176-
working-directory: docs/dependencies
177-
run: mv dependencies.html index.html
178-
179-
- name: Copy Readme into docs (as index.md)
180-
run: cp README.md docs/index.md
181-
182-
- name: Configure Pages
183-
working-directory: docs
184-
run: |-
185-
echo "theme: jekyll-theme-tactile" > _config.yml
186-
187163
- name: Deploy to Github pages
188-
uses: peaceiris/actions-gh-pages@v3
164+
uses: peaceiris/actions-gh-pages@v4
189165
with:
190166
github_token: ${{ secrets.GITHUB_TOKEN }}
191-
publish_dir: ./docs
192-
enable_jekyll: true
167+
publish_dir: ./${{ env.PRIMARY_MAVEN_MODULE }}/target/site
193168

194169
after_release:
195170
runs-on: ubuntu-latest
@@ -205,12 +180,13 @@ jobs:
205180
206181
- name: Inc Version and SNAP
207182
run: |
183+
mvnwPath=$(readlink -f ./mvnw)
208184
modules=("") # root
209185
modules+=($(grep -ozP '(?<=module>)[^<]+' 'pom.xml' | tr -d '\0'))
210186
for i in "${modules[@]}"
211187
do
212188
echo "Processing $i/pom.xml"
213-
(cd "$i" && ../mvnw -B build-helper:parse-version versions:set -DnewVersion=\${parsedVersion.majorVersion}.\${parsedVersion.minorVersion}.\${parsedVersion.nextIncrementalVersion} -DgenerateBackupPoms=false -DnextSnapshot=true)
189+
(cd "$i" && $mvnwPath -B build-helper:parse-version versions:set -DnewVersion=\${parsedVersion.majorVersion}.\${parsedVersion.minorVersion}.\${parsedVersion.nextIncrementalVersion} -DgenerateBackupPoms=false -DnextSnapshot=true)
214190
done
215191
216192
- name: Git Commit and Push

.github/workflows/sonar.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,7 @@ jobs:
2727
sonar:
2828
name: SonarCloud Scan
2929
runs-on: ubuntu-latest
30-
# Dependabot PRs have no access to secrets (SONAR_TOKEN) -> Ignore them
31-
if: ${{ github.event_name != 'pull_request' || !startsWith(github.head_ref, 'dependabot/') }}
30+
if: ${{ github.event_name != 'pull_request' || !startsWith(github.head_ref, 'renovate/') }}
3231
steps:
3332
- uses: actions/checkout@v4
3433
with:

.idea/checkstyle-idea.xml

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.mvn/wrapper/maven-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@
1414
# KIND, either express or implied. See the License for the
1515
# specific language governing permissions and limitations
1616
# under the License.
17-
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.5/apache-maven-3.9.5-bin.zip
17+
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.6/apache-maven-3.9.6-bin.zip
1818
wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.2.0/maven-wrapper-3.2.0.jar

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,4 +81,4 @@ use [our support](https://xdev.software/en/services/support).
8181
See the [contributing guide](./CONTRIBUTING.md) for detailed instructions on how to get started with our project.
8282
8383
## Dependencies and Licenses
84-
View the [license of the current project](LICENSE) or the [summary including all dependencies](https://xdev-software.github.io/spring-data-eclipse-store/dependencies/)
84+
View the [license of the current project](LICENSE) or the [summary including all dependencies](https://xdev-software.github.io/spring-data-eclipse-store/dependencies)

renovate.json5

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3+
"rebaseWhen": "behind-base-branch"
4+
}

spring-data-eclipse-store-demo/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@
103103
<dependency>
104104
<groupId>com.puppycrawl.tools</groupId>
105105
<artifactId>checkstyle</artifactId>
106-
<version>10.14.2</version>
106+
<version>10.15.0</version>
107107
</dependency>
108108
</dependencies>
109109
<configuration>

spring-data-eclipse-store/pom.xml

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
<scm>
1717
<url>https://github.com/xdev-software/spring-data-eclipse-store</url>
18-
<connection>https://github.com/xdev-software/spring-data-eclipse-store.git</connection>
18+
<connection>scm:git:https://github.com/xdev-software/spring-data-eclipse-store.git</connection>
1919
</scm>
2020

2121
<inceptionYear>2023</inceptionYear>
@@ -192,6 +192,20 @@
192192
</distributionManagement>
193193

194194
<build>
195+
<pluginManagement>
196+
<plugins>
197+
<plugin>
198+
<groupId>org.apache.maven.plugins</groupId>
199+
<artifactId>maven-site-plugin</artifactId>
200+
<version>4.0.0-M13</version>
201+
</plugin>
202+
<plugin>
203+
<groupId>org.apache.maven.plugins</groupId>
204+
<artifactId>maven-project-info-reports-plugin</artifactId>
205+
<version>3.5.0</version>
206+
</plugin>
207+
</plugins>
208+
</pluginManagement>
195209
<plugins>
196210
<plugin>
197211
<groupId>com.mycila</groupId>
@@ -270,7 +284,7 @@
270284
<plugin>
271285
<groupId>org.apache.maven.plugins</groupId>
272286
<artifactId>maven-source-plugin</artifactId>
273-
<version>3.3.0</version>
287+
<version>3.3.1</version>
274288
<executions>
275289
<execution>
276290
<id>attach-sources</id>
@@ -291,7 +305,7 @@
291305
<plugin>
292306
<groupId>org.apache.maven.plugins</groupId>
293307
<artifactId>maven-gpg-plugin</artifactId>
294-
<version>3.2.1</version>
308+
<version>3.2.3</version>
295309
<executions>
296310
<execution>
297311
<id>sign-artifacts</id>
@@ -339,7 +353,7 @@
339353
<dependency>
340354
<groupId>com.puppycrawl.tools</groupId>
341355
<artifactId>checkstyle</artifactId>
342-
<version>10.14.2</version>
356+
<version>10.15.0</version>
343357
</dependency>
344358
</dependencies>
345359
<configuration>

0 commit comments

Comments
 (0)