Simpliest way to add an attribute to a jar Manifest in Maven

后端 未结 5 1479
时光说笑
时光说笑 2020-12-06 06:06

Since the last Java update, I need to tag my applet jars manifest with the Trusted-Library attribute to avoid warning popup when javascript is communicating wit

5条回答
  •  臣服心动
    2020-12-06 06:35

    I consider usage of webstart-maven-plugin the right choice here. I mean there are bugs, there are things that you might need to patch yourself, but if you're OK with that, the one plugin can do quite much for you without some ant workarounds.

    For the particular problem there is a bug report with a working patch included. See: http://jira.codehaus.org/browse/MWEBSTART-213

    UPDATE:

    fix is included in the release: 1.0-beta-4.

    going for configuration:

    
      all-permissions
      *
      ....
    
    

    should do the job

提交回复
热议问题