Delete examples and cleanup the main pom file.

git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1480618 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/ipojo/examples/pom.xml b/ipojo/examples/pom.xml
deleted file mode 100644
index 3284bd7..0000000
--- a/ipojo/examples/pom.xml
+++ /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 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.

--->

-<project>

-  <modelVersion>4.0.0</modelVersion>

-  <groupId>ipojo.examples</groupId>

-  <artifactId>ipojo.examples</artifactId>

-  <version>1.1.0-SNAPSHOT</version>

-  <name>Apache Felix iPOJO Examples</name>

-  <packaging>pom</packaging>

-  <modules>

-	<module>tutorial-maven</module>

-  </modules>

-</project>
\ No newline at end of file
diff --git a/ipojo/examples/tutorial-maven/hello.client.annotation/metadata.xml b/ipojo/examples/tutorial-maven/hello.client.annotation/metadata.xml
deleted file mode 100644
index 134250d..0000000
--- a/ipojo/examples/tutorial-maven/hello.client.annotation/metadata.xml
+++ /dev/null
@@ -1,4 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>

-<iPOJO>

-  <instance component="AnnotatedHelloClient" name="HelloClient"/>

-</iPOJO>
\ No newline at end of file
diff --git a/ipojo/examples/tutorial-maven/hello.client.annotation/pom.xml b/ipojo/examples/tutorial-maven/hello.client.annotation/pom.xml
deleted file mode 100644
index 6d7057c..0000000
--- a/ipojo/examples/tutorial-maven/hello.client.annotation/pom.xml
+++ /dev/null
@@ -1,73 +0,0 @@
-<project>

-  <modelVersion>4.0.0</modelVersion>

-  <packaging>bundle</packaging>

-  <groupId>ipojo.examples</groupId>

-  <artifactId>hello.client.annotation</artifactId>

-   <version>1.5.0-SNAPSHOT</version>

-  <name>Hello Service Client using Annotations</name>

-  

-  <dependencies>

-    <dependency>

-      <groupId>ipojo.examples</groupId>

-      <artifactId>hello.service</artifactId>

-      <version>1.5.0-SNAPSHOT</version>

-    </dependency>

-    <dependency>

-      <groupId>org.apache.felix</groupId>

-      <artifactId>org.apache.felix.ipojo.annotations</artifactId>

-      <version>1.9.0-SNAPSHOT</version>

-    </dependency>

-  </dependencies>

-  

-  <pluginRepositories>

-    <pluginRepository>

-      <id>apache.snapshots</id>

-      <name>snapshot plugins</name>

-      <url>

-        http://people.apache.org/repo/m2-snapshot-repository

-      </url>

-      <releases>

-        <enabled>false</enabled>

-      </releases>

-      <snapshots>

-        <enabled>true</enabled>

-      </snapshots>

-    </pluginRepository>

-  </pluginRepositories>

-  

-  <build>

-    <plugins>

-     <plugin>

-    <groupId>org.apache.maven.plugins</groupId>

-    <artifactId>maven-compiler-plugin</artifactId>

-    <configuration>

-    <source>1.5</source>

-    <target>1.5</target>

-    </configuration>

-    </plugin>

-      <plugin>

-        <groupId>org.apache.felix</groupId>

-        <artifactId>maven-bundle-plugin</artifactId>

-        <extensions>true</extensions>

-        <configuration>

-          <instructions>

-            <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>

-            <Private-Package>ipojo.example.hello.client</Private-Package>

-          </instructions>

-        </configuration>

-      </plugin>

-      <plugin>

-        <groupId>org.apache.felix</groupId>

-        <artifactId>maven-ipojo-plugin</artifactId>

-      <version>1.5.0-SNAPSHOT</version>

-      <executions>

-            <execution>

-              <goals>

-                <goal>ipojo-bundle</goal>

-               </goals>

-          </execution>

-        </executions>

-      </plugin>

-    </plugins>

-  </build>

-</project>

diff --git a/ipojo/examples/tutorial-maven/hello.client.annotation/src/main/java/ipojo/example/hello/client/HelloClient.java b/ipojo/examples/tutorial-maven/hello.client.annotation/src/main/java/ipojo/example/hello/client/HelloClient.java
deleted file mode 100644
index 1ba3bac..0000000
--- a/ipojo/examples/tutorial-maven/hello.client.annotation/src/main/java/ipojo/example/hello/client/HelloClient.java
+++ /dev/null
@@ -1,92 +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 ipojo.example.hello.client;

-

-import ipojo.example.hello.Hello;

-

-import org.apache.felix.ipojo.annotations.Component;

-import org.apache.felix.ipojo.annotations.Invalidate;

-import org.apache.felix.ipojo.annotations.Requires;

-import org.apache.felix.ipojo.annotations.Validate;

-

-/**

- * A simple Hello service client. This client use annotation instead of XML metadata.

- * @author <a href="mailto:dev@felix.apache.org">Felix Project Team</a>

- */

-@Component(name = "AnnotatedHelloClient", architecture = true)

-public class HelloClient implements Runnable {

-    

-    /** Delay between two invocations. */

-    private static final int DELAY = 10000;

-

-    /**

-     * Hello services. Injected by the container.

-     */

-    @Requires(specification="ipojo.example.hello.Hello", optional=true, defaultimplementation=MyDummyHello.class)

-    private Hello m_hello;

-

-    /**

-     *  End flag.

-     */

-    private boolean m_end;

-

-    /**

-     * Run method.

-     * @see java.lang.Runnable#run()

-     */

-    public void run() {

-        while (!m_end) {

-            try {

-                invokeHelloServices();

-                Thread.sleep(DELAY);

-            } catch (InterruptedException ie) {

-                /* will recheck end */

-            }

-        }

-    }

-

-    /**

-     * Invoke hello services.

-     */

-    public void invokeHelloServices() {

-        System.out.println(m_hello);

-        Hello hello = m_hello;

-        //for (Hello hello : m_hello) {

-            System.out.println(hello.sayHello("Clement ") + hello);

-        //}

-    }

-

-    /**

-     * Starting.

-     */

-    @Validate

-    public void starting() {

-        Thread thread = new Thread(this);

-        m_end = false;

-        thread.start();

-    }

-

-    /**

-     * Stopping.

-     */

-    @Invalidate

-    public void stopping() {

-        m_end = true;

-    }

-}

diff --git a/ipojo/examples/tutorial-maven/hello.client.annotation/src/main/java/ipojo/example/hello/client/MyDummyHello.java b/ipojo/examples/tutorial-maven/hello.client.annotation/src/main/java/ipojo/example/hello/client/MyDummyHello.java
deleted file mode 100644
index e59db8a..0000000
--- a/ipojo/examples/tutorial-maven/hello.client.annotation/src/main/java/ipojo/example/hello/client/MyDummyHello.java
+++ /dev/null
@@ -1,11 +0,0 @@
-package ipojo.example.hello.client;
-
-import ipojo.example.hello.Hello;
-
-public class MyDummyHello implements Hello {
-
-    public String sayHello(String name) {
-        return "Bonjour";
-    }
-
-}
diff --git a/ipojo/examples/tutorial-maven/hello.client.annotation/src/main/java/ipojo/example/source.txt b/ipojo/examples/tutorial-maven/hello.client.annotation/src/main/java/ipojo/example/source.txt
deleted file mode 100644
index 0198756..0000000
--- a/ipojo/examples/tutorial-maven/hello.client.annotation/src/main/java/ipojo/example/source.txt
+++ /dev/null
@@ -1 +0,0 @@
-PUT YOUR SOURCE FILES HERE
\ No newline at end of file
diff --git a/ipojo/examples/tutorial-maven/hello.client/metadata.xml b/ipojo/examples/tutorial-maven/hello.client/metadata.xml
deleted file mode 100644
index 4141c34..0000000
--- a/ipojo/examples/tutorial-maven/hello.client/metadata.xml
+++ /dev/null
@@ -1,15 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>

-<iPOJO>

-	<component className="ipojo.example.hello.client.HelloClient"

-		architecture="true">

-		<requires field="m_hello" />

-		<callback transition="validate" method="starting" />

-		<callback transition="invalidate" method="stopping" />

-		<properties>

-			<property field="m_name" name="name" />

-		</properties>

-	</component>

-	<instance component="ipojo.example.hello.client.HelloClient">

-		<property name="name" value="clement" />

-	</instance>

-</iPOJO>
\ No newline at end of file
diff --git a/ipojo/examples/tutorial-maven/hello.client/pom.xml b/ipojo/examples/tutorial-maven/hello.client/pom.xml
deleted file mode 100644
index 17c7716..0000000
--- a/ipojo/examples/tutorial-maven/hello.client/pom.xml
+++ /dev/null
@@ -1,82 +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.

--->

-<project>

-  <modelVersion>4.0.0</modelVersion>

-  <packaging>bundle</packaging><!-- Use the BND Maven plug-in -->

-  <groupId>ipojo.examples</groupId>

-  <artifactId>hello.client</artifactId>

-  <version>1.5.0-SNAPSHOT</version>

-  <name>Hello Service Client</name>

-  <dependencies>

-    <dependency>

-      <groupId>ipojo.examples</groupId>

-      <artifactId>hello.service</artifactId>

-      <version>1.5.0-SNAPSHOT</version>

-    </dependency>

-  </dependencies>

-

-  <pluginRepositories>

-    <pluginRepository>

-      <id>apache.snapshots</id>

-      <name>snapshot plugins</name>

-      <url>

-        http://people.apache.org/repo/m2-snapshot-repository

-      </url>

-      <releases>

-        <enabled>false</enabled>

-      </releases>

-      <snapshots>

-        <enabled>true</enabled>

-      </snapshots>

-    </pluginRepository>

-  </pluginRepositories>

-

-  <build>

-    <plugins>

-      <plugin>

-        <groupId>org.apache.felix</groupId>

-        <artifactId>maven-bundle-plugin</artifactId>

-        <extensions>true</extensions>

-        <version>1.4.3</version>

-        <configuration>

-          <instructions>

-            <Bundle-SymbolicName>

-              ${project.artifactId}

-            </Bundle-SymbolicName>

-            <Private-Package>

-              ipojo.example.hello.client

-            </Private-Package>

-          </instructions>

-        </configuration>

-      </plugin>

-      <plugin>

-        <groupId>org.apache.felix</groupId>

-        <artifactId>maven-ipojo-plugin</artifactId>

-        <version>1.5.0-SNAPSHOT</version>

-        <executions>

-          <execution>

-            <goals>

-              <goal>ipojo-bundle</goal>

-            </goals>

-          </execution>

-        </executions>

-      </plugin>

-    </plugins>

-  </build>

-</project>

diff --git a/ipojo/examples/tutorial-maven/hello.client/src/main/java/ipojo/example/hello/client/HelloClient.java b/ipojo/examples/tutorial-maven/hello.client/src/main/java/ipojo/example/hello/client/HelloClient.java
deleted file mode 100644
index 023db3f..0000000
--- a/ipojo/examples/tutorial-maven/hello.client/src/main/java/ipojo/example/hello/client/HelloClient.java
+++ /dev/null
@@ -1,90 +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 ipojo.example.hello.client;

-

-import ipojo.example.hello.Hello;

-

-/**

- * Hello Service simple client.

- * @author <a href="mailto:dev@felix.apache.org">Felix Project Team</a>

- */

-public class HelloClient implements Runnable {

-

-    /**

-     *  Delay between two invocations. 

-     */

-    private static final int DELAY = 10000;

-    

-    /** 

-     * Hello services. 

-     * Injected by the container.

-     * */

-    private Hello[] m_hello; // Service Requirement

-

-    /** 

-     * End flag.

-     *  */

-    private boolean m_end;

-

-    /** 

-     * Name property.

-     * Injected by the container.

-     * */

-    private String m_name;

-

-    /**

-     * Run method.

-     * @see java.lang.Runnable#run()

-     */

-    public void run() {

-        while (!m_end) {

-            try {

-                invokeHelloServices();

-                Thread.sleep(DELAY);

-            } catch (InterruptedException ie) {

-                /* will recheck end */

-            }

-        }

-    }

-

-    /**

-     * Invoke hello services.

-     */

-    public void invokeHelloServices() {

-        for (int i = 0; i < m_hello.length; i++) {

-            System.out.println(m_hello[i].sayHello(m_name));

-        }

-    }

-

-    /**

-     * Starting.

-     */

-    public void starting() {

-        Thread thread = new Thread(this);

-        m_end = false;

-        thread.start();

-    }

-

-    /**

-     * Stopping.

-     */

-    public void stopping() {

-        m_end = true;

-    }

-}

diff --git a/ipojo/examples/tutorial-maven/hello.client/src/main/java/ipojo/example/source.txt b/ipojo/examples/tutorial-maven/hello.client/src/main/java/ipojo/example/source.txt
deleted file mode 100644
index 0198756..0000000
--- a/ipojo/examples/tutorial-maven/hello.client/src/main/java/ipojo/example/source.txt
+++ /dev/null
@@ -1 +0,0 @@
-PUT YOUR SOURCE FILES HERE
\ No newline at end of file
diff --git a/ipojo/examples/tutorial-maven/hello.impl.annotation/pom.xml b/ipojo/examples/tutorial-maven/hello.impl.annotation/pom.xml
deleted file mode 100644
index 453f870..0000000
--- a/ipojo/examples/tutorial-maven/hello.impl.annotation/pom.xml
+++ /dev/null
@@ -1,95 +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.

--->

-<project>

-  <modelVersion>4.0.0</modelVersion>

-  <packaging>bundle</packaging>

-  <groupId>ipojo.examples</groupId>

-  <artifactId>hello.impl.annotation</artifactId>

-  <version>1.5.0-SNAPSHOT</version>

-  <name>Hello Service Provider using Annotations</name>

-

-  <pluginRepositories>

-    <pluginRepository>

-      <id>apache.snapshots</id>

-      <name>snapshot plugins</name>

-      <url>

-        http://people.apache.org/repo/m2-snapshot-repository

-      </url>

-      <releases>

-        <enabled>false</enabled>

-      </releases>

-      <snapshots>

-        <enabled>true</enabled>

-      </snapshots>

-    </pluginRepository>

-  </pluginRepositories>

-

-  <dependencies>

-    <dependency>

-      <groupId>ipojo.examples</groupId>

-      <artifactId>hello.service</artifactId>

-      <version>1.5.0-SNAPSHOT</version>

-    </dependency>

-    <dependency>

-      <groupId>org.apache.felix</groupId>

-      <artifactId>org.apache.felix.ipojo.annotations</artifactId>

-      <version>1.9.0-SNAPSHOT</version>

-    </dependency>

-  </dependencies>

-

-  <build>

-    <plugins>

-      <plugin>

-        <groupId>org.apache.maven.plugins</groupId>

-        <artifactId>maven-compiler-plugin</artifactId>

-        <configuration>

-          <source>1.5</source>

-          <target>1.5</target>

-        </configuration>

-      </plugin>

-      <plugin>

-        <groupId>org.apache.felix</groupId>

-        <artifactId>maven-bundle-plugin</artifactId>

-        <extensions>true</extensions>

-        <configuration>

-          <instructions>

-            <Bundle-SymbolicName>

-              ${project.artifactId}

-            </Bundle-SymbolicName>

-            <Private-Package>

-              ipojo.example.hello.impl

-            </Private-Package>

-          </instructions>

-        </configuration>

-      </plugin>

-      <plugin>

-        <groupId>org.apache.felix</groupId>

-        <artifactId>maven-ipojo-plugin</artifactId>

-        <version>1.5.0-SNAPSHOT</version>

-        <executions>

-          <execution>

-            <goals>

-              <goal>ipojo-bundle</goal>

-            </goals>

-          </execution>

-        </executions>

-      </plugin>

-    </plugins>

-  </build>

-</project>

diff --git a/ipojo/examples/tutorial-maven/hello.impl.annotation/src/main/java/ipojo/example/hello/impl/HelloImpl.java b/ipojo/examples/tutorial-maven/hello.impl.annotation/src/main/java/ipojo/example/hello/impl/HelloImpl.java
deleted file mode 100644
index 703ea60..0000000
--- a/ipojo/examples/tutorial-maven/hello.impl.annotation/src/main/java/ipojo/example/hello/impl/HelloImpl.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 ipojo.example.hello.impl;

-

-import ipojo.example.hello.Hello;

-

-import org.apache.felix.ipojo.annotations.Component;

-import org.apache.felix.ipojo.annotations.Provides;

-import org.apache.felix.ipojo.annotations.ServiceProperty;

-

-/**

- * Component implementing the Hello service.

- * This class used annotations to describe the component type. 

- * @author <a href="mailto:dev@felix.apache.org">Felix Project Team</a>

- */

-@Component

-@Provides

-public class HelloImpl implements Hello {

-    

-    

-    @ServiceProperty

-    public String boo = "boo";

-    

-    @ServiceProperty

-    public String bla = "bla";

-

-    

-    /**

-     * Returns an 'Hello' message.

-     * @param name : name

-     * @return Hello message

-     * @see ipojo.example.hello.Hello#sayHello(java.lang.String)

-     */

-    public String sayHello(String name) { return "hello " + name + " @";  }

-}

diff --git a/ipojo/examples/tutorial-maven/hello.impl.annotation/src/main/java/ipojo/example/hello/impl/source.txt b/ipojo/examples/tutorial-maven/hello.impl.annotation/src/main/java/ipojo/example/hello/impl/source.txt
deleted file mode 100644
index 0198756..0000000
--- a/ipojo/examples/tutorial-maven/hello.impl.annotation/src/main/java/ipojo/example/hello/impl/source.txt
+++ /dev/null
@@ -1 +0,0 @@
-PUT YOUR SOURCE FILES HERE
\ No newline at end of file
diff --git a/ipojo/examples/tutorial-maven/hello.impl.annotation/src/main/resources/metadata.xml b/ipojo/examples/tutorial-maven/hello.impl.annotation/src/main/resources/metadata.xml
deleted file mode 100644
index 559b556..0000000
--- a/ipojo/examples/tutorial-maven/hello.impl.annotation/src/main/resources/metadata.xml
+++ /dev/null
@@ -1,5 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>

-<iPOJO>

-	<instance component="ipojo.example.hello.impl.HelloImpl"

-		name="HelloService2" />

-</iPOJO>
\ No newline at end of file
diff --git a/ipojo/examples/tutorial-maven/hello.impl/metadata.xml b/ipojo/examples/tutorial-maven/hello.impl/metadata.xml
deleted file mode 100644
index 59d9666..0000000
--- a/ipojo/examples/tutorial-maven/hello.impl/metadata.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>

-<iPOJO>

-	<component className="ipojo.example.hello.impl.HelloImpl"

-		name="HelloProvider" architecture="true">

-		<provides />

-	</component>

-	<instance component="HelloProvider" name="HelloService" />

-</iPOJO>
\ No newline at end of file
diff --git a/ipojo/examples/tutorial-maven/hello.impl/pom.xml b/ipojo/examples/tutorial-maven/hello.impl/pom.xml
deleted file mode 100644
index 213fbeb..0000000
--- a/ipojo/examples/tutorial-maven/hello.impl/pom.xml
+++ /dev/null
@@ -1,65 +0,0 @@
-<project>

-  <modelVersion>4.0.0</modelVersion>

-  <packaging>bundle</packaging>

-  <groupId>ipojo.examples</groupId>

-  <artifactId>hello.impl</artifactId>

-  <version>1.5.0-SNAPSHOT</version>

-  <name>Hello Service Provider</name>

-

-  <pluginRepositories>

-    <pluginRepository>

-      <id>apache.snapshots</id>

-      <name>snapshot plugins</name>

-      <url>

-        http://people.apache.org/repo/m2-snapshot-repository

-      </url>

-      <releases>

-        <enabled>false</enabled>

-      </releases>

-      <snapshots>

-        <enabled>true</enabled>

-      </snapshots>

-    </pluginRepository>

-  </pluginRepositories>

-

-  <dependencies>

-    <dependency>

-      <groupId>ipojo.examples</groupId>

-      <artifactId>hello.service</artifactId>

-      <version>1.5.0-SNAPSHOT</version>

-    </dependency>

-  </dependencies>

-

-  <build>

-    <plugins>

-      <plugin>

-        <groupId>org.apache.felix</groupId>

-        <artifactId>maven-bundle-plugin</artifactId>

-        <version>1.4.3</version>

-        <extensions>true</extensions>

-        <configuration>

-          <instructions>

-            <Bundle-SymbolicName>

-              ${project.artifactId}

-            </Bundle-SymbolicName>

-            <Private-Package>

-              ipojo.example.hello.impl

-            </Private-Package>

-          </instructions>

-        </configuration>

-      </plugin>

-      <plugin>

-        <groupId>org.apache.felix</groupId>

-        <artifactId>maven-ipojo-plugin</artifactId>

-        <version>1.5.0-SNAPSHOT</version>

-        <executions>

-          <execution>

-            <goals>

-              <goal>ipojo-bundle</goal>

-            </goals>

-          </execution>

-        </executions>

-      </plugin>

-    </plugins>

-  </build>

-</project>

diff --git a/ipojo/examples/tutorial-maven/hello.impl/src/main/java/ipojo/example/hello/impl/HelloImpl.java b/ipojo/examples/tutorial-maven/hello.impl/src/main/java/ipojo/example/hello/impl/HelloImpl.java
deleted file mode 100644
index 8008fa9..0000000
--- a/ipojo/examples/tutorial-maven/hello.impl/src/main/java/ipojo/example/hello/impl/HelloImpl.java
+++ /dev/null
@@ -1,36 +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 ipojo.example.hello.impl;

-

-import ipojo.example.hello.Hello;

-

-/**

- * Component implementing the Hello service.

- * @author <a href="mailto:dev@felix.apache.org">Felix Project Team</a>

- */

-public class HelloImpl implements Hello {

-    

-    /**

-     * Returns an 'Hello' message.

-     * @param name : name

-     * @return Hello message

-     * @see ipojo.example.hello.Hello#sayHello(java.lang.String)

-     */

-    public String sayHello(String name) { return "hello " + name;  }

-}

diff --git a/ipojo/examples/tutorial-maven/hello.impl/src/main/java/ipojo/example/hello/impl/source.txt b/ipojo/examples/tutorial-maven/hello.impl/src/main/java/ipojo/example/hello/impl/source.txt
deleted file mode 100644
index 0198756..0000000
--- a/ipojo/examples/tutorial-maven/hello.impl/src/main/java/ipojo/example/hello/impl/source.txt
+++ /dev/null
@@ -1 +0,0 @@
-PUT YOUR SOURCE FILES HERE
\ No newline at end of file
diff --git a/ipojo/examples/tutorial-maven/hello.service/metadata.xml b/ipojo/examples/tutorial-maven/hello.service/metadata.xml
deleted file mode 100644
index 89547bc..0000000
--- a/ipojo/examples/tutorial-maven/hello.service/metadata.xml
+++ /dev/null
@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>

-<iPOJO>

-  <component className="ipojo.example.hello.impl.HelloImpl" name="HelloProvider" architecture="true">

-    <provides/>

-  </component>

-  <instance component="HelloProvider" name="HelloService"/>

-</iPOJO>
\ No newline at end of file
diff --git a/ipojo/examples/tutorial-maven/hello.service/pom.xml b/ipojo/examples/tutorial-maven/hello.service/pom.xml
deleted file mode 100644
index 352d69c..0000000
--- a/ipojo/examples/tutorial-maven/hello.service/pom.xml
+++ /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.

--->

-<project>

-  <modelVersion>4.0.0</modelVersion>

-  <packaging>bundle</packaging>

-  <groupId>ipojo.examples</groupId>

-  <artifactId>hello.service</artifactId>

-  <version>1.5.0-SNAPSHOT</version>

-  <name>Hello Service</name>

-

-  <pluginRepositories>

-    <pluginRepository>

-      <id>apache.snapshots</id>

-      <name>snapshot plugins</name>

-      <url>

-        http://people.apache.org/repo/m2-snapshot-repository

-      </url>

-      <releases>

-        <enabled>false</enabled>

-      </releases>

-      <snapshots>

-        <enabled>true</enabled>

-      </snapshots>

-    </pluginRepository>

-  </pluginRepositories>

-

-  <build>

-    <plugins>

-      <plugin>

-        <groupId>org.apache.felix</groupId>

-        <artifactId>maven-bundle-plugin</artifactId>

-        <version>1.4.3</version>

-        <extensions>true</extensions>

-        <configuration>

-          <instructions>

-            <Bundle-SymbolicName>

-              ${project.artifactId}

-            </Bundle-SymbolicName>

-            <Export-Package>

-              ipojo.example.hello

-            </Export-Package>

-          </instructions>

-        </configuration>

-      </plugin>

-    </plugins>

-  </build>

-</project>

diff --git a/ipojo/examples/tutorial-maven/hello.service/src/main/java/ipojo/example/hello/Hello.java b/ipojo/examples/tutorial-maven/hello.service/src/main/java/ipojo/example/hello/Hello.java
deleted file mode 100644
index e0c25da..0000000
--- a/ipojo/examples/tutorial-maven/hello.service/src/main/java/ipojo/example/hello/Hello.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.

- */

-package ipojo.example.hello;

-

-/**

- * Hello Interface.

- * @author <a href="mailto:dev@felix.apache.org">Felix Project Team</a>

- */

-public interface Hello {

-

-    /**

-     * Returns a message like: "Hello $user_name".

-     * @param name the name

-     * @return the hello message

-     */

-    String sayHello(String name);

-}

diff --git a/ipojo/examples/tutorial-maven/pom.xml b/ipojo/examples/tutorial-maven/pom.xml
deleted file mode 100644
index 27fc889..0000000
--- a/ipojo/examples/tutorial-maven/pom.xml
+++ /dev/null
@@ -1,54 +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.

--->

-<project>

-  <modelVersion>4.0.0</modelVersion>

-  <artifactId>ipojo.tutorial</artifactId>

-  <groupId>ipojo.examples</groupId>

-  <version>1.1.0-SNAPSHOT</version>

-  <name>Apache Felix iPOJO Tutorial</name>

-  <packaging>pom</packaging>

-  <modules>

-	<module>hello.service</module>

-	<module>hello.impl</module>

-	<module>hello.client</module>

-  </modules>

-  

-  <profiles>

-	<profile>

-		<id>java5</id>

-		<activation>

-			<jdk>1.5</jdk>

-		</activation>

-		<modules>

-			<module>hello.impl.annotation</module>

-			<module>hello.client.annotation</module>

-		</modules>

-	</profile>

-	<profile>

-		<id>java6</id>

-		<activation>

-			<jdk>1.6</jdk>

-		</activation>

-		<modules>

-			<module>hello.impl.annotation</module>

-			<module>hello.client.annotation</module>

-		</modules>

-	</profile>

-  </profiles>

-</project>
\ No newline at end of file
diff --git a/ipojo/pom.xml b/ipojo/pom.xml
index d4da67d..e0debf5 100644
--- a/ipojo/pom.xml
+++ b/ipojo/pom.xml
@@ -26,7 +26,6 @@
 
     <modelVersion>4.0.0</modelVersion>
     <artifactId>iPOJO</artifactId>
-    <groupId>org.apache.felix</groupId>
     <name>Apache Felix iPOJO ~ Reactor</name>
     <version>1.5.0-SNAPSHOT</version>
     <packaging>pom</packaging>
@@ -54,21 +53,6 @@
         <module>distributions</module>
     </modules>
 
-    <profiles>
-        <profile>
-            <id>examples</id>
-            <modules>
-                <module>examples</module>
-            </modules>
-        </profile>
-        <profile>
-            <id>tests</id>
-            <modules>
-                <module>tests</module>
-            </modules>
-        </profile>
-    </profiles>
-
     <build>
         <plugins>
             <plugin>