Builder pattern with annotations (Part 2)

Table of Contents

It took me some time to get all for the annotation builder into central but it’s there. see previous article for details on usage

Insert the following dependencies to your maven build:

<dependency> 
 <groupId>
   nl.elucidator.patterns.builder.annotations
 </groupId> 
 <artifactId>builder-annotations-processor</artifactId>  
 <version>1.0.0</version> 
</dependency> 
<dependency>  
 <groupId>
  nl.elucidator.patterns.builder.annotations
 </groupId> 
 <artifactId>builder-annotations</artifactId> 
 <version>1.0.0</version>
</dependency> 
<dependency>
 <groupId>net.jcip</groupId>
 <artifactId>jcip-annotations</artifactId> 
 <version>1.0</version> 
</dependency>

And you can generate all your builders.

Related Posts

Builder pattern with annotations

I Think every body should know their patterns. the GoF created that book a long time ago but still not every body knows them by heart?

Read More

Adding your artifacts to the public maven repo

Ever had a project that you want to share with every body and not want them to get your source code, build and install it public repository?

Read More