FELIX-3888 Expose the internals of ScrCommand as an (optional) service.  Also some cleanup and add aries version-checker

git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1442007 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/scr/pom.xml b/scr/pom.xml
index 409e52c..b95a5a9 100644
--- a/scr/pom.xml
+++ b/scr/pom.xml
@@ -223,6 +223,7 @@
                             ${project.artifactId}
                         </Bundle-SymbolicName>
                         <Bundle-Vendor>The Apache Software Foundation</Bundle-Vendor>
+                        <Bundle-Version>1.7</Bundle-Version>
                         <Bundle-DocURL>
                             http://felix.apache.org/site/apache-felix-service-component-runtime.html
                         </Bundle-DocURL>
@@ -230,7 +231,7 @@
                             org.apache.felix.scr.impl.Activator
                         </Bundle-Activator>
                         <Export-Package>
-                            org.apache.felix.scr;version=1.7,
+                            org.apache.felix.scr;version=1.8,
                             org.apache.felix.scr.component;version=1.0;
                                 mandatory:="status"; status="provisional",
                             org.osgi.service.component
@@ -393,6 +394,23 @@
                     <excludePackageNames>*.impl</excludePackageNames>
                 </configuration>
             </plugin>
+             <plugin>
+                <groupId>org.apache.aries.versioning</groupId>
+                <artifactId>org.apache.aries.versioning.plugin</artifactId>
+                <version>0.1.0</version>
+                <executions>
+                    <execution>
+                        <id>default-verify</id>
+                        <phase>verify</phase>
+                        <goals>
+                            <goal>version-check</goal>
+                        </goals>
+                        <configuration>
+                            <oldArtifact>org.apache.felix:org.apache.felix.scr:1.6.2</oldArtifact>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
         </plugins>
     </build>