|
from briefly looking at bazel, they don't have builtin support for publishing ur jars to a maven repo, so i guess you'd be invoking mvn or similar to do that part anyway at that point may as well just use mvn
|
# ? May 9, 2018 21:40 |
|
|
# ? May 29, 2024 10:58 |
|
i want something that downloads a jar and its transitive dependencies to a flat directory from a maven repo anybody know a thing that does that? the answer to the answer to this question with just maven is "did you just tell me to go gently caress myself?"
|
# ? May 9, 2018 21:42 |
|
maven does that and the directory is ~/.m2 hth
|
# ? May 9, 2018 21:45 |
|
except for the "flat" part but ok yes cool
|
# ? May 9, 2018 22:04 |
|
Progressive JPEG posted:from briefly looking at bazel, they don't have builtin support for publishing ur jars to a maven repo, so i guess you'd be invoking mvn or similar to do that part anyway yeah if the plan is to publish the library for other people to use you should still have a pom.
|
# ? May 9, 2018 22:08 |
|
Sapozhnik posted:i want something that downloads a jar and its transitive dependencies to a flat directory from a maven repo https://stackoverflow.com/questions/7908090/downloading-all-maven-dependencies-to-a-directory-not-in-repository
|
# ? May 9, 2018 22:08 |
|
it’s also pretty easy to make a fat jar which is even flatter, does that work?
|
# ? May 9, 2018 22:08 |
|
Sapozhnik posted:i want something that downloads a jar and its transitive dependencies to a flat directory from a maven repo
|
# ? May 9, 2018 22:08 |
|
Athas posted:Why are build tools so divisive? Just like this Maven slapfight, the largest source of conflict and bad blood in the Haskell community is disagreement over whether to use cabal (the incumbent tool) or stack (the newer tool). They use the same package definition formats and such, so it's not like the difference is all that large. If you are particularly partisan about a build tool, do you get invited to cool parties or something? Do they send you a cheque in the mail? it's not maven vs some other tool, it's maven vs literally everything that failed to understand the problem maven solved. all the alternatives have made the same mistakes, over and over maven is laser-focused on making the build into a document. every project is parsed the same way by every tool that integrates with maven. there is no code in your build, at all, ever. all build-related things with maven are either 1. part of the document or 2. a versioned plugin retrieved from a central repository so, so, so, so many people have looked at maven said, "gently caress i hate xml," and then thrown the baby out with the bathwater, missing maven's key idea entirely getting rid of xml: ok whatever. forcing me to compile and execute new code on the spot in order to build my existing java code: not cool, guys, not cool at all it's the xzibit problem: we heard you like code, so we added code to your build so you can code while you build your code Notorious b.s.d. fucked around with this message at 01:52 on May 10, 2018 |
# ? May 10, 2018 01:50 |
|
if i wanted to write a script in order to build my software i would just use makefiles, gently caress
|
# ? May 10, 2018 01:51 |
|
developer a: this is a 2 million loc monolith with convoluted build scripts gently caress me why did someone write a program to build a program developer b: typing 'apply xplugin' is way easier than whatever xml bullshit maven wants me to do for his dead simple microservice ive literally got 69 microservices i need to wrangle, so i tend to be pragmatic about things that just build my poo poo as easy as possible, but in the spirit of this discussion, im going to implement #70 with maven to see how it feels (and confuse the hell out of my peers)
|
# ? May 10, 2018 02:11 |
|
lol simple poo poo is even easier with maven than other things
|
# ? May 10, 2018 02:17 |
|
being scared of xml and being scared of declarative builds are two symptoms of the same underlying condition of being a junior programmer. its a lack of experience and an over-estimation of both personal skills and the skills of other junior devs.
|
# ? May 10, 2018 02:20 |
|
see how nbsd keeps falling into the same ideological trap, that as long as code that does the build things is wrapped in a plugin and masked behind xml he can pretend that it is something other than code. there is no material benefit at all, only an ideological one for those who need it
|
# ? May 10, 2018 02:21 |
|
leftist heap posted:lol simple poo poo is even easier with maven than other things often a maven project definition is like five lines
|
# ? May 10, 2018 02:21 |
|
Gazpacho posted:see how nbsd keeps falling into the same ideological trap, that as long as code that does the build things is wrapped in a plugin and masked behind xml he can pretend that it is something other than code. there is no material benefit at all, only an ideological one for those who need it it is true that you could write a maven plugin so bad that its configuration was code. that could be done, if you were sufficiently stupid or malevolent that does not excuse build systems that make code into the default choice, or worse, the only option
|
# ? May 10, 2018 02:22 |
|
Notorious b.s.d. posted:it is true that you could write a maven plugin so bad that its configuration was code. that could be done, if you were sufficiently stupid or malevolent
|
# ? May 10, 2018 02:25 |
|
Gazpacho posted:see how nbsd keeps falling into the same ideological trap, that as long as code that does the build things is wrapped in a plugin and masked behind xml he can pretend that it is something other than code. there is no material benefit at all, only an ideological one for those who need it
|
# ? May 10, 2018 02:26 |
|
Do you use maven to build rpms?
|
# ? May 10, 2018 02:26 |
|
Gazpacho posted:this isn't at all what i said, and besides antrun already exists antrun exists because everyone already knows ant is bad and wants to escape it (otherwise they would just port ant features to maven and re-enter the trap of xml-as-code)
|
# ? May 10, 2018 02:32 |
|
TimWinter posted:Do you use maven to build rpms? i have done, in the past it's really easy to do because, sadly, rpm requires its own horrible special snowflake script to do the packaging. so you really just call out to rpmbuild and then retrieve an artifact.
|
# ? May 10, 2018 02:33 |
|
thermo's probably gonna probate me if i keep replying so
|
# ? May 10, 2018 02:34 |
|
working with nuget the first time the last couple of months was great until i had an issue with it and it sucked. welp, thanks for reading.
|
# ? May 10, 2018 02:35 |
|
writing code for builds is really bad and never goes well. maven isn't perfect but damned if it doesn't discourage snowflakes super hard.
|
# ? May 10, 2018 02:36 |
|
god drat it why does python setuptools suck DICK at building Haskell code this build system is SUCH A PIECE OF poo poo!!! Rust crates can't even unit test my Java code what the gently caress worst build system ever
|
# ? May 10, 2018 02:40 |
|
would someone please ban all the java users goddamnit
|
# ? May 10, 2018 02:45 |
|
Gazpacho posted:thermo's probably gonna probate me if i keep replying so i didn't know brazen stupidity was a probateable offense
|
# ? May 10, 2018 02:48 |
|
Shaggar posted:being scared of xml and being scared of declarative builds are two symptoms of the same underlying condition of being a junior programmer. its a lack of experience and an over-estimation of both personal skills and the skills of other junior devs. gradle is also declarative, and xml isnt great by any means. ive done the tour of duty with oci/ariba integrations and giant xslts for publishing news stories so im more tired of it than scared. the argument seems to be that maven prevents you from doing stupid poo poo, but you can also do that by not doing stupid poo poo and not working with people that do stupid poo poo. this topic seems to be on systemd/initd scale, so ill shutup, do a few builds with it and keep the last two pages in mind. thanks for the input.
|
# ? May 10, 2018 02:59 |
|
i am almost done converting our 20+ scala microservices from multi-repo with SBT to monorepo with bazel and bazel has been pure joy to work with compared to sbt. bazel: better than sbt. DONT THREAD ON ME fucked around with this message at 03:08 on May 10, 2018 |
# ? May 10, 2018 03:06 |
|
Helicity posted:you can also do that by not doing stupid poo poo and not working with people that do stupid poo poo. this doesn't work
|
# ? May 10, 2018 03:06 |
|
brap posted:this doesn't work dont say that ive got a good thing going for the last 9 months or so
|
# ? May 10, 2018 03:08 |
|
brap posted:this doesn't work
|
# ? May 10, 2018 03:13 |
|
the mostly declarative build tool I help maintain has beaten a 7,000+ lines makefile touted as a build tool in the market. welp that's my story.
|
# ? May 10, 2018 03:20 |
|
Notorious b.s.d. posted:it's not maven vs some other tool, it's maven vs literally everything that failed to understand the problem maven solved. all the alternatives have made the same mistakes, over and over You know what other build system uses declarative xml project files? msbuild.
|
# ? May 10, 2018 03:28 |
|
msbuild is procedural and the procedures are defined in xml and libraries.
|
# ? May 10, 2018 03:35 |
|
https://medium.com/@ageitgey/learn-how-to-use-static-type-checking-in-python-3-6-in-10-minutes-12c86d72677b Hooray types!
|
# ? May 10, 2018 03:48 |
|
quote:If you show your typed Python code to another Python developer, there’s a good chance they will think you are crazy and not even believe that the syntax is valid. that's the best reason to use type annotations...it's great fun
|
# ? May 10, 2018 03:59 |
|
Shaggar posted:msbuild is procedural and the procedures are defined in xml and libraries. There is code that processes the declarative project files, sure.
|
# ? May 10, 2018 04:01 |
|
itt: maven it hurts when I try to shove my moronic square peg process into this round hole maven: don't do that and follow the rules, rear end in a top hat go use grade and repeat the mistakes of ant if you can't embrace the goodness that is a nice pom
|
# ? May 10, 2018 04:13 |
|
|
# ? May 29, 2024 10:58 |
|
Malcolm XML posted:itt: maven it hurts when I try to shove my moronic square peg process into this round hole nice username/post combo
|
# ? May 10, 2018 04:14 |