Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Search - "maven"
-
List of things that my fucking corporate proxy blocks
* Maven
* The NPM registry
* Github
List of things that aren't blocked
* Google drive
* Twitter
* Porn
Half my mobile data is burned away by NPM sinkholes. Fuck this place.20 -
I hate everybody who says JavaScript is the best language because of loose typing and its easy to learn, YES OF COURSE IT IS EASY!
ITS FUCKING JAVASCRIPT! IT WAS MEANT TO BE EASY! AND THEN SOME ASSHOLE CAME ALONG, CREATED NODE AND THOUGHT THAT IT WAS A GOOD IDEA!
NOW WE HAVE TO DEAL WITH THIS SHIT EVERYWHERE BECAUSE PEOPLE WHO WROTE CODE FOR UX NOW THINK THEY KNOW WHAT NEEDS TO HAPPEN ON THE SERVERSIDE!!
GOD FUCKING DAMNIT I HATE THIS ANALTOY OF A LANGUAGE.
YOU THINK JAVASCRIPT IS THE BEST?! DO YOU REALLY??!!! OH YEAH!?!
WELL FUCK YOU AND GO TO HELL, YOU ARE NOT A DEVELOPER IN MY EYES, GO HOME KIDDO, LEARN C OR ASM OR HOW A FUCKING COMPUTER ACTUALLY WORKS!!
AND THEN TELL ME AGAIN JAVASCRIPT IS A WELL DESIGNED AND PROPER LANGUAGE!!
I'M OUT!32 -
I wanted to work on my sideprojects on the last days of the year but then my wife spawned a childprocess and somehow it eats up all my ressources..4
-
My first complete pipeline with Jenkins:
- push on gitlab
- build with maven
- test with junit
- deploy with Ansible
- integration test with Selenium
I love devops!6 -
Me: I have an input stream!
Library: I want a file.
Me: I can see your code, you will convert it to an input stream! Don't any of your constructors take an input stream?
Library: No. I want a file. Okay, you can also include an encoding.
Me: I don't care about encoding.
Library: Fine, just give me the file then.
Me: You mean I have to somehow convert my input stream into an actual file so I can give it to you?
Library: You're gradually catching on, yes.
Me: Can I add a new constructor myself that takes an input stream?
Library: Sure! Good luck in getting it approved by the maintainers and the new jar distributed everywhere, including Maven Central before your deadline.
Me: Fine, I'll just rearchitect everything so I can give you an actual file.
Library: And then everything will be fine.
Me:3 -
@dfox
just thought about it...
why not devrant rubber duckies?
(this might be proposed in some other comment/rant already, didnt check for it)6 -
I usually start going through the code and as I do I draw (connected) shapes for every part of the code, as I do I add "features" to the shapes (little spikes, give them stripes etc) that way I'm able to "see" what is missing and how the shapes should interact
this might be a bit weird to explain but it helped me a lot to understand what the code is doing and get it rolling again16 -
Sitting in a germans-only company on a germans-only talk, listening to german presenters trying to speak english.
"...And sis is a Integräitontest, witsch is verry important [...] sis here is my sird maven plugin..." schnitzel.
Why for god sake do you funky hip devs mean you have to speak english to me?! Especially if you are simply not able to?
Some of my favorites:
My english is not se yellow from se egg but I hope you understand me.
Sänk ju for trävveling wis deutsche bahn.
Someone has similiar sentences?22 -
Me done fixing a bug.
Me commit the fix.
Me resolve issue in JIRA.
Few minutes later, Me receive a notification. QA reopened issue: "Bug is still there".
Me go have look to Jenkins.
Pissed off, Me respond to QA: "Can you just wait for Maven to finish building the goddamn thing before testing it please?"
Every. Fucking. Time8 -
The debugging duck has been retired and instead has been replaced by the maven meow
(Yeah I just needed an excuse to share a cat pic)7 -
me: deletes comment from pom file
eclipse: there is a problem...
me: refresh project manually
eclipse: ok.. its all good now.
¯\_(ツ)_/¯6 -
I got the following question from the client:
After last batch of changes the name of the downloaded file is now `<file name > (2).pdf`, can it be like before, without `(2)`4 -
Deadline is tomorrow as per this rant
https://devrant.com/rants/1363701/...
I taught my boss how to work his way around spring-boot + maven + jpa, I did a really good job with the classes and interfaces so he could update the project while I was on my two week vacation.
I set up CI/CD so no one should have to ssh into servers to make master branch live and I set up webhooks on gitlab to warn me on slack if anyone pushed any code.
Tomorrow is the deadline.
Tomorrow is the last day of my vacation.
No pushes made to gitlab, hence no deployment trigerred.
I'm here wondering if the fucker will push it on the last minute just to fuck it up tremendously.
Tomorrow I'm going to the movies and gonna turn my phone off :)4 -
- Ran `brew install maven`
- Left my terminal to have some fun because of the slow network (fuck my ISP btw)
- Came back after ~15 mins to look at the terminal cause' installation should've finished.
- Checked terminal.
- Realised I ran `brew isntall maven` instead.
FML3 -
Serbia. $600/month for
- full stack
- angular dev
- java spring boot backend dev
- jenkins
- ci/cd pipelines
- jira
- unit integration E2E tests
- kubernetes
- docker
- graphql
- postgres
- sql queries
- aws
- microservices
- deployments
- scala
- kafka
- maven/gradle
- bsc or msc cs degree
- in depth knowledge of
-- observables
-- design patterns
-- jwt and how it works
-- ssl certificates
-- solid principles
There is more but i forgot the rest17 -
Summer is coming, and i suppose all of you will buy a new barbecue to cook some meat, but i have another economic alternative.
How to make a homemade bbq:
1) Take an old laptop
2) Turn it on
3) Install Android studio (also works with intellij)
4) Add a lot of gradle (or maven) depencies
5) Code something cool (or not)
6) Build and compile it
7) Now you can put your meat on your laptop
8) Enjoy your meal13 -
Everyone talks about their hate of js but like python is honestly just as bad.
- shitty package manager,
* need to recreate python environments to keep workflows seperate as oppose to just mapping dependencies like in maven, npm, cargo, go-get
* Can't fix python version number to project I.e specify it in requirements
- dynamic typing that gets fixed with shitty duck typing too many times
- no first class functions
- limited lambda expressions
- def def def
- overly archaic error messages, rarely have I gotten a good error message and didn't have to dive into package code to figure it out
- people still use 2.7 ... Honestly I blame the difficulty of changing versions for this. It's just not trivial to even specify another python version
- inconsistent import system. When in module use . When outside don't.
- SLOW so SLOW
- BLOCKING making things concurrent has only recently got easier, but it still needs lots of work. Like it would be nice to do
runasync some_async_fcn()
Or just running asynchronous functions on the global scope will make it know to go to some default runtime. Or heck. Just let me run it like that...
- private methods aren't really private. They just hide them in intelisense but you can still override them....
I know my username is ironic :P11 -
Finally being self-employed and independent...
...time to rejoin devRant!
So, hi Guys! What did i miss in the last year?3 -
When people tell you how easy your job is, the best thing to do is to make them do it for themselves.
Hate those People...2 -
HOLY.
CHRIST.
MAVEN.
Where has this thing been all my life. I can manage my Java web projects from a single repository that works native with Linux. No more hunting for .jar files on the web, EVERYTHING IS MANAGED FROM A SINGLE .XML FILE. MAVEN WORKS WITH ANY JAVA IDE.
This is one of the single greatest systems I have ever found.10 -
the moment you get a job offer from am fortune 100 company but its in another country and you cant move because of wife and family ... :-/9
-
Amazon API ... seriously...this thing is documented over 3 different pdfs in 3 different locations with 3 different requestpattern, 2 different answerpattern and requestthrottling per minute and per hour takes the rest...and then you just do basic stuff e.g. request all orders that were refunded by amazon... who the hell designed this mess?4
-
Java. AGAIN. 😡
so, I am trying to get a csv opened and read, and then search through it based on values. Easy peasy lemon squeezy in python, right?
Well, damned be java. You need a buffered reader to read the file. Then you have to "while(has next)" the whole damn thing, then you have to do something with the data that you read one by one, right? Well, not to be disappointed, they do have json libraries, but you **have to install** the plugins for it. Aka you have to manually add the libraries or use some backwards manager like maven.
Gotta admit, jdbc is neat if you're anal about your sql statements, but bring the same jazz to csv, and all the hell will break loose.
Now, if you just read your json data into multiple objects and throw them in an array... Kiss shorthand search's ass goodbye, because this mofo can't search through lists without licking the arse of every object. And now, you have to find another way because this way, you can't group shit you just read from csv. (or, I haven't found a way after 5 hours of dealing with the godforsaken shitshow that java libraries are.)
Like, I'm devastated. If this rant doesn't make much sense to you, blame some java library for it.
Shouldn't be too hard.25 -
My friend ha just big exam in their programming class. They got the assignment week before and were allowed to use libraries. They were using Java and Maven repos. He created his own Maven repo and added finished assignment as a library. He just added his repo to the gradle project and selected his library as a dependecy. He then created one class with main method, 10 lines of user input and called main method from his library. Since the school newly tests students work automatically, he instantly passed with 100% and had to look like hes actually working for next 3 hours 😂. Noone noticed anything after 2 weeks 😂1
-
They don't tell you this is in uni but your skill in merge conflict and circular dependency resolution is more essential in the real world than your knowledge of data structures.1
-
Fucking hell everything in java is so annoying, confusing and hard to get working. I just want to use JavaFX, why do you require me to sacrifice a lamb in order to do so? It might be my fault though, but c'mon, I don't want to spend 2-3 hours reading through shitty documentation in order to understand how maven works and what the hell Gradle is. Why can't it be as simple as adding a module name to a config file, like in Rust's Cargo? Even using intellij to acquire JavaFX and set it as a dependency doesn't work, it gives me some weird "JavaFX not configured" bullshit error. What the fuck, you're a library, you shouldn't need anything else ffs6
-
i'm wondering how long it will take until marketeers/recruiters/"ad-people" will find this sacred place and ruin it for everyone...
i hope there is a "ban this asshole" button in the backend for...you know....just in case...5 -
what a great idea to do server upgrades on a friday evening...and i can do it alone...and am responsible that everything works as expected...what a great day today...and i hate every single second of this day yet.. :-/
damnit i'm a developer, not a sysadmin, just because i can do it doesnt mean that i'm supposed to do it..what about our admins? what get they paid for? rebooting the coffeemachine? fuckers already left the building1 -
Fuck this shit, I'm done, mentally broken. I am trying to setup some basic Java project using buck. Their build times looked super promising and I wanted to migrate my multi module maven project to it.
I am currently working on it for FIVE hours now. And this fucking piece of SHIT doesn't work as I want it to. WTF FACEBOOK, IS IT SO HARD TO WRITE PROPER DOCUMENTATION THAT IS NOT OUT OF DATE?! People warned me, I ignored them. FML.
The time I used to try to get the repo working could have been used to build the project 250 times -.-3 -
Most favorite: Intellij IDEA
Least favorite: Intellij IDEA
I mean, once Maven and stuff are set it's perfect. But, damn, configuring it on a new computer...3 -
Was running low on ssd space, so I decided to have a thorough look at what was occupying all of it. First I found out that I had about 5 gigs (!) of leftovers from microsoft sql server which I unfortunately had to use once (thanks microsoft for your shit uninstallers). Then I found I still had a .gradle folder (uninstalled a while ago, maven ftw) with another 5 gigs of cache. That should give me some room to breathe.4
-
Employer uses IBM Software, which forces me to use Eclipse. I hate eclipse. Hate is a hard word. I'd never say, I really 'hate' a person. But eclipse, eclipse is what I hate. I can look at my smartwatch and see my heartrate rising, just thinking of how the fuck any developer on this crappy planet would ship that bullshit IDE. That saying, I'm totally fine with some bugs, using windows and so on, but eclipse... Is this a get-more-contributors strategy? Holy moly it really kills me. Hey, let's just open that maven Proj.. Oh, crash. Hey, let's install that "bug-free" version of the maven-integratio... Oh, crash. Let's do a global search over my worksp.. Oh, freezed. Fuck! Fuck! Fuck! How can this be legal? I mean, seriously, most junoir devs I know, just use Eclipse, because they don't know of any other "better" IDE (VIM would be better, even notepad). Is there anyone sucking professors cocks / vaginas to get them introduce that crap IDE to students?2
-
I told tech support to install java, he installed jre. Maven needs the Jdk.Off to his office again.4
-
Well paid java dev. But the HW/SW-Stack is awful.
Monitor: single 1600x1024
5yr old notebook, old i5, magnetic hdd
Forced to use windows 7
No maven server
No CI server
SVN but no git
Eclipse, no intelliJ
No sonar server
There are days where I just can't take it anymore.11 -
Our best dev/arch just quit.
C dev lead & a dev staying late chatting.
Lead: am building, takes long
Dev: unit testing, time taking
Ask them y they r building on their latitudes when we got them linux precision with xeons/64gb workstation 1 each ?
Both: I code on latitude.
Build/test times. (pure Java/maven)
Latitudes=an hr or more
Precision=2m to 11m
Jenkins Infra we have =10 mins with test & push. Parallel builds support.
Am suposed to help with an open mind. They now want Mac pro12 -
Expectation: Today is the last day before holidays and yesterday I completed a complex task, so today I'll have a very relaxing day involving implementing only some simple changes.
Reality: I've just solved a dependency conflict between the project I modified yesterday and another project depending on it that caused the failure of some tests inside the latter panicking my coworkers who quickly asked me "WTF you merged in the core project!?!?"
Yeah, I really need these holidays.1 -
Im forced to work with c++ on windows for a course.
0) c++ is fucking unusable without a central repo for managing dependencies. Maybe im just too used to maven but you shouldnt be downloading dll files in 2018.
1) visual studio can go suck a fat one. I got a fairly fast pc and it takes fucking forever to load anything. For comparison, eclipse with all my plugins (and i have a lot) loads in ~10 seconds, vs2017 does in 35.
2) why the fuck is there no cross platform compilation for c++? Its supposed to run on everything right? Whats so hard about porting a fucking linux compiler so i dont realixe i have .exe files when i want to work with my laptop on the bus?
3) c++17 (? Or whatevers the newest) syntax is like a deep barf on a hot summer day after eating a whole watermelon. Its fucking unreadable and autopointers simply dont work. And its not even my lack of skill this time, its the code that the other members used and it worked for half of them.6 -
Just a rant... It really sucks to work with maven on a security-paranoid financial institution enforcing ntml proxy auth...
Also usb ports disabled... :(5 -
You just realize the sheer amount of dependencies spring boot has, when maven tries to resolve them while sitting in a train with bad wifi1
-
just might have optimised myself away by recommending a software to my boss which does 90% of the tools i'm maintaining right now...wondering if i will still be in this chair next year3
-
So... you are the architect, a senior developer, with no experience in maven.
I am a middle developer with a long experience in maven.
WHY THE HELL YOU DON'T LISTEN TO ME!!!
I am open to confrontation but dude... your thoughts and opinions are not automatically orders for me!!! -
Came home from work.
Turned on pc to start a small project because I got an idea I liked.
Picked my music for programming.
Opened eclipse -> new project -> maven project
UI asks for group and archetype Id. Can't think of a nice name right away
"Let's browse devRant for one or two posts"
That was at least 40 minutes ago. Still browsing.
Since I started working it is really hard for me to do any private projects. But I really want to.
Any suggestions?12 -
>mvn clean install
[ERROR] Bruh, couldn't find any of these classes you're talking about.
>mvn clean install
[INFO] The job has completed without errors.
Seriously, why is Java/Maven/Spring so temperamental. It's like it has to be in a good mood to compile for me.4 -
My favourite dev tool? I would't be able to do my work without any tool, which's in the list. I love IntelliJ IDEA & Webstorm, Java, JavaFX, Maven, Git & Gitlab, TeamCity, Upsource, YouTrack, Artifactory, wtf that list's kinda the complete tech stack. But I completly hate AWT & Swing (AWT fucks up on my Linux install, such a frame creates in about 10-20 seconds, if you test the app locally, you loose approximately 15 seconds per minute, and Swing uses AWT internally too), I hate Gradle (screw Google for standardizing it), and so on. Wow that's like my complete tech stack, what the fuck happend? The question was one tool, help me.1
-
Guys kill me please...
WE USE CLEARCASE AND ANT
Because git and maven are still under evaluation....
Am I working for the wrong company?5 -
Why python can't into proper dependency management?
I Node.js we use npm. Modules are downloaded per project and packaging is easy.
In Java we use maven/gradle. Never been so easy to build and download libraries and package your project.
But in Python? No, it's not easy. You have to use virtualenv first so pip/anaconda won't download globally, then you must write setyp.py in a million different ways. Packaging and distribution to clients? Good luck with that.21 -
We're all on gradle and we had a new guy who started a project with Maven. He also used atom editor for Java/Scala code (even though we had a license for Intellij), and refused to use anything with code completion (or turned it off if there was an option). My boss had to explain basic git branching to him, his pull requests were missing build files, READMEs and he'd check in tons of scripts to run things instead of using maven/gradle.
I just thought he was weird, but I didn't look at his pull requests close enough to realize how bad his code was, until they fired him earlier this week. -
Java 11 is amazing they said, Jigsaw will make things much easier they said, JavaFX is now just a simple Maven dependency they said...
Previous command to launch app in Java 8:
java -jar T10ReleaseFinal.jar
New command to launch app (not including the custom jlink command to produce the custom bundled JRE) in Java 11:
java --module-path "lib/javafx-fxml-11.0.1-win.jar;lib/javafx-web-11.0.1-win.jar;lib/javafx-controls-11.0.1-win.jar;lib/javafx-controls-11.0.1.jar;lib/javafx-media-11.0.1-win.jar;lib/javafx-media-11.0.1.jar;lib/javafx-swing-11.0.1-win.jar;lib/javafx-graphics-11.0.1-win.jar;lib/javafx-graphics-11.0.1.jar;lib/javafx-base-11.0.1-win.jar;lib/javafx-base-11.0.1.jar" -Dfile.encoding=UTF-8 -Dprism.dirtyopts=false -Dglass.accessible.force=false --add-modules javafx.base --add-modules javafx.controls --add-modules javafx.fxml --add-modules javafx.graphics --add-modules javafx.media --add-modules javafx.swing --add-exports javafx.graphics/com.sun.javafx.sg.prism=ALL-UNNAMED --add-exports javafx.graphics/com.sun.javafx.scene=ALL-UNNAMED --add-exports javafx.graphics/com.sun.javafx.util=ALL-UNNAMED --add-exports javafx.base/com.sun.javafx.logging=ALL-UNNAMED --add-exports javafx.graphics/com.sun.prism=ALL-UNNAMED --add-exports javafx.graphics/com.sun.glass.ui=ALL-UNNAMED --add-exports javafx.graphics/com.sun.javafx.geom.transform=ALL-UNNAMED --add-exports javafx.graphics/com.sun.javafx.tk=ALL-UNNAMED --add-exports javafx.graphics/com.sun.glass.utils=ALL-UNNAMED --add-exports javafx.graphics/com.sun.javafx.font=ALL-UNNAMED --add-exports javafx.graphics/com.sun.javafx.application=ALL-UNNAMED --add-exports javafx.controls/com.sun.javafx.scene.control=ALL-UNNAMED --add-exports javafx.graphics/com.sun.javafx.scene.input=ALL-UNNAMED --add-exports javafx.graphics/com.sun.javafx.geom=ALL-UNNAMED --add-exports javafx.graphics/com.sun.prism.paint=ALL-UNNAMED --add-exports javafx.graphics/com.sun.scenario.effect=ALL-UNNAMED --add-exports javafx.graphics/com.sun.javafx.text=ALL-UNNAMED --add-exports javafx.media/com.sun.media.jfxmedia.events=ALL-UNNAMED -jar T10ReleaseFinal.jar5 -
I'm the lead dev on this team. The project is split into multiple separate modules to comply with separation of concerns, and so new devs don't need the whole fucking codebase (risking them running away with everything) to contribute to the project as a whole.
So we don't need a fucking config file to enable and disable features.
So we don't need to upload a 500mb monolith every time we want to test a change.
So we can test old fucking versions of modules without merging it back into the entire codebase.
What did this fucking dev do? He was having one small issue with Maven. One. It wasn't updating his local snapshots to the correct Artifactory version.
He decided, instead of trying to fucking fix it: HEY, LETS IGNORE THE LEAD DEV'S DEMAND TO KEEP THEM SEPARATE. IM GOING TO MERGE THEM INTO ONE MODULE FOR SOME FUCKING REASON.
I refuse to continue working with this dev if he's going to sidestep my demands and undermine my authority. He wants to go it alone? Be my fucking guest. I'm not touching his shitty single-codebase monolithic monstrosity.
If this is going to be a regular fucking occurrence, he can eat a dick and choke on it.2 -
Trying to start doing stuff with C but CMake is very confusing and I can't find anything solid (and easy to read) about setting it up and including depends and what not. We are totally spoiled in Java with tools such as Gradle or Maven.3
-
Project configurations... why, for ffs, whenever i come to old project i need to deal with configurations, build systems, certificates, project settings. I want to write code not dedicate my life to Maven and making directories by hand for Android Flavors.
Aaaaaaaaaaaaaa! -
That moment you are forced to use Windows to develop PHP Stuff and arent allowed to install Linux because of "Company Regulations" (aka Windows only Admins) ...
I just want my beloved Linux Dev Stack here :(4 -
If you could choose one, what should happen in 2020 :
1. Apple let developer build iOS apps on non Apple machines
2. NPM/Maven/... run 10x faster
3. Javascript dies and gets replaced by a better language
4. Governments stop trying to ruin encryption
5. Facebook splits
6. Quantum computers are being sold for consumer use
7. We have our first high - level generic AI working17 -
F**king hate Windows for its insanely confusing proxy setup required for software development...
> Setup proxy in Windows network settings
> Then, setup HTTP_PROXY & HTTPS_PROXY environment variable at the system/user level.
> Followed by separate proxy settings for java, maven, docker, git, npm, bower, jspm, eclipse, VS Code, every damn IDE/Editor which downloads plugins...
> On top of everything, find out the domains which does not need to go through proxy and add them to NO_PROXY.. at each level..
> It does not end here. Sometimes, I need to setup proxy for SSH connections... like, if I have to use git with SSH and not HTTP/S... Uhhh....
More than half of the problems me and my dev team face is related to setting the right proxy. Why can't it be like, set in one place and everything picks up from there, like in any linux machine or for God's sake, a Mac ?
Worst of all is, my org uses a configuration script, which resolves into a list of proxy servers, from which one of them will be used. So, I need to download that script, find out which is the right proxy server and then, use it in all the aforesaid places... WTH ?????
Is this a common workplace problem for all developers ??? Will this be solved by Windows Subsystem for Linux ???9 -
If you are the lead developer on a big project, and you want your developers to not hate everything about this project, for the love of God please at least have a build server (it doesn't even have to run tests) and make sure your constant screwing around with Maven doesn't break the build for everyone else.1
-
Worked all day yesterday (8am to 11pm) trying to get a regression test developed in ReadyAPI to behave properly in Maven/Jenkins. All I have to say is that I have some words for Smartbear.
-
Sometimes I look at my co-worker's code and want to vomit. My poor eyes. Also loves to tell me something should work and hasn't tested it...2
-
I spent 4 hrs today setting up an Amazon ec2 instance. I screwed up one configuration file and broke everything. Grrrrrrr.2
-
Company Infrastructure Team: We are doing away with proprietary libraries and using standard Java instead.
Also Company Infrastructure Team: Here have a fuck ton of new proprietary libraries with dozens of nested dependencies. Oh we don’t use Maven by the way because we are fucking idiots. -
Our company has a giant folder that you have to download every release. It contains all of the dependencies within the company and every config file.
Twice a month your workspace gets fucked...BECAUSE THESE FUCKING GENIUSES CANNOT USE FUCKING MAVEN! What the fuck?! What idiot came up with this stupid idea?1 -
So I have some XSDs for integrating with a third party supplier, which I need to convert to java classes. Easy, jaxb to the rescue!
Now when it comes to checking into source control, do I either a) check in generated files (bad) , or b) check in the XSDs and have maven generate my classes each time the project is packaged using its jaxb plugin (good).
Of course the senior dev picks option a), purely because some people in charge of support may not understand maven.
Why do I have to do things the wrong way because people don't want to learn/are incompetent? Why are there people in charge of support who don't understand simple tools?3 -
I was fine with Eclipse. Then everyone around me told me that Eclipse is old and IntelliJ is new and super cool and makes me super fast and much more productive. Finally in our company we got a Ultimate 2018 license and I started to use it. There is a function: import from Eclipse. Hey cool - let’s import and go... but no. After importing I needed one day to get that running. But I’m not really convinced. After that... ok let’s try another project where colleagues have used IntelliJ already. But after checking out - that also didn’t work well and I spent the whole day it running locally. Although it’s a maven project. Up to know I think Eclipse is better in handling Tomcat and better shows the version control state of files. And for me the workspace concept of Eclipse seems to be better than the project concept of IntelliJ. But maybe I just have to get a better understanding of IntelliJ. Hopefully I can do my first coding in IntelliJ tomorrow. Maybe then I can see all the benefits. So far...4
-
I just took the "lead" over a small internal Projekt. I can not believe what they have done.
They somehow managed to use dependencies that are not managed by maven.
They 'used' the entire apache-commons library just to create empty InputStreams once!
And they merged unfinished tickets to the development branch which dont even work!
Did I mention that they all left the project in the middle of the sprint without saying a word and even without finishing their tickets...?
How... Why....4 -
Why did sonatype just break my maven deploy plugin?? Well finally I was able/forced to migrate to the sonatype deploy plugin.
Finally fully automated CIdeployment to maven central yey.
For the curious, I‘m taking about my hobby (soon to be startup) project https://spot-next.io
Get version 1.011-BETA while it‘s still hot 😆
It‘s An open source SAP hybris alternative on speed 😜😅
Help wanted btw 😅
And excuse the still not complete docs, my two kids + job keep me busy way too much -
GitHub Packages Sucks. Like, it REALLY sucks.
It sounds like the best thing in the world - being able to host your project packages alongside your code! It has full support for Maven, Gradle, Ruby Gems, Node packages, Docker images and even dotnet CLI applications. It even lets you view statistics on how many developers have downloaded a given package! For public repositories, the packages are free to host as well!
So, I decide to use it for my Maven project since it's "so great". I've never used a public Maven repository before, so this was all very new to me. I follow the documentation - simply run "mvn deploy ...." and use a generated GitHub personal access token. No problems there. Deployment is a success and I feel a wave of happiness seeing my packages online. I follow through the various links and it even adds automatically generated usage information for other Maven users - fantastic!
That was, until I decide to try and download one of the files from this package repository. In order to download a file, you must have a GitHub access token. Okay, makes sense I guess? What if another developer wants to use my library? To do so, they have to generate their own GitHub access token, store it in their local ~/.m2/settings.xml file and only THEN can they use my library. So clearly, this is significantly inferior to other public Maven repositories where you don't have to get an access token to simply USE a library.
Upon discovering this, I decide to simply delete all of the packages and continue using whatever previous system I was using. Except of course, they forbid the deletion of public packages because "other projects could depend on it". The only way to delete public packages is to either:
[0] Make the repository private (losing all stargazers and watchers), delete the packages and then make the repository public again
[1] Contact support and ask them to delete the public packages. They say that they'll only do this for "special cases", such as legal issues or GDPR breaches.
I've sent a contact form and I'm currently hoping that they see things in my favor. I mean seriously - a public package repository where in order to use it you have to have a GitHub account and then generate an authentication token - it's absurd!3 -
Well sometimes I need someone to pull computer out of my hands and slap my face.
5am here, spent last 10 hours writing code in java after 5 years break.
After that I deployed snapshot using maven and github actions to github package repository.
Finished first POC in one night.
Am I insane? -
Funny story...
Got a small college assignment based on Java and Cassandra(database). The database shell was running fine. Spent 5 days removing the random java exceptions and working on the basic connectivity, searched everywhere on Stack overflow and other forums for solutions and still no help.
So, I decided to write a program that would print only the output as I knew what would be the output when it will run. Took a screenshot of it and made up a cover story to tell my professor that I did it on a friend's computer.
But while I was taking a screenshot of the Eclipse with code window and output window, some random syntax errors popped up.(but they weren't syntax error).
So I created a new project and copied the pom.xml file and the code into the new one(I tried this one before and it didn't work). And there were no errors. So I took a screenshot of it with output of different file and opened a different file.
But then, don't know what came across my mind and I clicked on run just to see if this works, and it worked fine. And now I'm like.. WTF JUST HAPPENED!! -
Is it just me or is Java really uninspiring as a language? And are there any Java build tools that don't sound like 90-year-old women? Maven, Gradle...3
-
wtf eclipse... fuck you
synchronize project in eclipse. no changes...
mvn relase:prepare
BUILD FAILED: you have local modifications pending...2 -
Two (2) senior developers and one (1) senior tester left our team and I am left with two (2) Java legacy applications that are hard to maintain. Here is a list of things I hate about these old webapps (let's call them app A and B):
1. App A depends on 80% web services. If one web service for a product or warehouse goes down, work flow is impeded while prod support team checks with the core services team for repair
2. App B is a maven project with multiple modules dependent on libraries that are dependent on company's internal libraries. So if we want to upgrade to OpenJdk 9 and up, the project will definitely produce a lot of errors due to deprecated/unsupported codes
3. App A is dependent on Tibco and I have no experience on that
4. App B's continuous integration build tool is Jenkins and the jobs that build it has a shell script that wasn't updated during the tech upgrade enhancement. The previous developer who did the knowledge transfer to me didn't tell me about this (it should be considered a defect on her part but she already resigned)
5. App A when loaded in eclipse IDE is a pain to work with since it is only allowed to build a war file using ant. I have to lookup in quick search instead of calling shortcuts (call hierarchy) because the project wasn't compiled via eclipse.
6. It's impossible to debug app A because of #5
7. Both applications have high priority and complex enhancements and I have no other teammates to help me
8. You never know what else can go wrong anytime1 -
A sweaty furry sodomizing a dead dog would still be less disgusting than the codebase on which I have to work, some highlights are:
- The same class repeated 40 times with little variations instead of using some decent parametrization
- Inexistent encapsulation and separation of concerns, most changes requires to modify and recompile 2-3 indipendent Maven projects
- Abuse of inheritance which instead of being used to create "is-a" relationship as it should be it's used to reuse some methods of a class in another instead of using Spring dependency injection as we should be
It would be understandable in a 20 years old legacy projects but in something which started 2 months ago it drives me mad, I tried to fight to change it but in the big enterprise to which I'm "body-rented" it's impossible1 -
God save me from bullets, bombs... and motherfucking Maven dependency management hell!!
On second thought, bring on the bullets and bombs, they're less stressful than this Maven bullshit!!3 -
Looking to sharpen and pursue a SysAdmin/DevOps career, looking at online job offers to get the big picture of required skills and I say FUCK. It would take me a lifetime.
Azure, AWS, Google cloud platform.
CD tools: Ansible, Chef or Puppet
Scripting ninja with Python/Node and Shell/Power shell.
Linux & Windows administration
Mongo, MySQL and their relatives.
Networking, troubleshooting failure in disturbed systems
Familiarity with different stacks. Fuck. (Apache, nginx, etc..)
Monitoring infrastructure ( nagios, datadog .. )
CI tools: jenkins, maven, etc..
DB versioning: liquibase, flyway etc.
FUCK FUCK FUCK.
Are they looking for Voltron? FUCK YOU FROM THE DEEPEST LEVEL OF MY DEEP FUCK.1 -
!rant
I fucking hate maven and its shitty principles and the pain in the ass it fucking is to fucking use a dependency from another fucking repo that isn't in your fucking artifactory yet and how it can't fucking resolve it even when you downloaded it manually to your fucking m2 cache2 -
I just woke up and on my computer screen there’s big announcement.
Github launching code package registry beta program.
Available repositories: npm, gem, mvn, docker, nuget.1 -
*Executed maven build*
Me: What's this "no tests found?"
Senior: Nevermind it's not important. Just check if your code works.2 -
Group assignment: writing a own Java logger component in a group of four, using nothing else than Java SE libraries, Maven and Jenkins. The software must be able to substitute the logger component without recompilation, just by editing the config.xml (setting jar file path and fully qualified class name of the logger).
I asked around on Slack which group is ready for a component exchange, so that we could test the switch. I found another group and I started doing some testing.
Then I got a `java.lang.NoClassDefFoundError: org/apache/log4j/Logger`. I got in touch with my peer from the other group and asked him, if they've been using log4j. Apparently they did, so I told him that the assignment was to write a logger of one's own, not just using log4j. Then he told me: "Uh, ok, I'm going to tell the guy responsible for the logger part about that..."
X-D -
I like style checkers. I really do. I may not agree with any of the rules they force upon the rules, but I will bury that for consistent code. That said, why, oh why, does this damn thing have to fail out the build rather than just warning me in the IDE. This fucker takes 15 minutes to build and when it fucks the build, it's a huge waste of time.
That said, anyone know how to get check style rules out of Maven and put them in IntelliJ? Myself and my team would love you forever.3 -
I started to learn Kotlin today and am already confused:
Is there any difference between between Ant, Maven and Gradle?2 -
Use Maven, they said... it's better, they said... you don't have to manage dependencies yourself, they said...
...only now I've spent three days in hell trying to figure out why Maven keeps insisting on sticking INCOMPATIBLE JARs in my WAR that causes a breakage when deployed. No matter what I do it still sticks stuff in the WAR that shouldn't be there!
Like, I'm not a lazy cunt, I can manage my own dependencies! I know what's supposed to be there, oh, and by the way, everything fucking works when I build with Ant instead and I'm in full control of what winds up in the WAR.
So, basically, instead of the "hassle" of having to download JARs myself, I've now got the hassle of dealing with Maven trying to be more clever than me.
I know which I'd rather have, especially right now. ARGH!
You know, any time someone says "this is an industry-standard and that's why you should use it" my first thought is "hmm, which of these buildings is tallest and will ensure a quick death when I inevitably jump off of it?" MOST ESPECIALLY when the company just decides X is what everyone is going to switch to, regardless of what they're using now and regardless of how many YEARS it's been that way and working perfectly. Nope, doesn't matter, just get onboard the freight train, and if your productivity takes a hit, if you start missing deadlines dealing with shit you didn't have to deal with when using the "worse" tools, well, I guess that doesn't fucking matter, does it?!
And that's not even talking about the fact that the Maven build takes almost four minutes, which is just about 4x as long as the Ant build it replaced, each and every fucking time I make a change.
Look, I'm sure there are solutions and I'm sure I'll find them next week because I always do... and I'm sure there's some tweaking we can do to improve the performance... and it's not like this is my first go-round with Maven, though it's probably the most complex project I've ever tried to do with it... by my fucking dear god this is a nightmare, and it's not a nightmare of my choosing.
I'm disgusted, tired and defeated, three things I never get when it comes to technology. Congratulations Maven, you're on the verge of breaking someone who doesn't get broken. Another day like the last three and I'm not gonna need Stackoverflow, I'm gonna need a bus schedule so I can figure out exactly when to step off the fucking sidewalk!10 -
I'm studying atm and I survived Haskell, SKI, ... now, in the second semester we started with Python (yeay ♡) and Java (that's fine).
One of the first exercises is about installing Jython ('cause it's good, right? /sarcasm off), using the lecturer's module and write some code for it. It's about painting some shitty graphics *gasp*...
I use PyCharm (not really necessary for these crappy exercises) and programming on Windows and/or Linux.
Downloaded Jython, installed it, set it as interpreter - works fine (win10, pycharm).
Some students got weird errors using linux - for me it's the same but meh Idc.
Today I tried using Jython on my notebook, too (win10, pycharm). Downloaded it from the Jython Project website. Can't update pip, can't run modules - error is about fckin charsets...
Some other student figured out - wrong version of Jython. The newer version has some bug fixes.
2.7.1 is the one and only - the download section of their website offers 2.7.0 as latest release...
So - how to know there is a version 2.7.1?
#1 version control website = Wikipedia
So... there is a blog, guy's writing about this release - this installer is hosted at maven central. Yeay. Obvious. Thanks.
Can't describe such stupidity - maybe it's the user again 😂 -
Extremely frustrated with the release process and versioning system at my current company. Don't know if this is same everywhere or the half ass release managers can't think of a better way here.
Basically for any client raised issue that can't wait for next release are built as a hotfix. However hotfixes are never bundled togather or shiped to other clients. This is causing a vicious chain, two clients raise two separate issues on same version. Instead of fixing them as single hotfix (however minor the issues) we create two hotfix versions for each with only their issue. A week later same clients come back with the issue the other raised. Once again instead of bundling what is now effectively same code we build hotfixes on top of the clients respective branches. We now have two branches to maintain with same codebase. No matter how serious issue, the hotfix is never made generally available and always created on client's specific hotfix version.
Now that was an example for only two clients, in reality we have released five patch versions of a product in last 2 years. Each product version contains about a dozen artifacts (webapps, thick clients, etc) with its own version. Each product version being shipped to various clients. Clients being big banks never take a patch of product even if it fixes their issues and continues requesting hotfix. We continue building hotfixes on client branch and creat ever increasing tech debt. There is never a chance to clean up or new development. Just keep doing hotfix after hotfix of same things.
To top if all off, old branches are still in svn while new in git. Old branches still compile with ant new with maven. Old still build with java 5,6,7 while current with 8. Old still build from old jenkins serve pipelines while new has different build server. Old branches had hardcoded integration db details which no longer exists so if tou forget to change before releasing it doesn't work.
Please tell me this is not normal and that there are better ways to do this? Apologies I think I rambled on for too long 😅5 -
For the fucking love of God, a client is too lazy to adapt his CI Tools to support latest Ionic that he wants us to rewrite the WHOLE WEB APP in Angular1, just to support their legacy JBOSS + Maven build process. Fucking fortunately, no adjustments on the timeline.
If I only know the names of those lazy fucks, I'll put them on the Death Note.1 -
When you know clearing out your maven repo will fix the problem but won't do it because if you do you'll never know what the ACTUAL problem was.
-
How do I handle working with my coworker?
He can be a bit half cocked with his pursuit of ideas. We're supposed to be working as a team on a project, and he'll often forget to cc me on emails. Or he'll go and talk to other people (make decisions) without discussing it with me.
Am I ovary acting? (heh) No, but seriously, I think it's benign behavior, butI feel uncomfortable by it. The last time I brought this up to him... He nearly cried. He was very hurt. What should I do? Be more aggressive?
I was a student leader throughoyt undergrad, but I feel like if we say something is a team project that we should be trying to work together. Feels like he doesn't know what that even means.4 -
Good morning devRant.
Here's a good question. What is the worst tool you've tried that was recommended to you? Could be a text editor, IDE, STACK setup, etc.
For me that tool was Eclipse with JavaEE. Not Spring/Hibernate or Maven, but specifically JavaEE in Eclipse. I probably lost over 2 1/2hours configuring that beast to work and it would still break every half hour or so. Drove me crazy enough to switch to IntelliJ. It's one of the rare cases where a free application just wasn't as good as a paid for application. :/10 -
I'm currently working on updating our SAP Hybris code base (unreleased) to the latest hybris version ... god, there are so many bugs I could scream. SAP, how can you release such a saftware*, or wait the actual question is, SAP aren't you ashamed for that peace of shit you sell for 1M per licences!?!?!
Allegedly SAP has >100 people sitting there working on hybris. Every new version I wonder the same, when do the finally fix the bugs, improve performance, update the 10year old ant version, migrate to maven, remove the bloat ...
what they actually do is just add bugs and more bloat "§$%&/()=)(?/&%(&
* german "saft" means juice. A "saftladen" is a shitty company, "saftware" ... you get it right ;-)2 -
I just created a wolpertinger.
https://en.m.wikipedia.org/wiki/...
We have the problem that the number one build tool for scala / java is sbt.
Sbt sucks.
There are many nice plugins for maven.
Sbt can generate a POM from an SBT build.
But the plugins need to be set up, so the generated POM must be modified...
... a POM is XML.
So Python, Pexpect (as SBT needs a PTY and is very cranky regarding exiting properly and running non interactive)… POM XML modification....
Maven - Plugin run.
But we need to do this on... Larger scale.
So, as I'm a lazy mofo, I wrapped the python thingy in bash, mostly because it was simpler than dealing with async / threading in python. Just spawning per project...
So we have Bash, Python, Java, SBT / Maven, hand in hand....
... Is it normal to feel sorry for the build server?1 -
I just wanted to try out apache open natural language processing. But why is building java from source such a pain? Totaly unintuitive. 😕
-
Fucking IntelliJ
It does not often die on me when I do a Maven import, but when it does, I hate it.
</endOfRant>
Otherwise I love IntelliJ <35 -
Can someone please force my project manager to use fucking Maven for dependencies instead of including local jar files for some side projects?
And possibly a better IDE than Netbeans...1 -
Here's the story of me trying to set up Jenkins with Java, Maven and pipelines. I finally got it to work :D Not sure if it's the correct way and all, but fuck it, it works!1
-
Damn you LEGO, you get more than 450€ for this shit, but it's as fast as the brick it is. Surely, even back in 2013 you could've dome better than bloody 300Mhz and 64MB RAM?! This is the bloody hello world project and it takes you an hour to create it? And you also want like ten minutes to start maven in the first place?4
-
That Feeling when Eclipse removes Maven dependencies, put his compiler and Build Path to Java 5 when you're with Java 8, and cookies aren't good since it's not yours.
Yay for git -
# Start a new job
## find out, on the first day, that the position you applied (data science)..simply doesn't exists
##find out that the environment is really stressfull and not pleasing as it was depicted during interviews
## quickly find an alternative to quit current job
#Start a third new job (3 months after quitting the first one)
##find out, on the first month, that the code quality is below zero.
###there are no unit tests.
### there is no possibility to create a unit test because the code doesnt folloe any pattern.
###there is no division between backend and frontend.
###there is no division between business logic and db in the backend.
###there is no division between frontend, business logic, and db
###find out that they deliberally built a framework to get frontend and backend togheter
###the project is built over maven, but there are no poms wellformed
###the project is approx 300k java lines....
##lose hope and start to find a new job....1 -
I think the angriest I've been at work was the day my coworker,and I found out that another department at our research institution had websites. Our Pi had been practically begging for us to get a site for over a year. Also, their websites were shitty.3
-
When I moved to another company there was Android app, with 5K lines of HTTP Service class, with apache legacy library, with maven and tons of garbage.
now, it has gradle, multiple build types, flavors, multiple source sets, RxJava, Java 8, ButterKnife, modular dependency, I always do profiling and APK analyze and tons of essential and cool features.
Project started last year but what the heck?
Dude, I will find you,and I will kill you! -
Good times: Migrating a Jenkins build pipeline patched together out of groovy, python, bash, awk, perl scripts and God knows what else since I have only scratched the surface so far, from Maven to Gradle while not breaking day-to-day builds, integrations and deployments of features, hotfixes and releases. I'm actually enjoying the challenge but it's taking forever due to several issues:
- Jenkins breaks/hangs randomly because it's Jenkins
- Gradle can't handle sets of version ranges but Maven can
- Maven can't handle Gradle style version ranges
- Gradle doesn't have a concept of parent poms, you need to write a plugin and apply stuff programmatically. But plug-ins being part of the buildscript{} don't fall under depency management rules :clap:
- Meme incompatibility issues of BSD vs GNU versions of CLI tools like sed, grep etc1 -
First post woo
So I need some opinions guys...
Just started a new job and they are trying to force me to use eclipse rather than IntelliJ (which I have used for a good while )
I have asked for their reasoning and they simply say it's so everyone is using the same thing in the team , I think this is a pretty crap reason , especially when all the projects are created in maven , what do you all think ? Am I being unreasonable ? P.S I pay for the license myself4 -
FOR FUCKING FUCK SAKE
I have a shit ton work to do. Just finished (hopefully) all of my exams, came back to work and got tasked with simultaneously developing a new app (Android), adjusting some of my own code to work with client's specific requirements in completely different project (C#) and also I have to fix a legacy app (Android) because UE comitee will be visiting us on wendesday.
I've never seen this code earlier. I've never seen this WHOLE SHITTY PROJECT. Guy that was developing this left few years back.
It's a complete spaghetti. 550 FUCKING LINES OF CODE for a one class, most of the methods are deprecated and won't even try to work on Android > 4.0. No documentation. Nothing works. Whole code is ridden with bugs, warnings and looks like it's glued together with duct tape. I even had to migrate from fucking Maven to Gradle it's that old. -
Sometimes I hate how forgetful I am. I was deploying JavaRant to maven central, closed the repository, and then I forgot to click this stupid button... And I was wondering why it was not updated yet.1
-
Ugh. Where to begin!
If you gotta make a standard for everyone to follow, you better make it readily available. Even though you barely have any users, but if it's a standard, anyone can try to follow it tomorrow. Or else take it down completely.
There's a standard for learning tools handled by IMSGlobal (Don't ask who they are, no idea). So if you want to build a tool to integrate with different learning platforms, follow this.
OK now, to read the documentation you have to register for an account. As if this is bad, ....... wait for it ........, sign up has to be approved by an admin. My request is already weeks old but not approved.
OK. Google around and try to see if some alternative can be read than that shitty website. Apparently, they have a Spring plugin on GitHub that can be used as a Maven dependency. It has a small readMe attached so I can get something out of it.
And I'm using Spring, golden right? Not quite...............
turns out the stupid readMe is outdated. If you follow those instructions, you get errors. WONDERFUL!!
Now I have to dig through all the code files and try to make sense of what I'm supposed to do. -
I discovered in a project that Maven artifacts have a new type:
<dependency>
<groupId>com.idontexist</groupId>
<artifactId>idontexist</artifactId>
<version>2.5.1</version>
<type>pom.lastUpdated</pom>
</dependency>
It's amazing, because with this special type you can set a dependency that doesn't exist in any repository AND THE COMPILATION WORKS ANYWAY!!! It's very useful!!!!1 -
Is anyone on here a proud owner of one of the current gen enthusiast platforms? (Threadripper or i9)
I am seriously wondering how much impact that brute power has on my build times. I just tried a ramdisk for my maven build and it seems that the faster storage did not increase build times much. So I am assuming there is a cpu bottleneck?3 -
One of the truth no one wants to say because what can not be can not be.... but...
Maven is fuck... bullshit... failure by design.
For each project I need an own settings.xml. Always something not working. The same artifactory password 10 times there. Null pointer exceptions all over the place. Basics like versioning not really solved.
In all my years with Ant I never had so much problems than with Maven.
This settings.xml is really a design failure. Crap.1 -
OMF you motherfucking Eclipse developers. All I want is to build an application with SWT. WHY THE FUCKING FUCK is that near impossible.
1) why are there no SWT maven artifacts= only 3 year old ones on a custom github repo?
2) why is is fucking rocket science to even find a guide on how to build this fucking piece of shit yourself
3) WHY THE FRIGGIN FUCKING FUCK OF FUCKS is it so hard to build it your self - outdated docs .... nice, dead links and repos, nicer .... referenced maven artifacts from a non-existing, none-documented repo, ... wow you're really kickin it here.
All I want is to fix this nullpointer in this fucking piece of shit you call framework ...
Have you actually tried to read your docs (can we really call that shit docs?) from a none-100years-swt dev's point of view?
Noone understands shit!
Why is there no standard build system, like maven, grade or for fuck's sake even ant?
It almost feels if you devs don't want anyone use your abomination, so it can die in peace.
Arg, I could puke ...5 -
Forgot to download maven last night and run it so it'd grab its deps...
On uni wifi now, it's been at least 100 mins and it's not even done downloading them 😭 I need my unit tests ffs, how is it that a uni like this has download speeds of a couple kb/s
It hurts.
It really hurts.
To be fair, I'm sharing my phones wifi over Bluetooth, because I forgot my cable at home. So it's kinda my fault 😂 uni wifi is 👌 -
I'm in charge of our Maven based build process. Doing CI with Jenkins. Coworker develops huge multi module project, doesn't take care of hierarchical structures or any other Maven good practices.
Build fails due to several circular dependencies and other ill stuff.
My fault.
Ragemode. -
Once again, the next build after hitting Ctrl + C while building a project surprised me with `java.lang.IllegalArgumentException: Malformed \uxxxx encoding`.
In which file? Is it so difficult to provide users with helpful information? Your `-X` option still does not show anything.
(Not to mention it must not corrupt ~/.m2/repository on SIGINT).1 -
After using maven for so long, suddenly using ant feels like such a drag.
10 minutes of wait. Can't even do anything productive/destructive in those 10 mins.2 -
Current side project: A Gradle plugin to automate the build.gradle for Minecraft mods through ForgeGradle, Minecraft Forge, CurseGradle, Maven, and soon, Git changelogs.
Needless to say, its coming along swimmingly! -
And there I was thinking Maven is going to make life simpler, with this granular dependency management and IDE independence (no extraneous classpath and module management required). But wait, it turns out that to run simple Ant task I need all my dependencies to have *.pom. Every. Fricking. Dependency.
I mean, sure, only if I knew which sub-dependencies they all had, but that seems like heck a lot of work to make external JAR libraries to work with Maven process.
WHY TODAY? Yesterday I had no issue: uploaded few libraries in corporate repository, refreshed index, dependencies downloaded, even had time appending javadoc to one of them and it worked. But today is the day, right? I just run simple task with maven-antrun-plugin (mvn antrun:run@<executionID>), and it starts scanning each dependency for *.pom file. I DON'T WANT THIS. Google, help me. Oh, no direct answers and clues?
Just... fuck you, Maven. With all 2 days effort I could just litter in IDE's classpath, write build.xml in no time, make normal webservice, but that would require me to also litter sources with required libraries. FML!4 -
my maven project was working fine in windows but showing a lot of errors in Ubuntu's eclipse. so,I uploaded my to Github & I cloned it in my ubuntu only to find that I forgot to remove a jar from the classpath. I felt so silly afterwards but yeah,I think that was cool! 😋
-
I can see the appeal for Gradle over Maven. You can do a lot more with a lot less code + compilation times are much shorter. Makes maintaining and updating a program much easier over cleaning a repository if something gets messed up.
Back in may when I was picking up Java I remember in my intro course I was dumping individual .jar files and referencing dependencies manually. Why anyone would do that in the CURRENT YEAR is beyond me. 😣
I wish C++ had even half of the features that come standard on Java when I worked with it.5 -
just got a "privilege update" now i'm responsible for not only my software but for the webservers too...thanks admin guys...now i have more bullshit to deal with1
-
In my Java project, I added a wiremock rule to a few tests. Now my Jacoco code coverage in sonar dropped to 0%. 😩 Maven is running the goals, bit not creating the jacoco.exec file.
That's one of the worst things in Java. Once you understood the concept of immutables, the build tools start to annoy you.2 -
after having to deal with a lot of weird "rewrites" and "refactorings" by co-workers i started to add this comment into the head of my sourcefiles:
You may think you know what the following code does.
But you dont. Trust me.
Fiddle with it, and youll spend many sleepless nights cursing the moment you thought youd be clever enough to "optimize" the code below. Now close this file and go play with something else.
Found this somewhere on the interwebs and since i use it the "refactorings" and "optimizations" of my code stopped nearly completely -
Seriously, fuck Bazel. It's the most unintuitive build tool I have ever had the displeasure of coming across.
It works, but try compiling an Android app, that uses deps from gmaven, maven and jcenter and has java, as well as native dependencies.
It's fucking impossible. -
gradle builds are so much more streamlined than maven. it's such a hassle working with long xml files. -_-1
-
Fuck maven. For fucks sake. If you want to install something in js project, you do yarn add ... and shit works. If you want to install on linux you do apt-get ... If you want to install ANYTHING on windows in fuckin 2020 you download it and it has an .exe.
But not maven. Oh nooooo. You need to do all the bullshit with configuration, set shitty paths and just pray for someone to shoot you.
Don't punish me for Windows. It's a God damn corporate policy not my sane choice...33 -
Fucking Apache Maven. We are required to use it at university and it's shit. Sometimes I think that successful usage relies solely on the position of the stars in our galaxy, since stuff will work after trying same thing again five times.
Maven == Insanity -
Making a 30 second change and then waiting 20 minutes to test it... <F5 Refresh, Maven Update, Project Clean, Republish>
-
Why does maven for eclipse not do what I want? Am I just doing it wrong, or is it too complicated to get an executable jar with all dependency plugins packaged, where no alert like "main class not found" will pop up at execution?!?
-
Maven simplejavamail dependency import, build email, try send it: jakarta.mail.messageexception whatever, not class def found. After some googling: Depends on jakarta-mail. Find jakarta-mail dependency, include it in pom, start again: jakarta.mail.someotherclassexception, no class def found.
Yeah fuck you, too...2 -
That amazing feeling of a finished side project, which is also uploaded to Maven central! Woooooo :D1
-
I just spent 3 hours trying to find out why I am getting a NoClassDefError. Figured out that it's because Maven did not load the source files from Sendgrid :[
-
Technical lead decides to change some transitively resolved dependencies to Maven with some configurations not existing, 2 days before release to production. Thanks to our none existing regression tests, no users can log in after releasing. Guess who can fix it ASAP (of which business thinks it means, in half an hour)
-
Which Idea was it to combine C, C++ and Java in one big fucking Project. And who thought that it was a Good Idea to use Eclipse C++ for developing with Java. If the whole Project would have been in Java I could have used the auto Import feature from Eclipse, but if Eclipse doesn't Know that the Java Files are Java Files it doesn't fucking work. So I just had to spent a whole fucking Day compiling the Projects with Maven so that I can write around 100 Lines of Import...
And the best Thing is, a few Weeks ago the Imports existed so a fucking asshole just erased them when he tried to optimize these...
Sometimes I hate this company -
I spent ~12h working on a simple issue/bug.
7h was spent on rebuilding local dev environment which is a clusterfuck of maven profiles, tomcat, some autogenerated degeneracy, and 2 different build systems for JS.
5h spent on actual bug fixing, code reviews and so on.
FML2 -
I always thought J2EE was like a completely different thing from general Java. It has features like Enterprise management beans, special packages and has it's on Project type, structure in IDEs.
But it seems like it's not actually that different? If you use Spring, Hibernate, custom library annotations and build a Servlet, web server with @POST, @GET or use Serialization... And maybe use JDK instead of JRE, Maven, Ant... apparently that's considered J2EE?9 -
So I start today lovely Monday with a typo SNAPHOT instead of SNAPSHOT that made my artifacts always deployed to release repo
-
so, if your TL gave you a task to update all the libraries of an app to their latest version, how are you going to go with it?
Honestly my first reaction was frustration and scare. Coz in android, its already very difficult to run a 1 year old project in the latest studio as a lot of things become incompatible with each other.
but thinking deeply, i think its a nice challange as a software dev.
i got 1 approach in mind ,the bomb blast approach : search for the latest versions of that lib in maven central and replace
any other , more sequential approach that you could think of?1 -
*Begins a java project in IntelliJ*
*Puts it on git without committing .idea folder*
*Suddenly finds out 26 libraries are needed so adds maven*
*Collaborators don't like maven*
*Battle on git between package names com.company.project and main.java.com.company.project* -
The day I'm fucking around with Kafka Streams API and had to work with Java after swearing it off 5 years ago for JS bae...
Is the day that Apache's everything is down. Can't even hit their fucking website. I just want a fat jar. Just one. -
I got an idea about my at-job project and I wanted to try it out at home. First, I need to set up my environment.... 20 minutes later maven is still downloading dependencies. Size of ~/.m2 > 1G. So much for unpaid voluntary work.
-
Hi guys ,
I need your help
I have to query to impala and store the result in a panda dataframe .
But as the data is very large it not happening can you give any suggestions
Thanks1 -
Working on legacy code with Ant/CVS setup. I tried for a day but easily gave up and abandoned the idea of running locally using maven
-
Try creating a Java multi-dependency project without Maven and just manually adding the jars. It's super annoying as nested dependencies will arise and sometimes conflicts. :P9
-
I cannot not like backend, I'm currently trying to build an Angular WebApp together with a Java Project through Maven. It's just too much fun to mess with stuff like this.1
-
Thought I'd give kotlin spring boot a shot. I assumed it would work out of the box like with java. It didn't. Apparently with jdk 17 I chose an incompatible version with the gradle version provided. Downgrade gradle. 'runApplication()' still marked with an error, which I cannot seem to solve. Answers from the internet are no solution.
But I can run the project ... but I cannot reach my dummy address, same with maven ... wtf, which part of rtfm did I miss? Wasn't kotlin supposed to be the better java?3 -
Sometimes I'm questioning all my skills... I have a maven based project which uses hibernate as OGM to the mongo database. Everything working fine and already in a productive environment.
Now I changed some lines of code at the business logic to adjust for the changed database model. So far so good.
After compiling and running on the test environment: exception! "no persistence provider for Entity Manager named xy" are you fu***** kidding me? I changed nothing at that point! -
Hmm the build fails because it wants to download grade through http.
"Ah I'll just install it with my package manager"
One apt call later: *still tries to manually download a zip of gradle*
Cool okay, what?
I just want to test and change a minor thing in an open source project, why are you making this so difficult...1 -
It sucks when you do not get api on maven central and guess what that famous jar is sqljdbc by microsoft.
*****microsoft*****. -
Stuck on this problem all day... New project using Gradle... Usually we use Maven.
I added a Jodo Time to the project as a compile/implementation depency.
But it doesn't add it to/update the project so I can use it.
I'm not sure what part is screwing up.
Feels like if a class doesn't use a package it won't download it even if it's in the build.properties?
But well I can't use it if it's not downloaded?4 -
Thanks vscode devs for the feature where they automatically map the local ports to remote port that are needed to run the node based application and also to the devs those who write such a great extensions (remote development, gitlens, docker and kubernetes)
No more ng serve -host 0.0.0.0
No more remote_ip:4200 in browser.
These two steps were so much frustrating whole pulling or checking out another branch.
I just need to learn how to run maven from vscode where I have to add another project in dependency.(never worked on maven before and hate long nested xml). AFTER that never booting vm in GUI.4 -
Java/Maven Question
We have a project with source==target==1.7 in the compile plugin.
But on our servers we actually run it using 1.8 JVM. Is there any reason why we can't see it to compile with 1.8?
Or is it like the Windows backwards compatibility options? -
Has anyone used bazel build tool, coming from maven/Gradle background I have spent the last couple of days on this thing and I can say it is fucking awful and unintuitive, I still can't figure how to bring in simple external dependecy such as apache commos using this shit2
-
Does anybody know how to configure eclipse to run in same way as vs code remote( I am kind fan of it) runs?
I tried remote option in eclipse i.e RSE but it looks more like file BROWSER than remote development .
FYI, I have a multi module maven/grade projects. I know I can use vs code for that as well but due to some limitations I want to use eclipse. I have a windows host and have to do development in vm or ec2 and I want to avoid booting in GUI mode.
If it's possible and you know a document which can help me or share the steps with me, it 2ould be very helpful.6 -
Seems like spring boot kotlin doesn't want to cooperate in any way. Tried to set up a backend with it, but it keeps showing an error regarding wrong jvm-target. The project runs nevertheless. I changed the maven settings according to the docs, but no change. Whatever, still runs. However a newly created "hello world" rest endpoint just doesn't work, even following a beginner tutorial. localhost:8080/hello ... error fallback page.
I really wanted to give kotlin a try. Doing the same with java, instantly working.
Fuck spring boot kotlin. Or fuck me for not knowing how to handle it.5