<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Luiz Gustavo Costa</title>
    <description>The latest articles on DEV Community by Luiz Gustavo Costa (@luizgustavocosta).</description>
    <link>https://dev.to/luizgustavocosta</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F327125%2F95edf49d-abec-44f1-987e-94a9f1c5b16a.png</url>
      <title>DEV Community: Luiz Gustavo Costa</title>
      <link>https://dev.to/luizgustavocosta</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/luizgustavocosta"/>
    <language>en</language>
    <item>
      <title>The best brazilian podcasts in my point of view</title>
      <dc:creator>Luiz Gustavo Costa</dc:creator>
      <pubDate>Sun, 02 Aug 2020 13:53:10 +0000</pubDate>
      <link>https://dev.to/luizgustavocosta/the-best-brazilian-podcasts-in-my-point-of-view-44ah</link>
      <guid>https://dev.to/luizgustavocosta/the-best-brazilian-podcasts-in-my-point-of-view-44ah</guid>
      <description>&lt;h2&gt;
  
  
  Table Of Contents
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Why my point of view?&lt;/li&gt;
&lt;li&gt;My first time listening a podcast&lt;/li&gt;
&lt;li&gt;My favorites podcasts&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Why my point of view? &lt;a&gt;&lt;/a&gt;
&lt;/h3&gt;

&lt;p&gt;Just I why to share with you. I know that every person has the personal preferences and it´s good. I don't want to change an opinion just to share what's works to me.&lt;/p&gt;

&lt;h3&gt;
  
  
  My first time listening a podcast? &lt;a&gt;&lt;/a&gt;
&lt;/h3&gt;

&lt;p&gt;If I remember well was on last decade on 2009 was a &lt;a href="//cbn.globoradio.globo.com"&gt;CBN radio&lt;/a&gt; podcast made by Juca Kfouri and was about soccer, a common topic in Brazil.&lt;br&gt;
In addition, I had no music on my iPhone and Spotify had not yet been released.&lt;/p&gt;

&lt;h3&gt;
  
  
  My favorites podcasts&lt;a&gt;&lt;/a&gt;
&lt;/h3&gt;

&lt;p&gt;This is my list&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;a href="https://www.deviante.com.br/podcasts/scicast/"&gt;Scicast&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=""&gt;Xadrez Verbal&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://jovemnerd.com.br/nerdcast/"&gt;NerdCast&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://anticast.com.br"&gt;Anticast&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://hipsters.tech/"&gt;Hipters&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://cinemacomrapadura.com.br/rapaduracast/"&gt;Rapaduracast&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.b9.com.br/shows/naruhodo"&gt;Naruhodo&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://domineingles.com.br"&gt;Inglês todos os dias&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://tecnoblog.net/editoria/podcast"&gt;Tecnocast&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://www.nexojornal.com.br/podcast"&gt;Nexo Jornal&lt;/a&gt; &lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Cover image: &lt;a href="https://pixabay.com/photos/microphone-audio-recording-podcast-2618102/"&gt;Pixabay&lt;/a&gt;&lt;/p&gt;

</description>
      <category>podcast</category>
      <category>brazil</category>
    </item>
    <item>
      <title>Why take a Java certification?</title>
      <dc:creator>Luiz Gustavo Costa</dc:creator>
      <pubDate>Sun, 26 Jul 2020 14:05:45 +0000</pubDate>
      <link>https://dev.to/luizgustavocosta/why-take-a-java-certification-ggo</link>
      <guid>https://dev.to/luizgustavocosta/why-take-a-java-certification-ggo</guid>
      <description>&lt;p&gt;This post is about my experience with Java Certifications and I´m assuming that content could be applied in other areas/certifications.&lt;/p&gt;

&lt;h2&gt;
  
  
  Table Of Contents
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Why&lt;/li&gt;
&lt;li&gt;How tough it is?&lt;/li&gt;
&lt;li&gt;My certifications&lt;/li&gt;
&lt;li&gt;Final words&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Why &lt;a&gt;&lt;/a&gt;
&lt;/h3&gt;

&lt;p&gt;These were my "why" to try and take some certifications&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Better understanding of technology&lt;/li&gt;
&lt;li&gt;Enhance my developer skills&lt;/li&gt;
&lt;li&gt;Have a better CV&lt;/li&gt;
&lt;li&gt;In a interview you can go deeply in some topics and show what you know about.&lt;/li&gt;
&lt;li&gt;Write articles and participate on discussion topics about technologies and not only be a reader.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  How tough it is?&lt;a&gt;&lt;/a&gt;
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Back in time, more precisely in 2006 was very tough to take maybe because was my first the Java Programmer 1.4 and was very anxious and had afraid to fail, it could be happened.&lt;/li&gt;
&lt;li&gt;Have time to study and sometimes create brain muscle to study every or 5 times a week at least.&lt;/li&gt;
&lt;li&gt;Try using great mocks, because on my last try I bought one mock that give a bunch of wrong answers and I fail on the test.&lt;/li&gt;
&lt;li&gt;Fail is normal more than I thought, the thing to do is have a time for you review the failed topics, study be calm and schedule another test.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  My certifications&lt;a&gt;&lt;/a&gt;
&lt;/h3&gt;

&lt;p&gt;All my certifications are related with Java and check out below:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Year&lt;/th&gt;
&lt;th&gt;Name&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;2015&lt;/td&gt;
&lt;td&gt;Oracle Certified Master, Java EE 6 Enterprise Architect&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;2008&lt;/td&gt;
&lt;td&gt;Sun Certified Enterprise Architect for Java Platform EE 1.3&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;2007&lt;/td&gt;
&lt;td&gt;Sun Certified Business Component Developer for the Java Platforn, EE 1.3&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;2007&lt;/td&gt;
&lt;td&gt;Sun Certified Web Component Developer for the Java Platform, EE 1.4&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;2005&lt;/td&gt;
&lt;td&gt;Sun Certified Java Programmer 1.4&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h3&gt;
  
  
  Final words&lt;a&gt;&lt;/a&gt;
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Do it by yourself because in my case the certifications having me help until nowadays to thing how to solve problem no matter how old I took.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Cover image credits - &lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Funsplash.com%2F%40landb%3Futm_source%3Dunsplash%26utm_medium%3Dreferral%26utm_content%3DcreditCopyText" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Funsplash.com%2F%40landb%3Futm_source%3Dunsplash%26utm_medium%3Dreferral%26utm_content%3DcreditCopyText" alt="https://unsplash.com/@landb?utm_source=unsplash&amp;amp;utm_medium=referral&amp;amp;utm_content=creditCopyText"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Thank you by your time reading my post. If you've any question, please let me know.&lt;/p&gt;

</description>
      <category>certification</category>
      <category>java</category>
      <category>skills</category>
    </item>
    <item>
      <title>6 steps to create and publish your own podcast</title>
      <dc:creator>Luiz Gustavo Costa</dc:creator>
      <pubDate>Fri, 17 Jul 2020 18:59:05 +0000</pubDate>
      <link>https://dev.to/luizgustavocosta/6-steps-to-create-and-publish-your-own-podcast-2l5</link>
      <guid>https://dev.to/luizgustavocosta/6-steps-to-create-and-publish-your-own-podcast-2l5</guid>
      <description>&lt;h2&gt;
  
  
  Table Of Contents
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;1 - What is the best name?&lt;/li&gt;
&lt;li&gt;2 - How to record&lt;/li&gt;
&lt;li&gt;3 - How to edit?&lt;/li&gt;
&lt;li&gt;4 - Where I could find sound effects?&lt;/li&gt;
&lt;li&gt;5 - Is there any free host?&lt;/li&gt;
&lt;li&gt;6 - Share you podcast&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  1 - What is the best name? &lt;a&gt;&lt;/a&gt;
&lt;/h3&gt;

&lt;p&gt;This is the first but if you don't have any name for now, no problem you should have before publish your podcast.&lt;br&gt;
A time ago I listened a podcast and they said to no add the name podcast or even cast as a name, but I disagree because the name should be unique having or not podcast or cast.&lt;/p&gt;

&lt;h3&gt;
  
  
  2 - How to record? &lt;a&gt;&lt;/a&gt;
&lt;/h3&gt;

&lt;p&gt;On my podcast I use to record on Zoom application, since I record with some friends, but if you record alone this record could be using any software as GarageBand.&lt;/p&gt;

&lt;h3&gt;
  
  
  3 - How to edit? &lt;a&gt;&lt;/a&gt;
&lt;/h3&gt;

&lt;p&gt;To edit sometimes the best part of podcast I use GarageBand&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--L4Xt3lQ2--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/3uhntz3t9w466pirz9hh.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--L4Xt3lQ2--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/3uhntz3t9w466pirz9hh.png" alt="GarageBand" width="880" height="539"&gt;&lt;/a&gt; if you've a MacBook.&lt;br&gt;
I look for other softwares but defenetively the GarageBand for me until today is the best. &lt;/p&gt;

&lt;h3&gt;
  
  
  4 - Where I could find sound effects? &lt;a&gt;&lt;/a&gt;
&lt;/h3&gt;

&lt;p&gt;The sound effects could be added inside the GarageBand or import sounds from iMovie or even search on the internet for some track such as &lt;a href="https://movie-sounds.org/"&gt;https://movie-sounds.org/&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  5 - Is there any free host? &lt;a&gt;&lt;/a&gt;
&lt;/h3&gt;

&lt;p&gt;Yes, for instance &lt;a href="https://www.podcasts.com"&gt;https://www.podcasts.com&lt;/a&gt; is a site where you use as a host server to share you podcast to others channels such as Spotify, Apple, Google and son on.&lt;/p&gt;

&lt;h3&gt;
  
  
  6 - Share you podcast &lt;a&gt;&lt;/a&gt;
&lt;/h3&gt;

&lt;p&gt;As said on item before some big players are Spotify, Apple, Google and TuneIn, so once you've one host to your podcast, it's time to share your feed to players.&lt;/p&gt;

&lt;p&gt;Have a good podcast a good weekend, btw my podcast is &lt;a href="https://open.spotify.com/show/1A9vHJkLIMxj6t8lHZwqzB?si=Rf0PEaJLQAy1Z1wWkhIf_Q"&gt;https://open.spotify.com/show/1A9vHJkLIMxj6t8lHZwqzB?si=Rf0PEaJLQAy1Z1wWkhIf_Q&lt;/a&gt;&lt;/p&gt;

</description>
      <category>podcast</category>
    </item>
    <item>
      <title>How to start a JUnit 5 project in few minutes</title>
      <dc:creator>Luiz Gustavo Costa</dc:creator>
      <pubDate>Sun, 12 Jul 2020 14:03:30 +0000</pubDate>
      <link>https://dev.to/luizgustavocosta/how-to-start-a-junit-5-project-in-9-minutes-5f6a</link>
      <guid>https://dev.to/luizgustavocosta/how-to-start-a-junit-5-project-in-9-minutes-5f6a</guid>
      <description>&lt;p&gt;In the next minutes you will able to create and run a project using JUnit 5&lt;/p&gt;

&lt;h2&gt;
  
  
  Table of minutes
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Minute 1&lt;/li&gt;
&lt;li&gt;Minute 2&lt;/li&gt;
&lt;li&gt;Minute 3&lt;/li&gt;
&lt;li&gt;Minute 4&lt;/li&gt;
&lt;li&gt;Minute 5&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Minute 1 &lt;a&gt;&lt;/a&gt;
&lt;/h3&gt;

&lt;p&gt;Download the &lt;a href="https://github.com/luizgustavocosta/maven-archetype-costa-luiz"&gt;project archetype&lt;/a&gt; from my GitHub and follow the readme.md&lt;br&gt;
If you have any doubt check the post &lt;a href="https://dev.to/luizgustavocosta/how-to-create-a-maven-archetype-in-5-minutes-1jcb"&gt;how-to-create-a-maven-archetype-in-5-minutes-1&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Minute 2 &lt;a&gt;&lt;/a&gt;
&lt;/h3&gt;

&lt;p&gt;After have the archetype and create the project as the Minute 1 &lt;a&gt;&lt;/a&gt; open the project using an IDE such as IntelliJ /Eclipse and let's analyze the first test in JUnit 5.&lt;/p&gt;

&lt;h3&gt;
  
  
  Minute 3 &lt;a&gt;&lt;/a&gt;
&lt;/h3&gt;

&lt;p&gt;Check the dependencies for sure. The dependencies&lt;br&gt;
junit-platform-commons, junit-jupiter-api, junit-jupiter-engine, junit-jupiter-params, mockito-junit-jupiter should be in place.&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--6H3l_hxp--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/rmkjwsx28dxoq3g2nmet.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--6H3l_hxp--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/rmkjwsx28dxoq3g2nmet.png" alt="Dependencies" width="505" height="597"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Minute 4 &lt;a&gt;&lt;/a&gt;
&lt;/h3&gt;

&lt;p&gt;Let see the test class&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--l_acOdhu--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/lx52bqwszzg8xuf1ef9e.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--l_acOdhu--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/lx52bqwszzg8xuf1ef9e.png" alt="Test class" width="879" height="480"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Minute 5 &lt;a&gt;&lt;/a&gt;
&lt;/h3&gt;

&lt;p&gt;Now is time to you create more tests and make your application more reliable.&lt;/p&gt;

&lt;p&gt;Thank you by your time and shortly I'll make available one post more complete about JUnit 5.&lt;/p&gt;

</description>
      <category>junit5</category>
      <category>maven</category>
      <category>java</category>
    </item>
    <item>
      <title>How to improve the performance of an old MacBook</title>
      <dc:creator>Luiz Gustavo Costa</dc:creator>
      <pubDate>Tue, 07 Jul 2020 17:56:36 +0000</pubDate>
      <link>https://dev.to/luizgustavocosta/how-to-improve-the-performance-of-an-old-macbook-44b8</link>
      <guid>https://dev.to/luizgustavocosta/how-to-improve-the-performance-of-an-old-macbook-44b8</guid>
      <description>&lt;h2&gt;
  
  
  Table Of Contents
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;How bad my computer was?&lt;/li&gt;
&lt;li&gt;My options&lt;/li&gt;
&lt;li&gt;What I choose?&lt;/li&gt;
&lt;li&gt;Result&lt;/li&gt;
&lt;li&gt;References&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  How bad my computer was? &lt;a&gt;&lt;/a&gt;
&lt;/h3&gt;

&lt;p&gt;My computer is an old MacBook Pro from 2011, yes a long time ago :) and I came with 4gb of memory not bad talking about 9 years ago and about 4 years I updated to 16 gb.&lt;/p&gt;

&lt;p&gt;So past the time I felt some difficulties to open or even work with my IDE and using a software to analyze I/O I saw the numbers bellow.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--D55xrSvr--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/5a91nh3yq4cvmffby4dg.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--D55xrSvr--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/5a91nh3yq4cvmffby4dg.png" alt="Alt Text" width="684" height="708"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  My options &lt;a&gt;&lt;/a&gt;
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;The first but the more expensive is: Go to apple's site choose the best configuration and finish the purchase paying a lot of money :(.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;The second be patient with the machine :(.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;The last was if I change the disk since a ssd disk is faster than the actual :) ?&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  What I choose? &lt;a&gt;&lt;/a&gt;
&lt;/h3&gt;

&lt;p&gt;I choose the last option and I had to bought the ssd and more tools such as&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;SSD disc&lt;/li&gt;
&lt;li&gt;SSD to USB cable to copy the data&lt;/li&gt;
&lt;li&gt;Precision Screwdriver&lt;/li&gt;
&lt;li&gt;Antistatic wrist strap with ESD protection + grounding cable + mat set &lt;/li&gt;
&lt;li&gt;16 hours to execute the backup from HDD to SDD&lt;/li&gt;
&lt;li&gt;30 min to open / close the laptop&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Result &lt;a&gt;&lt;/a&gt;
&lt;/h3&gt;

&lt;p&gt;After the little journey to buy the things and wait the copy to SSD now the laptop has a better performance and now I can open my IDE, browsers etc &lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--Eaon9MbX--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/wuh9bhj4fupdtlwh9739.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--Eaon9MbX--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/wuh9bhj4fupdtlwh9739.png" alt="Alt Text" width="681" height="698"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  References &lt;a&gt;&lt;/a&gt;
&lt;/h3&gt;

&lt;p&gt;Tools and drive - &lt;a href="https://www.amazon.com"&gt;https://www.amazon.com&lt;/a&gt;&lt;br&gt;
Cover image - &lt;a href="https://pixabay.com/photos/rocket-launch-rocket-take-off-nasa-67643"&gt;https://pixabay.com/photos/rocket-launch-rocket-take-off-nasa-67643&lt;/a&gt;&lt;/p&gt;

</description>
      <category>mackbook</category>
      <category>ssd</category>
      <category>development</category>
    </item>
    <item>
      <title>How to create a maven archetype in 5 minutes</title>
      <dc:creator>Luiz Gustavo Costa</dc:creator>
      <pubDate>Fri, 03 Jul 2020 12:39:41 +0000</pubDate>
      <link>https://dev.to/luizgustavocosta/how-to-create-a-maven-archetype-in-5-minutes-1jcb</link>
      <guid>https://dev.to/luizgustavocosta/how-to-create-a-maven-archetype-in-5-minutes-1jcb</guid>
      <description>&lt;h2&gt;
  
  
  Table Of Contents
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Why&lt;/li&gt;
&lt;li&gt;How to build&lt;/li&gt;
&lt;li&gt;Structure&lt;/li&gt;
&lt;li&gt;Benefits&lt;/li&gt;
&lt;li&gt;How to run?&lt;/li&gt;
&lt;li&gt;References&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Why &lt;a&gt;&lt;/a&gt;
&lt;/h3&gt;

&lt;p&gt;Use a template project structure in order to speed up your project definition such as packages, dependencies and relationship between classes.&lt;/p&gt;

&lt;h3&gt;
  
  
  How to build &lt;a&gt;&lt;/a&gt;
&lt;/h3&gt;

&lt;p&gt;To build an archetype you should follow the rules&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;The packing of project should be &lt;em&gt;maven-archetype&lt;/em&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Create a file &lt;em&gt;archetype-metadata.xml&lt;/em&gt; under the folder src/main/resources/META-INF/maven.&lt;br&gt;
This file is responsible to move the files classes, folders etc.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;The folder src/main/resources/archetype-resources should have all files to be generated by this archetype. &lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--DrNsjcQg--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/8o0yg6kjq0a9o8vf9rp5.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--DrNsjcQg--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/8o0yg6kjq0a9o8vf9rp5.png" alt="Project expanded" width="880" height="320"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Structure &lt;a&gt;&lt;/a&gt;
&lt;/h3&gt;

&lt;p&gt;Below look the structure desired &lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--ef7Vq3zX--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/rml4twlts5055qb39o9f.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--ef7Vq3zX--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/rml4twlts5055qb39o9f.png" alt="Project structure archetype" width="224" height="265"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;After open the project generated you can check the classes packages and so on&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--sHPGt4ot--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/14zhv1j36syi5n0j4vii.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--sHPGt4ot--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/14zhv1j36syi5n0j4vii.png" alt="Generated project" width="248" height="339"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Benefits &lt;a&gt;&lt;/a&gt;
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;The benefits of using a archetype as said before is speed up your project creation but also to maintain the projects with the same structure and avoid copy and paste of files.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  How to run? &lt;a&gt;&lt;/a&gt;
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;use the maven to build your archetype and for that execute the command&lt;br&gt;
&lt;br&gt;
&lt;code&gt;mvn instal&lt;/code&gt;&lt;br&gt;
&lt;br&gt;
for instance &lt;a href="https://asciinema.org/a/344679"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--AF0cZCfb--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://asciinema.org/a/344679.svg" alt="asciicast" width="880" height="474"&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Once your template is created it's time to create your project with the template&lt;br&gt;
&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;code&gt;mvn archetype:generate -DgroupId=com.mynewcompany -DartifactId=new-project -DarchetypeGroupId={from your archetype project} -DarchetypeArtifactId={from your archetype project}&lt;/code&gt;&lt;br&gt;
&lt;/p&gt;

&lt;p&gt;&lt;a href="https://asciinema.org/a/344688"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--k236K6tH--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://asciinema.org/a/344688.svg" alt="asciicast" width="880" height="474"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  References &lt;a&gt;&lt;/a&gt;
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://github.com/luizgustavocosta/maven-archetype-costa-luiz"&gt;https://github.com/luizgustavocosta/maven-archetype-costa-luiz&lt;/a&gt;&lt;br&gt;
&lt;a href="https://maven.apache.org/guides/introduction/introduction-to-archetypes.html"&gt;https://maven.apache.org/guides/introduction/introduction-to-archetypes.html&lt;/a&gt;&lt;br&gt;
&lt;a href="https://pixabay.com/photos/blueprint-ruler-architecture-964629/"&gt;https://pixabay.com/photos/blueprint-ruler-architecture-964629/&lt;/a&gt;&lt;/p&gt;

</description>
      <category>java</category>
      <category>maven</category>
      <category>archetype</category>
    </item>
  </channel>
</rss>
