It looks like we need to continue to extract the framework JAR
file while building main, otherwise it can't find the OSGi
classes. (FELIX-1404)


git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@797146 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/main/pom.xml b/main/pom.xml
index 43d4f83..7eb0d86 100644
--- a/main/pom.xml
+++ b/main/pom.xml
@@ -146,6 +146,23 @@
         <artifactId>maven-dependency-plugin</artifactId>
         <executions>
           <execution>
+            <id>unpack</id>
+            <phase>validate</phase>
+            <goals>
+              <goal>unpack</goal>
+            </goals>
+            <configuration>
+               <outputDirectory>${project.build.outputDirectory}</outputDirectory>
+              <artifactItems>
+                <artifactItem>
+                  <groupId>${pom.groupId}</groupId>
+                  <artifactId>org.apache.felix.framework</artifactId>
+                  <version>1.9.0-SNAPSHOT</version>
+                </artifactItem>
+              </artifactItems>
+            </configuration>
+          </execution>
+          <execution>
             <id>copy</id>
             <phase>install</phase>
             <goals>