Fix compilation and unit tests warnings

git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1719954 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/fileinstall/pom.xml b/fileinstall/pom.xml
index 75c4719..85985bc 100644
--- a/fileinstall/pom.xml
+++ b/fileinstall/pom.xml
@@ -36,6 +36,9 @@
     <developerConnection>scm:svn:https://svn.apache.org/repos/asf/felix/trunk/fileinstall</developerConnection>
     <url>http://svn.apache.org/repos/asf/felix/fileinstall</url>
   </scm>
+  <properties>
+    <felix.java.version>7</felix.java.version>
+  </properties>
   <dependencies>
     <dependency>
       <groupId>org.osgi</groupId>
@@ -63,13 +66,6 @@
   <build>
     <plugins>
       <plugin>
-          <artifactId>maven-compiler-plugin</artifactId>
-          <configuration>
-              <source>1.5</source>
-              <target>1.5</target>
-          </configuration>
-      </plugin>
-      <plugin>
         <artifactId>maven-jar-plugin</artifactId>
         <configuration>
           <archive>