Modify pom files to use correct version.
Add ManagedService management in the Configuration Handler (the PID of the Managed Service can be specified both in the component type or in the component instance configuration).
Add ManagedService tests in the test suite


git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@645516 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/ipojo/examples/junit4osgi/felix-command/pom.xml b/ipojo/examples/junit4osgi/felix-command/pom.xml
index ab8d0ba..220d497 100644
--- a/ipojo/examples/junit4osgi/felix-command/pom.xml
+++ b/ipojo/examples/junit4osgi/felix-command/pom.xml
@@ -29,7 +29,7 @@
 		<dependency>

 			<groupId>${pom.groupId}</groupId>

 			<artifactId>org.apache.felix.ipojo.junit4osgi</artifactId>

-			<version>${pom.version}</version>

+			<version>0.7.6-SNAPSHOT</version>

 		</dependency>

 		<dependency>

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

@@ -74,7 +74,7 @@
 			<plugin>

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

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

-				<version>${pom.version}</version>

+				<version>0.7.6-SNAPSHOT</version>

 				<executions>

 					<execution>

 						<goals>

diff --git a/ipojo/examples/junit4osgi/immediate-launcher/pom.xml b/ipojo/examples/junit4osgi/immediate-launcher/pom.xml
index 8d2514d..b284d34 100644
--- a/ipojo/examples/junit4osgi/immediate-launcher/pom.xml
+++ b/ipojo/examples/junit4osgi/immediate-launcher/pom.xml
@@ -29,7 +29,7 @@
 		<dependency>

 			<groupId>${pom.groupId}</groupId>

 			<artifactId>org.apache.felix.ipojo.junit4osgi</artifactId>

-			<version>${pom.version}</version>

+			<version>0.7.6-SNAPSHOT</version>

 		</dependency>

 		<dependency>

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

@@ -74,7 +74,7 @@
 			<plugin>

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

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

-				<version>${pom.version}</version>

+				<version>0.7.6-SNAPSHOT</version>

 				<executions>

 					<execution>

 						<goals>

diff --git a/ipojo/examples/junit4osgi/junit4osgi/pom.xml b/ipojo/examples/junit4osgi/junit4osgi/pom.xml
index 8d0c6db..ae4ea6f 100644
--- a/ipojo/examples/junit4osgi/junit4osgi/pom.xml
+++ b/ipojo/examples/junit4osgi/junit4osgi/pom.xml
@@ -27,12 +27,12 @@
 		<dependency>

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

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

-			<version>${pom.version}</version>

+			<version>0.7.6-SNAPSHOT</version>

 		</dependency>

 		<dependency>

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

 			<artifactId>org.apache.felix.ipojo.metadata</artifactId>

-			<version>${pom.version}</version>

+			<version>0.7.6-SNAPSHOT</version>

 		</dependency>

 		<dependency>

 			<groupId>junit</groupId>

@@ -82,7 +82,7 @@
 			<plugin>

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

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

-				<version>${pom.version}</version>

+				<version>0.7.6-SNAPSHOT</version>

 				<executions>

 					<execution>

 						<goals>

diff --git a/ipojo/examples/junit4osgi/swing-runner/pom.xml b/ipojo/examples/junit4osgi/swing-runner/pom.xml
index d89c845..df14c02 100644
--- a/ipojo/examples/junit4osgi/swing-runner/pom.xml
+++ b/ipojo/examples/junit4osgi/swing-runner/pom.xml
@@ -27,7 +27,7 @@
 		<dependency>

 			<groupId>${pom.groupId}</groupId>

 			<artifactId>org.apache.felix.ipojo.junit4osgi</artifactId>

-			<version>${pom.version}</version>

+			<version>0.7.6-SNAPSHOT</version>

 		</dependency>

 		<dependency>

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

@@ -72,7 +72,7 @@
 			<plugin>

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

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

-				<version>${pom.version}</version>

+				<version>0.7.6-SNAPSHOT</version>

 				<executions>

 					<execution>

 						<goals>

@@ -86,16 +86,4 @@
 			</plugin>

 		</plugins>

 	</build>

-	<repositories>

-		<repository>

-			<id>unknown-jars-temp-repo</id>

-			<name>

-				A temporary repository created by NetBeans for libraries

-				and jars it could not identify. Please replace the

-				dependencies in this repository with correct ones and

-				delete this repository.

-			</name>

-			<url>file:${project.basedir}/lib</url>

-		</repository>

-	</repositories>

 </project>