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

Reply via email to