This is an automated email from the ASF dual-hosted git repository.

pottlinger pushed a commit to branch feature/TAMAYA-394lombok
in repository 
https://gitbox.apache.org/repos/asf/incubator-tamaya-extensions.git


The following commit(s) were added to refs/heads/feature/TAMAYA-394lombok by 
this push:
     new 059cbec  TAMAYA-394: WIP
059cbec is described below

commit 059cbec1b56ccc77a6f0f12db18fe0385ecee69a
Author: Hugo Hirsch <[email protected]>
AuthorDate: Fri Jul 3 12:41:48 2020 +0200

    TAMAYA-394: WIP
---
 examples/06-distributed/pom.xml                    | 31 ++++++++++++++++++++++
 .../examples/distributed/DisplayManager.java       |  2 +-
 2 files changed, 32 insertions(+), 1 deletion(-)

diff --git a/examples/06-distributed/pom.xml b/examples/06-distributed/pom.xml
index 0fc4eee..63e7924 100644
--- a/examples/06-distributed/pom.xml
+++ b/examples/06-distributed/pom.xml
@@ -77,6 +77,12 @@
             <artifactId>vertx-core</artifactId>
             <version>${vertx.version}</version>
         </dependency>
+               <dependency>
+                 <groupId>io.vertx</groupId>
+                 <artifactId>vertx-unit</artifactId>
+                 <version>3.7.1</version>
+                 <scope>test</scope>
+               </dependency>        
         <dependency>
             <groupId>org.apache.tamaya.ext</groupId>
             <artifactId>tamaya-mutable-config</artifactId>
@@ -112,6 +118,31 @@
     <build>
         <defaultGoal>clean install</defaultGoal>
         <plugins>
+        <plugin>
+  <groupId>org.apache.maven.plugins</groupId>
+  <artifactId>maven-shade-plugin</artifactId>
+  <executions>
+    <execution>
+      <phase>package</phase>
+      <goals>
+        <goal>shade</goal>
+      </goals>
+      <configuration>
+        <transformers>
+          <transformer
+            
implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
+            <manifestEntries>
+              
<Main-Class>org.apache.tamaya.examples.distributed.DisplayManager</Main-Class>
+              <!-- 
Main-Verticle>io.vertx.blog.first.MyFirstVerticle</Main-Verticle-->
+            </manifestEntries>
+          </transformer>
+        </transformers>
+        <artifactSet/>
+        
<outputFile>${project.build.directory}/${project.artifactId}-${project.version}-fat.jar</outputFile>
+      </configuration>
+    </execution>
+  </executions>
+</plugin>
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-compiler-plugin</artifactId>
diff --git 
a/examples/06-distributed/src/main/java/org/apache/tamaya/examples/distributed/DisplayManager.java
 
b/examples/06-distributed/src/main/java/org/apache/tamaya/examples/distributed/DisplayManager.java
index 1eca9fb..f94e3e7 100644
--- 
a/examples/06-distributed/src/main/java/org/apache/tamaya/examples/distributed/DisplayManager.java
+++ 
b/examples/06-distributed/src/main/java/org/apache/tamaya/examples/distributed/DisplayManager.java
@@ -72,7 +72,7 @@ public class DisplayManager extends Application{
 
     private TextArea monitorField = new TextArea("Nothing to monitor yet.");
 
-    private StringBuffer monitorBuffer = new StringBuffer();
+    private StringBuilder monitorBuffer = new StringBuilder();
 
     private Vertx vertx;
 

Reply via email to