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>
diff --git a/ipojo/examples/property-handler/PropertyHandler/pom.xml b/ipojo/examples/property-handler/PropertyHandler/pom.xml
index b7dc16b..9c5870c 100644
--- a/ipojo/examples/property-handler/PropertyHandler/pom.xml
+++ b/ipojo/examples/property-handler/PropertyHandler/pom.xml
@@ -29,12 +29,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>
</dependencies>
<build>
@@ -64,7 +64,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/property-handler/PropertyHandlerTest/pom.xml b/ipojo/examples/property-handler/PropertyHandlerTest/pom.xml
index d37caef..b7b4c43 100644
--- a/ipojo/examples/property-handler/PropertyHandlerTest/pom.xml
+++ b/ipojo/examples/property-handler/PropertyHandlerTest/pom.xml
@@ -29,14 +29,14 @@
<dependency>
<groupId>org.apache.felix</groupId>
<artifactId>org.apache.felix.ipojo.annotations</artifactId>
- <version>${pom.version}</version>
+ <version>0.7.6-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>ipojo.examples</groupId>
<artifactId>
org.apache.felix.ipojo.example.handler.property
</artifactId>
- <version>${pom.version}</version>
+ <version>0.7.6-SNAPSHOT</version>
</dependency>
</dependencies>
<build>
@@ -65,7 +65,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/tutorial-maven/hello.client.annotation/pom.xml b/ipojo/examples/tutorial-maven/hello.client.annotation/pom.xml
index 78b5fe3..f04a397 100644
--- a/ipojo/examples/tutorial-maven/hello.client.annotation/pom.xml
+++ b/ipojo/examples/tutorial-maven/hello.client.annotation/pom.xml
@@ -10,7 +10,7 @@
<dependency>
<groupId>ipojo.examples</groupId>
<artifactId>hello.service</artifactId>
- <version>${pom.version}</version>
+ <version>0.7.6-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.felix</groupId>
diff --git a/ipojo/examples/tutorial-maven/hello.client/pom.xml b/ipojo/examples/tutorial-maven/hello.client/pom.xml
index 91cbe69..450c1b7 100644
--- a/ipojo/examples/tutorial-maven/hello.client/pom.xml
+++ b/ipojo/examples/tutorial-maven/hello.client/pom.xml
@@ -27,7 +27,7 @@
<dependency>
<groupId>ipojo.examples</groupId>
<artifactId>hello.service</artifactId>
- <version>${pom.version}</version>
+ <version>0.7.6-SNAPSHOT</version>
</dependency>
</dependencies>
diff --git a/ipojo/examples/tutorial-maven/hello.impl.annotation/pom.xml b/ipojo/examples/tutorial-maven/hello.impl.annotation/pom.xml
index c3fa987..dfab827 100644
--- a/ipojo/examples/tutorial-maven/hello.impl.annotation/pom.xml
+++ b/ipojo/examples/tutorial-maven/hello.impl.annotation/pom.xml
@@ -44,7 +44,7 @@
<dependency>
<groupId>ipojo.examples</groupId>
<artifactId>hello.service</artifactId>
- <version>${pom.version}</version>
+ <version>0.7.6-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.felix</groupId>
diff --git a/ipojo/examples/tutorial-maven/hello.impl/pom.xml b/ipojo/examples/tutorial-maven/hello.impl/pom.xml
index 3cf4551..3bd717e 100644
--- a/ipojo/examples/tutorial-maven/hello.impl/pom.xml
+++ b/ipojo/examples/tutorial-maven/hello.impl/pom.xml
@@ -26,7 +26,7 @@
<dependency>
<groupId>ipojo.examples</groupId>
<artifactId>hello.service</artifactId>
- <version>${pom.version}</version>
+ <version>0.7.6-SNAPSHOT</version>
</dependency>
</dependencies>