<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Hello-Java-Maven]]></title><description><![CDATA[Hello-Java-Maven]]></description><link>https://holajm.hashnode.dev</link><generator>RSS for Node</generator><lastBuildDate>Sat, 10 Oct 2026 07:35:29 GMT</lastBuildDate><atom:link href="https://holajm.hashnode.dev/rss.xml" rel="self" type="application/rss+xml"/><language><![CDATA[en]]></language><ttl>60</ttl><item><title><![CDATA[Building a Java App with Maven in Jenkins]]></title><description><![CDATA[In my DevOps learning path, I’ve been experimenting with different tools and workflows. Today, I decided to create a small Java HelloWorld app and build it using Jenkins with Maven — not because it’s my first Jenkins project, but because I wanted to ...]]></description><link>https://holajm.hashnode.dev/building-a-java-app-with-maven-in-jenkins</link><guid isPermaLink="true">https://holajm.hashnode.dev/building-a-java-app-with-maven-in-jenkins</guid><category><![CDATA[Jenkins]]></category><category><![CDATA[Pipeline]]></category><category><![CDATA[Java]]></category><category><![CDATA[maven]]></category><category><![CDATA[GitHub]]></category><dc:creator><![CDATA[HARSHAL VERNEKAR]]></dc:creator><pubDate>Fri, 15 Aug 2025 11:51:45 GMT</pubDate><content:encoded><![CDATA[<p>In my DevOps learning path, I’ve been experimenting with different tools and workflows. Today, I decided to create a small Java HelloWorld app and build it using Jenkins with Maven — not because it’s my first Jenkins project, but because I wanted to keep practicing and reinforcing the basics.</p>
<h2 id="heading-how-it-started">🗓 How It Started</h2>
<p>This wasn’t my first time working with Jenkins. I’ve done more complex pipelines before. But I wanted something simple this time — a “quick win” to remind myself that not every project needs to be massive to be valuable.</p>
<p>I spun up a tiny Java app that just says:</p>
<pre><code class="lang-plaintext">Hello, Jenkins + Maven!
</code></pre>
<p>No frameworks. No microservices. Just pure, old-school Java and Maven.</p>
<h2 id="heading-why-this-project">📌 Why This Project?</h2>
<p>Sometimes, even after working on bigger setups, it’s nice to revisit the fundamentals. This project was a quick refresher on:</p>
<ul>
<li><p>Running a Java build with Maven</p>
</li>
<li><p>Configuring a Jenkins Freestyle job</p>
</li>
<li><p>Making sure my setup is still smooth</p>
</li>
</ul>
<hr />
<h2 id="heading-what-i-used">🛠 What I Used</h2>
<ul>
<li><p><strong>Java</strong> (8+)</p>
</li>
<li><p><strong>Maven</strong> (3.8.x or later)</p>
</li>
<li><p><strong>Jenkins</strong> (local setup)</p>
</li>
<li><p><strong>Git</strong></p>
</li>
</ul>
<hr />
<ul>
<li><h2 id="heading-jenkins-setup">⚙ Jenkins Setup</h2>
</li>
<li><p>Create a <strong>New Freestyle Job</strong> in Jenkins</p>
</li>
<li><p>Add Git repo under <strong>Source Code Management</strong></p>
</li>
<li><p>Build step → <strong>Invoke top-level Maven targets</strong> → <code>clean install</code></p>
</li>
<li><p>Save and <strong>Build Now</strong></p>
</li>
</ul>
<hr />
<h2 id="heading-the-result">✅ The Result</h2>
<p>The console output ended with the magic words:</p>
<pre><code class="lang-plaintext">[INFO] BUILD SUCCESS
</code></pre>
]]></content:encoded></item></channel></rss>