Re:Apache Ivy – any future or is it also going to be retired?
by mbreese on Monday December 05, 2016 @10:02AM
(#13105715)
I never liked the way Maven built projects - it just seemed like overkill for simple things. I tended to use hand-written Ant builds backed by Ivy for dependencies. Then again, I also build odd outputs, like self-executing jars.
[ Parent
| on HN ]
Re:Apache Ivy – any future or is it also going to be retired?
by PaulHoule on Monday December 05, 2016 @12:34PM
(#13107260)
For simple things, I love the way maven builds projects.
If I want to make a "scripty" Java program I can generate a project file from the archetype which sets me up with dependencies I need and an easy way to write tests.
Re:Apache Ivy – any future or is it also going to be retired?
by djsumdog on Monday December 05, 2016 @12:21PM
(#13107101)
The only thing that will survive from the Maven era is the directory structure. It's the default structure in SBT and many other built tools. It's a little verbose, but it does make sense and I've learned to embrace it.
Maven is terrible. Give SBT or Gradle and try and you'll see just how terrible Maven is. SBT still has its issues (OMG why is everything a macro!), but I still prefer it to trying to build anything in Maven.
Re:Apache Ivy – any future or is it also going to be retired?
by neeleshs on Monday December 05, 2016 @01:34PM
(#13107917)
I have exactly the opposite view. Until very recently modules in sbt required a scala Build file. There is not one single file where you have a view of everything - plugins, build properties, sbt file, and sbt scala file. I prefer maven over SBT any time of the day. Have not tried Gradle, so cant comment
Re:Apache Ivy – any future or is it also going to be retired?
by Randgalt on Monday December 05, 2016 @10:16AM
(#13105806)
FWIW - Maven's shade plugin makes self-executing jars very easy.
Re:Apache Ivy – any future or is it also going to be retired?
by coredog64 on Monday December 05, 2016 @10:49AM
(#13106148)
Except when you're using multiple Spring libraries with XML config and are running on servers without access to the general internet.
I tried all the listed tricks to get the schemas into the shaded jar and none of them worked. So now I have to put big fat warnings in my README.md files that "yes, there's a bunch of errors on startup, and yes, there's a 60 second delay, but you can ignore it".
Re:Apache Ivy – any future or is it also going to be retired?
by snuxoll on Monday December 05, 2016 @11:23AM
(#13106497)
Spring Boot? I guess it doesn't produce a shaded jar, but I find the custom classloader w/embedded dependency jars to have fewer issues than shaded jars (of course, one disadvantage is you can't run proguard, if that's something you do).