FELIX-1010 : Add annotations support for SCR plugin. Apply patch from Stefan Seifert

git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@760528 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/scrplugin/pom.xml b/scrplugin/pom.xml
index 5432ddb..a704547 100644
--- a/scrplugin/pom.xml
+++ b/scrplugin/pom.xml
@@ -97,5 +97,29 @@
             <artifactId>slf4j-simple</artifactId>
             <version>1.4.3</version>
         </dependency>
+        
+		<dependency>
+			<groupId>org.apache.felix</groupId>
+			<artifactId>maven-scr-plugin-annotations</artifactId>
+			<version>1.0.11-SNAPSHOT</version>
+		</dependency>
+		
 	</dependencies>
+	
+	<build>
+		<plugins>
+
+		  <!-- JDK 1.5 needed for annotation support -->
+			<plugin>
+				<groupId>org.apache.maven.plugins</groupId>
+				<artifactId>maven-compiler-plugin</artifactId>
+				<configuration>
+				  <source>1.5</source>
+				  <target>1.5</target>
+				</configuration>
+			</plugin>
+			
+		</plugins>
+  </build>
+	
 </project>