tamaya-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ple...@apache.org
Subject [2/2] incubator-tamaya git commit: [TAMAYA-180] Removed the examples from the master branch.
Date Wed, 05 Oct 2016 22:12:10 GMT
[TAMAYA-180] Removed the examples from the master branch.


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

Branch: refs/heads/master
Commit: 7aafa22609a77fcca5c264e26317732e9b255b57
Parents: 973e62e
Author: Oliver B. Fischer <plexus@apache.org>
Authored: Thu Oct 6 00:11:39 2016 +0200
Committer: Oliver B. Fischer <plexus@apache.org>
Committed: Thu Oct 6 00:11:39 2016 +0200

----------------------------------------------------------------------
 examples/1-minimal-example/pom.xml              |  50 ------
 .../tamaya/examples/resolver/ExampleMain.java   |  58 -------
 .../META-INF/javaconfiguration.properties       |  26 ----
 .../tamaya/examples/minimal/MinimalTests.java   |  99 ------------
 .../org/tamaya/examples/minimal/TestEnum.java   |  26 ----
 .../META-INF/javaconfiguration.properties       |  27 ----
 .../2-simple-propertysource-example/pom.xml     |  46 ------
 .../tamaya/examples/simple/ExampleMain.java     |  63 --------
 .../examples/simple/SimplePropertySource.java   |  62 --------
 .../simple/SimplePropertySourceProvider.java    |  48 ------
 .../META-INF/MyOtherConfigProperties.properties |  21 ---
 .../META-INF/javaconfiguration.properties       |  25 ---
 .../org.apache.tamaya.spi.PropertySource        |  20 ---
 ...org.apache.tamaya.spi.PropertySourceProvider |  19 ---
 .../src/main/resources/cfgOther/a.properties    |  19 ---
 .../src/main/resources/cfgOther/b.properties    |  19 ---
 .../src/main/resources/cfgOther/c.properties    |  20 ---
 examples/3-resources-example/pom.xml            |  52 -------
 .../tamaya/examples/resources/ExampleMain.java  |  63 --------
 .../resources/MyPathPropertySourceProvider.java |  42 -----
 .../META-INF/MyOtherConfigProperties.properties |  21 ---
 .../META-INF/javaconfiguration.properties       |  25 ---
 ...org.apache.tamaya.spi.PropertySourceProvider |  19 ---
 .../main/resources/cfgOther/subs/a.properties   |  19 ---
 .../main/resources/cfgOther/subs/b.properties   |  19 ---
 .../main/resources/cfgOther/subs/c.properties   |  19 ---
 examples/4-resolver-example/pom.xml             |  55 -------
 .../tamaya/examples/resolver/ExampleMain.java   |  63 --------
 .../META-INF/javaconfiguration.properties       |  32 ----
 .../src/main/resources/buildata                 |  19 ---
 .../tamaya/examples/minimal/MinimalTests.java   |  98 ------------
 .../org/tamaya/examples/minimal/TestEnum.java   |  26 ----
 .../META-INF/javaconfiguration.properties       |  24 ---
 examples/5-injection-example/pom.xml            |  71 ---------
 .../tamaya/examples/injection/Example.java      |  48 ------
 .../tamaya/examples/injection/ExampleMain.java  |  51 -------
 .../examples/injection/ExampleTemplate.java     |  40 -----
 .../META-INF/javaconfiguration.properties       |  27 ----
 .../tamaya/examples/minimal/MinimalTests.java   |  98 ------------
 .../org/tamaya/examples/minimal/TestEnum.java   |  26 ----
 .../META-INF/javaconfiguration.properties       |  25 ---
 examples/6-fileobserver-example/pom.xml         |  67 --------
 .../fileobserver/ObservedConfigExampleTest.java | 139 -----------------
 .../examples/fileobserver/TestConfigView.java   | 153 -------------------
 .../fileobserver/TestObservingProvider.java     |  38 -----
 ...org.apache.tamaya.spi.PropertySourceProvider |  20 ---
 .../src/test/resources/test.properties          |  21 ---
 examples/7-builder-example/pom.xml              |  65 --------
 .../examples/builder/UsingABuilderExample.java  |  45 ------
 examples/8-remote-example/client/pom.xml        |  80 ----------
 .../tamaya/examples/remote/client/Client.java   |  98 ------------
 .../remote/client/PrintConfigServlet.java       |  78 ----------
 .../org.apache.tamaya.spi.PropertySource        |  19 ---
 examples/8-remote-example/pom.xml               |  69 ---------
 examples/8-remote-example/server/pom.xml        | 135 ----------------
 .../server/src/main/java/ExampleServer.java     |  33 ----
 .../META-INF/javaconfiguration.properties       |  31 ----
 .../server/src/main/resources/config-server.yml |  29 ----
 examples/pom.xml                                |  83 ----------
 pom.xml                                         |   1 -
 60 files changed, 2834 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-tamaya/blob/7aafa226/examples/1-minimal-example/pom.xml
----------------------------------------------------------------------
diff --git a/examples/1-minimal-example/pom.xml b/examples/1-minimal-example/pom.xml
deleted file mode 100644
index c9d157f..0000000
--- a/examples/1-minimal-example/pom.xml
+++ /dev/null
@@ -1,50 +0,0 @@
-<!-- 
-Licensed to the Apache Software Foundation (ASF) under one
-or more contributor license agreements.  See the NOTICE file
-distributed with this work for additional information
-regarding copyright ownership.  The ASF licenses this file
-to you under the Apache License, Version 2.0 (the
-"License"); you may not use this file except in compliance
-with the License.  You may obtain a copy current the License at
-
-   http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing,
-software distributed under the License is distributed on an
-"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-KIND, either express or implied.  See the License for the
-specific language governing permissions and limitations
-under the License.
--->
-<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>
-    </parent>
-    <artifactId>tamaya-example-minimal</artifactId>
-    <groupId>org.apache.tamaya.examples</groupId>
-    <name>Apache Tamaya Example: Minimal Version</name>
-    <description>This project contains a simple example based on the core functionality only.</description>
-    <packaging>jar</packaging>
-
-    <dependencies>
-        <dependency>
-            <groupId>org.apache.tamaya</groupId>
-            <artifactId>tamaya-core</artifactId>
-            <version>${project.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.hamcrest</groupId>
-            <artifactId>java-hamcrest</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>junit</groupId>
-            <artifactId>junit</artifactId>
-            <scope>test</scope>
-        </dependency>
-    </dependencies>
-
-</project>

http://git-wip-us.apache.org/repos/asf/incubator-tamaya/blob/7aafa226/examples/1-minimal-example/src/main/java/org/apache/tamaya/examples/resolver/ExampleMain.java
----------------------------------------------------------------------
diff --git a/examples/1-minimal-example/src/main/java/org/apache/tamaya/examples/resolver/ExampleMain.java b/examples/1-minimal-example/src/main/java/org/apache/tamaya/examples/resolver/ExampleMain.java
deleted file mode 100644
index f98c897..0000000
--- a/examples/1-minimal-example/src/main/java/org/apache/tamaya/examples/resolver/ExampleMain.java
+++ /dev/null
@@ -1,58 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *   http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package org.apache.tamaya.examples.resolver;
-
-import org.apache.tamaya.Configuration;
-import org.apache.tamaya.ConfigurationProvider;
-
-import java.util.Map;
-import java.util.TreeMap;
-
-/**
- * This class shows a minimal example that uses Tamaya core only.
- */
-public class ExampleMain {
-
-    private ExampleMain() {
-    }
-
-    public static void main(String... args){
-        System.out.println("****************************************************");
-        System.out.println("Minimal Example");
-        System.out.println("****************************************************");
-        System.out.println();
-        Configuration cfg = ConfigurationProvider.getConfiguration();
-        System.out.println("Example Metadata:");
-        System.out.println("  Type        :  " + cfg.get("example.type"));
-        System.out.println("  Name        :  " + cfg.get("example.name"));
-        System.out.println("  Description :  " + cfg.get("example.description"));
-        System.out.println("  Version     :  " + cfg.get("example.version"));
-        System.out.println("  Author      :  " + cfg.get("example.author"));
-        System.out.println();
-        System.out.println("FULL DUMP:\n\n" + dump(cfg.getProperties()));
-    }
-
-    private static String dump(Map<String, String> properties) {
-        StringBuilder b = new StringBuilder();
-        for(Map.Entry<String,String> en: new TreeMap<>(properties).entrySet()) {
-            b.append("  ").append(en.getKey() ).append(" = ").append(en.getValue()).append('\n');
-        }
-        return b.toString();
-    }
-}

http://git-wip-us.apache.org/repos/asf/incubator-tamaya/blob/7aafa226/examples/1-minimal-example/src/main/resources/META-INF/javaconfiguration.properties
----------------------------------------------------------------------
diff --git a/examples/1-minimal-example/src/main/resources/META-INF/javaconfiguration.properties b/examples/1-minimal-example/src/main/resources/META-INF/javaconfiguration.properties
deleted file mode 100644
index 361aebc..0000000
--- a/examples/1-minimal-example/src/main/resources/META-INF/javaconfiguration.properties
+++ /dev/null
@@ -1,26 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements.  See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership.  The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License.  You may obtain a copy current the License at
-#
-#    http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied.  See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-example.type=standalone
-example.name=Minimal
-example.description=A minimal example only using API and RI.
-example.version=1
-example.author=anatole@apache.org
-
-example.number=350322222222222222222222222222222222222222222222222222222222222222222
-example.testEnum=V2

http://git-wip-us.apache.org/repos/asf/incubator-tamaya/blob/7aafa226/examples/1-minimal-example/src/test/java/org/tamaya/examples/minimal/MinimalTests.java
----------------------------------------------------------------------
diff --git a/examples/1-minimal-example/src/test/java/org/tamaya/examples/minimal/MinimalTests.java b/examples/1-minimal-example/src/test/java/org/tamaya/examples/minimal/MinimalTests.java
deleted file mode 100644
index fe60aeb..0000000
--- a/examples/1-minimal-example/src/test/java/org/tamaya/examples/minimal/MinimalTests.java
+++ /dev/null
@@ -1,99 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *   http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package org.tamaya.examples.minimal;
-
-import org.apache.tamaya.ConfigException;
-import org.apache.tamaya.Configuration;
-import org.apache.tamaya.ConfigurationProvider;
-import org.junit.BeforeClass;
-import org.junit.Test;
-
-import java.math.BigInteger;
-
-import static org.junit.Assert.assertEquals;
-
-/**
- * Created by Anatole on 20.03.2015.
- */
-public class MinimalTests {
-
-    private static Configuration config;
-
-    @BeforeClass
-    public static void before() throws InterruptedException {
-        config = ConfigurationProvider.getConfiguration();
-        Thread.sleep(100L);
-    }
-
-    @Test
-    public void printMetaInfo() {
-        System.out.println("****************************************************");
-        System.out.println("Minimal Example");
-        System.out.println("****************************************************");
-        System.out.println();
-        System.out.println("Example Metadata:");
-        System.out.println("  Type        :  " + config.get("example.type"));
-        System.out.println("  Name        :  " + config.get("example.name"));
-        System.out.println("  Description :  " + config.get("example.description"));
-        System.out.println("  Version     :  " + config.get("example.version"));
-        System.out.println("  Author      :  " + config.get("example.author"));
-        System.out.println();
-    }
-
-    @Test(expected = ConfigException.class)
-    public void getNumberValueTooLong() {
-        String value = config.get("example.number");
-        assertEquals(value, "350322222222222222222222222222222222222222222222222222222222222222222");
-        int number = config.get("example.number", int.class);
-    }
-
-    @Test
-    public void getNumberValueAsInt_BadCase() {
-        String value = config.get("example.numberAsHex");
-        int number = config.get("example.numberAsHex", int.class);
-        print("example.numberAsHex", number);
-    }
-
-    @Test
-    public void getNumberValueAsBigInteger() {
-        String value = config.get("example.number");
-        BigInteger number = config.get("example.number", BigInteger.class);
-        print("example.number", number);
-    }
-
-    @Test(expected = ConfigException.class)
-    public void getNumberValueAsLongHex() {
-        String value = config.get("example.numberAsLongHex");
-        long number = config.get("example.numberAsLongHex", int.class);
-        print("example.numberAsLongHex", number);
-    }
-
-    @Test
-    public void getEnum() {
-        String value = config.get("example.testEnum");
-        TestEnum en = config.get("example.testEnum", TestEnum.class);
-        print("example.testEnum", en);
-    }
-
-    protected void print(String key, Object value) {
-        System.out.println("----\n" +
-                "  " + key + "(String)=" + config.get(key)
-                + "\n  " + key + "(" + value.getClass().getSimpleName() + ")=" + value);
-    }
-}

http://git-wip-us.apache.org/repos/asf/incubator-tamaya/blob/7aafa226/examples/1-minimal-example/src/test/java/org/tamaya/examples/minimal/TestEnum.java
----------------------------------------------------------------------
diff --git a/examples/1-minimal-example/src/test/java/org/tamaya/examples/minimal/TestEnum.java b/examples/1-minimal-example/src/test/java/org/tamaya/examples/minimal/TestEnum.java
deleted file mode 100644
index be83dd5..0000000
--- a/examples/1-minimal-example/src/test/java/org/tamaya/examples/minimal/TestEnum.java
+++ /dev/null
@@ -1,26 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *   http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package org.tamaya.examples.minimal;
-
-/**
- * Created by Anatole on 20.03.2015.
- */
-public enum TestEnum {
-    V1,V2,V3
-}

http://git-wip-us.apache.org/repos/asf/incubator-tamaya/blob/7aafa226/examples/1-minimal-example/src/test/resources/META-INF/javaconfiguration.properties
----------------------------------------------------------------------
diff --git a/examples/1-minimal-example/src/test/resources/META-INF/javaconfiguration.properties b/examples/1-minimal-example/src/test/resources/META-INF/javaconfiguration.properties
deleted file mode 100644
index df20bea..0000000
--- a/examples/1-minimal-example/src/test/resources/META-INF/javaconfiguration.properties
+++ /dev/null
@@ -1,27 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements.  See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership.  The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License.  You may obtain a copy current the License at
-#
-#    http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied.  See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-# My Config Properties
-#
-tamaya.ordinal=-1
-example.description=A minimal example only using API and RI, now partially overridden!
-
-example.number=35333333333333333333333333333333333333333333333333333333333330
-example.numberAsHex=0xFA
-example.numberAsLongHex=0xFFFSFSFF
-example.testEnum=V1

http://git-wip-us.apache.org/repos/asf/incubator-tamaya/blob/7aafa226/examples/2-simple-propertysource-example/pom.xml
----------------------------------------------------------------------
diff --git a/examples/2-simple-propertysource-example/pom.xml b/examples/2-simple-propertysource-example/pom.xml
deleted file mode 100644
index 8d8e6b6..0000000
--- a/examples/2-simple-propertysource-example/pom.xml
+++ /dev/null
@@ -1,46 +0,0 @@
-<!-- 
-Licensed to the Apache Software Foundation (ASF) under one
-or more contributor license agreements.  See the NOTICE file
-distributed with this work for additional information
-regarding copyright ownership.  The ASF licenses this file
-to you under the Apache License, Version 2.0 (the
-"License"); you may not use this file except in compliance
-with the License.  You may obtain a copy current the License at
-
-   http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing,
-software distributed under the License is distributed on an
-"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-KIND, either express or implied.  See the License for the
-specific language governing permissions and limitations
-under the License.
--->
-<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>
-    </parent>
-    <artifactId>tamaya-example-simple-propertysource</artifactId>
-    <groupId>org.apache.tamaya.examples</groupId>
-    <name>Apache Tamaya Example: Simple Property Source Version</name>
-    <description>This project contains a simple example based on the core functionality only.</description>
-    <packaging>jar</packaging>
-
-    <dependencies>
-        <dependency>
-            <groupId>org.apache.tamaya</groupId>
-            <artifactId>tamaya-core</artifactId>
-            <version>${project.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>junit</groupId>
-            <artifactId>junit</artifactId>
-            <scope>test</scope>
-        </dependency>
-    </dependencies>
-
-</project>

http://git-wip-us.apache.org/repos/asf/incubator-tamaya/blob/7aafa226/examples/2-simple-propertysource-example/src/main/java/org/apache/tamaya/examples/simple/ExampleMain.java
----------------------------------------------------------------------
diff --git a/examples/2-simple-propertysource-example/src/main/java/org/apache/tamaya/examples/simple/ExampleMain.java b/examples/2-simple-propertysource-example/src/main/java/org/apache/tamaya/examples/simple/ExampleMain.java
deleted file mode 100644
index 76b38bb..0000000
--- a/examples/2-simple-propertysource-example/src/main/java/org/apache/tamaya/examples/simple/ExampleMain.java
+++ /dev/null
@@ -1,63 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *   http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package org.apache.tamaya.examples.simple;
-
-import org.apache.tamaya.Configuration;
-import org.apache.tamaya.ConfigurationProvider;
-
-import java.util.Map;
-import java.util.TreeMap;
-
-/**
- * This is a small example that simply adds a self-written {@link org.apache.tamaya.spi.PropertySource}
- * ({@link SimplePropertySource}) and a {@link org.apache.tamaya.spi.PropertySourceProvider}
- * ({@link SimplePropertySourceProvider}).
- */
-public class ExampleMain {
-
-    private ExampleMain() {
-    }
-
-    public static void main(String... args){
-        System.out.println("*****************************************************");
-        System.out.println("Simple Example (with a PropertySource and a Provider)");
-        System.out.println("*****************************************************");
-        System.out.println();
-        Configuration cfg = ConfigurationProvider.getConfiguration();
-        System.out.println("Example Metadata:");
-        System.out.println("  Type        :  " + cfg.get("example.type"));
-        System.out.println("  Name        :  " + cfg.get("example.name"));
-        System.out.println("  Description :  " + cfg.get("example.description"));
-        System.out.println("  Version     :  " + cfg.get("example.version"));
-        System.out.println("  Author      :  " + cfg.get("example.author"));
-        System.out.println();
-        System.out.println("  Path        :  " + cfg.get("Path"));
-        System.out.println("  aProp       :  " + cfg.get("aProp"));
-        System.out.println();
-        System.out.println("FULL DUMP:\n\n" + dump(cfg.getProperties()));
-    }
-
-    private static String dump(Map<String, String> properties) {
-        StringBuilder b = new StringBuilder();
-        for(Map.Entry<String,String> en: new TreeMap<>(properties).entrySet()){
-            b.append("  " + en.getKey() + " = " + en.getValue() + '\n');
-        }
-        return b.toString();
-    }
-}

http://git-wip-us.apache.org/repos/asf/incubator-tamaya/blob/7aafa226/examples/2-simple-propertysource-example/src/main/java/org/apache/tamaya/examples/simple/SimplePropertySource.java
----------------------------------------------------------------------
diff --git a/examples/2-simple-propertysource-example/src/main/java/org/apache/tamaya/examples/simple/SimplePropertySource.java b/examples/2-simple-propertysource-example/src/main/java/org/apache/tamaya/examples/simple/SimplePropertySource.java
deleted file mode 100644
index 9e52e0e..0000000
--- a/examples/2-simple-propertysource-example/src/main/java/org/apache/tamaya/examples/simple/SimplePropertySource.java
+++ /dev/null
@@ -1,62 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *   http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package org.apache.tamaya.examples.simple;
-
-import org.apache.tamaya.core.propertysource.BasePropertySource;
-
-import java.io.IOException;
-import java.io.InputStream;
-import java.net.URL;
-import java.util.Collections;
-import java.util.HashMap;
-import java.util.Map;
-import java.util.Properties;
-
-/**
- * Created by Anatole on 20.03.2015.
- */
-public class SimplePropertySource extends BasePropertySource{
-
-    public static final String CONFIG_PROPERTIES_LOCATION = "META-INF/MyOtherConfigProperties.properties";
-    private Map<String,String> props = new HashMap<>();
-
-    public SimplePropertySource() throws IOException {
-        URL url = ClassLoader.getSystemClassLoader().getResource(CONFIG_PROPERTIES_LOCATION);
-        Properties properties = new Properties();
-        try(InputStream is = url.openStream()){
-            properties.load(is);
-        }
-        finally{
-            for(Map.Entry en: properties.entrySet()){
-                props.put(en.getKey().toString(), en.getValue().toString());
-            }
-            props = Collections.unmodifiableMap(props);
-        }
-    }
-
-    @Override
-    public String getName() {
-        return CONFIG_PROPERTIES_LOCATION;
-    }
-
-    @Override
-    public Map<String, String> getProperties() {
-        return props;
-    }
-}

http://git-wip-us.apache.org/repos/asf/incubator-tamaya/blob/7aafa226/examples/2-simple-propertysource-example/src/main/java/org/apache/tamaya/examples/simple/SimplePropertySourceProvider.java
----------------------------------------------------------------------
diff --git a/examples/2-simple-propertysource-example/src/main/java/org/apache/tamaya/examples/simple/SimplePropertySourceProvider.java b/examples/2-simple-propertysource-example/src/main/java/org/apache/tamaya/examples/simple/SimplePropertySourceProvider.java
deleted file mode 100644
index 2204041..0000000
--- a/examples/2-simple-propertysource-example/src/main/java/org/apache/tamaya/examples/simple/SimplePropertySourceProvider.java
+++ /dev/null
@@ -1,48 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *   http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package org.apache.tamaya.examples.simple;
-
-import org.apache.tamaya.core.propertysource.SimplePropertySource;
-import org.apache.tamaya.spi.PropertySource;
-import org.apache.tamaya.spi.PropertySourceProvider;
-
-import java.net.URL;
-import java.util.ArrayList;
-import java.util.Collection;
-import java.util.Collections;
-import java.util.List;
-
-/**
- * Created by Anatole on 20.03.2015.
- */
-public class SimplePropertySourceProvider implements PropertySourceProvider {
-
-    @Override
-    public Collection<PropertySource> getPropertySources() {
-        List<PropertySource> propertySources = new ArrayList<>();
-        String[] resources = new String[]{
-                "cfgOther/a.properties", "cfgOther/b.properties", "cfgOther/c.properties"};
-        for (String res : resources) {
-            URL url = ClassLoader.getSystemClassLoader().getResource(res);
-            propertySources.add(new SimplePropertySource(url));
-        }
-        return Collections.unmodifiableList(propertySources);
-    }
-
-}

http://git-wip-us.apache.org/repos/asf/incubator-tamaya/blob/7aafa226/examples/2-simple-propertysource-example/src/main/resources/META-INF/MyOtherConfigProperties.properties
----------------------------------------------------------------------
diff --git a/examples/2-simple-propertysource-example/src/main/resources/META-INF/MyOtherConfigProperties.properties b/examples/2-simple-propertysource-example/src/main/resources/META-INF/MyOtherConfigProperties.properties
deleted file mode 100644
index 408a6e9..0000000
--- a/examples/2-simple-propertysource-example/src/main/resources/META-INF/MyOtherConfigProperties.properties
+++ /dev/null
@@ -1,21 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements.  See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership.  The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License.  You may obtain a copy current the License at
-#
-#    http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied.  See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-example.description=A simple example now also loading its own files...
-
-

http://git-wip-us.apache.org/repos/asf/incubator-tamaya/blob/7aafa226/examples/2-simple-propertysource-example/src/main/resources/META-INF/javaconfiguration.properties
----------------------------------------------------------------------
diff --git a/examples/2-simple-propertysource-example/src/main/resources/META-INF/javaconfiguration.properties b/examples/2-simple-propertysource-example/src/main/resources/META-INF/javaconfiguration.properties
deleted file mode 100644
index a846e52..0000000
--- a/examples/2-simple-propertysource-example/src/main/resources/META-INF/javaconfiguration.properties
+++ /dev/null
@@ -1,25 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements.  See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership.  The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License.  You may obtain a copy current the License at
-#
-#    http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied.  See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-example.type=standalone
-example.name=simple-propertysource
-example.description=A minimal example using an self written property source.
-example.version=1
-example.author=anatole@apache.org
-
-

http://git-wip-us.apache.org/repos/asf/incubator-tamaya/blob/7aafa226/examples/2-simple-propertysource-example/src/main/resources/META-INF/services/org.apache.tamaya.spi.PropertySource
----------------------------------------------------------------------
diff --git a/examples/2-simple-propertysource-example/src/main/resources/META-INF/services/org.apache.tamaya.spi.PropertySource b/examples/2-simple-propertysource-example/src/main/resources/META-INF/services/org.apache.tamaya.spi.PropertySource
deleted file mode 100644
index 33988a7..0000000
--- a/examples/2-simple-propertysource-example/src/main/resources/META-INF/services/org.apache.tamaya.spi.PropertySource
+++ /dev/null
@@ -1,20 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements.  See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership.  The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License.  You may obtain a copy current the License at
-#
-#    http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied.  See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-org.apache.tamaya.examples.simple.SimplePropertySource
-org.apache.tamaya.core.propertysource.EnvironmentPropertySource
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-tamaya/blob/7aafa226/examples/2-simple-propertysource-example/src/main/resources/META-INF/services/org.apache.tamaya.spi.PropertySourceProvider
----------------------------------------------------------------------
diff --git a/examples/2-simple-propertysource-example/src/main/resources/META-INF/services/org.apache.tamaya.spi.PropertySourceProvider b/examples/2-simple-propertysource-example/src/main/resources/META-INF/services/org.apache.tamaya.spi.PropertySourceProvider
deleted file mode 100644
index f9ed0ab..0000000
--- a/examples/2-simple-propertysource-example/src/main/resources/META-INF/services/org.apache.tamaya.spi.PropertySourceProvider
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements.  See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership.  The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License.  You may obtain a copy current the License at
-#
-#    http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied.  See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-org.apache.tamaya.examples.simple.SimplePropertySourceProvider
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-tamaya/blob/7aafa226/examples/2-simple-propertysource-example/src/main/resources/cfgOther/a.properties
----------------------------------------------------------------------
diff --git a/examples/2-simple-propertysource-example/src/main/resources/cfgOther/a.properties b/examples/2-simple-propertysource-example/src/main/resources/cfgOther/a.properties
deleted file mode 100644
index 069f8f1..0000000
--- a/examples/2-simple-propertysource-example/src/main/resources/cfgOther/a.properties
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements.  See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership.  The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License.  You may obtain a copy current the License at
-#
-#    http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied.  See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-a=found A!
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-tamaya/blob/7aafa226/examples/2-simple-propertysource-example/src/main/resources/cfgOther/b.properties
----------------------------------------------------------------------
diff --git a/examples/2-simple-propertysource-example/src/main/resources/cfgOther/b.properties b/examples/2-simple-propertysource-example/src/main/resources/cfgOther/b.properties
deleted file mode 100644
index 9c2775b..0000000
--- a/examples/2-simple-propertysource-example/src/main/resources/cfgOther/b.properties
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements.  See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership.  The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License.  You may obtain a copy current the License at
-#
-#    http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied.  See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-b=found B!
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-tamaya/blob/7aafa226/examples/2-simple-propertysource-example/src/main/resources/cfgOther/c.properties
----------------------------------------------------------------------
diff --git a/examples/2-simple-propertysource-example/src/main/resources/cfgOther/c.properties b/examples/2-simple-propertysource-example/src/main/resources/cfgOther/c.properties
deleted file mode 100644
index b613ed5..0000000
--- a/examples/2-simple-propertysource-example/src/main/resources/cfgOther/c.properties
+++ /dev/null
@@ -1,20 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements.  See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership.  The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License.  You may obtain a copy current the License at
-#
-#    http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied.  See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-c=found C!
-aProp=from c.properties
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-tamaya/blob/7aafa226/examples/3-resources-example/pom.xml
----------------------------------------------------------------------
diff --git a/examples/3-resources-example/pom.xml b/examples/3-resources-example/pom.xml
deleted file mode 100644
index 3d594c9..0000000
--- a/examples/3-resources-example/pom.xml
+++ /dev/null
@@ -1,52 +0,0 @@
-<!-- 
-Licensed to the Apache Software Foundation (ASF) under one
-or more contributor license agreements.  See the NOTICE file
-distributed with this work for additional information
-regarding copyright ownership.  The ASF licenses this file
-to you under the Apache License, Version 2.0 (the
-"License"); you may not use this file except in compliance
-with the License.  You may obtain a copy current the License at
-
-   http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing,
-software distributed under the License is distributed on an
-"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-KIND, either express or implied.  See the License for the
-specific language governing permissions and limitations
-under the License.
--->
-<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>
-    </parent>
-    <artifactId>tamaya-example-resources</artifactId>
-    <groupId>org.apache.tamaya.examples</groupId>
-
-    <name>Apache Tamaya Example: Resource Location</name>
-    <description>This project contains a simple example using the resource location module.</description>
-    <packaging>jar</packaging>
-
-    <dependencies>
-        <dependency>
-            <groupId>org.apache.tamaya</groupId>
-            <artifactId>tamaya-core</artifactId>
-            <version>${project.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.tamaya.ext</groupId>
-            <artifactId>tamaya-resources</artifactId>
-            <version>${project.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>junit</groupId>
-            <artifactId>junit</artifactId>
-            <scope>test</scope>
-        </dependency>
-    </dependencies>
-
-</project>

http://git-wip-us.apache.org/repos/asf/incubator-tamaya/blob/7aafa226/examples/3-resources-example/src/main/java/org/apache/tamaya/examples/resources/ExampleMain.java
----------------------------------------------------------------------
diff --git a/examples/3-resources-example/src/main/java/org/apache/tamaya/examples/resources/ExampleMain.java b/examples/3-resources-example/src/main/java/org/apache/tamaya/examples/resources/ExampleMain.java
deleted file mode 100644
index ac2e44e..0000000
--- a/examples/3-resources-example/src/main/java/org/apache/tamaya/examples/resources/ExampleMain.java
+++ /dev/null
@@ -1,63 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *   http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package org.apache.tamaya.examples.resources;
-
-import org.apache.tamaya.Configuration;
-import org.apache.tamaya.ConfigurationProvider;
-
-import java.util.Map;
-import java.util.TreeMap;
-
-/**
- *
- */
-public class ExampleMain {
-
-    private ExampleMain() {
-    }
-
-    public static void main(String... args){
-        System.out.println("****************************************************");
-        System.out.println("Resources Example shows the implementation of path");
-        System.out.println("based {@link PropertySourceProvider} ");
-        System.out.println("({@link MyPathPropertySourceProvider}).");
-        System.out.println("****************************************************");
-        System.out.println();
-        Configuration cfg = ConfigurationProvider.getConfiguration();
-        System.out.println("Example Metadata:");
-        System.out.println("  Type        :  " + cfg.get("example.type"));
-        System.out.println("  Name        :  " + cfg.get("example.name"));
-        System.out.println("  Description :  " + cfg.get("example.description"));
-        System.out.println("  Version     :  " + cfg.get("example.version"));
-        System.out.println("  Author      :  " + cfg.get("example.author"));
-        System.out.println();
-        System.out.println("  Path        :  " + cfg.get("Path"));
-        System.out.println("  aProp       :  " + cfg.get("aProp"));
-        System.out.println();
-        System.out.println("FULL DUMP:\n\n" + dump(cfg.getProperties()));
-    }
-
-    private static String dump(Map<String, String> properties) {
-        StringBuilder b = new StringBuilder();
-        for(Map.Entry en: new TreeMap<>(properties).entrySet()){
-            b.append("  " + en.getKey() + " = " + en.getValue() + '\n');
-        }
-        return b.toString();
-    }
-}

http://git-wip-us.apache.org/repos/asf/incubator-tamaya/blob/7aafa226/examples/3-resources-example/src/main/java/org/apache/tamaya/examples/resources/MyPathPropertySourceProvider.java
----------------------------------------------------------------------
diff --git a/examples/3-resources-example/src/main/java/org/apache/tamaya/examples/resources/MyPathPropertySourceProvider.java b/examples/3-resources-example/src/main/java/org/apache/tamaya/examples/resources/MyPathPropertySourceProvider.java
deleted file mode 100644
index fa5559b..0000000
--- a/examples/3-resources-example/src/main/java/org/apache/tamaya/examples/resources/MyPathPropertySourceProvider.java
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *   http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package org.apache.tamaya.examples.resources;
-
-import org.apache.tamaya.core.propertysource.SimplePropertySource;
-import org.apache.tamaya.resource.AbstractPathPropertySourceProvider;
-import org.apache.tamaya.spi.PropertySource;
-
-import java.net.URL;
-import java.util.Arrays;
-import java.util.Collection;
-
-/**
- * Created by Anatole on 20.03.2015.
- */
-public class MyPathPropertySourceProvider extends AbstractPathPropertySourceProvider {
-
-    public MyPathPropertySourceProvider(){
-        super("cfgOther/**/*.properties", "META-INF/MyOtherConfigProperties.*");
-    }
-
-    @Override
-    protected Collection<PropertySource> getPropertySources(URL url) {
-        return Arrays.asList(new PropertySource[]{new SimplePropertySource(url)});
-    }
-}

http://git-wip-us.apache.org/repos/asf/incubator-tamaya/blob/7aafa226/examples/3-resources-example/src/main/resources/META-INF/MyOtherConfigProperties.properties
----------------------------------------------------------------------
diff --git a/examples/3-resources-example/src/main/resources/META-INF/MyOtherConfigProperties.properties b/examples/3-resources-example/src/main/resources/META-INF/MyOtherConfigProperties.properties
deleted file mode 100644
index 408a6e9..0000000
--- a/examples/3-resources-example/src/main/resources/META-INF/MyOtherConfigProperties.properties
+++ /dev/null
@@ -1,21 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements.  See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership.  The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License.  You may obtain a copy current the License at
-#
-#    http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied.  See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-example.description=A simple example now also loading its own files...
-
-

http://git-wip-us.apache.org/repos/asf/incubator-tamaya/blob/7aafa226/examples/3-resources-example/src/main/resources/META-INF/javaconfiguration.properties
----------------------------------------------------------------------
diff --git a/examples/3-resources-example/src/main/resources/META-INF/javaconfiguration.properties b/examples/3-resources-example/src/main/resources/META-INF/javaconfiguration.properties
deleted file mode 100644
index a846e52..0000000
--- a/examples/3-resources-example/src/main/resources/META-INF/javaconfiguration.properties
+++ /dev/null
@@ -1,25 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements.  See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership.  The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License.  You may obtain a copy current the License at
-#
-#    http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied.  See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-example.type=standalone
-example.name=simple-propertysource
-example.description=A minimal example using an self written property source.
-example.version=1
-example.author=anatole@apache.org
-
-

http://git-wip-us.apache.org/repos/asf/incubator-tamaya/blob/7aafa226/examples/3-resources-example/src/main/resources/META-INF/services/org.apache.tamaya.spi.PropertySourceProvider
----------------------------------------------------------------------
diff --git a/examples/3-resources-example/src/main/resources/META-INF/services/org.apache.tamaya.spi.PropertySourceProvider b/examples/3-resources-example/src/main/resources/META-INF/services/org.apache.tamaya.spi.PropertySourceProvider
deleted file mode 100644
index 499756d..0000000
--- a/examples/3-resources-example/src/main/resources/META-INF/services/org.apache.tamaya.spi.PropertySourceProvider
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements.  See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership.  The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License.  You may obtain a copy current the License at
-#
-#    http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied.  See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-org.apache.tamaya.examples.items.MyPathPropertySourceProvider
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-tamaya/blob/7aafa226/examples/3-resources-example/src/main/resources/cfgOther/subs/a.properties
----------------------------------------------------------------------
diff --git a/examples/3-resources-example/src/main/resources/cfgOther/subs/a.properties b/examples/3-resources-example/src/main/resources/cfgOther/subs/a.properties
deleted file mode 100644
index 069f8f1..0000000
--- a/examples/3-resources-example/src/main/resources/cfgOther/subs/a.properties
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements.  See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership.  The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License.  You may obtain a copy current the License at
-#
-#    http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied.  See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-a=found A!
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-tamaya/blob/7aafa226/examples/3-resources-example/src/main/resources/cfgOther/subs/b.properties
----------------------------------------------------------------------
diff --git a/examples/3-resources-example/src/main/resources/cfgOther/subs/b.properties b/examples/3-resources-example/src/main/resources/cfgOther/subs/b.properties
deleted file mode 100644
index 9c2775b..0000000
--- a/examples/3-resources-example/src/main/resources/cfgOther/subs/b.properties
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements.  See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership.  The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License.  You may obtain a copy current the License at
-#
-#    http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied.  See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-b=found B!
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-tamaya/blob/7aafa226/examples/3-resources-example/src/main/resources/cfgOther/subs/c.properties
----------------------------------------------------------------------
diff --git a/examples/3-resources-example/src/main/resources/cfgOther/subs/c.properties b/examples/3-resources-example/src/main/resources/cfgOther/subs/c.properties
deleted file mode 100644
index 7a2d8ee..0000000
--- a/examples/3-resources-example/src/main/resources/cfgOther/subs/c.properties
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements.  See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership.  The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License.  You may obtain a copy current the License at
-#
-#    http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied.  See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-c=found C!
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-tamaya/blob/7aafa226/examples/4-resolver-example/pom.xml
----------------------------------------------------------------------
diff --git a/examples/4-resolver-example/pom.xml b/examples/4-resolver-example/pom.xml
deleted file mode 100644
index 9602c5d..0000000
--- a/examples/4-resolver-example/pom.xml
+++ /dev/null
@@ -1,55 +0,0 @@
-<!-- 
-Licensed to the Apache Software Foundation (ASF) under one
-or more contributor license agreements.  See the NOTICE file
-distributed with this work for additional information
-regarding copyright ownership.  The ASF licenses this file
-to you under the Apache License, Version 2.0 (the
-"License"); you may not use this file except in compliance
-with the License.  You may obtain a copy current the License at
-
-   http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing,
-software distributed under the License is distributed on an
-"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-KIND, either express or implied.  See the License for the
-specific language governing permissions and limitations
-under the License.
--->
-<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>
-    </parent>
-    <artifactId>tamaya-example-resolver</artifactId>
-    <groupId>org.apache.tamaya.examples</groupId>
-    <name>Apache Tamaya Example: Value Resolution</name>
-    <description>This project contains a simple example using the resolver module.</description>
-    <packaging>jar</packaging>
-
-    <dependencies>
-        <dependency>
-            <groupId>org.apache.tamaya</groupId>
-            <artifactId>tamaya-core</artifactId>
-            <version>${project.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.tamaya.ext</groupId>
-            <artifactId>tamaya-resolver</artifactId>
-            <version>${project.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.hamcrest</groupId>
-            <artifactId>java-hamcrest</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>junit</groupId>
-            <artifactId>junit</artifactId>
-            <scope>test</scope>
-        </dependency>
-    </dependencies>
-
-</project>

http://git-wip-us.apache.org/repos/asf/incubator-tamaya/blob/7aafa226/examples/4-resolver-example/src/main/java/org/apache/tamaya/examples/resolver/ExampleMain.java
----------------------------------------------------------------------
diff --git a/examples/4-resolver-example/src/main/java/org/apache/tamaya/examples/resolver/ExampleMain.java b/examples/4-resolver-example/src/main/java/org/apache/tamaya/examples/resolver/ExampleMain.java
deleted file mode 100644
index 67d5e53..0000000
--- a/examples/4-resolver-example/src/main/java/org/apache/tamaya/examples/resolver/ExampleMain.java
+++ /dev/null
@@ -1,63 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *   http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package org.apache.tamaya.examples.resolver;
-
-import org.apache.tamaya.Configuration;
-import org.apache.tamaya.ConfigurationProvider;
-
-import java.util.Map;
-import java.util.TreeMap;
-
-/**
- * Example illustrating the usage of value resolver expressions (placeholders).
- */
-public class ExampleMain {
-
-    private ExampleMain() {
-    }
-
-    public static void main(String... args){
-        System.out.println("****************************************************");
-        System.out.println("Resolver Example");
-        System.out.println("****************************************************");
-        System.out.println();
-        Configuration cfg = ConfigurationProvider.getConfiguration();
-        System.out.println("Example Metadata:");
-        System.out.println("  Type        :  " + cfg.get("example.type"));
-        System.out.println("  Name        :  " + cfg.get("example.name"));
-        System.out.println("  Description :  " + cfg.get("example.description"));
-        System.out.println("  Version     :  " + cfg.get("example.version"));
-        System.out.println("  Author      :  " + cfg.get("example.author"));
-        System.out.println();
-        System.out.println("Resolved Data:");
-        System.out.println("  FullName     :  " + cfg.get("example.fullName"));
-        System.out.println("  FullVersion  :  " + cfg.get("example.fullVersion"));
-        System.out.println();
-        System.out.println();
-        System.out.println("FULL DUMP:\n\n" + dump(cfg.getProperties()));
-    }
-
-    private static String dump(Map<String, String> properties) {
-        StringBuilder b = new StringBuilder();
-        for(Map.Entry en: new TreeMap<>(properties).entrySet()){
-            b.append("  " + en.getKey() + " = " + en.getValue() + '\n');
-        }
-        return b.toString();
-    }
-}

http://git-wip-us.apache.org/repos/asf/incubator-tamaya/blob/7aafa226/examples/4-resolver-example/src/main/resources/META-INF/javaconfiguration.properties
----------------------------------------------------------------------
diff --git a/examples/4-resolver-example/src/main/resources/META-INF/javaconfiguration.properties b/examples/4-resolver-example/src/main/resources/META-INF/javaconfiguration.properties
deleted file mode 100644
index 3acf0be..0000000
--- a/examples/4-resolver-example/src/main/resources/META-INF/javaconfiguration.properties
+++ /dev/null
@@ -1,32 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements.  See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership.  The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License.  You may obtain a copy current the License at
-#
-#    http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied.  See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-example.type=standalone
-example.name=Minimal
-example.description=A minimal example only using API and RI.
-example.version=1
-example.author=anatole@apache.org
-
-
-example.number=350322222222222222222266666666666666666666622222222222222222
-example.testEnum=V2
-
-# Resolved entries
-example.fullName=${conf:example.name}(${conf:example.type})
-example.fullVersion=${conf:example.fullName} - ${conf:example.version}, build ${resource:buildata}
-

http://git-wip-us.apache.org/repos/asf/incubator-tamaya/blob/7aafa226/examples/4-resolver-example/src/main/resources/buildata
----------------------------------------------------------------------
diff --git a/examples/4-resolver-example/src/main/resources/buildata b/examples/4-resolver-example/src/main/resources/buildata
deleted file mode 100644
index d9161e7..0000000
--- a/examples/4-resolver-example/src/main/resources/buildata
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements.  See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership.  The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License.  You may obtain a copy current the License at
-#
-#    http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied.  See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-Build 1234
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-tamaya/blob/7aafa226/examples/4-resolver-example/src/test/java/org/tamaya/examples/minimal/MinimalTests.java
----------------------------------------------------------------------
diff --git a/examples/4-resolver-example/src/test/java/org/tamaya/examples/minimal/MinimalTests.java b/examples/4-resolver-example/src/test/java/org/tamaya/examples/minimal/MinimalTests.java
deleted file mode 100644
index 8625985..0000000
--- a/examples/4-resolver-example/src/test/java/org/tamaya/examples/minimal/MinimalTests.java
+++ /dev/null
@@ -1,98 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *   http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package org.tamaya.examples.minimal;
-
-import org.apache.tamaya.ConfigException;
-import org.apache.tamaya.Configuration;
-import org.apache.tamaya.ConfigurationProvider;
-import org.junit.BeforeClass;
-import org.junit.Test;
-
-import java.math.BigInteger;
-
-import static org.junit.Assert.assertEquals;
-
-/**
- * Created by Anatole on 20.03.2015.
- */
-public class MinimalTests {
-
-    private static Configuration config;
-
-    @BeforeClass
-    public static void before() throws InterruptedException {
-        config = ConfigurationProvider.getConfiguration();
-        Thread.sleep(100L);
-    }
-
-    @Test
-    public void printMetaInfo() {
-        System.out.println("****************************************************");
-        System.out.println("Minimal Example");
-        System.out.println("****************************************************");
-        System.out.println();
-        System.out.println("Example Metadata:");
-        System.out.println("  Type        :  " + config.get("example.type"));
-        System.out.println("  Name        :  " + config.get("example.name"));
-        System.out.println("  Description :  " + config.get("example.description"));
-        System.out.println("  Version     :  " + config.get("example.version"));
-        System.out.println("  Author      :  " + config.get("example.author"));
-        System.out.println();
-    }
-
-    @Test(expected = ConfigException.class)
-    public void getNumberValueTooLong() {
-        String value = config.get("example.number");
-        assertEquals(value, "350322222222222222222266666666666666666666622222222222222222");
-        int number = config.get("example.number", int.class);
-    }
-    @Test
-    public void getNumberValueAsInt_BadCase() {
-        String value = config.get("example.numberAsHex");
-        int number = config.get("example.numberAsHex", int.class);
-        print("example.numberAsHex", number);
-    }
-
-    @Test
-    public void getNumberValueAsBigInteger() {
-        String value = config.get("example.number");
-        BigInteger number = config.get("example.number", BigInteger.class);
-        print("example.number", number);
-    }
-
-    @Test(expected = ConfigException.class)
-    public void getNumberValueAsLongHex() {
-        String value = config.get("example.numberAsLongHex");
-        long number = config.get("example.numberAsLongHex", int.class);
-        print("example.numberAsLongHex", number);
-    }
-
-    @Test
-    public void getEnum() {
-        String value = config.get("example.testEnum");
-        TestEnum en = config.get("example.testEnum", TestEnum.class);
-        print("example.testEnum", en);
-    }
-
-    protected void print(String key, Object value) {
-        System.out.println("----\n" +
-                "  " + key + "(String)=" + config.get(key)
-                + "\n  " + key + "(" + value.getClass().getSimpleName() + ")=" + value);
-    }
-}

http://git-wip-us.apache.org/repos/asf/incubator-tamaya/blob/7aafa226/examples/4-resolver-example/src/test/java/org/tamaya/examples/minimal/TestEnum.java
----------------------------------------------------------------------
diff --git a/examples/4-resolver-example/src/test/java/org/tamaya/examples/minimal/TestEnum.java b/examples/4-resolver-example/src/test/java/org/tamaya/examples/minimal/TestEnum.java
deleted file mode 100644
index be83dd5..0000000
--- a/examples/4-resolver-example/src/test/java/org/tamaya/examples/minimal/TestEnum.java
+++ /dev/null
@@ -1,26 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *   http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package org.tamaya.examples.minimal;
-
-/**
- * Created by Anatole on 20.03.2015.
- */
-public enum TestEnum {
-    V1,V2,V3
-}

http://git-wip-us.apache.org/repos/asf/incubator-tamaya/blob/7aafa226/examples/4-resolver-example/src/test/resources/META-INF/javaconfiguration.properties
----------------------------------------------------------------------
diff --git a/examples/4-resolver-example/src/test/resources/META-INF/javaconfiguration.properties b/examples/4-resolver-example/src/test/resources/META-INF/javaconfiguration.properties
deleted file mode 100644
index 8776f36..0000000
--- a/examples/4-resolver-example/src/test/resources/META-INF/javaconfiguration.properties
+++ /dev/null
@@ -1,24 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements.  See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership.  The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License.  You may obtain a copy current the License at
-#
-#    http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied.  See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-tamaya.ordinal=-1
-example.description=A minimal example only using API and RI, now partially overridden!
-
-example.numberAsHex=0xFA
-example.numberAsLongHex=0xFFFSFSFF
-example.testEnum=V1

http://git-wip-us.apache.org/repos/asf/incubator-tamaya/blob/7aafa226/examples/5-injection-example/pom.xml
----------------------------------------------------------------------
diff --git a/examples/5-injection-example/pom.xml b/examples/5-injection-example/pom.xml
deleted file mode 100644
index 6aff00c..0000000
--- a/examples/5-injection-example/pom.xml
+++ /dev/null
@@ -1,71 +0,0 @@
-<!-- 
-Licensed to the Apache Software Foundation (ASF) under one
-or more contributor license agreements.  See the NOTICE file
-distributed with this work for additional information
-regarding copyright ownership.  The ASF licenses this file
-to you under the Apache License, Version 2.0 (the
-"License"); you may not use this file except in compliance
-with the License.  You may obtain a copy current the License at
-
-   http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing,
-software distributed under the License is distributed on an
-"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-KIND, either express or implied.  See the License for the
-specific language governing permissions and limitations
-under the License.
--->
-<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>
-    </parent>
-    <artifactId>tamaya-example-injection</artifactId>
-    <groupId>org.apache.tamaya.examples</groupId>
-
-    <properties>
-        <geronimo-jcdi-1.1-spec.version>1.0</geronimo-jcdi-1.1-spec.version>
-    </properties>
-
-    <name>Apache Tamaya Example: Configuration Injection</name>
-    <description>This project contains a simple illustrating how configuration values can be injected.</description>
-    <packaging>jar</packaging>
-
-    <dependencies>
-        <dependency>
-            <groupId>org.apache.tamaya</groupId>
-            <artifactId>tamaya-core</artifactId>
-            <version>${project.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.tamaya.ext</groupId>
-            <artifactId>tamaya-injection</artifactId>
-            <version>${project.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.hamcrest</groupId>
-            <artifactId>java-hamcrest</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>junit</groupId>
-            <artifactId>junit</artifactId>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.geronimo.specs</groupId>
-            <artifactId>geronimo-jcdi_1.1_spec</artifactId>
-            <version>${geronimo-jcdi-1.1-spec.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.geronimo.specs</groupId>
-            <artifactId>geronimo-atinject_1.0_spec</artifactId>
-            <version>1.0</version>
-        </dependency>
-
-    </dependencies>
-
-</project>

http://git-wip-us.apache.org/repos/asf/incubator-tamaya/blob/7aafa226/examples/5-injection-example/src/main/java/org/apache/tamaya/examples/injection/Example.java
----------------------------------------------------------------------
diff --git a/examples/5-injection-example/src/main/java/org/apache/tamaya/examples/injection/Example.java b/examples/5-injection-example/src/main/java/org/apache/tamaya/examples/injection/Example.java
deleted file mode 100644
index abe0d5f..0000000
--- a/examples/5-injection-example/src/main/java/org/apache/tamaya/examples/injection/Example.java
+++ /dev/null
@@ -1,48 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *   http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package org.apache.tamaya.examples.injection;
-
-import org.apache.tamaya.inject.api.Config;
-import org.apache.tamaya.inject.api.ConfigDefaultSections;
-
-/**
- * Simple example bean, mapped by default names mostly.
- */
-@ConfigDefaultSections("example")
-@SuppressWarnings("all")
-public class Example {
-
-    private String type;
-    private String name;
-    @Config(defaultValue = "No description available.")
-    private String description;
-    private int version;
-    @Config("author")
-    private String exampleAuthor;
-
-    @Override
-    public String toString() {
-        return "Example Metadata:" +
-                "type='" + type + '\'' +
-                ", name='" + name + '\'' +
-                ", description='" + description + '\'' +
-                ", version=" + version +
-                ", exampleAuthor='" + exampleAuthor + '\'';
-    }
-}

http://git-wip-us.apache.org/repos/asf/incubator-tamaya/blob/7aafa226/examples/5-injection-example/src/main/java/org/apache/tamaya/examples/injection/ExampleMain.java
----------------------------------------------------------------------
diff --git a/examples/5-injection-example/src/main/java/org/apache/tamaya/examples/injection/ExampleMain.java b/examples/5-injection-example/src/main/java/org/apache/tamaya/examples/injection/ExampleMain.java
deleted file mode 100644
index bb92c08..0000000
--- a/examples/5-injection-example/src/main/java/org/apache/tamaya/examples/injection/ExampleMain.java
+++ /dev/null
@@ -1,51 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *   http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package org.apache.tamaya.examples.injection;
-
-import org.apache.tamaya.inject.ConfigurationInjection;
-import org.apache.tamaya.inject.ConfigurationInjector;
-
-
-/**
- * Example illustrating the functionality of injecting configuration and defining configuration templates.
- */
-public class ExampleMain {
-
-    private ExampleMain() {
-    }
-
-    public static void main(String... args){
-        System.out.println("****************************************************");
-        System.out.println("Injection and TemplatesExample");
-        System.out.println("****************************************************");
-        System.out.println();
-        Example example = new Example();
-        ConfigurationInjector injector = ConfigurationInjection.getConfigurationInjector();
-        injector.configure(example);
-        System.out.println("Injected:");
-        System.out.println("---------");
-        System.out.println(example);
-        System.out.println("Template:");
-        System.out.println("---------");
-        ExampleTemplate template = injector.createTemplate(ExampleTemplate.class);
-        System.out.println(template);
-        System.out.println();
-    }
-
-}

http://git-wip-us.apache.org/repos/asf/incubator-tamaya/blob/7aafa226/examples/5-injection-example/src/main/java/org/apache/tamaya/examples/injection/ExampleTemplate.java
----------------------------------------------------------------------
diff --git a/examples/5-injection-example/src/main/java/org/apache/tamaya/examples/injection/ExampleTemplate.java b/examples/5-injection-example/src/main/java/org/apache/tamaya/examples/injection/ExampleTemplate.java
deleted file mode 100644
index 84a16a3..0000000
--- a/examples/5-injection-example/src/main/java/org/apache/tamaya/examples/injection/ExampleTemplate.java
+++ /dev/null
@@ -1,40 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *   http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package org.apache.tamaya.examples.injection;
-
-import org.apache.tamaya.inject.api.Config;
-import org.apache.tamaya.inject.api.ConfigDefaultSections;
-
-/**
- * Simple example bean, mapped by default names mostly.
- */
-@ConfigDefaultSections("example")
-public interface ExampleTemplate {
-
-    String getType();
-
-    String getName();
-    @Config(defaultValue = "No description available.")
-    String getDescription();
-
-    int getVersion();
-    @Config("author")
-    String getExampleAuthor();
-
-}

http://git-wip-us.apache.org/repos/asf/incubator-tamaya/blob/7aafa226/examples/5-injection-example/src/main/resources/META-INF/javaconfiguration.properties
----------------------------------------------------------------------
diff --git a/examples/5-injection-example/src/main/resources/META-INF/javaconfiguration.properties b/examples/5-injection-example/src/main/resources/META-INF/javaconfiguration.properties
deleted file mode 100644
index b986ea8..0000000
--- a/examples/5-injection-example/src/main/resources/META-INF/javaconfiguration.properties
+++ /dev/null
@@ -1,27 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements.  See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership.  The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License.  You may obtain a copy current the License at
-#
-#    http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied.  See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-example.type=standalone
-example.name=Minimal
-example.description=This example illustrates basic configuration injection mechanisms.
-example.version=1
-example.author=anatole@apache.org
-
-
-example.number=350322222222222222222266666666666666666666622222222222222222
-example.testEnum=V2


Mime
View raw message