{"action":"opened","issue":{"url":"https://api.github.com/repos/javafx-maven-plugin/javafx-maven-plugin/issues/145","labels_url":"https://api.github.com/repos/javafx-maven-plugin/javafx-maven-plugin/issues/145/labels{/name}","comments_url":"https://api.github.com/repos/javafx-maven-plugin/javafx-maven-plugin/issues/145/comments","events_url":"https://api.github.com/repos/javafx-maven-plugin/javafx-maven-plugin/issues/145/events","html_url":"https://github.com/javafx-maven-plugin/javafx-maven-plugin/issues/145","id":102367868,"number":145,"title":"Cannot build Mac Appstore PKG with Custom Entitlements File","user":{"login":"sselvia","id":3527730,"avatar_url":"https://avatars.githubusercontent.com/u/3527730?v=3","gravatar_id":"","url":"https://api.github.com/users/sselvia","html_url":"https://github.com/sselvia","followers_url":"https://api.github.com/users/sselvia/followers","following_url":"https://api.github.com/users/sselvia/following{/other_user}","gists_url":"https://api.github.com/users/sselvia/gists{/gist_id}","starred_url":"https://api.github.com/users/sselvia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sselvia/subscriptions","organizations_url":"https://api.github.com/users/sselvia/orgs","repos_url":"https://api.github.com/users/sselvia/repos","events_url":"https://api.github.com/users/sselvia/events{/privacy}","received_events_url":"https://api.github.com/users/sselvia/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-08-21T12:20:43Z","updated_at":"2015-08-21T12:20:43Z","closed_at":null,"body":"If you use a custom entitlements file in my package/macosx/<App Name>.entitlements the app store pkg build has the following exception.  I tried just the <App Name>.entitlements and the inherit version as well at the same time with the same results.\r\n\r\ncd /Users/scottselvia/sourceCode.workspace/git/Examine-IT/Examine-IT-POM/Examine-IT-Pro; JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_60.jdk/Contents/Home \"/Applications/NetBeans/NetBeans Dev 201506210001.app/Contents/Resources/NetBeans/java/maven/bin/mvn\" clean jfx:native\r\nScanning for projects...\r\n                                                                        \r\n------------------------------------------------------------------------\r\nBuilding Examine-IT-Pro 2.0.0\r\n------------------------------------------------------------------------\r\n\r\n--- maven-clean-plugin:2.4.1:clean (default-clean) @ Examine-IT-Pro ---\r\nDeleting /Users/scottselvia/sourceCode.workspace/git/Examine-IT/Examine-IT-POM/Examine-IT-Pro/target\r\n\r\n>>> javafx-maven-plugin:8.1.4-SNAPSHOT:native (default-cli) @ Examine-IT-Pro >>>\r\n\r\n>>> javafx-maven-plugin:8.1.4-SNAPSHOT:jar (jar) @ Examine-IT-Pro >>>\r\n\r\n--- maven-resources-plugin:2.5:resources (default-resources) @ Examine-IT-Pro ---\r\n[debug] execute contextualize\r\nUsing 'UTF-8' encoding to copy filtered resources.\r\nCopying 3 resources\r\n\r\n--- maven-compiler-plugin:2.3.2:compile (default-compile) @ Examine-IT-Pro ---\r\nCompiling 1 source file to /Users/scottselvia/sourceCode.workspace/git/Examine-IT/Examine-IT-POM/Examine-IT-Pro/target/classes\r\n\r\n--- maven-resources-plugin:2.5:testResources (default-testResources) @ Examine-IT-Pro ---\r\n[debug] execute contextualize\r\nUsing 'UTF-8' encoding to copy filtered resources.\r\nskip non existing resourceDirectory /Users/scottselvia/sourceCode.workspace/git/Examine-IT/Examine-IT-POM/Examine-IT-Pro/src/test/resources\r\n\r\n--- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ Examine-IT-Pro ---\r\nNothing to compile - all classes are up to date\r\n\r\n--- maven-surefire-plugin:2.10:test (default-test) @ Examine-IT-Pro ---\r\nNo tests to run.\r\nSurefire report directory: /Users/scottselvia/sourceCode.workspace/git/Examine-IT/Examine-IT-POM/Examine-IT-Pro/target/surefire-reports\r\n\r\n-------------------------------------------------------\r\n T E S T S\r\n-------------------------------------------------------\r\n\r\nResults :\r\n\r\nTests run: 0, Failures: 0, Errors: 0, Skipped: 0\r\n\r\n\r\n--- maven-jar-plugin:2.3.2:jar (default-jar) @ Examine-IT-Pro ---\r\nBuilding jar: /Users/scottselvia/sourceCode.workspace/git/Examine-IT/Examine-IT-POM/Examine-IT-Pro/target/Examine-IT-Pro.jar\r\n\r\n<<< javafx-maven-plugin:8.1.4-SNAPSHOT:jar (jar) @ Examine-IT-Pro <<<\r\n\r\n--- javafx-maven-plugin:8.1.4-SNAPSHOT:jar (jar) @ Examine-IT-Pro ---\r\nBuilding JavaFX JAR for application\r\nAdding 'deploy' directory to Mojo classpath: /Users/scottselvia/sourceCode.workspace/git/Examine-IT/Examine-IT-POM/Examine-IT-Pro/src/main/deploy\r\n\r\n<<< javafx-maven-plugin:8.1.4-SNAPSHOT:native (default-cli) @ Examine-IT-Pro <<<\r\n\r\n--- javafx-maven-plugin:8.1.4-SNAPSHOT:native (default-cli) @ Examine-IT-Pro ---\r\nBuilding Native Installers\r\nAdd /Users/scottselvia/sourceCode.workspace/git/Examine-IT/Examine-IT-POM/Examine-IT-Pro/target/jfx/app/Examine-IT-Pro-jfx.jar file to application resources.\r\nAdd /Users/scottselvia/sourceCode.workspace/git/Examine-IT/Examine-IT-POM/Examine-IT-Pro/target/jfx/app/lib/bcprov-jdk15on-1.52.jar file to application resources.\r\nAdd /Users/scottselvia/sourceCode.workspace/git/Examine-IT/Examine-IT-POM/Examine-IT-Pro/target/jfx/app/lib/commons-codec-1.9.jar file to application resources.\r\nAdd /Users/scottselvia/sourceCode.workspace/git/Examine-IT/Examine-IT-POM/Examine-IT-Pro/target/jfx/app/lib/commons-lang-2.6.jar file to application resources.\r\nAdd /Users/scottselvia/sourceCode.workspace/git/Examine-IT/Examine-IT-POM/Examine-IT-Pro/target/jfx/app/lib/commons-lang3-3.4.jar file to application resources.\r\nAdd /Users/scottselvia/sourceCode.workspace/git/Examine-IT/Examine-IT-POM/Examine-IT-Pro/target/jfx/app/lib/commons-logging-1.1.1.jar file to application resources.\r\nAdd /Users/scottselvia/sourceCode.workspace/git/Examine-IT/Examine-IT-POM/Examine-IT-Pro/target/jfx/app/lib/controlsfx-8.20.9.jar file to application resources.\r\nAdd /Users/scottselvia/sourceCode.workspace/git/Examine-IT/Examine-IT-POM/Examine-IT-Pro/target/jfx/app/lib/Examine-IT-Desktop-2.0.0.jar file to application resources.\r\nAdd /Users/scottselvia/sourceCode.workspace/git/Examine-IT/Examine-IT-POM/Examine-IT-Pro/target/jfx/app/lib/Examine-IT-Framework-2.0.0.jar file to application resources.\r\nAdd /Users/scottselvia/sourceCode.workspace/git/Examine-IT/Examine-IT-POM/Examine-IT-Pro/target/jfx/app/lib/Examine-IT-Preloader-2.0.0.jar file to application resources.\r\nAdd /Users/scottselvia/sourceCode.workspace/git/Examine-IT/Examine-IT-POM/Examine-IT-Pro/target/jfx/app/lib/fontbox-1.8.9.jar file to application resources.\r\nAdd /Users/scottselvia/sourceCode.workspace/git/Examine-IT/Examine-IT-POM/Examine-IT-Pro/target/jfx/app/lib/itextpdf-5.5.6.jar file to application resources.\r\nAdd /Users/scottselvia/sourceCode.workspace/git/Examine-IT/Examine-IT-POM/Examine-IT-Pro/target/jfx/app/lib/jcl-over-slf4j-1.6.1.jar file to application resources.\r\nAdd /Users/scottselvia/sourceCode.workspace/git/Examine-IT/Examine-IT-POM/Examine-IT-Pro/target/jfx/app/lib/jempbox-1.8.9.jar file to application resources.\r\nAdd /Users/scottselvia/sourceCode.workspace/git/Examine-IT/Examine-IT-POM/Examine-IT-Pro/target/jfx/app/lib/log4j-1.2.16.jar file to application resources.\r\nAdd /Users/scottselvia/sourceCode.workspace/git/Examine-IT/Examine-IT-POM/Examine-IT-Pro/target/jfx/app/lib/openjfx-dialogs-1.0.3.jar file to application resources.\r\nAdd /Users/scottselvia/sourceCode.workspace/git/Examine-IT/Examine-IT-POM/Examine-IT-Pro/target/jfx/app/lib/pdfbox-1.8.9.jar file to application resources.\r\nAdd /Users/scottselvia/sourceCode.workspace/git/Examine-IT/Examine-IT-POM/Examine-IT-Pro/target/jfx/app/lib/poi-3.12.jar file to application resources.\r\nAdd /Users/scottselvia/sourceCode.workspace/git/Examine-IT/Examine-IT-POM/Examine-IT-Pro/target/jfx/app/lib/poi-ooxml-3.12.jar file to application resources.\r\nAdd /Users/scottselvia/sourceCode.workspace/git/Examine-IT/Examine-IT-POM/Examine-IT-Pro/target/jfx/app/lib/poi-ooxml-schemas-3.12.jar file to application resources.\r\nAdd /Users/scottselvia/sourceCode.workspace/git/Examine-IT/Examine-IT-POM/Examine-IT-Pro/target/jfx/app/lib/poi-scratchpad-3.12.jar file to application resources.\r\nAdd /Users/scottselvia/sourceCode.workspace/git/Examine-IT/Examine-IT-POM/Examine-IT-Pro/target/jfx/app/lib/slf4j-api-1.6.1.jar file to application resources.\r\nAdd /Users/scottselvia/sourceCode.workspace/git/Examine-IT/Examine-IT-POM/Examine-IT-Pro/target/jfx/app/lib/slf4j-log4j12-1.6.1.jar file to application resources.\r\nAdd /Users/scottselvia/sourceCode.workspace/git/Examine-IT/Examine-IT-POM/Examine-IT-Pro/target/jfx/app/lib/stax-api-1.0.1.jar file to application resources.\r\nAdd /Users/scottselvia/sourceCode.workspace/git/Examine-IT/Examine-IT-POM/Examine-IT-Pro/target/jfx/app/lib/xmlbeans-2.6.0.jar file to application resources.\r\nRunning [security, find-certificate, -c, 3rd Party Mac Developer Application: , -a]\r\nRunning [security, find-certificate, -c, 3rd Party Mac Developer Installer: , -a]\r\nBuilding Mac App Store Bundle for Examine-IT-Pro\r\nPreparing Info.plist: /var/folders/dj/0xr8h7gs44d00y56yczrhpch0000gn/T/fxbundler8009336151503383933/macosx/Info.plist\r\n  Using default package resource [Bundle config file]  (add package/macosx/Info.plist to the class path to customize)\r\n  Using custom package resource [icon]  (loaded from package/macosx/Examine-IT-Pro.icns)\r\n  Config files are saved to /var/folders/dj/0xr8h7gs44d00y56yczrhpch0000gn/T/fxbundler8009336151503383933/macosx. Use them to customize package.\r\n  Using custom package resource [Mac App Store Entitlements]  (loaded from package/macosx/Examine-IT-Pro.entitlements)\r\n  Using default package resource [Mac App Store Inherit Entitlements]  (add package/macosx/Examine-IT-Pro_Inherit.entitlements to the class path to customize)\r\nRunning [codesign, -s, 3rd Party Mac Developer Application: Scott Selvia (TM2Q8MJ7ZY), --prefix, com.thundercloudresources.examineit.pro., -vvvv, /var/folders/dj/0xr8h7gs44d00y56yczrhpch0000gn/T/fxbundler8009336151503383933/images/image-6680320163501175992/Examine-IT-Pro.app/Contents/Info.plist]\r\n/var/folders/dj/0xr8h7gs44d00y56yczrhpch0000gn/T/fxbundler8009336151503383933/images/image-6680320163501175992/Examine-IT-Pro.app/Contents/Info.plist: signed generic [com.thundercloudresources.examineit.pro.Info]\r\nRunning [codesign, -s, 3rd Party Mac Developer Application: Scott Selvia (TM2Q8MJ7ZY), --prefix, com.thundercloudresources.examineit.pro., -vvvv, --entitlements, /var/folders/dj/0xr8h7gs44d00y56yczrhpch0000gn/T/fxbundler8009336151503383933/macosx/Examine-IT-Pro.entitlements, /var/folders/dj/0xr8h7gs44d00y56yczrhpch0000gn/T/fxbundler8009336151503383933/images/image-6680320163501175992/Examine-IT-Pro.app/Contents/Java/Examine-IT-Pro-jfx.jar]\r\n/var/folders/dj/0xr8h7gs44d00y56yczrhpch0000gn/T/fxbundler8009336151503383933/macosx/Examine-IT-Pro.entitlements: unrecognized blob type (accepting blindly)\r\n/var/folders/dj/0xr8h7gs44d00y56yczrhpch0000gn/T/fxbundler8009336151503383933/macosx/Examine-IT-Pro.entitlements: invalid length in entitlement blob\r\nApp Store Ready Bundle failed : Exec failed with code 1 command [[codesign, -s, 3rd Party Mac Developer Application: Scott Selvia (TM2Q8MJ7ZY), --prefix, com.thundercloudresources.examineit.pro., -vvvv, --entitlements, /var/folders/dj/0xr8h7gs44d00y56yczrhpch0000gn/T/fxbundler8009336151503383933/macosx/Examine-IT-Pro.entitlements, /var/folders/dj/0xr8h7gs44d00y56yczrhpch0000gn/T/fxbundler8009336151503383933/images/image-6680320163501175992/Examine-IT-Pro.app/Contents/Java/Examine-IT-Pro-jfx.jar] in unspecified directory\r\njava.io.IOException: Exec failed with code 1 command [[codesign, -s, 3rd Party Mac Developer Application: Scott Selvia (TM2Q8MJ7ZY), --prefix, com.thundercloudresources.examineit.pro., -vvvv, --entitlements, /var/folders/dj/0xr8h7gs44d00y56yczrhpch0000gn/T/fxbundler8009336151503383933/macosx/Examine-IT-Pro.entitlements, /var/folders/dj/0xr8h7gs44d00y56yczrhpch0000gn/T/fxbundler8009336151503383933/images/image-6680320163501175992/Examine-IT-Pro.app/Contents/Java/Examine-IT-Pro-jfx.jar] in unspecified directory\r\n\tat com.oracle.tools.packager.IOUtils.exec(IOUtils.java:165)\r\n\tat com.oracle.tools.packager.IOUtils.exec(IOUtils.java:138)\r\n\tat com.oracle.tools.packager.IOUtils.exec(IOUtils.java:132)\r\n\tat com.oracle.tools.packager.mac.MacBaseInstallerBundler.lambda$signAppBundle$190(MacBaseInstallerBundler.java:277)\r\n\tat java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184)\r\n\tat java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175)\r\n\tat java.util.stream.ReferencePipeline$11$1.accept(ReferencePipeline.java:373)\r\n\tat java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)\r\n\tat java.util.Iterator.forEachRemaining(Iterator.java:116)\r\n\tat java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801)\r\n\tat java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)\r\n\tat java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)\r\n\tat java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151)\r\n\tat java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174)\r\n\tat java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)\r\n\tat java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:418)\r\n\tat com.oracle.tools.packager.mac.MacBaseInstallerBundler.signAppBundle(MacBaseInstallerBundler.java:246)\r\n\tat com.oracle.tools.packager.mac.MacAppStoreBundler.bundle(MacAppStoreBundler.java:132)\r\n\tat com.oracle.tools.packager.mac.MacAppStoreBundler.execute(MacAppStoreBundler.java:412)\r\n\tat com.zenjava.javafx.maven.plugin.NativeMojo.execute(NativeMojo.java:342)\r\n\tat org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)\r\n\tat org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)\r\n\tat org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)\r\n\tat org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)\r\n\tat org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)\r\n\tat org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)\r\n\tat org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)\r\n\tat org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)\r\n\tat org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)\r\n\tat org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)\r\n\tat org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)\r\n\tat org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)\r\n\tat org.apache.maven.cli.MavenCli.main(MavenCli.java:141)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:497)\r\n\tat org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)\r\n\tat org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)\r\n\tat org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)\r\n\tat org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)\r\n  Config files are saved to /var/folders/dj/0xr8h7gs44d00y56yczrhpch0000gn/T/fxbundler8009336151503383933/macosx. Use them to customize package.\r\n------------------------------------------------------------------------\r\nBUILD SUCCESS\r\n------------------------------------------------------------------------\r\nTotal time: 7.358s\r\nFinished at: Fri Aug 21 08:15:28 EDT 2015\r\nFinal Memory: 20M/255M\r\n------------------------------------------------------------------------\r\n"}}