하나가 maven4j 플러그인에 의해 건설이 .exe 파일을 열려면 관리자 역할을 요구해야한다고 지정의 매니페스트 파일을 사용할 필요가 나타났다.
<configuration>
<headerType>gui</headerType>
<outfile>target/${maser.app.jar.name}64.exe</outfile>
<jar>target/${maser.app.jar.name}.jar</jar>
<manifest>src/main/resources/${maser.app.jar.name}64.exe.manifest</manifest>
<jre>
<path>bin/${jre64.path}/</path>
<opts>
<opt>-Djava.library.path="dll"</opt>
</opts>
</jre>
<versionInfo>
...
</versionInfo>
</configuration>
및 매니페스트 파일처럼 보였다 :
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
<security>
<requestedPrivileges>
<requestedExecutionLevel level="requireAdministrator" uiAccess="false"/>
</requestedPrivileges>
</security>
</trustInfo>
</assembly>
플러그인 launch4j의 관점에서이 파일을 명시 할 수있는 경로가
을 지정해야합니다 그래서 구성과 같은 특별한 태그를 추가 의미