You need to use settings-template.xml to get the Adobe stuff when building the compiler with Maven.
- Josh On Saturday, September 21, 2019, Carlos Rovira <carlosrov...@apache.org> wrote: > Hi, > > having the time to try RC2. I'm having the following issues. In RC1 I tried > ANT and all went ok. Know as Piotr suggest I'm trying to build with Maven > with a clean(empty) .m2. > > packaged to test in RC2 is: apache-royale-0.9.6-src.tar.gz > > Instructions in src are the following: > > Building Royale With Apache Maven > > ================================= > > > Royale requires Maven 3.3.9 or greater to be installed on your computer. > > > To build Royale with Apache Maven, run Maven in the 3 folders as follows: > > > royale-compiler: mvn clean install -P -main,utils > > royale-compiler: mvn clean install > > royale-typedefs: mvn clean install > > royale-asjs: mvn clean install > > > When complete, you should be able to use the Maven archetypes in > royale-asjs/archetypes > > to build Royale applications. > > > > from downloaded src/royale-compiler folder I run first: > > mvn clean install -P -main,utils > > This was ok > > Then in the same compiler folder run: > > mvn clean install > > This time I get this error: > > > [*INFO*] > *------------------------------------------------------------------------* > > [*INFO*] *Reactor Summary for Apache Royale: Compiler: Parent 0.9.6:* > > [*INFO*] > > [*INFO*] Apache Royale: Compiler: Parent .................... *SUCCESS* [ > 1.763 s] > > [*INFO*] Apache Royale: Compiler: Compiler-Common ........... *SUCCESS* > [01:07 min] > > [*INFO*] Apache Royale: Compiler: Test Utils ................ *SUCCESS* [ > 2.307 s] > > [*INFO*] Apache Royale: Compiler: Externc ................... *SUCCESS* [ > 49.839 s] > > [*INFO*] Apache Royale: Compiler: Compiler .................. *FAILURE* [ > 8.878 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:18 min > > [*INFO*] Finished at: 2019-09-21T12:51:06+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://repository.apache.org/content/repositories/releases > <https://repository.apache.org/content/repositories/releases>)* -> *[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. > > > > > > > El vie., 20 sept. 2019 a las 18:24, Piotr Zarzycki (< > piotrzarzyck...@gmail.com>) escribió: > >> Yes sure. I would like to hear from others what they think. >> >> Personally much worst to me is the fact that we didn't release SDK in >> several months. I would rather spend 5 minutes on writing email to instruct >> user who has problem with building SDK than spend another 4 hours on >> preparing and testing another RC - even if someone is paying me for that. >> >> Let's hear from others. >> >> Thanks, >> Piotr >> >> pt., 20 wrz 2019 o 18:18 Alex Harui <aha...@adobe.com.invalid> napisał(a): >> >> > I don't know. Would be nice to get other's opinions. We make these >> > attempts to lower the effort to get the source and work with it, so when >> > that workflow isn't working it doesn't make us look good. FWIW, if you >> > clone the repo and try to build without the Adobe stuff, that should >> > probably fail the same way. >> > >> > -Alex >> > >> > On 9/19/19, 11:21 PM, "Piotr Zarzycki" <piotrzarzyck...@gmail.com> >> wrote: >> > >> > Hi Alex, >> > >> > I'm moving with topic here cause it's related. Maybe solution for not >> > working build without some env. variables is just have section Known >> > issues >> > in our announcement? >> > >> > Thanks, >> > Piotr >> > >> > pt., 20 wrz 2019 o 08:19 Piotr Zarzycki <piotrzarzyck...@gmail.com> >> > napisał(a): >> > >> > > Hi Josh, >> > > >> > > Maybe you could commit that to develop? >> > > >> > > Thanks, >> > > Piotr >> > > >> > > czw., 19 wrz 2019 o 18:19 Josh Tynjala <joshtynj...@bowlerhat.dev > >> > > napisał(a): >> > > >> > >> If anyone else has problems with the Maven build when running the >> > >> ApproveRoyale.xml script, I was able to fix it by modifying this >> > section >> > >> where the framework is built: >> > >> >> > >> <exec executable="${mvn}" >> > >> dir="${basedir}/${maven.package.url.name}/royale-asjs" >> > >> failonerror="true"> >> > >> <arg value="-P"/> >> > >> <arg value="generate-swcs-for-swf,main"/> >> > >> <arg value="clean"/> >> > >> <arg value="install"/> >> > >> </exec> >> > >> >> > >> -- >> > >> Josh Tynjala >> > >> Bowler Hat LLC < >> > >> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbowlerhat.dev&data=02%7C01%7Caharui%40adobe.com%7Cd794c4ef78a3433bc95e08d73d92bfc0%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637045572800498366&sdata=seKWdtHYwJnr10AgVph8%2BOgYgk5746cRnEBpGNnKgwM%3D&reserved=0 >> > > >> > >> >> > >> >> > >> On Thu, Sep 19, 2019 at 1:08 AM Apache Royale CI Server < >> > >> apacheroyal...@gmail.com> wrote: >> > >> >> > >> > This is the discussion thread. >> > >> > >> > >> > Thanks, >> > >> > Piotr >> > >> >> > > >> > > >> > > -- >> > > >> > > Piotr Zarzycki >> > > >> > > Patreon: * >> > >> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cd794c4ef78a3433bc95e08d73d92bfc0%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637045572800498366&sdata=J%2BSrhIzulD7eR%2FUUruVIgxma%2FXS4%2FdvmBF4r48qhSEQ%3D&reserved=0 >> > > < >> > >> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cd794c4ef78a3433bc95e08d73d92bfc0%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637045572800498366&sdata=J%2BSrhIzulD7eR%2FUUruVIgxma%2FXS4%2FdvmBF4r48qhSEQ%3D&reserved=0 >> > >* >> > > >> > >> > >> > -- >> > >> > Piotr Zarzycki >> > >> > Patreon: * >> > >> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cd794c4ef78a3433bc95e08d73d92bfc0%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637045572800498366&sdata=J%2BSrhIzulD7eR%2FUUruVIgxma%2FXS4%2FdvmBF4r48qhSEQ%3D&reserved=0 >> > < >> > >> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cd794c4ef78a3433bc95e08d73d92bfc0%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637045572800498366&sdata=J%2BSrhIzulD7eR%2FUUruVIgxma%2FXS4%2FdvmBF4r48qhSEQ%3D&reserved=0 >> > >* >> > >> > >> > >> >> -- >> >> Piotr Zarzycki >> >> Patreon: *https://www.patreon.com/piotrzarzycki >> <https://www.patreon.com/piotrzarzycki>* >> > > > -- > Carlos Rovira > http://about.me/carlosrovira > -- -- Josh Tynjala Bowler Hat LLC <https://bowlerhat.dev>