- Feature Articles
- CodeSOD
- Error'd
- Forums
-
Other Articles
- Random Article
- Other Series
- Alex's Soapbox
- Announcements
- Best of…
- Best of Email
- Best of the Sidebar
- Bring Your Own Code
- Coded Smorgasbord
- Mandatory Fun Day
- Off Topic
- Representative Line
- News Roundup
- Editor's Soapbox
- Software on the Rocks
- Souvenir Potpourri
- Sponsor Post
- Tales from the Interview
- The Daily WTF: Live
- Virtudyne
Admin
Which test needs to run frist?
Admin
"Which test needs to run frist?"
Yes.
Admin
"He told me enough! He told me you killed him."
"No. You are your father!"
Admin
true wtf is googling an error and getting link here instead of stackoverflow
Admin
It's strange that Maven doesn't give some sort of syntax error for this.
This is mainly why I use Gradle, it just works better.
Admin
Maven doesn't give an error because it is a crazy case (and one that it won't ever build by itself). Do you check in your code for what happens when 1+2 is not equal to 3?
Admin
I don't check for 1+2 not being 3, but I do check in my code for loops in what should be trees.
Admin
Wrong analogy. 1+2 != 3 would be an error in the underlying system (arithmetics, here). You don't have to check for that.
But this is an error in the input to your program (user error), and you very much should check for that, just like you should check for invalid filenames, non-numbers where numbers are expected etc.
Crashing or burning all memory does not look very maven-like to me. Good ol' make has rejected circular dependencies for decades. It's not that hard.
Admin
Recursion, n.: see Recursion.
Admin
TRWTF is Maven
Admin
This code needs Maury Povich to run a DNA test on it...
Admin
This is definitely not a syntax error. I agree that this semantic error should be detected.
Admin
It helps when some rando team uploads, by hand, their own modified version of the commons-logging files (including the broken pom) to the Artifactory you're using, thus breaking everyone's builds and causing untold misery and furrowed brows with hundreds of developers.
Admin
I'm sorry but TRWTF is customizing the POM for a commonly used library. I suspect whomever did so has no idea how to use Maven properly.
Admin
"That's impossib..." (wait cursor)
Admin
the circle is complete.
Admin
Maven looks terrible only to people that do not understand what they do.
I use it daily since almost ten years, this is a very usefull tooling, and I won't change it for Ant or Graddle.
Admin
This is why I prefer Ant over Maven.