Update: There is definitely a problem with the source package that prevents building the source with Maven from a truly clean machine. I have some changes pending. This is going to be a pretty large commit as if affects a lot of files. I'm not sure why Piotr is have Carlos continue to try things. That seems like duplication of effort to me. I will hopefully have this working by end of my day today.
-Alex On 9/21/19, 4:51 PM, "Alex Harui" <[email protected]> wrote: I changed the subject to try to keep the threads separated. Please remember that the scripts and instructions are biased towards js-only. If you have PLAYERGLOBAL_HOME, AIR_HOME, and FLASHPLAYER_DEBUGGER set then you will need different profiles. Looks like this failure is caused by change 228f4fbd1. There should not be hard dependencies on Adobe stuff in order to support js-only. In testing a fix, I found out how to reproduce Josh's first issue with the Maven build from a clean machine (remove all adobe and royale artifacts from local repo) for js-only. More changes to the poms are necessary. I will try to figure it out. And so, this means that a few more folks are likely to have trouble building from source. Again, most folks are going to just use the binaries, but I'm worried about first impressions for those who do use the source. -Alex On 9/21/19, 2:32 PM, "Carlos Rovira" <[email protected]> wrote: HI Piotr, since I have work to do on docs, I prefer to try with some concrete info, or I'll end going like chicken without head :) I can test with and without vars on my .bash_profile too. Even we can release 0.9.6 and left this issues for 0.9.7 thanks Carlos El sáb., 21 sept. 2019 a las 22:44, Piotr Zarzycki (< [email protected]>) escribió: > You have example of such file in repository. Just based on that setup > staging link repository. Currently in that file you have Snapshot links and > release. Based on this you can setup staging. > > Apart of that I have shared such file some time ago in the previous > releases. > > I'm not sure even if that is needed it's just I wanted to confirm that is > really not needed. > > Do you have player global setup env variable? > > If you won't figure out stuff I will share it on Monday. > > Thanks, > Piotr > > On Sat, Sep 21, 2019, 8:06 PM Carlos Rovira <[email protected]> > wrote: > > > Hi Piort, > > > > can you share here the set of links to add to my .m2/settings.xml? > > > > thanks > > > > > > > > > > El sáb., 21 sept. 2019 a las 19:02, Piotr Zarzycki (< > > [email protected]>) escribió: > > > > > Switching subject to discuss. > > > > > > Carlos can you put in your settings link toavem staging artifacts? And > > run > > > approve script again. > > > > > > Thanks, > > > Piotr > > > > > > On Sat, Sep 21, 2019, 6:49 PM Carlos Rovira <[email protected]> > > > wrote: > > > > > > > Curious thing is: > > > > > > > > if I run in my source tree royale-compiler folder this: > > > > > > > > mvn -s settings-template.xml -DskipTests clean install > > > > > > > > > > > > with clean .m2 all ends properly. > > > > > > > > > > > > if I run it in the downloaded RC2 folder it fails: > > > > > > > > > > > > Downloaded from central: > > > > > > > > > > > > > > https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Frepo.maven.apache.org%2Fmaven2%2Forg%2Fcodehaus%2Fplexus%2Fplexus-container-default%2F1.0-alpha-9-stable-1%2Fplexus-container-default-1.0-alpha-9-stable-1.jar&data=02%7C01%7Caharui%40adobe.com%7C102bbce2a6b94f47599408d73eeea986%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637047067078793068&sdata=QhbpGC%2BtKlQ4dxLvri%2FmYdSerlKFUTjqXkGfDeBE0c0%3D&reserved=0 > > > > (194 kB at 290 kB/s) > > > > > > > > Downloaded from central: > > > > > https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Frepo.maven.apache.org%2Fmaven2%2Forg%2Fantlr%2FST4%2F4.0.4%2FST4-4.0.4.jar&data=02%7C01%7Caharui%40adobe.com%7C102bbce2a6b94f47599408d73eeea986%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637047067078793068&sdata=C%2BMVzWH3QNeEH42YUkHU4Mrx64sXvaPbfwjWcbSlOnA%3D&reserved=0 > > > > (237 > > > > kB at 345 kB/s) > > > > > > > > [*ERROR*] [ERROR] Some problems were encountered while processing the > > > POMs: > > > > > > > > [ERROR] Unresolveable build extension: Plugin > > > > net.sourceforge.jburg:jburg-maven-plugin:1.10.4 or one of its > > > dependencies > > > > could not be resolved: Could not find artifact > > > > org.apache.royale.compiler:compiler-jburg-types:jar:1.1.0 in > > > > apache-plugins-release ( > > > > https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Frepository.apache.org%2Fcontent%2Frepositories%2Freleases&data=02%7C01%7Caharui%40adobe.com%7C102bbce2a6b94f47599408d73eeea986%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637047067078793068&sdata=cS3A5efqFgvov2DDDgrw5NJphniVC3OGPJFmGJPmV0w%3D&reserved=0) @ > > > > > > > > [ERROR] Unresolveable build extension: Plugin > > > > net.sourceforge.jburg:jburg-maven-plugin:1.10.4 or one of its > > > dependencies > > > > could not be resolved: Could not find artifact > > > > org.apache.royale.compiler:compiler-jburg-types:jar:1.1.0 in > > > > apache-plugins-release ( > > > > https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Frepository.apache.org%2Fcontent%2Frepositories%2Freleases&data=02%7C01%7Caharui%40adobe.com%7C102bbce2a6b94f47599408d73eeea986%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637047067078793068&sdata=cS3A5efqFgvov2DDDgrw5NJphniVC3OGPJFmGJPmV0w%3D&reserved=0) @ > > > > > > > > @ > > > > > > > > [*ERROR*] The build could not read 2 projects -> *[Help 1]* > > > > > > > > [*ERROR*] > > > > > > > > [*ERROR*] The project org.apache.royale.compiler:compiler:0.9.6 > > > > > > > > > > > > > > (/Users/carlosrovira/Downloads/apache-royale-0.9.6-src/royale-compiler/compiler/pom.xml) > > > > has 1 error > > > > > > > > [*ERROR*] Unresolveable build extension: Plugin > > > > net.sourceforge.jburg:jburg-maven-plugin:1.10.4 or one of its > > > dependencies > > > > could not be resolved: Could not find artifact > > > > org.apache.royale.compiler:compiler-jburg-types:jar:1.1.0 in > > > > apache-plugins-release ( > > > > https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Frepository.apache.org%2Fcontent%2Frepositories%2Freleases&data=02%7C01%7Caharui%40adobe.com%7C102bbce2a6b94f47599408d73eeea986%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637047067078793068&sdata=cS3A5efqFgvov2DDDgrw5NJphniVC3OGPJFmGJPmV0w%3D&reserved=0) -> > *[Help > > > 2]* > > > > > > > > [*ERROR*] > > > > > > > > [*ERROR*] The project org.apache.royale.compiler:debugger:0.9.6 > > > > > > > > > > > > > > (/Users/carlosrovira/Downloads/apache-royale-0.9.6-src/royale-compiler/debugger/pom.xml) > > > > has 1 error > > > > > > > > [*ERROR*] Unresolveable build extension: Plugin > > > > net.sourceforge.jburg:jburg-maven-plugin:1.10.4 or one of its > > > dependencies > > > > could not be resolved: Could not find artifact > > > > org.apache.royale.compiler:compiler-jburg-types:jar:1.1.0 in > > > > apache-plugins-release ( > > > > https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Frepository.apache.org%2Fcontent%2Frepositories%2Freleases&data=02%7C01%7Caharui%40adobe.com%7C102bbce2a6b94f47599408d73eeea986%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637047067078793068&sdata=cS3A5efqFgvov2DDDgrw5NJphniVC3OGPJFmGJPmV0w%3D&reserved=0) -> > *[Help > > > 2]* > > > > > > > > [*ERROR*] > > > > > > > > [*ERROR*] To see the full stack trace of the errors, re-run Maven > with > > > the > > > > *-e* switch. > > > > > > > > [*ERROR*] Re-run Maven using the *-X* switch to enable full debug > > > logging. > > > > > > > > [*ERROR*] > > > > > > > > [*ERROR*] For more information about the errors and possible > solutions, > > > > please read the following articles: > > > > > > > > [*ERROR*] *[Help 1]* > > > > > > > > > > https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fcwiki.apache.org%2Fconfluence%2Fdisplay%2FMAVEN%2FProjectBuildingException&data=02%7C01%7Caharui%40adobe.com%7C102bbce2a6b94f47599408d73eeea986%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637047067078793068&sdata=WF5JXK4bnqvi9Xoe5tOG%2FB93Jwi2QAlN6hvNd6wi968%3D&reserved=0 > > > > > > > > [*ERROR*] *[Help 2]* > > > > > > https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fcwiki.apache.org%2Fconfluence%2Fdisplay%2FMAVEN%2FPluginManagerException&data=02%7C01%7Caharui%40adobe.com%7C102bbce2a6b94f47599408d73eeea986%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637047067078793068&sdata=mK97bbZjzGksJiU1BiD7ErEJdwPe637FKW889g3e3fY%3D&reserved=0 > > > > > > > > macbookpro:royale-compiler carlosrovira$ > > > > > > > > > > > > > > > > this time because I run without profiles main,utils > > > > > > > > > > > > > > > > > > > > > > > > > > > > El sáb., 21 sept. 2019 a las 17:40, Carlos Rovira (< > > > > [email protected]>) > > > > escribió: > > > > > > > > > Josh, > > > > > > > > > > with a clean .m2, just tried in "royale-compiler" folder to run > > (after > > > > mvn > > > > > clean install -P -main,utils): > > > > > > > > > > mvn -s settings-template.xml clean install > > > > > > > > > > > > > > > And still fail trying to get flash player 20.0 > > > > > > > > > > > > > > > [*INFO*] Apache Royale: Compiler: Compiler .................. > > *FAILURE* > > > > > [ 9.009 s] > > > > > > > > > > [*INFO*] Apache Royale: Compiler: Compiler-JX ............... > > *SKIPPED* > > > > > > > > > > [*INFO*] Apache Royale: Compiler: SWFUtils .................. > > *SKIPPED* > > > > > > > > > > [*INFO*] Apache Royale: Compiler: Debugger .................. > > *SKIPPED* > > > > > > > > > > [*INFO*] Apache Royale: Compiler: OEM Layer ................. > > *SKIPPED* > > > > > > > > > > [*INFO*] Apache Royale: Royale Ant Tasks .................... > > *SKIPPED* > > > > > > > > > > [*INFO*] Apache Royale: RoyaleUnit Ant Tasks ................ > > *SKIPPED* > > > > > > > > > > [*INFO*] Apache Royale: Royale Maven Plugin ................. > > *SKIPPED* > > > > > > > > > > [*INFO*] > > > > > > > > > > > > > > > *------------------------------------------------------------------------* > > > > > > > > > > [*INFO*] *BUILD FAILURE* > > > > > > > > > > [*INFO*] > > > > > > > > > > > > > > > *------------------------------------------------------------------------* > > > > > > > > > > [*INFO*] Total time: 02:17 min > > > > > > > > > > [*INFO*] Finished at: 2019-09-21T17:35:48+02:00 > > > > > > > > > > [*INFO*] > > > > > > > > > > > > > > > *------------------------------------------------------------------------* > > > > > > > > > > [*ERROR*] Failed to execute goal on project compiler: *Could not > > > resolve > > > > > dependencies for project > > org.apache.royale.compiler:compiler:jar:0.9.6: > > > > > Could not find artifact > > com.adobe.flash.framework:playerglobal:swc:20.0 > > > > in > > > > > apache-release ( > > > > https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Frepository.apache.org%2Fcontent%2Frepositories%2Freleases&data=02%7C01%7Caharui%40adobe.com%7C102bbce2a6b94f47599408d73eeea986%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637047067078803063&sdata=tFNRJIGHkMRJB%2FM0qw2c1FYmWdnGIgR2uQr%2FQ8eZLwA%3D&reserved=0 > > > > > <https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Frepository.apache.org%2Fcontent%2Frepositories%2Freleases&data=02%7C01%7Caharui%40adobe.com%7C102bbce2a6b94f47599408d73eeea986%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637047067078803063&sdata=tFNRJIGHkMRJB%2FM0qw2c1FYmWdnGIgR2uQr%2FQ8eZLwA%3D&reserved=0>)* -> > > > > *[Help > > > > > 1]* > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > El sáb., 21 sept. 2019 a las 17:25, Carlos Rovira (< > > > > > [email protected]>) escribió: > > > > > > > > > >> Thanks Josh, > > > > >> > > > > >> I just tried with Approve xml and get similar results (I copy > here) > > > > >> I'll try using the setting, I forgot completely about it.. But > this > > > > means > > > > >> the instructions to build are wrong right? > > > > >> > > > > >> > > > > >> Here's my console output after try with the Approve xml script > > (mostly > > > > >> the same as trying to build with maven): > > > > >> > > > > >> [INFO] --- maven-install-plugin:2.5.2:install (default-install) @ > > > > >> compiler-externc --- > > > > >> > > > > >> [INFO] Installing > > > > >> > > > > > > > > > > /Users/carlosrovira/Downloads/testrc2/apache-royale-0.9.6-maven-src/royale-compiler/compiler-externc/target/compiler-externc-0.9.6.jar > > > > >> to > > > > >> > > > > > > > > > > /Users/carlosrovira/.m2/repository/org/apache/royale/compiler/compiler-externc/0.9.6/compiler-externc-0.9.6.jar > > > > >> > > > > >> [INFO] Installing > > > > >> > > > > > > > > > > /Users/carlosrovira/Downloads/testrc2/apache-royale-0.9.6-maven-src/royale-compiler/compiler-externc/pom.xml > > > > >> to > > > > >> > > > > > > > > > > /Users/carlosrovira/.m2/repository/org/apache/royale/compiler/compiler-externc/0.9.6/compiler-externc-0.9.6.pom > > > > >> > > > > >> [INFO] Installing > > > > >> > > > > > > > > > > /Users/carlosrovira/Downloads/testrc2/apache-royale-0.9.6-maven-src/royale-compiler/compiler-externc/target/compiler-externc-0.9.6-tests.jar > > > > >> to > > > > >> > > > > > > > > > > /Users/carlosrovira/.m2/repository/org/apache/royale/compiler/compiler-externc/0.9.6/compiler-externc-0.9.6-tests.jar > > > > >> > > > > >> [INFO] > > > > >> > > > > >> [INFO] ----------------< org.apache.royale.compiler:compiler > > > > >> >----------------- > > > > >> > > > > >> [INFO] Building Apache Royale: Compiler: Compiler 0.9.6 > > > > >> [5/12] > > > > >> > > > > >> [INFO] --------------------------------[ jar > > > > >> ]--------------------------------- > > > > >> > > > > >> [WARNING] The POM for > > com.adobe.flash.framework:playerglobal:swc:20.0 > > > is > > > > >> missing, no dependency information available > > > > >> > > > > >> [INFO] > > > > >> > > > > ------------------------------------------------------------------------ > > > > >> > > > > >> [INFO] Reactor Summary for Apache Royale: Compiler: Parent 0.9.6: > > > > >> > > > > >> [INFO] > > > > >> > > > > >> [INFO] Apache Royale: Compiler: Parent .................... > SUCCESS > > [ > > > > >> 2.102 s] > > > > >> > > > > >> [INFO] Apache Royale: Compiler: Compiler-Common ........... > SUCCESS > > [ > > > > >> 4.555 s] > > > > >> > > > > >> [INFO] Apache Royale: Compiler: Test Utils ................ > SUCCESS > > [ > > > > >> 0.431 s] > > > > >> > > > > >> [INFO] Apache Royale: Compiler: Externc ................... > SUCCESS > > [ > > > > >> 9.225 s] > > > > >> > > > > >> [INFO] Apache Royale: Compiler: Compiler .................. > FAILURE > > [ > > > > >> 0.052 s] > > > > >> > > > > >> [INFO] Apache Royale: Compiler: Compiler-JX ............... > SKIPPED > > > > >> > > > > >> [INFO] Apache Royale: Compiler: SWFUtils .................. > SKIPPED > > > > >> > > > > >> [INFO] Apache Royale: Compiler: Debugger .................. > SKIPPED > > > > >> > > > > >> [INFO] Apache Royale: Compiler: OEM Layer ................. > SKIPPED > > > > >> > > > > >> [INFO] Apache Royale: Royale Ant Tasks .................... > SKIPPED > > > > >> > > > > >> [INFO] Apache Royale: RoyaleUnit Ant Tasks ................ > SKIPPED > > > > >> > > > > >> [INFO] Apache Royale: Royale Maven Plugin ................. > SKIPPED > > > > >> > > > > >> [INFO] > > > > >> > > > > ------------------------------------------------------------------------ > > > > >> > > > > >> [INFO] BUILD FAILURE > > > > >> > > > > >> [INFO] > > > > >> > > > > ------------------------------------------------------------------------ > > > > >> > > > > >> [INFO] Total time: 16.690 s > > > > >> > > > > >> [INFO] Finished at: 2019-09-21T15:33:35+02:00 > > > > >> > > > > >> [INFO] > > > > >> > > > > ------------------------------------------------------------------------ > > > > >> > > > > >> [ERROR] Failed to execute goal on project compiler: Could not > > resolve > > > > >> dependencies for project > > > org.apache.royale.compiler:compiler:jar:0.9.6: > > > > >> Failure to find com.adobe.flash.framework:playerglobal:swc:20.0 in > > > > >> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Frepository.apache.org%2Fcontent%2Frepositories%2Freleases&data=02%7C01%7Caharui%40adobe.com%7C102bbce2a6b94f47599408d73eeea986%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637047067078803063&sdata=tFNRJIGHkMRJB%2FM0qw2c1FYmWdnGIgR2uQr%2FQ8eZLwA%3D&reserved=0 was > > > cached > > > > >> in the local repository, resolution will not be reattempted until > > the > > > > >> update interval of apache-release has elapsed or updates are > forced > > -> > > > > >> [Help 1] > > > > >> > > > > >> [ERROR] > > > > >> > > > > >> [ERROR] To see the full stack trace of the errors, re-run Maven > with > > > the > > > > >> -e switch. > > > > >> > > > > >> [ERROR] Re-run Maven using the -X switch to enable full debug > > logging. > > > > >> > > > > >> [ERROR] > > > > >> > > > > >> [ERROR] For more information about the errors and possible > > solutions, > > > > >> please read the following articles: > > > > >> > > > > >> [ERROR] [Help 1] > > > > >> > > > > > > > > > > https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fcwiki.apache.org%2Fconfluence%2Fdisplay%2FMAVEN%2FDependencyResolutionException&data=02%7C01%7Caharui%40adobe.com%7C102bbce2a6b94f47599408d73eeea986%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637047067078803063&sdata=Pt88t1V6I5A8pwHVOkXITSaL3X0lfqHwfZATKGVKtJA%3D&reserved=0 > > > > >> > > > > >> [ERROR] > > > > >> > > > > >> [ERROR] After correcting the problems, you can resume the build > with > > > the > > > > >> command > > > > >> > > > > >> [ERROR] mvn <goals> -rf :compiler > > > > >> > > > > >> > > > > >> BUILD FAILED > > > > >> > > > > >> /Users/carlosrovira/Downloads/testrc2/ApproveRoyale.xml:778: The > > > > >> following error occurred while executing this line: > > > > >> > > > > >> /Users/carlosrovira/Downloads/testrc2/ApproveRoyale.xml:789: exec > > > > >> returned: 1 > > > > >> > > > > >> > > > > >> Total time: 25 minutes 57 seconds > > > > >> > > > > >> macbookpro:testrc2 carlosrovira$ > > > > >> > > > > >> > > > > >> > > > > >> > > > > >> > > > > > > > > > > -- > > > > > Carlos Rovira > > > > > https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%7C102bbce2a6b94f47599408d73eeea986%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637047067078803063&sdata=x4eikTq4CgnlnpYVF5gOtS4zoD9Y24QlwZdbWcj0jw8%3D&reserved=0 > > > > > > > > > > > > > > > > > > -- > > > > Carlos Rovira > > > > https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%7C102bbce2a6b94f47599408d73eeea986%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637047067078803063&sdata=x4eikTq4CgnlnpYVF5gOtS4zoD9Y24QlwZdbWcj0jw8%3D&reserved=0 > > > > > > > > > > > > > -- > > Carlos Rovira > > https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%7C102bbce2a6b94f47599408d73eeea986%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637047067078803063&sdata=x4eikTq4CgnlnpYVF5gOtS4zoD9Y24QlwZdbWcj0jw8%3D&reserved=0 > > > -- Carlos Rovira https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%7C102bbce2a6b94f47599408d73eeea986%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637047067078803063&sdata=x4eikTq4CgnlnpYVF5gOtS4zoD9Y24QlwZdbWcj0jw8%3D&reserved=0
