You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tamaya.apache.org by an...@apache.org on 2016/11/18 05:58:50 UTC

incubator-tamaya git commit: Made example build as standalone.

Repository: incubator-tamaya
Updated Branches:
  refs/heads/master 58adde844 -> 5fd0ec9bd


Made example build as standalone.


Project: http://git-wip-us.apache.org/repos/asf/incubator-tamaya/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-tamaya/commit/5fd0ec9b
Tree: http://git-wip-us.apache.org/repos/asf/incubator-tamaya/tree/5fd0ec9b
Diff: http://git-wip-us.apache.org/repos/asf/incubator-tamaya/diff/5fd0ec9b

Branch: refs/heads/master
Commit: 5fd0ec9bd4bdb085a0d4aab92c1fd22fa10219a5
Parents: 58adde8
Author: Anatole Tresch <an...@apache.org>
Authored: Fri Nov 18 06:58:41 2016 +0100
Committer: Anatole Tresch <an...@apache.org>
Committed: Fri Nov 18 06:58:41 2016 +0100

----------------------------------------------------------------------
 examples/11-distributed/pom.xml | 44 ++++++++++++++++++++++++++++--------
 1 file changed, 34 insertions(+), 10 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-tamaya/blob/5fd0ec9b/examples/11-distributed/pom.xml
----------------------------------------------------------------------
diff --git a/examples/11-distributed/pom.xml b/examples/11-distributed/pom.xml
index 5c5b8d3..a9095c3 100644
--- a/examples/11-distributed/pom.xml
+++ b/examples/11-distributed/pom.xml
@@ -19,10 +19,9 @@
 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
     <modelVersion>4.0.0</modelVersion>
     <parent>
-        <groupId>org.apache.tamaya.ext</groupId>
-        <artifactId>tamaya-examples</artifactId>
-        <version>0.3-incubating-SNAPSHOT</version>
-        <relativePath>..</relativePath>
+        <groupId>org.apache</groupId>
+        <artifactId>apache</artifactId>
+        <version>18</version>
     </parent>
 
     <artifactId>tamaya-example-distributed</artifactId>
@@ -33,33 +32,39 @@
 
     <properties>
         <jdkVersion>1.8</jdkVersion>
+        <maven.compile.targetLevel>${jdkVersion}</maven.compile.targetLevel>
+        <maven.compile.sourceLevel>${jdkVersion}</maven.compile.sourceLevel>
+        <maven.compile.optimize>false</maven.compile.optimize>
+        <maven.compile.deprecation>true</maven.compile.deprecation>
+        <tamaya.version>0.3-incubating-SNAPSHOT</tamaya.version>
+        <junit.version>4.12</junit.version>
     </properties>
 
     <dependencies>
         <dependency>
             <groupId>org.apache.tamaya</groupId>
             <artifactId>tamaya-core</artifactId>
-            <version>${project.version}</version>
+            <version>${tamaya.version}</version>
         </dependency>
         <dependency>
             <groupId>org.apache.tamaya.ext</groupId>
             <artifactId>tamaya-injection-api</artifactId>
-            <version>${project.version}</version>
+            <version>${tamaya.version}</version>
         </dependency>
         <dependency>
             <groupId>org.apache.tamaya.ext</groupId>
             <artifactId>tamaya-injection</artifactId>
-            <version>${project.version}</version>
+            <version>${tamaya.version}</version>
         </dependency>
         <dependency>
             <groupId>io.vertx</groupId>
             <artifactId>vertx-core</artifactId>
-            <version>3.2.0</version>
+            <version>3.3.3</version>
         </dependency>
         <dependency>
             <groupId>org.apache.tamaya.ext</groupId>
             <artifactId>tamaya-mutable-config</artifactId>
-            <version>${project.version}</version>
+            <version>${tamaya.version}</version>
         </dependency>
         <dependency>
             <groupId>io.vertx</groupId>
@@ -69,7 +74,7 @@
         <dependency>
             <groupId>org.apache.tamaya.ext</groupId>
             <artifactId>tamaya-hazelcast</artifactId>
-            <version>${project.version}</version>
+            <version>${tamaya.version}</version>
         </dependency>
         <dependency>
             <groupId>org.hamcrest</groupId>
@@ -78,8 +83,27 @@
         <dependency>
             <groupId>junit</groupId>
             <artifactId>junit</artifactId>
+            <version>${junit.version}</version>
             <scope>test</scope>
         </dependency>
     </dependencies>
 
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-compiler-plugin</artifactId>
+                <version>3.5.1</version>
+                <configuration>
+                    <debug>true</debug>
+                    <optimize>${maven.compile.optimize}</optimize>
+                    <source>${maven.compile.sourceLevel}</source>
+                    <target>${maven.compile.targetLevel}</target>
+                    <encoding>${project.build.sourceEncoding}</encoding>
+                    <showDeprecation>${maven.compile.deprecation}</showDeprecation>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
+
 </project>