snabelen.no er en av mange uavhengige Mastodon-servere du kan bruke for å delta i det desentraliserte sosiale nettet.
Ein norsk heimstad for den desentraliserte mikroblogge-plattformen.

Administrert av:

Serverstatistikk:

371
aktive brukere

#maven

5 innlegg4 deltakere0 innlegg i dag

How to do better Dependency Management in modern Java?

☕️ JAVA
📜 Recipe for
🌻 Carefree dependency
📚 Administration

👉 javarca.de

📣 I'll talk about it:

July 10th - Stuttgart @jugstuttgart
java-forum-stuttgart.de/vortra

Sep 16th - Hannover @JavaForumNord
javaforumnord.de/2025/programm

👾 If you clone, build, run the example (see: Explore > Readme) you get to play a little game. The high score is 3680, held by my son (and game tester)

#Java#Gradle#Maven

As far as I can tell, a #Maven plugin can be configured:

1. inside <pluginManagement/> or <plugins/>
2. using <configuration/> or <execution>

Does anyone know where can I read how this works and what is the priority order in which such configurations are considered?

@aalmiray any help?

Palantir’s Value Soars With Dystopian Spy Tool that Will Centralize Data on Americans
consortiumnews.com/2025/06/06/
By contracting the surveillance firm to agglomerate the U.S. population’s personal data across government agencies, the White House has turbo-charged the company&#8217;s value, Kit Klarenberg reports. By Kit Klarenberg The Grayzone During an end-of-year investor call this February, Palantir CEO,&#8230;
#Politics #AdvancedTechnologies #CivilRights #Commentary #Genocide #Israel #Surveillance #TrumpAdministration #U.s. #UnitedKingdon #AlexKarp #BritishUnionOfFascists #C.i.a. #CentersForDiseaseControlAndPrevention #CovidVaccine #DepartmentOfGovernmentEfficiency(doge) #DepartmentOfHomelandSecurity(dhs) #EdwardSnowden #ElonMusk #Foundry #FutureInvestmentInitiativeInstitute #GothamAiTool #HealthAndHumanServicesDepartment #InQTel #InternalRevenueService #InternationalAtomicEnergyAgency(iaea) #IranSNuclearProgram #KitKlarenberg #Kpmg #LavenderAi #LouisMosley #Maven #NationalSecurityAgency(nsa) #Nhs #Palantir #PeterThiel #SirOswaldMosley #SocialSecurityAdministration #StockMarket #TheNewYorkTimes #U.k.PrimeMinisterKeirStarmer #U.s.ImmigrationAndCustomsEnforcement(ice) #U.s.PresidentDonaldTrump

Consortium News · Palantir's Value Soars With Dystopian Spy Tool that Will Centralize Data on AmericansBy contracting the surveillance firm to agglomerate the U.S. population’s personal data across government agencies, the White House has turbo-charged the company's value, Kit Klarenberg reports. By Kit Klarenberg The Grayzone During an end-of-year investor call this February, Palantir CEO,

Tonight #Maven and Maven Exec plugin in combination with Weld brought me to me knees.

Weld refused to load my classes and resources even if Maven reports compilation is successful, I can see the classes in target/classes, and when using -X I see it adds the jars and target/classes to the classpath.

Still Weld throws a bunch of ClassNotFound exceptions.

To make things a lot worse, there're no good hits when searching.

😖 emoji-with-pulling-my-hair emoji-with-me-banging-my-head-against-the-desk 😩

Maven 4: Still XML. Still boring. Still Winning.

What's so ugly about Maven?
Oh, right, XML. The ancient language feared by the hipster cult of Gradle.

But let's be honest:
You don't write build files every day. You come back after months, forget everything, and now… you're debugging a Groovy poem.
Maven? You squint at the XML, and boom. Autocomplete, structure, sanity.

Maven 4? Still XML. Still boring. Still… Winning at automations.
Yes there are more features, and yes you can use other DSL's than XML with polyglot or any other extension like also before.
Something new and interesting could be the BOM packaging and requirement of java 17. You can always build lower stuff also with 17. It's simply Java.

My killer feature of Maven:
👉 Stable, sandboxed plugins, run directly from the command line. No need to create bloated build files.
No copy-pasting the same config into 12 submodules and repositories.
All automated. All under my control.
No need to depend on the next third party cloud elf named like dependabot.
Or an SDK Man for switching java versions.
All I need is simply a JAR file and a build tool which does not disrupt me.

✨ Favourite Maven Spells - aka plugins running on my CI without defining them:
mvn wrapper:wrapper - Because of consistency, no jar binary inside my repo.
mvn dependency:tree - See who brought the uninvited guests.
mvn versions:update-properties - Auto-update without the bots.
mvn license:add-third-party - keep track of used licenses
mvn org.owasp:dependency-check-maven:check - Security without sacrifice.
[...]

Stop waiting for the next shiny thing, you can always contribute to any tool.
Start building. Or better automate it.