[TEST] allow to read from lig/sigar

This commit is contained in:
Simon Willnauer 2015-04-20 18:15:40 +02:00
parent e929c1560d
commit 7ad138e17b
1 changed files with 2 additions and 0 deletions

View File

@ -26,6 +26,8 @@ grant {
// contain read access to only what we need: // contain read access to only what we need:
// project base directory // project base directory
permission java.io.FilePermission "${project.basedir}${/}target${/}-", "read"; permission java.io.FilePermission "${project.basedir}${/}target${/}-", "read";
// read permission for lib sigar
permission java.io.FilePermission "${project.basedir}${/}lib/sigar{/}-", "read";
// mvn custom ./m2/repository for dependency jars // mvn custom ./m2/repository for dependency jars
permission java.io.FilePermission "${m2.repository}${/}-", "read"; permission java.io.FilePermission "${m2.repository}${/}-", "read";
// system jar resources // system jar resources