removing a few minor build warnings

git-svn-id: https://svn.apache.org/repos/asf/shiro/branches/2.0-api-design-changes@1666348 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/samples/guice/pom.xml b/samples/guice/pom.xml
index 27ac0b6..2143ea3 100644
--- a/samples/guice/pom.xml
+++ b/samples/guice/pom.xml
@@ -38,6 +38,7 @@
 	            <artifactId>maven-surefire-plugin</artifactId>
 	            <configuration>
 	                <forkMode>never</forkMode>
+	                <useSystemClassLoader>false</useSystemClassLoader>
 	            </configuration>
 	        </plugin>
 	        <plugin>
diff --git a/samples/spring-client/pom.xml b/samples/spring-client/pom.xml
index b83a34b..6be9cdd 100644
--- a/samples/spring-client/pom.xml
+++ b/samples/spring-client/pom.xml
@@ -126,7 +126,7 @@
                     </jnlp>
 
                     <sign>
-                        <keystore>${build.directory}/jnlp/jsecurity-sample.jks</keystore>
+                        <keystore>${project.build.directory}/jnlp/jsecurity-sample.jks</keystore>
                         <storepass>jsecurity</storepass>
                         <alias>jsecurity</alias>
                         <verify>false</verify>
diff --git a/samples/spring/pom.xml b/samples/spring/pom.xml
index ae70c73..3ad6531 100644
--- a/samples/spring/pom.xml
+++ b/samples/spring/pom.xml
@@ -99,11 +99,11 @@
                         <id>replace-jnlp-file</id>
                         <phase>process-resources</phase>
                         <configuration>
-                            <tasks>
+                            <target>
                                 <!-- move would be more appropriate but it would fail on repetitive executions of
                                      jetty:run for example, leaving the original in place doesn't hurt -->
                                 <copy file="${project.build.directory}/${project.build.finalName}/shiro.jnlp.jsp" todir="${project.build.directory}/${project.build.finalName}/WEB-INF/resources" />
-                            </tasks>
+                            </target>
                         </configuration>
                         <goals>
                             <goal>run</goal>
diff --git a/samples/web/pom.xml b/samples/web/pom.xml
index dbb5d0e..0de8015 100644
--- a/samples/web/pom.xml
+++ b/samples/web/pom.xml
@@ -38,6 +38,7 @@
                 <artifactId>maven-surefire-plugin</artifactId>
                 <configuration>
                     <forkMode>never</forkMode>
+                    <useSystemClassLoader>false</useSystemClassLoader>
                 </configuration>
             </plugin>
             <plugin>