Software engineering explained through tutorials, guides and stories

Category: Tutorial

Publish Artifacts to local Maven with Gradle

Publishing artifacts to a local Maven repository can be useful for sharing libraries within an organization or for offline development. In this tutorial, we’ll learn how to publish artifacts to a local Maven repository using Gradle, a popular build tool for Java projects.

TL;DR

To Publish, just use this Gradle command:

gradle publishToMavenLocal  

To read from LocalRepository just add this to your dependencies block in Gradle:

allprojects {
    repositories {
        mavenLocal()
    }
}
Continue reading

Juice Shop: The hacker sandbox

Let me introduce you to the best hacker sandbox: Juice Shop.

I’m not a hacker, but as a software engineer, I try to stay updated on the most common vulnerabilities and how to avoid them.

For that, I wanted to write this introduction to one of the best hacker sandboxes: The Juice Shop. But before, let me explain where it comes from.

Code can sometimes contain bugs like the Mariner 1, which cost NASA $18.5 million in 1962) or any other of the most costly errors in code. But sometimes those errors are harmless unless you exploit them taking advantage of a vulnerability that could cost so much pain and money.

Continue reading