<?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" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Marcel Müller on Medium]]></title>
        <description><![CDATA[Stories by Marcel Müller on Medium]]></description>
        <link>https://medium.com/@marcelmller_34136?source=rss-b8da5c60893e------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*-DoKeD0GqIrQFP2yhlLYkw.jpeg</url>
            <title>Stories by Marcel Müller on Medium</title>
            <link>https://medium.com/@marcelmller_34136?source=rss-b8da5c60893e------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 00:46:29 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@marcelmller_34136/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Maven-Archetypes — a comeback of code templates?]]></title>
            <link>https://medium.com/bitgrip/maven-archetypes-a-comeback-of-code-templates-fab0e85be856?source=rss-b8da5c60893e------2</link>
            <guid isPermaLink="false">https://medium.com/p/fab0e85be856</guid>
            <category><![CDATA[archetypes]]></category>
            <category><![CDATA[maven]]></category>
            <category><![CDATA[spring-boot]]></category>
            <category><![CDATA[microservices]]></category>
            <category><![CDATA[software-architecture]]></category>
            <dc:creator><![CDATA[Marcel Müller]]></dc:creator>
            <pubDate>Fri, 13 Sep 2019 10:16:05 GMT</pubDate>
            <atom:updated>2019-09-13T10:16:05.195Z</atom:updated>
            <content:encoded><![CDATA[<h3>Maven-Archetypes — a comeback of code templates?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tYyK8MnKr0iPeQ8t4pO3Aw.jpeg" /></figure><p>Nowadays, nearly every developer is getting in contact with the term microservice. The Pros of this architecture are obvious:</p><ul><li>individual scaling of each microservice</li><li>small and independent services with a small functional scope</li><li>possibility to use different technologies in different services in a project.</li></ul><p>There are a lot of more pros (and of course cons) which have already been discussed in the media. This story focusses on the maintainability of multiple microservices with the help of Maven-Archetypes.</p><p>IT Systems are getting more and more complex. Many different technologies and programming languages are used, which may leads to a poorer maintainability. Developers have to be familiar with the versatile technology in order to be able to maintain a project. Thereto the skill requirements of developers increase which may lead companies to desire full stack swiss army like developer.</p><p>The idea to use different technologies for microservices collides with the SCRUM principle of having a homogenous team in terms of skillset to compensate absence of team members. Using more or different technologies makes it more difficult to ensure homogenous team.</p><h3>Preventing technology diversity</h3><p>From my point of view, an old tool is getting more relevant than ever: Maven-Archetypes. Today you’re creating multiple small services which should have the same general architecture to increase the maintainability. This is the idea behind Maven-Archetypes. Defining a template and generating one or multiple projects (or services) from this template. Using a template ensures, that every microservice initially has the same architectural structure. A developer only has to understand the architecture of a service one time and is able to maintain multiple microservices without the need taking hours to understand how the service is working.</p><h3>An example microservice Maven-Archetype</h3><p>Doing the same stuff over and over again is deeply unpopular within the developers community, which leaves the developer with the urge to automate these things to improve his efficiency. I found myself, recreating all the same structure of a typical Spring-Boot rest-service again and again. So I started to create a Maven-Archetype of a Spring-Boot service separated in multiple modules for different purposes.</p><p>You can find the archetype in the public archetype catalog</p><pre>mvn archetype:generate -DarchetypeGroupId=de.bitgrip.archetypes -DarchetypeArtifactId=spring-boot-service -DarchetypeVersion=0.1.0</pre><p>or on github:</p><p><a href="https://github.com/bitgrip/spring-boot-archetype">https://github.com/bitgrip/spring-boot-archetype</a></p><h3>The architecture</h3><p>The Maven-Archetype creates a Spring-Boot rest-service with a default “Hello World” implementation including database persistence and a generated Feign-Client to use it. To accomplish it and to have a clear separation between the application-layers, the service is highly modularised into six sub-modules:</p><ul><li>API (Controller interface definitions and API DTOs)</li><li>Client (Feign-Client using the API module to generate a client)</li><li>Controller (API implementation and entrypoint to the service)</li><li>Service (Service layer which provides business rule functions)</li><li>Domain (Persistence layer, Spring-Data-JPA repositories and entities)</li><li>Application (Main class and Spring-Boot configurations)</li></ul><p>Using this high modularisation has some benefits:</p><ul><li>Possibility to provide a client without any service dependency except the API</li><li>Clear separation of the modules and their responsibilities (Single-Responsibility-Principle)</li><li>Easy testing of each module</li><li>Interchangeable modules e.g. the service</li></ul><p>What do you think about archetypes? Are they outdated or are they coming back?</p><p>If you want to train your german skills, you could read an additional article about Maven-Archetypes which additionally describes how to create an Maven-Archetype.</p><p><a href="https://medium.com/bitgrip/maven-archetypes-auferstanden-wie-der-ph%C3%B6nix-aus-der-asche-1da8efe76e19">https://medium.com/bitgrip/maven-archetypes-auferstanden-wie-der-ph%C3%B6nix-aus-der-asche-1da8efe76e19</a></p><p>If you have any suggestions, improvements or opinions about Maven-Archetypes or especially my example Maven-Archetype, feel free to get in contact or share your thoughts in the comment section below.</p><p>Did you like the article? Then donate a few claps or recommend the article to others.<br>If you want to know more about BITGRIP, our projects or our conference visits, follow us on Twitter <a href="https://twitter.com/bitgrip_berlin">@bitgrip_berlin </a>or subscribe to our medium channel and you will get automatic updates on new posts.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fab0e85be856" width="1" height="1" alt=""><hr><p><a href="https://medium.com/bitgrip/maven-archetypes-a-comeback-of-code-templates-fab0e85be856">Maven-Archetypes — a comeback of code templates?</a> was originally published in <a href="https://medium.com/bitgrip">Bitgrip</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Mapping multiple app layers with Mapstruct]]></title>
            <link>https://medium.com/bitgrip/mapping-multiple-app-layers-with-mapstruct-8eef2db9e5ef?source=rss-b8da5c60893e------2</link>
            <guid isPermaLink="false">https://medium.com/p/8eef2db9e5ef</guid>
            <category><![CDATA[bitgrip]]></category>
            <category><![CDATA[mapstruct]]></category>
            <category><![CDATA[java]]></category>
            <category><![CDATA[software-architecture]]></category>
            <category><![CDATA[eisern]]></category>
            <dc:creator><![CDATA[Marcel Müller]]></dc:creator>
            <pubDate>Mon, 26 Nov 2018 07:03:41 GMT</pubDate>
            <atom:updated>2018-11-28T11:49:24.953Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1k2WknqnhVoH-A8cL91czg.jpeg" /><figcaption>Smart managing of multiple layers</figcaption></figure><p>When you work with <a href="https://en.wikipedia.org/wiki/Multitier_architecture">multiple application layers</a>, a common problem faced is transferring data objects from one layer to another. This transformation from data object A to data object B is called mapping. There are several Mapping-Frameworks which should support the developers to implement this faster and easier. For Java, we have two popular mapping frameworks: Mapstruct and Dozer.</p><p>The older one is <a href="http://dozer.sourceforge.net/">Dozer</a>. It´s based on XML mapping definitions which will be resolved during runtime. Because the mapping resolution is done during runtime, this framework is recommended for dynamic mapping purposes. But it lacks a bit of performance compared to <a href="http://mapstruct.org/">Mapstruct</a> — the second mapping framework.</p><p>When you only need static mappings, I strongly recommend Mapstruct. The mapping resolution is done during compile time and generates mapping-code which has a hand-written-style. It has the highest performance threshold for mapping objects from object A to object B.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/775/1*EWwBWcuPp6zL6dQH0Mm-Cg.png" /><figcaption>Multi-Layer Architecture</figcaption></figure><p>Mapstruct has a good documentation which shows a lot of possibilities you can do with the framework: <a href="http://mapstruct.org/documentation/stable/reference/html/">http://mapstruct.org/documentation/stable/reference/html/.</a> However, during project work, I have to implement an API which should return data based on an existing model.</p><p>Because of layering architecture, I decided to implement an API-model layer and map the existing model into the API-model. Mapstruct gives you many tools to achieve that. The toughest part is, that the existing and the target models have a complex hierarchy. So I wanted to define mappings from types in the upper hierarchy only once and the children types inherit the mapping configuration from their parents.</p><p>To accomplish this, Mapstruct has an annotation called “InheritConfiguration”, which you can find here: <a href="http://mapstruct.org/documentation/stable/reference/html/#mapping-configuration-inheritance">http://mapstruct.org/documentation/stable/reference/html/#mapping-configuration-inheritance</a>.</p><p>The interesting point here is, that the scope for inheritance lookup could be parent class mappers or MapperConfigs: <a href="http://mapstruct.org/documentation/stable/reference/html/#shared-configurations.">http://mapstruct.org/documentation/stable/reference/html/#shared-configurations.</a> In our example, we had many abstract types, where we don’t need a real mapper. Instead, we defined a MapperConfig for each abstract type and inherited along the source model.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/943/1*zuYFOmIY-kY9c5oigSgHCw.png" /><figcaption>Source model</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/943/1*CyqJhkYT3R__K-Ga-XsvHw.png" /><figcaption>MapperConfig classes</figcaption></figure><p>Here you see, that the MapperConfig interfaces extend from each other, along with the inheritance, the mapping methods inherit their configuration too:</p><pre>@MapperConfig</pre><pre>public interface VehicleMapperConfig extends TransportationMeanMapperConfig {</pre><pre>  @InheritConfiguration(name = &quot;mapTransportationMean&quot;)<br>  @Mappings({<br>          @Mapping(source = &quot;mainBreak.plate&quot;, target=&quot;breakPlate&quot;),<br>          @Mapping(source = &quot;mainBreak.body&quot;, target= &quot;breakBody&quot;)<br>  })<br>  void mapVehicle(Vehicle vehicle, @MappingTarget VehicleDTO dto);<br>}</pre><p>For concrete types, normal Mappers will be defined, which uses their MapperConfig, here, for example, the Airplane Mapper.</p><pre>@Mapper(config = AirplaneMapperConfig.class)<br>public abstract class AirplaneMapper {</pre><pre>  @InheritConfiguration(name = &quot;mapFlyingVehicle&quot;)<br>  public abstract AirplaneDTO mapAirplane(Airplane airplane);</pre><p>After code generation you’ll see that Mapstruct only generates code for the concrete Mappers inheriting the mapping-configuration from the MapperConfig:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/895/1*KLd8zVmXEf76usCNN709Sg.png" /><figcaption>Inherited Mapping configuration</figcaption></figure><p>When you take a closer look, for example at the AirplaneMapper, you’ll see that the mappings from the mapping-configuration-hierarchy are used (highlighted some inherited mappings):</p><pre>public class AirplaneMapperImpl extends AirplaneMapper {</pre><pre>private final LengthMapper lengthMapper = Mappers.<em>getMapper</em>(<br>  LengthMapper.class );</pre><pre>    @Override<br>    public AirplaneDTO mapAirplane(Airplane airplane) {</pre><pre>        if ( airplane == null ) {<br>            return null;<br>        }</pre><pre>        AirplaneDTO airplaneDTO = new AirplaneDTO();</pre><pre>        String body = airplaneMainBreakBody( airplane );<br>        if ( body != null ) {<br>            airplaneDTO.setBreakBody( body );<br>        }<br>        String plate = airplaneMainBreakPlate( airplane );<br>        if ( plate != null ) {<br>            airplaneDTO.setBreakPlate( plate );<br>        }<br>       <strong> airplaneDTO.setId( airplane.getId() );</strong><em><br>      </em><strong>  List&lt;String&gt; list = airplane.getTransportationObjects();<br>        if ( list != null ) {<br>            airplaneDTO.setTransportationObjects( <br>            new  ArrayList&lt;String&gt;( list ) );<br>        }<br>        else {<br>            airplaneDTO.setTransportationObjects( null );<br>        }<br>        if ( airplane.getWeight() != null ) {<br>            airplaneDTO.setWeight<br>           ( String.valueOf( airplane.getWeight() ) );<br>        }</strong><br>        airplaneDTO.setWidth( lengthMapper.mapLength(<br>        airplane.getWidth() ) );<br>        airplaneDTO.setHeight( lengthMapper.mapLength(<br>        airplane.getHeight() ) );<br>        airplaneDTO.setLength( lengthMapper.mapLength(<br>        airplane.getLength() ) );<br>        airplaneDTO.setMaxAltitude( lengthMapper.mapLength(<br>        airplane.getMaxAltitude() ) );<br>        airplaneDTO.setWings( airplane.getWings() );</pre><pre>        return airplaneDTO;<br>    }</pre><p>With this mapping architecture, it is easy to define new mappings on higher types and all children types automatically implement this mapping, too. This makes maintenance and adjustments much easier. I know, that this example only shows a subset of the functionality of Mapstruct (no decorators, no ‘aftermapping’ or ‘beforemapping’, no expressions and many more). But it shows a common problem with type hierarchies and how to map them.</p><p><strong>This example code can be found on the bitgrip account of Github </strong>(<a href="https://github.com/bitgrip/mapstruct-inheritance-example">https://github.com/bitgrip/mapstruct-inheritance-example</a>) to have a closer look.</p><blockquote>Any feedback or hints on how to improve the usage of Mapstruct for such cases will be highly appreciated.</blockquote><h3>Tips for using Mapstruct</h3><iframe src="https://cdn.embedly.com/widgets/media.html?url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DBYhlckF--zQ&amp;src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FBYhlckF--zQ&amp;type=text%2Fhtml&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/6bc99e5acf620347ffdf5b46219ee75c/href">https://medium.com/media/6bc99e5acf620347ffdf5b46219ee75c/href</a></iframe><p>Finally, I want to share some general experience and helpful hints for using Mapstruct:</p><ul><li><strong>Try to stay in the Mapstruct-paradigma.</strong> You might think, it’s much easier to write this mapping in a method and reference it by an expression, but when starting with that, you could get problems especially when inheriting or reusing configuration.</li><li><strong>Avoid Java expressions in Mapstruct</strong> and only use them when there is definitely no other way. (most of the time, there is another way)</li><li><strong>Define an AtomicMapper for mapping of common types</strong> which are not implemented by Mapstruct. In my example, the LengthMapper for mapping a Length.</li><li><strong>Check the generated code often</strong>.</li><li><strong>You can pass the source object to another mapping</strong> by reusing the source parameter name.</li></ul><p>I hope this is truly helpful for someone using Mapstruct.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8eef2db9e5ef" width="1" height="1" alt=""><hr><p><a href="https://medium.com/bitgrip/mapping-multiple-app-layers-with-mapstruct-8eef2db9e5ef">Mapping multiple app layers with Mapstruct</a> was originally published in <a href="https://medium.com/bitgrip">Bitgrip</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Maven-Archetypes: Auferstanden wie der Phönix aus der Asche]]></title>
            <link>https://medium.com/bitgrip/maven-archetypes-auferstanden-wie-der-ph%C3%B6nix-aus-der-asche-1da8efe76e19?source=rss-b8da5c60893e------2</link>
            <guid isPermaLink="false">https://medium.com/p/1da8efe76e19</guid>
            <category><![CDATA[maven]]></category>
            <category><![CDATA[eisern]]></category>
            <category><![CDATA[apache]]></category>
            <category><![CDATA[java]]></category>
            <category><![CDATA[spring-boot]]></category>
            <dc:creator><![CDATA[Marcel Müller]]></dc:creator>
            <pubDate>Tue, 22 May 2018 05:31:01 GMT</pubDate>
            <atom:updated>2018-05-22T06:15:23.940Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fdrdD6shp7oPZ2F8kXKpGg.jpeg" /></figure><p>Wer aktuell Backend-Software entwickelt, kommt am Thema Microservices nicht vorbei. Die Vorteile von Microservices liegen auf der Hand:</p><ul><li>individuelle Skalierung</li><li>unabhängige kleine Services mit überschaubaren Funktionsumfang</li><li>die Möglichkeit, unterschiedliche Programmiersprachen und Technologien innerhalb eines Projektes zu nutzen</li></ul><p>Es gibt noch diverse weitere Vorteile, <a href="https://www.innoq.com/de/articles/2016/10/microservices-eine-bestandsaufnahme/">die aber schon vielfach hinlänglich im Netz dokumentiert sind</a>. Dieser Beitrag widmet sich der Wartbarkeit von Microservices.</p><p>Software-Projekte werden immer komplexer. Viele unterschiedliche Programmiersprachen und Technologien werden verwendet. Das sorgt dafür, dass der Code schwieriger zu warten ist. Entwickler sind nicht nur mit heterogenen Softwarearchitekturen konfrontiert. Sie müssen sich auch mit allen verwendeten Technologien und Programmiersprachen auskennen. Das stellt hohe Ansprüche an das Skillset (Vergleiche Beitrag <a href="https://medium.com/bitgrip/wider-der-geschichte-oder-die-legende-vom-full-stack-developer-87ab5cac992a">„Die Legende vom Fullstack-Developer“</a>) und wird besonders in Teams mit hoher Fluktuation problematisch.</p><p>Das Prinzip zur Nutzung unterschiedlicher Technologien in einzelnen Microservices kollidiert mit dem SCRUM Entwicklungs-Prozess. Dem Scrum-Prinzip folgend versucht man, ein möglichst homogenes Team zu bilden, um Risiken für einen eventuellen Ausfall eines Teammitglieds zu minimieren. Diverse eingesetzte Technologien und Programmiersprachen erhöhen das Risiko — Stichwort Skill-Inseln.</p><h3>Diversität einfach vermeiden</h3><p>Nun wird ein schon lange existierendes Toolkit plötzlich wieder aktuell: Maven-Archetypes. Meines Erachtens nach ist es heute sogar sinnvoller, diese Technik für Microservices zu nutzen, als zu den Zeiten ihrer Entstehung. Denn bei aktuellen Software-Projekten werden viel mehr Services erstellt. Die Idee dahinter ist so einfach wie genial.</p><p>Man erstellt ein Template, in dem der architektonische Aufbau der Microservices genau definiert wird. Diese Schablone wird bei allen neuen Microservices verwendet. Das sorgt für einheitliche Strukturen, was die Wartbarkeit deutlich erleichtert. Zudem spart es jede Menge Zeit, denn man muss sich nicht immer wieder neue Gedanken um die Grundarchitektur machen.</p><h3>Maven-Archetypen einfach entwickeln</h3><p>Einen Maven-Archetype zu schreiben ist keine Raketenwissenschaft. Das Maven-Archetype Plugin bietet Tools, um aus einer bestehenden Projektstruktur einen passenden Maven-Archetype zu generieren. Der zentrale Punkt eines Maven-Archetype ist die archetype-metadata.xml-Datei, die den Aufbau des Projektes beschreibt. Hier kann man die verschiedenen Module definieren.</p><p>Vorsicht! Aus meiner Sicht gibt es auf der Apache-Maven-Archetype-Seite einen Dokumentationsfehler. Dort existiert noch eine veraltete Archetype-Descriptor-Reference, die der aktuellen Reference sehr ähnelt. Aber das Root-Element des XMLs heißt nicht mehr „archetype-descriptor“, sondern nur noch „archetype“. Nachzulesen im Guide <a href="https://maven.apache.org/guides/mini/guide-creating-archetypes.html.">https://maven.apache.org/guides/mini/guide-creating-archetypes.html.</a></p><h3>Beispielhafter Microservice-Archetype auf Basis von Spring Boot</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/758/1*9ms6b1jIBmmK6dcngF-1qg.png" /></figure><p>Der Aufbau dieses Archetypes sieht eine strikte Trennung der typischen Backend-Layer vor:</p><ul><li>Schnittstelle zum Frontend (API)</li><li>Webservice-Layer (die Implementierung der Controller Schicht).</li><li>Service-Layer als Bindeglied zwischen Controller- und Persistenz-Schicht, das den Großteil der Businesslogik beinhalten sollte (service)</li><li>Persistence-Layer (domain), der die Datenbank-Zugriffe enthält.</li></ul><p>Ich empfehle, dieses Layer-System strikt einzuhalten. Das gilt für den Zugriff (Controller → Service → Persistence) und dafür, eigene Models für jeden Layer zu definieren, um Seiteneffekte bei der Programmierung (z.B. ungewollte Schnittstellenänderungen für Clients) zu vermeiden. Mit diesem Modell ist man sehr flexibel, weil man das Persistence-Model variieren kann, ohne gleich auch die API ändern zu müssen. Ich empfehle, gerade jungen Entwicklern so eine Struktur vorzugeben. Das vermeidet typische Fehler und erleichtert bei möglichen Problemen das spätere Refactoring.</p><p>Innerhalb dieser Software-Module (einzelne Layer) können bereits die fertigen pom-Dateien mit den gegenseitigen Abhängigkeiten definiert werden. Auch vorgefertigte Klassen sind möglich, sodass nach dem Generieren des Projektes aus dem Archetype bereits eine voll funktionsfähige Anwendung definiert ist, inklusive Persistence mit Beispiel-Implementierung.</p><p>Gerade diese Beispiel-Implementierung ist für wenig erfahrene Entwickler hilfreich. Denn sie zeigt, wo in welchem Layer welche Funktionen implementiert werden sollen, um Architekturbrüche zu vermeiden und somit die Wartbarkeit der Software zu senken.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/980/1*naKwO5GoJdKeAaDICHe3mg.jpeg" /></figure><h3>Schreiben ist einfach, veröffentlichen leider nicht</h3><p>Für das Veröffentlichen und Teilen von Maven-Archetypes sind sogenannte archetype catalogs vorgesehen. In diesen kann man seinen eigenen Archetype-Katalog definieren und den Entwicklern zur Verfügung stellen. Das gestaltet sich allerdings recht kompliziert. Meine Empfehlung hierfür ist, die Katalogdatei am Root des Artefakt-Repositories abzulegen.</p><p>Ich habe versucht, den Archetype in einem gesicherten Artefakt-Repository zur Verfügung zu stellen. Dabei habe ich trotz mehrfacher Versuche keine passende Maven-Konfiguration erstellen können, mit der ich den Archetype direkt aus dem Repository nutzen konnte. Auch die Tipps von der <a href="http://maven.apache.org/archetype/maven-archetype-plugin/faq.html">offiziellen Apache Maven-Seite</a> halfen nicht.</p><p><strong>Meine dringende Empfehlung </strong>ist daher, die Archetypes in einem ungesicherten Repository abzulegen, falls das mit den Unternehmens-richtlinien vereinbar ist.</p><h3>Maven-Archetypes eignen sich nicht nur für Java-Projekte</h3><p>Das Template-Toolkit ist aus meiner Sicht so aktuell und sinnvoll wie nie zuvor. Maven-Archetypes sind gerade am Anfang eines Projektes sehr hilfreich und verhindern größere Refactorings. Die Vorteile gelten natürlich nicht nur bei Java-Projekten. Auch für andere Projekte und Programmiersprachen. Das reduziert auch hier die Diversität, zum Beispiel von Frontend-Modulen, und offeriert gleichzeitig einen Leitfaden für unerfahrene Entwickler.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1da8efe76e19" width="1" height="1" alt=""><hr><p><a href="https://medium.com/bitgrip/maven-archetypes-auferstanden-wie-der-ph%C3%B6nix-aus-der-asche-1da8efe76e19">Maven-Archetypes: Auferstanden wie der Phönix aus der Asche</a> was originally published in <a href="https://medium.com/bitgrip">Bitgrip</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>