One other thing, just to share another observation...

At the project level :
https://github.com/apache/royale-asjs/blob/a89b07a60179f0568d2441445f1396e160a13ae5/.mvn/extensions.xml

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://repo.adobe.com/nexus/content/groups/public
>
> (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://github.com/apache/royale-asjs/commit/a89b07a60179f0568d2441445f1396e160a13ae5
> I got it to work again by changing this value from from true to false:
> https://github.com/apache/royale-asjs/blob/a89b07a60179f0568d2441445f1396e160a13ae5/pom.xml#L62
>
> 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:
>>> >> >
>>> >> >
>>> >>
>>> http://repository.apache.org/snapshots/org/apache/royale/framework/Core/0.9.6-SNAPSHOT/Core-0.9.6-SNAPSHOT-swf.swc
>>> >> >
>>> >> > Downloading from apache.snapshots:
>>> >> >
>>> >> >
>>> >>
>>> https://repository.apache.org/snapshots/org/apache/royale/framework/Core/0.9.6-SNAPSHOT/Core-0.9.6-SNAPSHOT-swf.swc
>>> >> >
>>> >> > [*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 (
>>> http://repository.apache.org/snapshots/
>>> >> > <http://repository.apache.org/snapshots/>, releases=false,
>>> >> > snapshots=true),*
>>> >> >
>>> >> > [*ERROR*] *  apache-release
>>> >> > (https://repository.apache.org/content/repositories/releases
>>> >> > <https://repository.apache.org/content/repositories/releases>,
>>> >> > releases=true, snapshots=false),*
>>> >> >
>>> >> > [*ERROR*] *  apache.snapshots (
>>> https://repository.apache.org/snapshots
>>> >> > <https://repository.apache.org/snapshots>, releases=false,
>>> >> > snapshots=true),*
>>> >> >
>>> >> > [*ERROR*] *  central (https://repo.maven.apache.org/maven2
>>> >> > <https://repo.maven.apache.org/maven2>, 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://github.com/apache/royale-asjs/wiki/Build-Apache-Royale-with-Maven
>>> >> >
>>> >> > --
>>> >> > Carlos Rovira
>>> >> > http://about.me/carlosrovira
>>> >> >
>>> >>
>>> >
>>> >
>>> > --
>>> > Carlos Rovira
>>> > http://about.me/carlosrovira
>>> >
>>> >
>>>
>>> --
>>> Carlos Rovira
>>> http://about.me/carlosrovira
>>>
>>

Reply via email to