Using Maven Efficiently

  Рет қаралды 5,801

Sebastian Daschner

Sebastian Daschner

Күн бұрын

Apache Maven is the most-used build tool in the Java world and omnipresent in the ecosystem. But so are over-usages and not-ideal practices when using Maven. In this video, I want to share my experiences and tips on how to be more pragmatic and efficient when using Maven.
For more information: blog.sebastian-daschner.com/e...

Пікірлер: 10
@user-xc1rl4nc4q
@user-xc1rl4nc4q 11 ай бұрын
Thank you for this video, you saved me 5 hours of watching the "full course".
@minidragonlady
@minidragonlady Ай бұрын
Appreciate the tutorial :) Could you maybe do some more advanced stuffs with maven plugins, like the maven shade plugin? Some years ago I remembered seeing a colleague do some magic with it to replace classes in a jar, and his explanation just flew over my head. Some other complex plugins too (where the docs are just ... confusing without an example).
@fjfalcon
@fjfalcon Жыл бұрын
Wow, thank you, Sebastian. Nice looking Linux fonts, do you have fonts.conf in your dot files and maybe you can share what fonts are you using for terminal and jb idea ui/editor ?
@SebastianDaschnerIT
@SebastianDaschnerIT Жыл бұрын
See here: blog.sebastian-daschner.com/entries/linux-terminal-font-alacritty-jetbrains-mono-emoji I'm using the same font in my IDE (that was the default)
@cesarromeropedraza
@cesarromeropedraza Жыл бұрын
Hi Sebastian, how do you choose to use maven instead of gradle for building Quarkus Java project?
@SebastianDaschnerIT
@SebastianDaschnerIT Жыл бұрын
Nowadays, all of my enterprise client projects are built with Maven. I like that the projects are very predictable (often the inflexibility of Maven is said to be a feature), people know what to expect, and for at least 99% of projects, the Maven/Java/project structure is sufficient
@cesarromeropedraza
@cesarromeropedraza Жыл бұрын
@@SebastianDaschnerIT Thank you Sebastian, I did think it was interesting Quarkus is also using Maven so i'm not sure what the benefit would be from Gradle usage.
@TorstenFeig
@TorstenFeig Жыл бұрын
Could you explain more what problem you see with "mvn verify"? Isn't that essentially a shorter version of the rather clunky "mvn test-compile failsafe:integration-test failsafe:verify"?
@SebastianDaschnerIT
@SebastianDaschnerIT Жыл бұрын
No, exactly not. That's the issue I see, it's confusing :) `mvn verify` can be thought of as an alias of `mvn package`. The `verify` aspect defines more phases, e.g. one that is called `integration-test`, which (confusingly) is not the same as failsafe:integration-test. To make `verify` actually run our *IT.java classes, you'd need to make extra configuration. Have a look at this list here: maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html#lifecycle-reference (`integration-test` is listed there, however our *ITs won't be run). In a nutshell that's why: too confusing, `package` is much clearer from the name :)
@bhojrajpathak3511
@bhojrajpathak3511 11 ай бұрын
i am getting this error while creating springboot project can someone help me with this ? NoSuchMethodError: 'void org.eclipse.m2e.core.project.ResolverConfiguration.setActiveProfiles(java.lang.String)' java.lang.reflect.InvocationTargetException
Quarkus Panache Active Record vs. Repository Pattern
14:32
Sebastian Daschner
Рет қаралды 4,9 М.
3M❤️ #thankyou #shorts
00:16
ウエスP -Mr Uekusa- Wes-P
Рет қаралды 14 МЛН
Who has won ?? 😀 #shortvideo #lizzyisaeva
00:24
Lizzy Isaeva
Рет қаралды 59 МЛН
Building Your Content Creation Journey: Joddie Taylor’s Top Tips
16:25
Joddie Veronica Taylor
Рет қаралды 2
Spring Tips: Spring Modulith
37:39
SpringDeveloper
Рет қаралды 16 М.
Vim Tips I Wish I Knew Earlier
23:00
Sebastian Daschner
Рет қаралды 42 М.
Maven, my life is short!  by Peter Palaga
28:56
Devoxx
Рет қаралды 5 М.
Maven in 10 minutes | pom.xml | dependencies | scopes
11:08
Nikolay Panyukov
Рет қаралды 39 М.
ThePrimeagen Hacks My Productivity
3:30
Scott Macchia
Рет қаралды 41 М.
Why You Want to Code With Quarkus in 2023
18:21
Sebastian Daschner
Рет қаралды 20 М.
Java в NeoVim, nvim-jdtls
45:45
Куда войти?
Рет қаралды 3,6 М.
Why Should You Learn Vim
11:13
Sebastian Daschner
Рет қаралды 6 М.
Why use Maven for Java? - Java Brains
12:07
Java Brains
Рет қаралды 64 М.
Tag her 🤭💞 #miniphone #smartphone #iphone #samsung #fyp
0:11
Pockify™
Рет қаралды 38 МЛН
Hisense Official Flagship Store Hisense is the champion What is going on?
0:11
Special Effects Funny 44
Рет қаралды 3 МЛН
OZON РАЗБИЛИ 3 КОМПЬЮТЕРА
0:57
Кинг Комп Shorts
Рет қаралды 1,6 МЛН