Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revamp/954 all tests pass with latest sbm support rewrite #955

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
372 commits
Select commit Hold shift + click to select a range
b470619
Fix compile errors, needs revisit
fabapp2 Aug 4, 2023
fc9267b
Fix compile errors, needs revisit
fabapp2 Aug 4, 2023
e2a8cd2
Fix compile errors, needs revisit
fabapp2 Aug 4, 2023
05d0edf
Add module sbm-support-jee and cleanup others
fabapp2 Aug 4, 2023
23ec0d3
All modules compile
fabapp2 Aug 4, 2023
d9362bf
Add module sbm-recipes-jee-to-boot
fabapp2 Aug 4, 2023
2ec127a
wip sbm-core
fabapp2 Aug 5, 2023
e506984
Update license headeres
fabapp2 Aug 5, 2023
f5be01a
sbm-core compiles
fabapp2 Aug 5, 2023
2152dcd
Removed sbm-utils which is now in sbm-support-rewrite
fabapp2 Aug 5, 2023
0c3a310
Removed rework dir
fabapp2 Aug 5, 2023
00eee0d
Update year in license-check plugin
fabapp2 Aug 5, 2023
ac09036
Fixed MavenPasswordDecrypter
fabapp2 Aug 5, 2023
a222185
TestProjectContext persists resources
fabapp2 Aug 5, 2023
3a1ea2f
Bump jakarta to matching version
fabapp2 Aug 5, 2023
20e2510
MavenArtifactDownloader moved to sbm-support-rewrite
fabapp2 Aug 5, 2023
59e76bc
Adopt OR changes
fabapp2 Aug 6, 2023
4b98e67
Update javax packages and JavaTemplate
fabapp2 Aug 7, 2023
ba68725
Fix testdata in test which was surfaced by the new parser
fabapp2 Aug 7, 2023
8b5db04
Update year in license-check plugin
fabapp2 Aug 8, 2023
9da054d
Add dependencies
fabapp2 Aug 8, 2023
099f321
Add java version property to test pom
fabapp2 Aug 8, 2023
89b0e4e
Add logging
fabapp2 Aug 8, 2023
37fb9b7
Bump shrinkwrap version to be compatible with Maven deps
fabapp2 Aug 8, 2023
45ebd6a
Fixing stream was closed
fabapp2 Aug 8, 2023
66e52ed
Test fails because parser does not resolve deps
fabapp2 Aug 8, 2023
9c72941
Change access to expected resources in test
fabapp2 Aug 8, 2023
6e0b380
Change test resources from .foo to .properties to access content
fabapp2 Aug 8, 2023
af4d6d7
TestProjectContext uses default root (target) to write resources
fabapp2 Aug 8, 2023
3d99754
Fix compilation errors in testcode
fabapp2 Aug 8, 2023
619306a
Fix endless loop
fabapp2 Aug 8, 2023
7e47a3f
Change test resources from .txt to .properties to access content
fabapp2 Aug 8, 2023
74cd651
Expect different error behaviour
fabapp2 Aug 8, 2023
fe384bf
use temp dir as default
fabapp2 Aug 8, 2023
8bedb0e
Fix compilation errors in testcode
fabapp2 Aug 8, 2023
ee55c54
Fix compilation errors in testcode
fabapp2 Aug 8, 2023
29786bd
Fix tests
fabapp2 Aug 8, 2023
2819863
[maven-release-plugin] prepare release 0.15.1
fabapp2 Aug 6, 2023
f2644ca
[maven-release-plugin] prepare for next development iteration
fabapp2 Aug 6, 2023
5190c59
Moved scope package to sbm-support-rewrite
fabapp2 Aug 8, 2023
6fda8c6
ScanScope handled in parser
fabapp2 Aug 8, 2023
f71e808
Fixing ArchUnit condition after moving scoped beans logic
fabapp2 Aug 8, 2023
2fb1187
Moved JavaParserBuilder into sbm-support-rewrite
fabapp2 Aug 8, 2023
b854911
Fixed some tests
fabapp2 Aug 9, 2023
233ecee
Fix maven setup in test
fabapp2 Aug 9, 2023
c555a76
Fix compile and maven errors in testscode
fabapp2 Aug 9, 2023
baa62c4
Add java version in test pom fixes test
fabapp2 Aug 9, 2023
e850aa2
Fix test
fabapp2 Aug 9, 2023
c690c30
Fix mock in test
fabapp2 Aug 9, 2023
f443295
Add java version in test pom fixes test
fabapp2 Aug 9, 2023
1ccfde3
Fix test
fabapp2 Aug 9, 2023
38e082a
Fix RewriteMigrationResultMerger
fabapp2 Aug 9, 2023
78d477b
Fix tests and adjust to changes in OR 8.1.2
fabapp2 Aug 10, 2023
e8847e1
format
fabapp2 Sep 11, 2023
3c38c13
Fix test and make modules compile
fabapp2 Sep 11, 2023
e1a2371
Changes from origin
fabapp2 Sep 11, 2023
8b3d3aa
Add testcode
fabapp2 Sep 11, 2023
9d8b5a0
Add testcode
fabapp2 Sep 11, 2023
ee34627
Replace shrinkwrap with OpenRewrite
fabapp2 Sep 12, 2023
88f80a0
Fix typo in version
fabapp2 Sep 12, 2023
490bed3
Back to use shrinkwrap in tests
fabapp2 Sep 12, 2023
049b2d1
Replace single-line with multi-line String
fabapp2 Sep 12, 2023
7d246ed
Bumped maven-resolver.version
fabapp2 Sep 12, 2023
10409c8
Parse Maven pom files only once (#921)
fabapp2 Sep 13, 2023
0ff2fe4
Fix parsing duplicate pom files
fabapp2 Sep 12, 2023
5ae4ce5
Refactoring
fabapp2 Sep 13, 2023
20d78fb
Add test proving duplicate parsing of resources
fabapp2 Sep 13, 2023
1b4093f
Fix path calculcation to other modules
fabapp2 Sep 13, 2023
ea95661
Fix test allow SbmCoreConfig construct ExecutionContext
fabapp2 Sep 12, 2023
ecd4fb5
GH Action
fabapp2 Sep 12, 2023
34188d0
Assert correct classpath
fabapp2 Sep 13, 2023
ff2f5c3
Fix testdata
fabapp2 Sep 13, 2023
57b5cf8
Cleanup
fabapp2 Sep 13, 2023
84995fd
Disabled test that must be reactivated later
fabapp2 Sep 13, 2023
dc8f26b
Add missing test projects
fabapp2 Sep 13, 2023
09293a0
Move classes to lower modules (#926)
fabapp2 Sep 13, 2023
fddeac9
Set explicit scope and fix import
fabapp2 Sep 13, 2023
5e9fb24
Bump OpenRewrite to 8.5.0 (#923)
fabapp2 Sep 13, 2023
5ce8f98
Resolved Remediation for Fork in Spring Boot 3.0 (#861)
bsmahi Aug 25, 2023
cb0ca19
Integrating Parser into core
fabapp2 Aug 26, 2023
dfdac36
WIP: Trigger Integration Release
fabapp2 Aug 26, 2023
108b8d2
WIP: Trigger Integration Release
fabapp2 Aug 26, 2023
64b0566
WIP: Trigger Integration Release
fabapp2 Aug 26, 2023
9cb2d66
WIP: Trigger Integration Release
fabapp2 Aug 26, 2023
70cb022
WIP: Trigger Integration Release
fabapp2 Aug 26, 2023
3db8d0c
Add blank line
fabapp2 Aug 28, 2023
c77c76d
Remove commented code
fabapp2 Aug 28, 2023
f3d4010
Remove plugin
fabapp2 Aug 28, 2023
66a8e32
Add artifactory profile
fabapp2 Aug 28, 2023
c713864
Update module description
fabapp2 Aug 28, 2023
6a3b022
Deploy to Artifactory
fabapp2 Aug 28, 2023
a135f99
Deploy to Artifactory
fabapp2 Aug 28, 2023
8016051
Fix action
fabapp2 Aug 28, 2023
e2217c3
Add line break
fabapp2 Aug 28, 2023
0b170e7
Deploy to Artifactory
fabapp2 Aug 28, 2023
6775341
Deploy to Artifactory
fabapp2 Aug 28, 2023
07f5436
Deploy to Artifactory
fabapp2 Aug 29, 2023
0e77c61
build action
fabapp2 Aug 29, 2023
23cc177
build action
fabapp2 Aug 29, 2023
a64e572
build action
fabapp2 Aug 29, 2023
181c1d0
build action
fabapp2 Aug 29, 2023
33542ec
build action
fabapp2 Aug 29, 2023
1a79f5e
build action
fabapp2 Aug 29, 2023
6bcbec6
build action
fabapp2 Aug 29, 2023
88dc4ef
875 new parser fails due to checkstyle (#891)
fabapp2 Aug 29, 2023
eb33f38
Update year in copyright (#894)
fabapp2 Aug 30, 2023
705dc12
Fix/main branch (#900)
fabapp2 Aug 31, 2023
6e9b951
869 move scoped beans logic from core to support rewrite (#903)
fabapp2 Sep 1, 2023
499d300
Revamp/902 maven files are parsed multiple times with maven (#904)
fabapp2 Sep 1, 2023
28eaafb
Revamp/custom event listener (#905)
fabapp2 Sep 1, 2023
dbb171b
Revamp/855 make pomCache configurable through properties (#907)
fabapp2 Sep 4, 2023
dee761d
Revamp/snapshot build (#908)
fabapp2 Sep 4, 2023
3a84516
Revamp/autoconfiguration (#911)
fabapp2 Sep 6, 2023
1c6a0e4
Custom MavenArtifactCache Spring bean can be provided (#912)
fabapp2 Sep 8, 2023
cc02869
Revamp/move generic or recipe (#915)
fabapp2 Sep 11, 2023
3f60688
Bump OpenRewrite (#917)
fabapp2 Sep 11, 2023
3fcebbd
Adds temp test (#919)
fabapp2 Sep 11, 2023
45e8dce
Remove version not required
fabapp2 Aug 4, 2023
188e765
Fix compile errors
fabapp2 Aug 4, 2023
d89a7a4
merged with 871
fabapp2 Sep 14, 2023
6deedca
rebasing
fabapp2 Sep 14, 2023
04ce366
Update license headeres
fabapp2 Aug 5, 2023
41653ff
sbm-core compiles
fabapp2 Aug 5, 2023
352d81e
Removed sbm-utils which is now in sbm-support-rewrite
fabapp2 Aug 5, 2023
ce40baa
Update year in license-check plugin
fabapp2 Aug 5, 2023
0ed9465
Update javax packages and JavaTemplate
fabapp2 Aug 7, 2023
010b505
Add logging
fabapp2 Aug 8, 2023
8e78914
Test fails because parser does not resolve deps
fabapp2 Aug 8, 2023
6c921e1
[maven-release-plugin] prepare release 0.15.1
fabapp2 Aug 6, 2023
e920b52
[maven-release-plugin] prepare for next development iteration
fabapp2 Aug 6, 2023
ddead62
Moved scope package to sbm-support-rewrite
fabapp2 Aug 8, 2023
5634da6
ScanScope handled in parser
fabapp2 Aug 8, 2023
b7914f2
Fixing ArchUnit condition after moving scoped beans logic
fabapp2 Aug 8, 2023
24b7a67
Fixed some tests
fabapp2 Aug 9, 2023
96b804a
format
fabapp2 Sep 11, 2023
b9734a1
Fix test and make modules compile
fabapp2 Sep 11, 2023
4a4bf75
Changes from origin
fabapp2 Sep 11, 2023
0ac3764
Add testcode
fabapp2 Sep 11, 2023
38336b7
Add testcode
fabapp2 Sep 11, 2023
8776e7e
Replace shrinkwrap with OpenRewrite
fabapp2 Sep 12, 2023
edca3a6
Back to use shrinkwrap in tests
fabapp2 Sep 12, 2023
08f10f5
Replace single-line with multi-line String
fabapp2 Sep 12, 2023
a0b6c61
Bumped maven-resolver.version
fabapp2 Sep 12, 2023
ad4c42a
Fix parsing duplicate pom files
fabapp2 Sep 12, 2023
97a3d9c
Refactoring
fabapp2 Sep 13, 2023
1b80095
Add test proving duplicate parsing of resources
fabapp2 Sep 13, 2023
5553dfb
Fix path calculcation to other modules
fabapp2 Sep 13, 2023
5206150
Fix test allow SbmCoreConfig construct ExecutionContext
fabapp2 Sep 12, 2023
770e45d
GH Action
fabapp2 Sep 12, 2023
651890c
Assert correct classpath
fabapp2 Sep 13, 2023
6aeede7
Fix testdata
fabapp2 Sep 13, 2023
e7ff4a2
Cleanup
fabapp2 Sep 13, 2023
dc68618
Disabled test that must be reactivated later
fabapp2 Sep 13, 2023
67121b1
Add missing test projects
fabapp2 Sep 13, 2023
62d501d
Move classes to lower modules (#926)
fabapp2 Sep 13, 2023
d4b0987
Set explicit scope and fix import
fabapp2 Sep 13, 2023
0544fe7
Fixed problems in support-rewrite after rebase
fabapp2 Sep 14, 2023
4148b6a
Fixed problems in support-rewrite after rebase
fabapp2 Sep 14, 2023
ac5e76b
Fix imports
fabapp2 Sep 14, 2023
60d44bc
Fix imports
fabapp2 Sep 14, 2023
a1d14b5
Fix imports
fabapp2 Sep 14, 2023
54de4bc
Merge remote-tracking branch 'origin/858-incorporate-new-parser-into-…
fabapp2 Sep 14, 2023
732a76e
Add missing resolver dep to resolve dependencies
fabapp2 Sep 14, 2023
2679c1d
Handle null exclusions of dependencies
fabapp2 Sep 14, 2023
3ffc2e4
Comment dummy code
fabapp2 Sep 14, 2023
a56000f
Fix assertions
fabapp2 Sep 14, 2023
30a770c
Fix test
fabapp2 Sep 14, 2023
8bd16da
Move JavaHelper to support-rewrite
fabapp2 Sep 14, 2023
2bf0c52
Fix errors
fabapp2 Sep 14, 2023
7c6a6cb
Added comment in failing test
fabapp2 Sep 14, 2023
6f4ab18
Fix license header
fabapp2 Sep 15, 2023
90d223f
Delete unused class
fabapp2 Sep 15, 2023
40706e6
Replace deprecated method call
fabapp2 Sep 15, 2023
f07d087
Bump OR to 8.5.1
fabapp2 Sep 15, 2023
1498b92
Removed tmp test
fabapp2 Sep 15, 2023
b59b6ea
Fix Module search by dependency GAV
fabapp2 Sep 15, 2023
bd5fafa
Cleanup
fabapp2 Sep 19, 2023
1eae0bb
Add additional assert proving type is in use
fabapp2 Sep 19, 2023
a03d015
Revamp/fix autoconfiguration (#938)
fabapp2 Sep 20, 2023
9521365
Fix compile errors
fabapp2 Aug 4, 2023
ab04c54
sbm-core
fabapp2 Aug 5, 2023
68b26af
Copied modules and fixed some compile errors
fabapp2 Aug 4, 2023
1a7f008
Add module sbm-recipes-boot-upgrade
fabapp2 Aug 4, 2023
4847ec9
Fix compile errors, needs revisit
fabapp2 Aug 4, 2023
289fe64
Fix compile errors, needs revisit
fabapp2 Aug 4, 2023
1195f26
Fix compile errors, needs revisit
fabapp2 Aug 4, 2023
92f7fe1
Fix compile errors, needs revisit
fabapp2 Aug 4, 2023
446d6fa
Add module sbm-support-jee and cleanup others
fabapp2 Aug 4, 2023
a2416d4
All modules compile
fabapp2 Aug 4, 2023
8230705
Add module sbm-recipes-jee-to-boot
fabapp2 Aug 4, 2023
fe838bb
Fixed some compile errors
fabapp2 Aug 4, 2023
51dab22
Fix compile errors
fabapp2 Aug 4, 2023
64bcfaa
Merged with main
fabapp2 Aug 4, 2023
d6ea1ad
Copied modules and fixed some compile errors
fabapp2 Aug 4, 2023
b93bc5e
Add module sbm-recipes-boot-upgrade
fabapp2 Aug 4, 2023
5b6b2d8
Fix compile errors, needs revisit
fabapp2 Aug 4, 2023
4d25b20
Fix compile errors, needs revisit
fabapp2 Aug 4, 2023
c98b51b
Fix compile errors, needs revisit
fabapp2 Aug 4, 2023
8251e61
Fix compile errors, needs revisit
fabapp2 Aug 4, 2023
5d37071
Add module sbm-support-jee and cleanup others
fabapp2 Aug 4, 2023
da61e12
All modules compile
fabapp2 Aug 4, 2023
449236b
Add module sbm-recipes-jee-to-boot
fabapp2 Aug 4, 2023
35dd0b2
Update license headeres
fabapp2 Aug 5, 2023
6aeedf2
Removed sbm-utils which is now in sbm-support-rewrite
fabapp2 Aug 5, 2023
25e0f3a
Removed rework dir
fabapp2 Aug 5, 2023
22deefe
Fixed MavenPasswordDecrypter
fabapp2 Aug 5, 2023
291b931
Test fails because parser does not resolve deps
fabapp2 Aug 8, 2023
ae31f64
[maven-release-plugin] prepare for next development iteration
fabapp2 Aug 6, 2023
3ebd16d
Moved scope package to sbm-support-rewrite
fabapp2 Aug 8, 2023
55a5cc5
ScanScope handled in parser
fabapp2 Aug 8, 2023
bf064bd
Moved JavaParserBuilder into sbm-support-rewrite
fabapp2 Aug 8, 2023
9ca77a4
Fix test and make modules compile
fabapp2 Sep 11, 2023
4423dc8
Changes from origin
fabapp2 Sep 11, 2023
20a76a8
Add testcode
fabapp2 Sep 11, 2023
0fe60f7
Ignore license headers in independent sub module
fabapp2 Sep 20, 2023
63a331e
Merge branch 'version/revamp' into 858-incorporate-new-parser-into-core
fabapp2 Sep 20, 2023
306ec47
Fixed merge problems
fabapp2 Sep 20, 2023
e162e83
Fix parsing duplicate pom files
fabapp2 Sep 12, 2023
a67f48e
Add test proving duplicate parsing of resources
fabapp2 Sep 13, 2023
884c01a
Fix path calculcation to other modules
fabapp2 Sep 13, 2023
a683b30
Disabled test that must be reactivated later
fabapp2 Sep 13, 2023
dcb5024
Move JavaSourceUtil to sbm-support-rewrite
fabapp2 Sep 13, 2023
22e5947
Move OpenRewriteTestSupport to test-helper
fabapp2 Sep 13, 2023
b5b637b
Back to use shrinkwrap in tests
fabapp2 Sep 12, 2023
e70d5be
Back to use shrinkwrap in tests
fabapp2 Sep 12, 2023
9187c10
Revamp/move open rewrite test support to test helper (#939)
fabapp2 Sep 20, 2023
72a186a
Fixed assert
fabapp2 Sep 24, 2023
f48a9eb
Build runs
fabapp2 Sep 24, 2023
79ee7f3
858 incorporate new parser into core (#868)
fabapp2 Sep 24, 2023
c240066
Fix pom
fabapp2 Sep 24, 2023
1644ebe
Fix build file
fabapp2 Sep 24, 2023
4999393
Merge branch 'main' into version/revamp
fabapp2 Sep 24, 2023
e6010a1
Change build to test working modules
fabapp2 Sep 24, 2023
311a36b
Tweak action message
fabapp2 Sep 24, 2023
7bb6f09
Change build to test working modules
fabapp2 Sep 24, 2023
045da6c
Tweak Build
fabapp2 Sep 25, 2023
676b742
Tweak Build
fabapp2 Sep 25, 2023
decfc3f
Fix merge conflicts
fabapp2 Sep 25, 2023
da296f7
Fix build action name
fabapp2 Sep 25, 2023
67f1eca
Fix build action name
fabapp2 Sep 25, 2023
b8fe584
Fix build action name
fabapp2 Sep 25, 2023
15e3bf6
Fix build action name
fabapp2 Sep 25, 2023
4a3e42e
Revamp/945 decouple sbm support rewrite from maven (#946)
fabapp2 Sep 28, 2023
2b7ffa7
Revamp/949 move projectresourceset related classes to sbm support rew…
fabapp2 Sep 29, 2023
8d3cda1
Revamp/947 cleanup sbm support rewrite (#951)
fabapp2 Oct 9, 2023
00bb1c2
Fix test JavaParser parses sources with compile error
fabapp2 Oct 9, 2023
b030a9b
Revert "Fix test JavaParser parses sources with compile error"
fabapp2 Oct 9, 2023
15e4231
Add missing bean
fabapp2 Oct 9, 2023
5368730
Implement empty method
fabapp2 Oct 9, 2023
62ab54e
Expect passing tests in build
fabapp2 Oct 9, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 3 additions & 1 deletion .github/workflows/build-sbm-legacy.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
name: Build
name: Build SBM Legacy
on:
push:
branches:
- "**"
branches-ignore:
- "version/revamp"
paths-ignore:
- "sbm-support-rewrite/**"
jobs:
Expand Down
62 changes: 62 additions & 0 deletions .github/workflows/build-sbm-revamp.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
name: Build SBM Revamp
on:
push:
branches-ignore:
- "main"
jobs:
build:
runs-on: ubuntu-latest
steps:

- name: Checkout
uses: actions/checkout@v3

- name: Setup Java
uses: actions/setup-java@v2
with:
distribution: 'zulu'
java-version: 17
cache: 'maven'

- name: sbm-support-rewrite (build + test)
working-directory: sbm-support-rewrite
run: mvn --batch-mode clean install

- name: clean install skipTests
run: mvn clean install -DskipTests

- name: clean
run: mvn clean

- name: spring-boot-migrator (pom)
run: mvn --batch-mode install --projects :spring-boot-migrator

- name: test-helper (build + test)
run: mvn --batch-mode install --projects :test-helper

- name: sbm-openrewrite (build + test)
run: mvn --batch-mode install --projects :sbm-openrewrite

- name: sbm-core (build + test)
run: mvn --batch-mode install --projects :sbm-core

- name: recipe-test-support (build)
run: mvn -DskipTests --batch-mode install --projects :recipe-test-support

- name: sbm-support-boot (build)
run: mvn -DskipTests --batch-mode install --projects :sbm-support-boot

- name: sbm-support-jee (build)
run: mvn -DskipTests --batch-mode install --projects :sbm-support-jee

- name: sbm-support-weblogic (build)
run: mvn -DskipTests --batch-mode install --projects :sbm-support-weblogic

- name: sbm-recipes-jee-to-boot (build)
run: mvn -DskipTests --batch-mode install --projects :sbm-recipes-jee-to-boot

- name: sbm-recipes-spring-cloud (build)
run: mvn -DskipTests --batch-mode install --projects :sbm-recipes-spring-cloud

- name: sbm-recipes-boot-upgrade (build)
run: mvn -DskipTests --batch-mode install --projects :sbm-recipes-boot-upgrade
39 changes: 10 additions & 29 deletions .github/workflows/build-sbm-support-rewrite.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build
name: Build SBM Support Rewrite
on:
push:
branches:
Expand All @@ -17,7 +17,7 @@ jobs:
uses: actions/checkout@v3

- name: Setup Java
uses: actions/setup-java@v2
uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: 17
Expand All @@ -26,30 +26,11 @@ jobs:
- name: Maven Build
run: mvn --batch-mode clean package

# - name: Setup JFrog CLI
# uses: jfrog/setup-jfrog-cli@v3
# with:
# version: 2.46.2
# env:
# JF_ARTIFACTORY_SPRING: ${{ secrets.JF_ARTIFACTORY_SPRING }}
# MAVEN_REPO_ID: repo.spring.io
# MAVEN_REPO_URL: https://repo.spring.io/libs-snapshot-local
# # This command adds a new server configuration to the JFrog CLI
# - run: |
# export SERVER_ID="repo.spring.io"
# jf c add $SERVER_ID --url=https://repo.spring.io/libs-snapshot-local --access-token=${{ secrets.JF_ARTIFACTORY_SPRING }} --interactive=false
#
# - name: Deploy to Artifactory
# run: |
# jfrog mvnc \
# --server-id-deploy $SERVER_ID \
# --repo-deploy-releases release \
# --repo-deploy-snapshots snapshot
# echo JFROG_CLI_BUILD_NAME=sbm-support-rewrite >> $GITHUB_ENV
# echo JFROG_CLI_BUILD_NUMBER=$GITHUB_RUN_NUMBER >> $GITHUB_ENV
# - name: Build and Publish
# env:
# DISABLE_SAMPLES: true
# run: |
# jfrog mvn clean install --repo=repo.spring.io
# jfrog build-publish
- name: Deploy to Artifactory
env:
ARTIFACTORY_USERNAME: ${{ secrets.ARTIFACTORY_USERNAME }}
ARTIFACTORY_PASSWORD: ${{ secrets.ARTIFACTORY_PASSWORD }}
GRADLE_ENTERPRISE_CACHE_USERNAME: ${{ secrets.GRADLE_ENTERPRISE_CACHE_USER }}
GRADLE_ENTERPRISE_CACHE_PASSWORD: ${{ secrets.GRADLE_ENTERPRISE_CACHE_PASSWORD }}
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_SECRET_ACCESS_KEY }}
run: mvn -B clean deploy -Partifactory,delombok
Original file line number Diff line number Diff line change
Expand Up @@ -13,22 +13,6 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/

/*
* Copyright 2021 - 2022 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.springframework.sbm.shell;

import lombok.RequiredArgsConstructor;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
import javax.persistence.Entity;
import javax.persistence.OneToMany;
import javax.persistence.Table;
import javax.validation.constraints.Digits;
import jakarta.validation.constraints.Digits;

import org.hibernate.validator.constraints.NotEmpty;
import org.springframework.beans.support.MutableSortDefinition;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.servlet.ModelAndView;

import javax.validation.Valid;
import jakarta.validation.Valid;
import java.util.Collection;
import java.util.Map;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
import org.springframework.web.bind.WebDataBinder;
import org.springframework.web.bind.annotation.*;

import javax.validation.Valid;
import jakarta.validation.Valid;
import java.util.Collection;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
import org.springframework.web.bind.WebDataBinder;
import org.springframework.web.bind.annotation.*;

import javax.validation.Valid;
import jakarta.validation.Valid;
import java.util.Map;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
import java.util.Locale;
import java.util.Set;

import javax.validation.ConstraintViolation;
import javax.validation.Validator;
import jakarta.validation.ConstraintViolation;
import jakarta.validation.Validator;

import org.junit.Test;
import org.springframework.context.i18n.LocaleContextHolder;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
import org.openrewrite.maven.UpdateMavenModel;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.sbm.build.impl.OpenRewriteMavenBuildFile;
import org.springframework.sbm.build.migration.conditions.AnyDeclaredDependencyExistMatchingRegex;
import org.springframework.sbm.build.migration.recipe.RemoveMavenPlugin;
import org.springframework.sbm.engine.recipe.Action;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
import org.springframework.sbm.engine.context.ProjectContext;
import org.springframework.sbm.engine.recipe.Recipe;
import org.springframework.sbm.engine.recipe.UserInteractions;
import org.springframework.sbm.openrewrite.RewriteExecutionContext;
import org.springframework.sbm.parsers.RewriteExecutionContext;
import org.springframework.sbm.project.parser.ProjectContextInitializer;
import org.springframework.sbm.spring.migration.actions.InitDataSourceAfterJpaInitAction;
import org.springframework.sbm.test.ProjectContextFileSystemTestSupport;
Expand Down
5 changes: 5 additions & 0 deletions components/recipe-test-support/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,11 @@
<type>test-jar</type>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>2.13.0</version>
</dependency>
</dependencies>

</project>
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
import org.springframework.core.io.Resource;
import org.springframework.sbm.engine.commands.ScanCommand;
import org.springframework.sbm.engine.context.ProjectContext;
import org.springframework.sbm.openrewrite.RewriteExecutionContext;
import org.springframework.sbm.project.parser.ProjectContextInitializer;

import java.io.IOException;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
*/
package org.springframework.sbm.test;

import org.apache.commons.io.FileUtils;
import org.springframework.sbm.engine.commands.ApplicableRecipeListCommand;
import org.springframework.sbm.engine.commands.ApplyCommand;
import org.springframework.sbm.engine.commands.ScanCommand;
Expand All @@ -26,7 +27,6 @@
import freemarker.template.Configuration;
import lombok.AccessLevel;
import lombok.Setter;
import org.apache.commons.io.FileUtils;
import org.springframework.core.io.FileSystemResource;
import org.springframework.core.io.Resource;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
*/
package org.springframework.sbm.test;

import org.springframework.sbm.boot.autoconfigure.ScopeConfiguration;
import org.springframework.sbm.build.impl.MavenBuildFileRefactoringFactory;
import org.springframework.sbm.build.impl.MavenSettingsInitializer;
import org.springframework.sbm.build.impl.RewriteMavenParser;
Expand All @@ -29,7 +30,6 @@
import org.springframework.sbm.project.resource.ResourceHelper;
import org.springframework.sbm.scopes.ExecutionScope;
import org.springframework.sbm.scopes.ScanScope;
import org.springframework.sbm.scopes.ScopeConfiguration;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Primary;
Expand All @@ -38,7 +38,7 @@
import org.springframework.stereotype.Component;
import org.springframework.validation.beanvalidation.LocalValidatorFactoryBean;

import javax.validation.Validator;
import jakarta.validation.Validator;
import java.nio.file.Path;
import java.util.*;
import java.util.function.Consumer;
Expand Down Expand Up @@ -69,7 +69,7 @@ private RecipeTestSupport() {
DefaultActionDeserializer.class,
RewriteJavaSearchActionDeserializer.class,
RewriteRecipeLoader.class,
RewriteMigrationResultMerger.class,
MigrationResultProjectContextMerger.class,
RewriteSourceFileWrapper.class,
SbmRecipeLoader.class,
BasePackageCalculator.class,
Expand Down
33 changes: 22 additions & 11 deletions components/sbm-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,19 +26,21 @@

<artifactId>sbm-core</artifactId>

<properties>
<java.version>17</java.version>
</properties>

<dependencies>
<dependency>
<groupId>org.springframework.sbm</groupId>
<artifactId>sbm-openrewrite</artifactId>
<version>0.15.2-SNAPSHOT</version>
</dependency>

<dependency>
<groupId>org.springframework.sbm</groupId>
<artifactId>sbm-utils</artifactId>
<version>0.15.2-SNAPSHOT</version>
<groupId>org.springframework.experimental</groupId>
<artifactId>sbm-support-rewrite</artifactId>
<version>0.1.0-SNAPSHOT</version>
</dependency>

<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-freemarker</artifactId>
Expand All @@ -61,6 +63,10 @@
<groupId>org.openrewrite</groupId>
<artifactId>rewrite-maven</artifactId>
</dependency>
<dependency>
<groupId>org.openrewrite</groupId>
<artifactId>rewrite-xml</artifactId>
</dependency>
<dependency>
<groupId>org.openrewrite</groupId>
<artifactId>rewrite-java</artifactId>
Expand Down Expand Up @@ -124,11 +130,11 @@
<dependency>
<groupId>org.glassfish</groupId>
<artifactId>jakarta.el</artifactId>
<version>3.0.3</version>
<version>5.0.0-M1</version>
</dependency>
<dependency>
<groupId>javax.annotation</groupId>
<artifactId>javax.annotation-api</artifactId>
<groupId>jakarta.annotation</groupId>
<artifactId>jakarta.annotation-api</artifactId>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
Expand Down Expand Up @@ -167,13 +173,18 @@
<classifier>tests</classifier>
<scope>test</scope>
</dependency>
<dependency>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>2.13.0</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.dataformat</groupId>
<artifactId>jackson-dataformat-xml</artifactId>
<version>2.14.1</version>
</dependency>

</dependencies>
</dependencies>
<build>
<plugins>
<plugin>
Expand Down
Loading
Loading