java - maven - getting a popup asking for permission while building -


i have freshly installed maven , while building hello world, maven keeps asking me permission messages - "the applet attempting access "exists" state attributes of file ..."

seems isn't common problem. there way grant these permissions maven?

[info] scanning projects... [info]                                                                          [info] ------------------------------------------------------------------------ [info] building tms-server 1.0-snapshot [info] ------------------------------------------------------------------------ [info]  [info] --- maven-resources-plugin:2.3:resources (default-resources) @ tms-server --- current policy properties:     mmc.sess_pe_act.block_unsigned: false     window.num_max: 5     jscan.sess_applet_act.sig_trusted: pass     jscan.sess_applet_act.block_all: false     file.destructive.state: disabled     window.num_limited: true     jscan.sess_applet_act.unsigned: instrument     mmc.sess_pe_act.action: validate     jscan.session.daemon_protocol: http     file.read.state: disabled     mmc.sess_pe_act.block_invalid: true     mmc.sess_pe_act.block_blacklisted: false     jscan.session.policyname: qxbwbgv0l0fjdgl2zvggu2vjdxjpdhkgr2xvymfsifbvbgljesa=     net.bind_enable: false     mmc.sess_cab_act.block_unsigned: false     file.nondestructive.state: disabled     jscan.session.origin_uri:  http://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-filtering/1.0-beta-2/maven-filtering-1.0-beta-2.jar     mmc.sess_cab_act.action: validate     net.connect_other: false     jscan.session.user_ipaddr: 10.109.50.50     jscan.sess_applet_act.sig_invalid: block     thread.thread_num_max: 8     mmc.sess_cab_act.block_invalid: true     jscan.sess_applet_act.sig_blacklisted: block     net.connect_src: true     thread.thread_num_limited: true     jscan.sess_applet_act.stub_out_blocked_applet: true     mmc.sess_cab_act.block_blacklisted: true     jscan.session.user_name: mtaumta5ljuwljuw     thread.threadgroup_create: false     file.write.state: disabled [warning] using platform encoding (utf-8 actually) copy filtered resources, i.e. build platform dependent! -->> returning frame null basedialog: owner frame java.awt.frame [info] ------------------------------------------------------------------------ [info] build failure [info] ------------------------------------------------------------------------ [info] total time: 5.925s [info] finished at: mon mar 25 12:55:59 ist 2013 [info] final memory: 7m/74m [info] ------------------------------------------------------------------------ [error] failed execute goal org.apache.maven.plugins:maven-resources-plugin:2.3:resources (default-resources) on project tms-server:  execution default-resources of goal org.apache.maven.plugins:maven-resources-plugin:2.3:resources failed: applet not allowed access  "exists" state attributes of file /root/tms-server/src/main/resources iwsva javascan site policy. -> [help 1] [error]  [error] see full stack trace of errors, re-run maven -e switch. [error] re-run maven using -x switch enable full debug logging. [error]  [error] more information errors , possible solutions, please read following articles: [error] [help 1] http://cwiki.apache.org/confluence/display/maven/pluginexecutionexception 

update: here pom.xml, straight apache's getting started guide.

<project xmlns="http://maven.apache.org/pom/4.0.0" xmlns:xsi="http://www.w3.org/2001/xmlschema-instance"   xsi:schemalocation="http://maven.apache.org/pom/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">   <modelversion>4.0.0</modelversion>   <groupid>app</groupid>   <artifactid>tms-server</artifactid>   <packaging>jar</packaging>   <version>1.0-snapshot</version>   <name>tms-server</name>   <url>http://maven.apache.org</url>   <dependencies>     <dependency>       <groupid>junit</groupid>       <artifactid>junit</artifactid>       <version>3.8.1</version>       <scope>test</scope>     </dependency>   </dependencies> </project> 

it says,

the applet not allowed access "exists" state attributes of file /root/tms-server/src/main/resources iwsva javascan site policy.

you using jar downloaded internet through trend micro interscan web security suite/appliance proxy. proxy make hooks in jars download internet, when try access files see pop-up "applet alert".

solution:

you have 2 options:

  1. you may download archived jar files. not affected proxy.
  2. you may configure proxy not modify downloading jar files.

there user got issue , solved, got answer here


Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

How to get the ip address of VM and use it to configure SSH connection dynamically in Ansible -

javascript - Get parameter of GET request -