I will not have time to respond until about 20 hours from now. You can check mail archives for "Maven" which might help.
-Alex On 5/21/19, 10:04 PM, "Greg Dove" <[email protected]> wrote: One other thing, just to share another observation... At the project level : https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs%2Fblob%2Fa89b07a60179f0568d2441445f1396e160a13ae5%2F.mvn%2Fextensions.xml&data=02%7C01%7Caharui%40adobe.com%7Cfff341b00a5f4502127808d6de72e95e%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636940982472103933&sdata=lSDd267ZXibOUYplIFNplz9SK46REKydL20m7sXS750%3D&reserved=0 has an extension reference for 'flex-sdk-converter-maven-extension' Is this obsolete? I commented out the <extension> node in that in royale-asjs and it gets rid of the following warning at the beginning of the build, without (so far, I think) any adverse effects. [WARNING] The POM for org.apache.flex.utilities.converter:flex-sdk-converter-maven-extension:jar:1.0.0-SNAPSHOT is missing, no dependency information available [WARNING] Failed to read extensions descriptor C:\development\asf\royale-asjs\.mvn\extensions.xml: Plugin org.apache.flex.utilities.converter:flex-sdk-converter-maven-extension:1.0.0-SNAPSHOT or one of its dependencies could not be resolved: Could not find artifact org.apache.flex.utilities.converter:flex-sdk-converter-maven-extension:jar:1.0.0-SNAPSHOT This seems present in the compiler also. It might be nice to get rid of a few warnings, obviously more so if it is because we have anything in there that is obsolete (but I am not sure about this part). On Wed, May 22, 2019 at 4:35 PM Greg Dove <[email protected]> wrote: > Two things as follow up: > (1) > Actually, going back to that last comment about playerglobal in the > compiler... It was only working for me because I had reference to a > specific repository that hosts the playerglobal.swcs in my m2/settings.xml. > > It was also possible to get it working in a fresh build by adding a > repository to the top level compiler pom.xml. > But I guess there is not an official maven distribution from Adobe for > these swcs... Alex do you have any insight you can share about this? > Will it be available via Adobe, I guess is my question, i.e. has anyone > asked internally if Adobe would be ok to host the the playerglobals at: > https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Frepo.adobe.com%2Fnexus%2Fcontent%2Fgroups%2Fpublic&data=02%7C01%7Caharui%40adobe.com%7Cfff341b00a5f4502127808d6de72e95e%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636940982472103933&sdata=txEVmSZLeCe%2FnGreApXTfAq%2BSnA9sCS5pixNxCXsSqk%3D&reserved=0 > > (2) > Beyond that I was eventually able to repro Carlos' issue on windows. This > was a tough one to find. > I believe the build issue is related to this commit: > https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs%2Fcommit%2Fa89b07a60179f0568d2441445f1396e160a13ae5&data=02%7C01%7Caharui%40adobe.com%7Cfff341b00a5f4502127808d6de72e95e%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636940982472113926&sdata=a9VaMIJ7ynahRw6vwerx9Wj8k0ckd3G6yCvbQGchRvg%3D&reserved=0 > I got it to work again by changing this value from from true to false: > https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs%2Fblob%2Fa89b07a60179f0568d2441445f1396e160a13ae5%2Fpom.xml%23L62&data=02%7C01%7Caharui%40adobe.com%7Cfff341b00a5f4502127808d6de72e95e%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636940982472113926&sdata=i8v2WqAOywsSbYItA433ftw%2BwN9uJ4CCne68rRDN%2FiI%3D&reserved=0 > > I see in a later commit comment something about this being optional. Alex, > what did you intend the default to be, is it possible it should be the > opposite in that parent pom (which fixes the build for me)? > > > > > > On Wed, May 22, 2019 at 9:15 AM Greg Dove <[email protected]> wrote: > >> >> I tried building the compiler after deleting the playerglobal part of m2. >> It failed on the tests. But you are skipping tests which should be >> optional. >> >> I manged to get that working by adding : >> >> <dependency> >> <groupId>com.adobe.flash.framework</groupId> >> <artifactId>playerglobal</artifactId> >> <version>${flash.version}</version> >> <type>swc</type> >> <scope>test</scope> >> </dependency> >> >> to the bottom of the royale-compiler/compiler/pom.xml >> (I put it in test scope which seemed 'right' for me, but I am not a maven >> expert!) >> >> I will see what happens with the rest of the build, which is proceeding. >> I will try to repro your issue. >> >> >> On Wed, May 22, 2019 at 8:53 AM Carlos Rovira <[email protected]> >> wrote: >> >>> Greg, >>> I tried to copy >>> >>> m2\repository\com\adobe\flash\framework\playerglobal >>> >>> folder (I have there 11.1, 15.0, 20.0 and 27.0), but the error is the >>> same >>> >>> >>> >>> El mar., 21 may. 2019 a las 22:26, Carlos Rovira (< >>> [email protected]>) >>> escribió: >>> >>> > ok Greg >>> > >>> > thanks for trying. I'm afraid that others trying Royale for the first >>> time >>> > find stuck in this kind of error. >>> > Finally I'd like to make a video tutorial with something from scratch >>> > since people is demanding it >>> > So getting things working from 0 would be great to plan that video >>> > >>> > thanks >>> > >>> > Carlos >>> > >>> > >>> > El mar., 21 may. 2019 a las 21:47, Greg Dove (<[email protected]>) >>> > escribió: >>> > >>> >> In the past I had issues I think sometimes with missing correct >>> >> playerglobal. I recall one time manually installing it in >>> >> >>> >> .m2\repository\com\adobe\flash\framework\playerglobal >>> >> >>> >> iirc this is something that may not be apparent unless you have a >>> fresh >>> >> start with maven. >>> >> I will try the same thing later today, and see if I have the same >>> issue. >>> >> If >>> >> it is that issue, then maybe it can be solved by declaring it in a >>> pom.xml >>> >> (e.g. for Binding) - I will see if I can figure it out. >>> >> >>> >> >>> >> >>> >> >>> >> >>> >> On Wed, May 22, 2019 at 7:14 AM Carlos Rovira < >>> [email protected]> >>> >> wrote: >>> >> >>> >> > Hi, >>> >> > >>> >> > I'm trying to build from scratch with maven to see what problems we >>> >> could >>> >> > have. >>> >> > So I removed my .m2/repository forcing maven to download again all >>> >> > dependencies >>> >> > >>> >> > I know first time is different and follow this guide [1] >>> >> > >>> >> > I was able to build compiler and typedefs without problem >>> >> > >>> >> > but when reach to Royale-asjs, I run: >>> >> > >>> >> > mvn -s settings-template.xml -DskipTests clean install >>> >> > >>> >> > And build failed in Core: >>> >> > >>> >> > [*INFO*] *--- *maven-remote-resources-plugin:1.5:process >>> >> > *(process-resource-bundles)* @ Binding* ---* >>> >> > >>> >> > Downloading from apache-snapshots: >>> >> > >>> >> > >>> >> >>> https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Frepository.apache.org%2Fsnapshots%2Forg%2Fapache%2Froyale%2Fframework%2FCore%2F0.9.6-SNAPSHOT%2FCore-0.9.6-SNAPSHOT-swf.swc&data=02%7C01%7Caharui%40adobe.com%7Cfff341b00a5f4502127808d6de72e95e%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636940982472113926&sdata=72VMlzOz4OC4%2FCDvKCCfUYnNI5kX%2FuJ4%2Fw%2FxTT9mux0%3D&reserved=0 >>> >> > >>> >> > Downloading from apache.snapshots: >>> >> > >>> >> > >>> >> >>> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Frepository.apache.org%2Fsnapshots%2Forg%2Fapache%2Froyale%2Fframework%2FCore%2F0.9.6-SNAPSHOT%2FCore-0.9.6-SNAPSHOT-swf.swc&data=02%7C01%7Caharui%40adobe.com%7Cfff341b00a5f4502127808d6de72e95e%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636940982472113926&sdata=%2BH05tFzefMu3KyC4fScAECCSm7xwOW7RWLA%2BUV2gIac%3D&reserved=0 >>> >> > >>> >> > [*INFO*] >>> >> > >>> >> >>> *------------------------------------------------------------------------* >>> >> > >>> >> > [*INFO*] *Reactor Summary for Apache Royale: Framework: Parent >>> >> > 0.9.6-SNAPSHOT:* >>> >> > >>> >> > [*INFO*] >>> >> > >>> >> > [*INFO*] Apache Royale: Framework: Parent ................... >>> *SUCCESS* >>> >> [ >>> >> > 1.597 s] >>> >> > >>> >> > [*INFO*] Apache Royale: Framework ........................... >>> *SUCCESS* >>> >> [ >>> >> > 0.239 s] >>> >> > >>> >> > [*INFO*] Apache Royale: Framework: Fonts .................... >>> *SUCCESS* >>> >> [ >>> >> > 3.678 s] >>> >> > >>> >> > [*INFO*] Apache Royale: Framework: Libs ..................... >>> *SUCCESS* >>> >> [ >>> >> > 0.576 s] >>> >> > >>> >> > [*INFO*] Apache Royale: Framework: Libs: Core ............... >>> *SUCCESS* >>> >> [ >>> >> > 4.432 s] >>> >> > >>> >> > [*INFO*] Apache Royale: Framework: Libs: Binding ............ >>> *FAILURE* >>> >> [ >>> >> > 0.663 s] >>> >> > >>> >> > [*INFO*] Apache Royale: Framework: Libs: Collections ........ >>> *SKIPPED* >>> >> > >>> >> > The error is >>> >> > >>> >> > [*INFO*] >>> >> > >>> >> >>> *------------------------------------------------------------------------* >>> >> > >>> >> > [*INFO*] *BUILD FAILURE* >>> >> > >>> >> > [*INFO*] >>> >> > >>> >> >>> *------------------------------------------------------------------------* >>> >> > >>> >> > [*INFO*] Total time: 12.124 s >>> >> > >>> >> > [*INFO*] Finished at: 2019-05-21T21:07:04+02:00 >>> >> > >>> >> > [*INFO*] >>> >> > >>> >> >>> *------------------------------------------------------------------------* >>> >> > >>> >> > [*ERROR*] Failed to execute goal >>> >> > org.apache.maven.plugins:maven-remote-resources-plugin:1.5:process >>> >> > *(process-resource-bundles)* on project Binding: *Failed to resolve >>> >> > dependencies for one or more projects in the reactor. Reason: >>> Missing:* >>> >> > >>> >> > [*ERROR*] *----------* >>> >> > >>> >> > [*ERROR*] *1) >>> org.apache.royale.framework:Core:swc:swf:0.9.6-SNAPSHOT* >>> >> > >>> >> > [*ERROR*] >>> >> > >>> >> > [*ERROR*] * Try downloading the file manually from the project >>> >> website.* >>> >> > >>> >> > [*ERROR*] >>> >> > >>> >> > [*ERROR*] * Then, install it using the command: * >>> >> > >>> >> > [*ERROR*] * mvn install:install-file >>> >> > -DgroupId=org.apache.royale.framework -DartifactId=Core >>> >> > -Dversion=0.9.6-SNAPSHOT -Dclassifier=swf -Dpackaging=swc >>> >> > -Dfile=/path/to/file* >>> >> > >>> >> > [*ERROR*] >>> >> > >>> >> > [*ERROR*] * Alternatively, if you host your own repository you can >>> >> deploy >>> >> > the file there: * >>> >> > >>> >> > [*ERROR*] * mvn deploy:deploy-file >>> >> > -DgroupId=org.apache.royale.framework -DartifactId=Core >>> >> > -Dversion=0.9.6-SNAPSHOT -Dclassifier=swf -Dpackaging=swc >>> >> > -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]* >>> >> > >>> >> > [*ERROR*] >>> >> > >>> >> > [*ERROR*] * Path to dependency: * >>> >> > >>> >> > [*ERROR*] * 1) >>> org.apache.royale.framework:Binding:swc:0.9.6-SNAPSHOT* >>> >> > >>> >> > [*ERROR*] * 2) >>> org.apache.royale.framework:Core:swc:swf:0.9.6-SNAPSHOT* >>> >> > >>> >> > [*ERROR*] >>> >> > >>> >> > [*ERROR*] *----------* >>> >> > >>> >> > [*ERROR*] *1 required artifact is missing.* >>> >> > >>> >> > [*ERROR*] >>> >> > >>> >> > [*ERROR*] *for artifact: * >>> >> > >>> >> > [*ERROR*] * org.apache.royale.framework:Binding:swc:0.9.6-SNAPSHOT* >>> >> > >>> >> > [*ERROR*] >>> >> > >>> >> > [*ERROR*] *from the specified remote repositories:* >>> >> > >>> >> > [*ERROR*] * apache-snapshots ( >>> https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Frepository.apache.org%2Fsnapshots%2F&data=02%7C01%7Caharui%40adobe.com%7Cfff341b00a5f4502127808d6de72e95e%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636940982472113926&sdata=rMQkzTH0Efe%2FAa7fNJyzeE61IYjd%2FPX%2FSutnpmv0wE0%3D&reserved=0 >>> >> > <https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Frepository.apache.org%2Fsnapshots%2F&data=02%7C01%7Caharui%40adobe.com%7Cfff341b00a5f4502127808d6de72e95e%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636940982472113926&sdata=rMQkzTH0Efe%2FAa7fNJyzeE61IYjd%2FPX%2FSutnpmv0wE0%3D&reserved=0>, releases=false, >>> >> > snapshots=true),* >>> >> > >>> >> > [*ERROR*] * apache-release >>> >> > (https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Frepository.apache.org%2Fcontent%2Frepositories%2Freleases&data=02%7C01%7Caharui%40adobe.com%7Cfff341b00a5f4502127808d6de72e95e%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636940982472113926&sdata=iI%2FRUoIHg9NrV3X1feaUg0infvjO3BXiBlVJkxJNkdo%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%7Cfff341b00a5f4502127808d6de72e95e%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636940982472113926&sdata=iI%2FRUoIHg9NrV3X1feaUg0infvjO3BXiBlVJkxJNkdo%3D&reserved=0>, >>> >> > releases=true, snapshots=false),* >>> >> > >>> >> > [*ERROR*] * apache.snapshots ( >>> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Frepository.apache.org%2Fsnapshots&data=02%7C01%7Caharui%40adobe.com%7Cfff341b00a5f4502127808d6de72e95e%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636940982472113926&sdata=lNaRCTdwpCVayCJiy1kjB5Fxt8Sk%2F9sa1mSVJd7qIHQ%3D&reserved=0 >>> >> > <https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Frepository.apache.org%2Fsnapshots&data=02%7C01%7Caharui%40adobe.com%7Cfff341b00a5f4502127808d6de72e95e%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636940982472113926&sdata=lNaRCTdwpCVayCJiy1kjB5Fxt8Sk%2F9sa1mSVJd7qIHQ%3D&reserved=0>, releases=false, >>> >> > snapshots=true),* >>> >> > >>> >> > [*ERROR*] * central (https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Frepo.maven.apache.org%2Fmaven2&data=02%7C01%7Caharui%40adobe.com%7Cfff341b00a5f4502127808d6de72e95e%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636940982472113926&sdata=pmVx65TQ9Gw7FGBdkDzSNp1eRIg4J%2BdXjkXXss7XdTs%3D&reserved=0 >>> >> > <https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Frepo.maven.apache.org%2Fmaven2&data=02%7C01%7Caharui%40adobe.com%7Cfff341b00a5f4502127808d6de72e95e%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636940982472113926&sdata=pmVx65TQ9Gw7FGBdkDzSNp1eRIg4J%2BdXjkXXss7XdTs%3D&reserved=0>, releases=true, >>> >> snapshots=false)* >>> >> > >>> >> > [*ERROR*] >>> >> > >>> >> > [*ERROR*] -> *[Help 1]* >>> >> > >>> >> > Someone knows the way to solve this? >>> >> > >>> >> > I don't know if this is something related to some change in past >>> >> months, or >>> >> > maybe I'm doing something wrong, but was trying multiple things >>> without >>> >> > success. >>> >> > >>> >> > Thanks in advance for any advice on this >>> >> > >>> >> > Carlos >>> >> > >>> >> > [1] >>> >> > >>> >> >>> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs%2Fwiki%2FBuild-Apache-Royale-with-Maven&data=02%7C01%7Caharui%40adobe.com%7Cfff341b00a5f4502127808d6de72e95e%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636940982472113926&sdata=L6EQ0HSz1LIgwXpTwr5OasFdq8iUvvemnLW%2BkpPiT8k%3D&reserved=0 >>> >> > >>> >> > -- >>> >> > Carlos Rovira >>> >> > https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%7Cfff341b00a5f4502127808d6de72e95e%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636940982472113926&sdata=LPc3CusrI7k60kA6CrbimJEPhFnHr3mahelbL54FMMI%3D&reserved=0 >>> >> > >>> >> >>> > >>> > >>> > -- >>> > Carlos Rovira >>> > https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%7Cfff341b00a5f4502127808d6de72e95e%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636940982472113926&sdata=LPc3CusrI7k60kA6CrbimJEPhFnHr3mahelbL54FMMI%3D&reserved=0 >>> > >>> > >>> >>> -- >>> Carlos Rovira >>> https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%7Cfff341b00a5f4502127808d6de72e95e%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636940982472113926&sdata=LPc3CusrI7k60kA6CrbimJEPhFnHr3mahelbL54FMMI%3D&reserved=0 >>> >>
