You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tamaya.apache.org by pl...@apache.org on 2016/10/05 22:12:09 UTC

[1/2] incubator-tamaya git commit: [TAMAYA-180] Removed the examples from the master branch.

Repository: incubator-tamaya
Updated Branches:
  refs/heads/master 973e62ecf -> 7aafa2260


http://git-wip-us.apache.org/repos/asf/incubator-tamaya/blob/7aafa226/examples/5-injection-example/src/test/java/org/tamaya/examples/minimal/MinimalTests.java
----------------------------------------------------------------------
diff --git a/examples/5-injection-example/src/test/java/org/tamaya/examples/minimal/MinimalTests.java b/examples/5-injection-example/src/test/java/org/tamaya/examples/minimal/MinimalTests.java
deleted file mode 100644
index 3798685..0000000
--- a/examples/5-injection-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;
-
-/**
- * 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");
-        System.err.println("**** example.number(String)=" + value);
-        int number = config.get("example.number",int.class);
-        System.out.println("----\n   example.number(int)=" + number);
-    }
-
-    @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/5-injection-example/src/test/java/org/tamaya/examples/minimal/TestEnum.java
----------------------------------------------------------------------
diff --git a/examples/5-injection-example/src/test/java/org/tamaya/examples/minimal/TestEnum.java b/examples/5-injection-example/src/test/java/org/tamaya/examples/minimal/TestEnum.java
deleted file mode 100644
index be83dd5..0000000
--- a/examples/5-injection-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/5-injection-example/src/test/resources/META-INF/javaconfiguration.properties
----------------------------------------------------------------------
diff --git a/examples/5-injection-example/src/test/resources/META-INF/javaconfiguration.properties b/examples/5-injection-example/src/test/resources/META-INF/javaconfiguration.properties
deleted file mode 100644
index acb9caf..0000000
--- a/examples/5-injection-example/src/test/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.
-#
-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/6-fileobserver-example/pom.xml
----------------------------------------------------------------------
diff --git a/examples/6-fileobserver-example/pom.xml b/examples/6-fileobserver-example/pom.xml
deleted file mode 100644
index 5b12c5f..0000000
--- a/examples/6-fileobserver-example/pom.xml
+++ /dev/null
@@ -1,67 +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-fileobserver</artifactId>
-    <groupId>org.apache.tamaya.examples</groupId>
-    <name>Apache Tamaya Example: File Observer</name>
-    <description>This project contains a simple example observing a directory for (config) file changes, that updates
-        the configuration correspondingly.
-    </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-events</artifactId>
-            <version>${project.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.tamaya.ext</groupId>
-            <artifactId>tamaya-formats</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>commons-io</groupId>
-            <artifactId>commons-io</artifactId>
-            <scope>test</scope>
-        </dependency>
-    </dependencies>
-
-</project>

http://git-wip-us.apache.org/repos/asf/incubator-tamaya/blob/7aafa226/examples/6-fileobserver-example/src/test/java/org/aspache/tamaya/examples/fileobserver/ObservedConfigExampleTest.java
----------------------------------------------------------------------
diff --git a/examples/6-fileobserver-example/src/test/java/org/aspache/tamaya/examples/fileobserver/ObservedConfigExampleTest.java b/examples/6-fileobserver-example/src/test/java/org/aspache/tamaya/examples/fileobserver/ObservedConfigExampleTest.java
deleted file mode 100644
index 1e6ed9f..0000000
--- a/examples/6-fileobserver-example/src/test/java/org/aspache/tamaya/examples/fileobserver/ObservedConfigExampleTest.java
+++ /dev/null
@@ -1,139 +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.aspache.tamaya.examples.fileobserver;
-
-import org.apache.commons.io.FileUtils;
-import org.apache.tamaya.Configuration;
-import org.apache.tamaya.ConfigurationProvider;
-import org.apache.tamaya.events.folderobserver.ObservingPropertySourceProvider;
-import org.junit.AfterClass;
-import org.junit.Before;
-import org.junit.Ignore;
-import org.junit.Test;
-
-import java.io.File;
-import java.io.IOException;
-import java.net.URL;
-import java.nio.file.Files;
-import java.nio.file.Path;
-import java.nio.file.Paths;
-import java.util.Map;
-
-import static org.hamcrest.core.Is.is;
-import static org.junit.Assert.assertNull;
-import static org.junit.Assert.assertThat;
-
-/**
- * Test (currently manual) to test configuration changes.
- */
-public class ObservedConfigExampleTest {
-
-    @Before
-    public void setup() throws IOException {
-        // create some temporary config
-        Path tempDir = Files.createTempDirectory("observedFolder");
-        FileUtils.copyInputStreamToFile(
-                getClass().getResourceAsStream("/test.properties"),
-                new File(tempDir.toFile(), "test.properties"));
-    }
-
-
-    private static Path getSourceFile(String name) throws Exception {
-        URL url = ObservedConfigExampleTest.class.getResource("/data");
-        File testFile = new File(new File(url.toURI()), name);
-        return Paths.get(testFile.toURI());
-    }
-
-    private static Path getTargetFile(String name) {
-        File testFile = new File(TestObservingProvider.propertyLocation.toFile(), name);
-        return Paths.get(testFile.toURI());
-    }
-
-    /**
-     * Test method that periodically prints out what is happening.
-     */
-    public static void main() {
-        while (true) {
-            System.out.println("1: " + ConfigurationProvider.getConfiguration().get("1"));
-            System.out.println("2: " + ConfigurationProvider.getConfiguration().get("2"));
-            System.out.println("3: " + ConfigurationProvider.getConfiguration().get("3"));
-            System.out.println("4: " + ConfigurationProvider.getConfiguration().get("4"));
-            System.out.println("5: " + ConfigurationProvider.getConfiguration().get("5"));
-            System.out.println("6: " + ConfigurationProvider.getConfiguration().get("6"));
-            System.out.println("=======================================================================");
-            try {
-                Thread.sleep(2000L);
-            } catch (Exception e) {
-                // stop here...
-            }
-        }
-    }
-
-    @AfterClass
-    public static void cleanup() throws Exception {
-        // cleanup directory
-        Files.deleteIfExists(getTargetFile("test1.properties"));
-        Files.deleteIfExists(getTargetFile("test2.properties"));
-        Files.deleteIfExists(getTargetFile("test3.properties"));
-    }
-
-
-
-    public void testInitialConfig() throws IOException {
-        Configuration config = ConfigurationProvider.getConfiguration().with(TestConfigView.of());
-
-        Map<String, String> props = config.getProperties();
-
-        assertThat(props.get("test"), is("test2"));
-        assertThat(props.get("testValue1"), is("value"));
-        assertNull(props.get("a"));
-
-    }
-
-    @Test
-    @Ignore // TODO Reactivate and see whats wrong...
-    public void testChangingConfig() throws IOException {
-        Configuration config = ConfigurationProvider.getConfiguration().with(TestConfigView.of());
-
-        Map<String, String> props = config.getProperties();
-        assertThat(props.get("test"), is("test2"));
-        assertThat(props.get("testValue1"), is("value"));
-        assertNull(props.get("testValue2"));
-
-        //insert a new properties file into the tempdirectory
-        FileUtils.writeStringToFile(
-                new File(TestObservingProvider.propertyLocation.toFile(), "test2.properties"),
-                "testValue2=anotherValue");
-
-        try {
-            Thread.sleep(15000);
-        } catch (InterruptedException e) {
-            e.printStackTrace();
-        }
-
-        config = ConfigurationProvider.getConfiguration().with(TestConfigView.of());
-
-        props = config.getProperties();
-
-        assertThat(props.get("test"), is("test2"));
-        assertThat(props.get("testValue1"), is("value"));
-        assertThat(props.get("testValue2"), is("anotherValue"));
-    }
-
-}

http://git-wip-us.apache.org/repos/asf/incubator-tamaya/blob/7aafa226/examples/6-fileobserver-example/src/test/java/org/aspache/tamaya/examples/fileobserver/TestConfigView.java
----------------------------------------------------------------------
diff --git a/examples/6-fileobserver-example/src/test/java/org/aspache/tamaya/examples/fileobserver/TestConfigView.java b/examples/6-fileobserver-example/src/test/java/org/aspache/tamaya/examples/fileobserver/TestConfigView.java
deleted file mode 100644
index c04fb62..0000000
--- a/examples/6-fileobserver-example/src/test/java/org/aspache/tamaya/examples/fileobserver/TestConfigView.java
+++ /dev/null
@@ -1,153 +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.aspache.tamaya.examples.fileobserver;
-
-import org.apache.tamaya.ConfigException;
-import org.apache.tamaya.ConfigOperator;
-import org.apache.tamaya.ConfigQuery;
-import org.apache.tamaya.Configuration;
-import org.apache.tamaya.ConfigurationProvider;
-import org.apache.tamaya.TypeLiteral;
-import org.apache.tamaya.spi.ConfigurationContext;
-import org.apache.tamaya.spi.ConversionContext;
-import org.apache.tamaya.spi.PropertyConverter;
-
-import java.util.HashMap;
-import java.util.List;
-import java.util.Map;
-import java.util.logging.Level;
-import java.util.logging.Logger;
-
-/**
- * Simple view filter used for test output.
- */
-public class TestConfigView implements ConfigOperator{
-
-    private static final TestConfigView INSTANCE = new TestConfigView();
-
-    private TestConfigView(){}
-
-    public static ConfigOperator of(){
-        return INSTANCE;
-    }
-
-    @Override
-    public Configuration operate(final Configuration config) {
-        return new Configuration() {
-            @Override
-            public Map<String, String> getProperties() {
-                Map<String, String> result = new HashMap<>();
-                for(Map.Entry<String,String> e:config.getProperties().entrySet()){
-                    if(e.getKey().startsWith("test")){
-                        result.put(e.getKey(), e.getValue());
-                    }
-                }
-                return result;
-            }
-
-            @Override
-            public Configuration with(ConfigOperator operator) {
-                return operator.operate(this);
-            }
-
-            @Override
-            public <T> T query(ConfigQuery<T> query) {
-                return query.query(this);
-            }
-
-            @Override
-            public ConfigurationContext getContext() {
-                return null;
-            }
-
-            @Override
-            public String get(String key) {
-                return getProperties().get(key);
-            }
-
-            @Override
-            public String getOrDefault(String key, String defaultValue) {
-                String val = get(key);
-                if(val==null){
-                    return defaultValue;
-                }
-                return val;
-            }
-
-            @Override
-            public <T> T getOrDefault(String key, Class<T> type, T defaultValue) {
-                T val = get(key, type);
-                if(val==null){
-                    return defaultValue;
-                }
-                return val;
-            }
-
-            @Override
-            public <T> T get(String key, Class<T> type) {
-                return (T)get(key, TypeLiteral.of(type));
-            }
-
-            /**
-             * Accesses the current String value for the given key and tries to convert it
-             * using the {@link org.apache.tamaya.spi.PropertyConverter} instances provided by the current
-             * {@link org.apache.tamaya.spi.ConfigurationContext}.
-             *
-             * @param key  the property's absolute, or relative path, e.g. @code
-             *             a/b/c/d.myProperty}.
-             * @param type The target type required, not null.
-             * @param <T>  the value type
-             * @return the converted value, never null.
-             */
-            @Override
-            public <T> T get(String key, TypeLiteral<T> type) {
-                String value = get(key);
-                if (value != null) {
-                    List<PropertyConverter<T>> converters = ConfigurationProvider.getConfigurationContext()
-                            .getPropertyConverters(type);
-                    ConversionContext ctx = new ConversionContext.Builder(ConfigurationProvider.getConfiguration(),
-                            ConfigurationProvider.getConfigurationContext(), key, type).build();
-                    for (PropertyConverter<T> converter : converters) {
-                        try {
-                            T t = converter.convert(value, ctx);
-                            if (t != null) {
-                                return t;
-                            }
-                        } catch (Exception e) {
-                            Logger.getLogger(getClass().getName())
-                                    .log(Level.FINEST, "PropertyConverter: " + converter + " failed to convert value: "
-                                            + value, e);
-                        }
-                    }
-                    throw new ConfigException("Unparseable config value for type: " + type.getRawType().getName() + ": " + key);
-                }
-                return null;
-            }
-
-            @Override
-            public <T> T getOrDefault(String key, TypeLiteral<T> type, T defaultValue) {
-                T val = get(key, type);
-                if(val==null){
-                    return defaultValue;
-                }
-                return val;
-            }
-        };
-    }
-}

http://git-wip-us.apache.org/repos/asf/incubator-tamaya/blob/7aafa226/examples/6-fileobserver-example/src/test/java/org/aspache/tamaya/examples/fileobserver/TestObservingProvider.java
----------------------------------------------------------------------
diff --git a/examples/6-fileobserver-example/src/test/java/org/aspache/tamaya/examples/fileobserver/TestObservingProvider.java b/examples/6-fileobserver-example/src/test/java/org/aspache/tamaya/examples/fileobserver/TestObservingProvider.java
deleted file mode 100644
index 4528260..0000000
--- a/examples/6-fileobserver-example/src/test/java/org/aspache/tamaya/examples/fileobserver/TestObservingProvider.java
+++ /dev/null
@@ -1,38 +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.aspache.tamaya.examples.fileobserver;
-
-import org.apache.tamaya.events.folderobserver.ObservingPropertySourceProvider;
-import org.apache.tamaya.format.formats.PropertiesFormat;
-
-import java.nio.file.Path;
-
-/**
- * Test configuration property source provider that observes a directory and updated the config if necessary.
- */
-public class TestObservingProvider extends ObservingPropertySourceProvider{
-
-    public static Path propertyLocation;
-
-    public TestObservingProvider(){
-        super(propertyLocation);
-    }
-    
-    
-}

http://git-wip-us.apache.org/repos/asf/incubator-tamaya/blob/7aafa226/examples/6-fileobserver-example/src/test/resources/META-INF/services/org.apache.tamaya.spi.PropertySourceProvider
----------------------------------------------------------------------
diff --git a/examples/6-fileobserver-example/src/test/resources/META-INF/services/org.apache.tamaya.spi.PropertySourceProvider b/examples/6-fileobserver-example/src/test/resources/META-INF/services/org.apache.tamaya.spi.PropertySourceProvider
deleted file mode 100644
index 7484bcd..0000000
--- a/examples/6-fileobserver-example/src/test/resources/META-INF/services/org.apache.tamaya.spi.PropertySourceProvider
+++ /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.aspache.tamaya.examples.fileobserver.TestObservingProvider
-

http://git-wip-us.apache.org/repos/asf/incubator-tamaya/blob/7aafa226/examples/6-fileobserver-example/src/test/resources/test.properties
----------------------------------------------------------------------
diff --git a/examples/6-fileobserver-example/src/test/resources/test.properties b/examples/6-fileobserver-example/src/test/resources/test.properties
deleted file mode 100644
index af06631..0000000
--- a/examples/6-fileobserver-example/src/test/resources/test.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.
-#
-testValue1=value
-test=test2
-a=b
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-tamaya/blob/7aafa226/examples/7-builder-example/pom.xml
----------------------------------------------------------------------
diff --git a/examples/7-builder-example/pom.xml b/examples/7-builder-example/pom.xml
deleted file mode 100644
index 94c5a7e..0000000
--- a/examples/7-builder-example/pom.xml
+++ /dev/null
@@ -1,65 +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-builder</artifactId>
-    <groupId>org.apache.tamaya.examples</groupId>
-    <name>Apache Tamaya Example: Builder</name>
-    <description>This project contains a simple example building a configuration manually.
-    </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-builder</artifactId>
-            <version>${project.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.tamaya.ext</groupId>
-            <artifactId>tamaya-events</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>commons-io</groupId>
-            <artifactId>commons-io</artifactId>
-        </dependency>
-    </dependencies>
-
-</project>

http://git-wip-us.apache.org/repos/asf/incubator-tamaya/blob/7aafa226/examples/7-builder-example/src/main/java/org/apache/tamaya/examples/builder/UsingABuilderExample.java
----------------------------------------------------------------------
diff --git a/examples/7-builder-example/src/main/java/org/apache/tamaya/examples/builder/UsingABuilderExample.java b/examples/7-builder-example/src/main/java/org/apache/tamaya/examples/builder/UsingABuilderExample.java
deleted file mode 100644
index de73854..0000000
--- a/examples/7-builder-example/src/main/java/org/apache/tamaya/examples/builder/UsingABuilderExample.java
+++ /dev/null
@@ -1,45 +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.builder;
-
-import org.apache.tamaya.Configuration;
-import org.apache.tamaya.builder.ConfigurationBuilder;
-import org.apache.tamaya.resource.ConfigResources;
-
-
-/**
- * Created by Anatole on 05.05.2015.
- */
-public class UsingABuilderExample {
-
-    private UsingABuilderExample() {
-    }
-
-    public static void main(String... args) {
-
-        ConfigurationBuilder builder = new ConfigurationBuilder();
-        Configuration config = builder.addPropertySources(ConfigResources.getResourceResolver().getResources("META-INF/boot/*.ini"))
-                .addPropertySources(ConfigResources.getResourceResolver().getResources("META-INF/config/*.properties"))
-                .enableProvidedPropertyConverters()
-                .enabledProvidedPropertyFilters()
-                .build();
-        System.out.println(config);
-    }
-
-}

http://git-wip-us.apache.org/repos/asf/incubator-tamaya/blob/7aafa226/examples/8-remote-example/client/pom.xml
----------------------------------------------------------------------
diff --git a/examples/8-remote-example/client/pom.xml b/examples/8-remote-example/client/pom.xml
deleted file mode 100644
index 6bfafd7..0000000
--- a/examples/8-remote-example/client/pom.xml
+++ /dev/null
@@ -1,80 +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.examples</groupId>
-        <artifactId>tamaya-example-remote</artifactId>
-        <version>0.3-incubating-SNAPSHOT</version>
-        <relativePath>..</relativePath>
-    </parent>
-    <artifactId>tamaya-example-remote-client</artifactId>
-    <name>Apache Tamaya Example: Remote (Client)</name>
-    <description>This project contains the configuration client (using the remote
-        module) of the remote example.
-    </description>
-    <packaging>jar</packaging>
-
-    <dependencies>
-        <dependency>
-            <groupId>org.apache.tamaya</groupId>
-            <artifactId>tamaya-api</artifactId>
-            <version>${project.version}</version>
-            <scope>compile</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.tamaya</groupId>
-            <artifactId>tamaya-core</artifactId>
-            <version>${project.version}</version>
-            <scope>compile</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.tamaya.ext</groupId>
-            <artifactId>tamaya-etcd</artifactId>
-            <version>${project.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.tamaya.ext</groupId>
-            <artifactId>tamaya-filter</artifactId>
-            <version>${project.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.tomcat</groupId>
-            <artifactId>tomcat-catalina</artifactId>
-            <version>7.0.41</version>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.tomcat</groupId>
-            <artifactId>tomcat-util</artifactId>
-            <version>7.0.41</version>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.tomcat.embed</groupId>
-            <artifactId>tomcat-embed-core</artifactId>
-            <version>7.0.41</version>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.tamaya.ext</groupId>
-            <artifactId>tamaya-functions</artifactId>
-            <version>${project.version}</version>
-        </dependency>
-    </dependencies>
-
-
-</project>

http://git-wip-us.apache.org/repos/asf/incubator-tamaya/blob/7aafa226/examples/8-remote-example/client/src/main/java/org/apache/tamaya/examples/remote/client/Client.java
----------------------------------------------------------------------
diff --git a/examples/8-remote-example/client/src/main/java/org/apache/tamaya/examples/remote/client/Client.java b/examples/8-remote-example/client/src/main/java/org/apache/tamaya/examples/remote/client/Client.java
deleted file mode 100644
index 76bf407..0000000
--- a/examples/8-remote-example/client/src/main/java/org/apache/tamaya/examples/remote/client/Client.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.apache.tamaya.examples.remote.client;
-
-import org.apache.catalina.LifecycleException;
-import org.apache.catalina.startup.Tomcat;
-
-import org.apache.catalina.Context;
-import org.apache.tamaya.ConfigurationProvider;
-
-import java.io.File;
-
-/**
- * Simple Remote client class. Usage:
- * {@code java -jar tamaya-remote-client.jar [-Dport=<port>][-DclientId=<clientId>]}.
- * Hereby the clientId is used as a scope identifier passed as a parameter to the
- * configuration server to define the effective configuration to be provided to
- * the client. Hereby this class also reads the port to be used from the remote
- * configuration server.
- */
-public class Client {
-
-    /**
-     * Util class constructor.
-     */
-    private Client(){}
-
-    /**
-     * Main method. Usage:
-     * {@code java -jar tamaya-remote-client.jar [-Dport=<port>][-DclientId=<clientId>]}.
-     * @param args the arguments passed.
-     */
-    public static void main(String... args){
-        // init configuration
-        Tomcat tomcat = new Tomcat();
-
-        String portValue = System.getProperty("port");
-        if(portValue==null){
-            portValue = ConfigurationProvider.getConfiguration().get("client.port");
-        }
-        int port = portValue!=null?Integer.parseInt(portValue):8055;
-        tomcat.setPort(port);
-        File base = new File(System.getProperty("java.io.tmpdir")+"/"+getClientId());
-        if(!base.exists()){
-            if(!base.mkdirs()){
-                System.err.println("Could not instantiate Tomcat working dir: " + base);
-            }
-        }
-        Context rootCtx = tomcat.addContext("/client", base.getAbsolutePath());
-        Tomcat.addServlet(rootCtx, "printConfigServlet", new PrintConfigServlet());
-        rootCtx.addServletMapping("/config/*", "printConfigServlet", true);
-        try {
-            System.out.println("Starting client: " + getClientId() + " with port " + port);
-            tomcat.start();
-        } catch (LifecycleException e) {
-            e.printStackTrace();
-        }
-        tomcat.getServer().await();
-    }
-
-    /**
-     * Evaluates the current client id in the following order:
-     * <ul>
-     *     <li>Checking for an <b>environment</b> variable CLIENT_ID</li>
-     *     <li>Checking for a system property <b>clientId</b>.</li>
-     *     <li>If not found <i>default</i> is returned.</li>
-     * </ul>
-     * @return the client identifier to be used.
-     */
-    public static String getClientId() {
-        String clientId = System.getenv("ENV_CLIENT_ID");
-        if(clientId == null){
-            clientId = System.getProperty("ENV_CLIENT_ID");
-        }
-        if(clientId == null){
-            clientId = "default";
-        }
-        return clientId;
-    }
-
-
-}

http://git-wip-us.apache.org/repos/asf/incubator-tamaya/blob/7aafa226/examples/8-remote-example/client/src/main/java/org/apache/tamaya/examples/remote/client/PrintConfigServlet.java
----------------------------------------------------------------------
diff --git a/examples/8-remote-example/client/src/main/java/org/apache/tamaya/examples/remote/client/PrintConfigServlet.java b/examples/8-remote-example/client/src/main/java/org/apache/tamaya/examples/remote/client/PrintConfigServlet.java
deleted file mode 100644
index d0ff9d1..0000000
--- a/examples/8-remote-example/client/src/main/java/org/apache/tamaya/examples/remote/client/PrintConfigServlet.java
+++ /dev/null
@@ -1,78 +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.remote.client;
-
-import org.apache.tamaya.ConfigurationProvider;
-import org.apache.tamaya.functions.ConfigurationFunctions;
-
-import javax.servlet.ServletException;
-import javax.servlet.http.HttpServlet;
-import javax.servlet.http.HttpServletRequest;
-import javax.servlet.http.HttpServletResponse;
-import java.io.IOException;
-import java.util.HashMap;
-import java.util.Map;
-
-/**
- * S simple servlet, which simply prints out the current local configuration. This is useful to demonstrate the
- * different client configurations read.
- */
-public class PrintConfigServlet extends HttpServlet {
-
-    /** Serial UID. */
-    private static final long serialVersionUID = 1L;
-
-    /**
-     * The client id used.
-     */
-    private final String clientId = Client.getClientId();
-    /**
-     * The current info map, containing the clientId. This is passed to be added to the configuration's info section
-     * when shows.
-     */
-    private final Map<String,String> info = new HashMap<>();
-
-    /**
-     * Constructor.
-     */
-    public PrintConfigServlet(){
-        info.put("clientId", clientId);
-    }
-
-    @Override
-    protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
-        resp.setHeader("CONTENT-TYPE", "text/html");
-        Map<String,String> info = new HashMap<>();
-        info.put("clientId", clientId);
-        resp.setStatus(HttpServletResponse.SC_OK);
-        String filter = req.getPathInfo();
-        if (filter != null) {
-            if(filter.startsWith("/")){
-                filter = filter.substring(1);
-            }
-            info.put("filter", filter);
-            resp.getWriter().append(ConfigurationProvider.getConfiguration().with(ConfigurationFunctions
-                    .sectionRecursive(false, filter.split(","))).query(ConfigurationFunctions.htmlInfo(info)));
-        } else {
-            info.put("filter", ".*");
-            resp.getWriter().append(ConfigurationProvider.getConfiguration().query(ConfigurationFunctions.htmlInfo(info)));
-        }
-    }
-
-}

http://git-wip-us.apache.org/repos/asf/incubator-tamaya/blob/7aafa226/examples/8-remote-example/client/src/main/resources/META-INF/services/org.apache.tamaya.spi.PropertySource
----------------------------------------------------------------------
diff --git a/examples/8-remote-example/client/src/main/resources/META-INF/services/org.apache.tamaya.spi.PropertySource b/examples/8-remote-example/client/src/main/resources/META-INF/services/org.apache.tamaya.spi.PropertySource
deleted file mode 100644
index a2a4042..0000000
--- a/examples/8-remote-example/client/src/main/resources/META-INF/services/org.apache.tamaya.spi.PropertySource
+++ /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.remote.client.RemotePropertySource
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-tamaya/blob/7aafa226/examples/8-remote-example/pom.xml
----------------------------------------------------------------------
diff --git a/examples/8-remote-example/pom.xml b/examples/8-remote-example/pom.xml
deleted file mode 100644
index 8b18a6d..0000000
--- a/examples/8-remote-example/pom.xml
+++ /dev/null
@@ -1,69 +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-remote</artifactId>
-    <groupId>org.apache.tamaya.examples</groupId>
-    <name>Apache Tamaya Example: Remote</name>
-    <description>This project contains a multi module project defining a configuration server (using the server
-        module) and multiple remote clients that read their configs from the server using the server's rest API
-        (using the remote module).
-    </description>
-    <packaging>pom</packaging>
-
-    <dependencies>
-        <dependency>
-            <groupId>org.apache.tamaya</groupId>
-            <artifactId>tamaya-api</artifactId>
-            <version>${project.version}</version>
-            <scope>provided</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.tamaya</groupId>
-            <artifactId>tamaya-core</artifactId>
-            <version>${project.version}</version>
-            <scope>provided</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.tamaya.ext</groupId>
-            <artifactId>tamaya-resources</artifactId>
-            <version>${project.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.hamcrest</groupId>
-            <artifactId>java-hamcrest</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>junit</groupId>
-            <artifactId>junit</artifactId>
-        </dependency>
-    </dependencies>
-
-    <modules>
-        <module>server</module>
-        <module>client</module>
-    </modules>
-
-</project>

http://git-wip-us.apache.org/repos/asf/incubator-tamaya/blob/7aafa226/examples/8-remote-example/server/pom.xml
----------------------------------------------------------------------
diff --git a/examples/8-remote-example/server/pom.xml b/examples/8-remote-example/server/pom.xml
deleted file mode 100644
index d21c863..0000000
--- a/examples/8-remote-example/server/pom.xml
+++ /dev/null
@@ -1,135 +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.examples</groupId>
-        <artifactId>tamaya-example-remote</artifactId>
-        <version>0.3-incubating-SNAPSHOT</version>
-        <relativePath>..</relativePath>
-    </parent>
-    <artifactId>tamaya-example-remote-server</artifactId>
-    <name>Apache Tamaya Example: Remote (Server)</name>
-    <description>This project contains the configuration server (using the server
-        module) of the remote example.
-    </description>
-    <packaging>jar</packaging>
-
-    <dependencies>
-        <dependency>
-            <groupId>org.apache.tamaya.ext</groupId>
-            <artifactId>tamaya-server</artifactId>
-            <version>${project.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.tamaya</groupId>
-            <artifactId>tamaya-api</artifactId>
-            <version>${project.version}</version>
-            <scope>compile</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.tamaya</groupId>
-            <artifactId>tamaya-core</artifactId>
-            <version>${project.version}</version>
-            <scope>compile</scope>
-        </dependency>
-    </dependencies>
-
-    <build>
-        <plugins>
-            <plugin>
-                <groupId>com.spotify</groupId>
-                <artifactId>docker-maven-plugin</artifactId>
-                <version>0.3.258</version>
-                <configuration>
-                    <imageName>apache/tamaya/examples-server</imageName>
-                    <imageTags>
-                        <imageTag>${project.version}</imageTag>
-                    </imageTags>
-                    <baseImage>java:8-jre</baseImage>
-                    <entryPoint>["java", "-jar", "/${project.build.finalName}.jar", "server", "/config-server.yml"]</entryPoint>
-                    <exposes>
-                        <expose>8080</expose>
-                    </exposes>
-                    <resources>
-                        <resource>
-                            <targetPath>/</targetPath>
-                            <directory>${project.build.directory}</directory>
-                            <include>${project.build.finalName}.jar</include>
-                        </resource>
-                        <resource>
-                            <targetPath>/</targetPath>
-                            <directory>${project.build.directory}/classes</directory>
-                            <include>config-server.yml</include>
-                        </resource>
-                    </resources>
-                </configuration>
-            </plugin>
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-jar-plugin</artifactId>
-                <version>2.4</version>
-                <configuration>
-                    <archive>
-                        <manifest>
-                            <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
-                        </manifest>
-                    </archive>
-                </configuration>
-            </plugin>
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-shade-plugin</artifactId>
-                <version>2.3</version>
-                <configuration>
-                    <createDependencyReducedPom>true</createDependencyReducedPom>
-                    <filters>
-                        <filter>
-                            <artifact>*:*</artifact>
-                            <excludes>
-                                <exclude>META-INF/*.SF</exclude>
-                                <exclude>META-INF/*.DSA</exclude>
-                                <exclude>META-INF/*.RSA</exclude>
-                            </excludes>
-                        </filter>
-                    </filters>
-                </configuration>
-                <executions>
-                    <execution>
-                        <phase>package</phase>
-                        <goals>
-                            <goal>shade</goal>
-                        </goals>
-                        <configuration>
-                            <transformers>
-                                <transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer" />
-                                <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
-                                    <mainClass>org.apache.tamaya.server.ConfigServiceApp</mainClass>
-                                </transformer>
-                            </transformers>
-                        </configuration>
-                    </execution>
-                </executions>
-            </plugin>
-        </plugins>
-    </build>
-
-
-
-</project>

http://git-wip-us.apache.org/repos/asf/incubator-tamaya/blob/7aafa226/examples/8-remote-example/server/src/main/java/ExampleServer.java
----------------------------------------------------------------------
diff --git a/examples/8-remote-example/server/src/main/java/ExampleServer.java b/examples/8-remote-example/server/src/main/java/ExampleServer.java
deleted file mode 100644
index ad55480..0000000
--- a/examples/8-remote-example/server/src/main/java/ExampleServer.java
+++ /dev/null
@@ -1,33 +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.
- */
-
-import org.apache.tamaya.server.ConfigServiceApp;
-
-/**
- * Created by atsticks on 22.01.16.
- */
-public class ExampleServer {
-
-    private ExampleServer(){}
-
-    public static void main(String... args) throws Exception{
-        ConfigServiceApp.main("server", "./src/main/resources/config-server.yml");
-    }
-
-}

http://git-wip-us.apache.org/repos/asf/incubator-tamaya/blob/7aafa226/examples/8-remote-example/server/src/main/resources/META-INF/javaconfiguration.properties
----------------------------------------------------------------------
diff --git a/examples/8-remote-example/server/src/main/resources/META-INF/javaconfiguration.properties b/examples/8-remote-example/server/src/main/resources/META-INF/javaconfiguration.properties
deleted file mode 100644
index ca7bf92..0000000
--- a/examples/8-remote-example/server/src/main/resources/META-INF/javaconfiguration.properties
+++ /dev/null
@@ -1,31 +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.
-#
-client.default.client.name=Default Client
-client.default.client.port=8000
-client.default.client.stage=TEST
-clinet.default.client.security=none
-client.client1.client.name=client1
-client.client1.client.port=8001
-client.client2.client.port=8002
-client.client3.client.name=Client (PROD)
-client.client3.client.port=8003
-client.client3.client.stage=PROD
-client.client4.client.port=8004
-client.client5.client.port=8005
-client.client6.client.port=8006
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-tamaya/blob/7aafa226/examples/8-remote-example/server/src/main/resources/config-server.yml
----------------------------------------------------------------------
diff --git a/examples/8-remote-example/server/src/main/resources/config-server.yml b/examples/8-remote-example/server/src/main/resources/config-server.yml
deleted file mode 100644
index 446351f..0000000
--- a/examples/8-remote-example/server/src/main/resources/config-server.yml
+++ /dev/null
@@ -1,29 +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.
-#
-
-scope: java
-server:
-  applicationConnectors:
-  - type: http
-    port: 4001
-  adminConnectors:
-  - type: http
-    port: 4099
-
-

http://git-wip-us.apache.org/repos/asf/incubator-tamaya/blob/7aafa226/examples/pom.xml
----------------------------------------------------------------------
diff --git a/examples/pom.xml b/examples/pom.xml
deleted file mode 100644
index df7e369..0000000
--- a/examples/pom.xml
+++ /dev/null
@@ -1,83 +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</groupId>
-        <artifactId>tamaya-all</artifactId>
-        <version>0.3-incubating-SNAPSHOT</version>
-        <relativePath>..</relativePath>
-    </parent>
-
-    <artifactId>tamaya-examples</artifactId>
-    <groupId>org.apache.tamaya.ext</groupId>
-    <name>Apache Tamaya Example - all</name>
-    <description>This project contains several examples that illustrate usage of Tamaya.</description>
-    <packaging>pom</packaging>
-
-    <modules>
-        <module>1-minimal-example</module>
-        <module>2-simple-propertysource-example</module>
-        <module>3-resources-example</module>
-        <module>4-resolver-example</module>
-        <module>6-fileobserver-example</module>
-        <module>5-injection-example</module>
-        <module>7-builder-example</module>
-        <module>8-remote-example</module>
-    </modules>
-
-    <build>
-        <plugins>
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-checkstyle-plugin</artifactId>
-                <configuration>
-                    <logViolationsToConsole>true</logViolationsToConsole>
-                    <configLocation>checkstyle/style.xml</configLocation>
-                </configuration>
-
-                <dependencies>
-                    <dependency>
-                        <groupId>org.apache.tamaya</groupId>
-                        <artifactId>buildconfigurations</artifactId>
-                        <version>${project.version}</version>
-                    </dependency>
-                </dependencies>
-            </plugin>
-
-            <plugin>
-                <groupId>org.codehaus.mojo</groupId>
-                <artifactId>findbugs-maven-plugin</artifactId>
-                <configuration>
-                    <excludeFilterFile>findbugs/findbugs-exclude.xml</excludeFilterFile>
-                </configuration>
-                <dependencies>
-                    <dependency>
-                        <groupId>org.apache.tamaya</groupId>
-                        <artifactId>buildconfigurations</artifactId>
-                        <version>${project.version}</version>
-                    </dependency>
-                </dependencies>
-            </plugin>
-        </plugins>
-    </build>
-
-
-</project>

http://git-wip-us.apache.org/repos/asf/incubator-tamaya/blob/7aafa226/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 6f30d97..d4b43e7 100644
--- a/pom.xml
+++ b/pom.xml
@@ -212,7 +212,6 @@ under the License.
         <module>buildconfigurations</module>
         <module>code</module>
         <module>docs</module>
-        <module>examples</module>
         <module>distribution</module>
     </modules>
 


[2/2] incubator-tamaya git commit: [TAMAYA-180] Removed the examples from the master branch.

Posted by pl...@apache.org.
[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 <pl...@apache.org>
Authored: Thu Oct 6 00:11:39 2016 +0200
Committer: Oliver B. Fischer <pl...@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