How to do a Maven to Gradle migration on a Java Spring Boot project

preview_player
Показать описание
If you're looking to migrate your project from Maven to Gradle then follow this simple step-by-step process explained in this video.

We'll use an example Spring Boot application which builds in Maven, and within 8 steps convert it to Gradle.

Gradle is a build automation tools which offers a less verbose Groovy syntax, incremental builds, and potential significant speed improvements.

▶️ step 1: run a build scan on the Maven build 4:03
▶️ step 2: run an automatic conversion 6:12
▶️ step 3: build your project and work through any errors 9:25
▶️ step 4: compare the built artifacts 10:25
▶️ step 5: run a build scan on the Gradle build 13:28
▶️ step 6: convert plugins 14:43
▶️ step 7: ensure tests re running 15:52
▶️ step 8: manually test the application 17:07

VIDEO RESOURCES
Рекомендации по теме
Комментарии
Автор

thanks for sharing it! I'm sure your channel will grow a lot soon :)

israellaks
Автор

For my own track control:
03:56 -> Maven Git Plugin (git-commit-id-plugin)

ManuelJordan
Автор

Excellent video tutorial! ... Just how a friendly and polite suggestion, consider to create a video about a deep covering for Gradle Scans. Keep doing this excellent work!

ManuelJordan
Автор

Great tutorial ! thx a lot!
I've done it! )
It was a little bit scary, but finally it works fine!

fkyduckwarsaw
Автор

Excellent content, but that percussive sound is hard on my ears.

BrazenNL
Автор

Please let me know if you have a Twitter account to share with a cc your playlist. Really very valuable your set of videos.

Huge thanks for this set of videos!

Best Regards

ManuelJordan
Автор

We are getting version conflicts and gradle downloading different versions than mavenn and hence application failing.. how do I ensure gradle downloads exactly the same dependency

priyasrinath
Автор

Thank you for your video!! It really helped me to understand whole convert process but I wonder if I can delete maven files after finishing converting to gradle. Thank you again! 👍🏻

okeydonkey
Автор

Hi Tom, Your videos are great!!. However, when I run a maven build, it didn't produce scan for me. I placed this extension file in wrapper, tried with version 1.3.6 and also with 1.8. I am using Maven 3.6.3 and Java 1.8. What am I missing, is there something else related to gradle that needs to be put somewhere?

vikas
Автор

should we delete mvn folder after migration?

djoleezcool
Автор

I just don't understand why intellij create separate modules for main and test directories when you open a gradle project with it. Can you suggest if there is any solution so the project structure be the same in intellij?

aivh
Автор

Maven plugin has been eliminated in graddle 7.0. do you have any idea about it? Can you please upload some videos regarding it?

vijayvarotariya
Автор

I have done project like online shopping website, but I used mavan, I will send u the github link, can u please convert into gradle project, and send me the github link... it would help me a acknowledge

sankurathrisrisaimahesh
Автор

<repository>
<id>cefdigital</id>
<name>cefdigital</name>
</repository>
thank you!

glennluque
Автор

I keep getting
* What went wrong:
Plugin [id: 'com.gradle.enterprise', version: '3.10.2', artifact: was not found in any of the following sources:
but i didnt add this plugin in my build.gradle file...

TitusRA
Автор

Hi Tom, I can't able to run compareArtifacts.sh file it is not giving me any output. I have also installed unix in my windows and tried with running - sh compareArtifacts.sh and it shows me error '--block-size=M' unrecognized. Is there anything i am missing here?

rams_routin
Автор

Hello Tom could please send me your email, i need one consulting....

filimonrios
welcome to shbcf.ru