This post was not so obsolete as the previous two ones, however it referred to JUnit 4, while the most interesting point in the argument, I feel, is in the fact that we should use a recent Surefire Maven plugin if we want the test run on build work with JUnit 5.
So, again, so long my outdated post. If interested, you could get its new version on my other blog: https://thisthread.blogspot.com/2020/05/test-on-build-with-maven.html.
tutorial-like examples and some informal chatting on Java, JavaScript, other programming languages, and more.
Showing posts with label Build. Show all posts
Showing posts with label Build. Show all posts
Adding Logback to a Maven Project
If you have written a Java project, maybe using Eclipse as IDE, but fundamentally using Maven as build manager, and you ask yourself how to add dependencies to it and, even more importantly, how to tell Maven to include your dependencies in the resulting jar, making it "fat" but also so more easily usable. This post was for you.
I used Logback as sample library, but the story is the same any dependency you are putting in your app.
Unfortunately it aged badly, so I had to ditch it.
Still, I decided to rewrite it and I put the new version in my other blog. Follow the link if interested in it. https://thisthread.blogspot.com/2020/05/jar-with-dependencies-through-maven.html
I used Logback as sample library, but the story is the same any dependency you are putting in your app.
Unfortunately it aged badly, so I had to ditch it.
Still, I decided to rewrite it and I put the new version in my other blog. Follow the link if interested in it. https://thisthread.blogspot.com/2020/05/jar-with-dependencies-through-maven.html
Simple Maven Eclipse Project
As the title hints, this post was about creating a tiny little Java desktop apps on the Eclipse IDE using Maven as building tool.
I say "was" because, unfortunately, it was too obsolete to survive.
My first idea was just to clean it a bit and make it more fit for the current time. Then I found out that it was simpler for me, and clearer for the reader, if I rewrote it from scratch. Along the way, I have also refactored the code and rearrange the repository on GitHub.
Moreover, I moved it to my other blog, this thread, that I plan to keep as the only one active. If interested, please follow the link https://thisthread.blogspot.com/2020/05/simple-maven-eclipse-project.html
I say "was" because, unfortunately, it was too obsolete to survive.
My first idea was just to clean it a bit and make it more fit for the current time. Then I found out that it was simpler for me, and clearer for the reader, if I rewrote it from scratch. Along the way, I have also refactored the code and rearrange the repository on GitHub.
Moreover, I moved it to my other blog, this thread, that I plan to keep as the only one active. If interested, please follow the link https://thisthread.blogspot.com/2020/05/simple-maven-eclipse-project.html
Subscribe to:
Posts (Atom)