-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ERROR] Failed to execute goal org.apache.royale.compiler:royale-maven-plugin:0.9.8-SNAPSHOT:compile-extern (default-compile-extern) #16
Comments
I have the same error ! |
Hi, can you provide info about the system you're running? (O.S., version, env vars, ...) and how are you building (I see you use maven)? Are you using some predefined steps, for example [1]? or some script to build all repos with maven like this [2]? |
mvn -version |
I think Jdk 15 is still not supported. Latest I tried was 10 (maybe others could work as well) |
same error with jdk 8: |
remind that one of the error is :
|
Hi, no, the build is working right. Many of us use it daily (my first thing in the day is to sync repos and build maven and ant to ensure all continues to work ok). I'm on mac, but that's the same for others using windows and mac. So for sure is something on your set up. if using JDK8 is not making a difference, then you can try to check the links I put before and follow it closely to see what could be the difference. Right now I'm run of ideas. Sorry :( |
I got the solution : add in pom.xml :
execute : mvn -N io.takari:maven:wrapper execute mvn with this option : -Drat.numUnapprovedLicenses=100 ./mvnw -Drat.numUnapprovedLicenses=100 install and you will have : [INFO] Reactor Summary for Apache Royale: TypeDefs: Parent 0.9.8-SNAPSHOT: Note that I execute it with java 15. And it works :) |
thanks @mzamoun-veolia for posting! Hi @chrisdutz can you take a look at this? |
Well actually by running "mvn -N io.takari:maven:wrapper" you'll create/recreate the maven-wrapper ... not sure what's the difference. I do know that I added some of the files as I created them and hereby was allowed to put the Apache Header on them. If you use the version from Takari repo, that noch from Apache. Therefore it doesn't have the Apache header and therefore you need to add the rat excusions. Also I find it strange that the site plugin is required as this usually only is required in "mvn site" builds and shouldn't have any influence on the normal build lifecycle. It would be interesting to see a diff of .mvn/wrapper/maven-wrapper.properties as it's in our repo and as it is after updating it with the "mvn -N io.takari:maven:wrapper" command. |
I just checked, it's using Maven 3.6.3 instead of 3.6.0 and the maven-wrapper 0.5.6 instead of 0.5.2 ... so not really sure why there should be a difference ... and it adds the maven-wrapper.jar which is a binary and never is allowed to be in an Apache release. The scripts don't execute maven in any other way ... so I don't thing we should do this. |
I think it might be an idea to build with a clean maven local repo ... cause if the js files were fetched while there were "issues" on the site they were fetched from, then the build is broken and the only way to repair it, is by re-downloading them again. So please try again with "mvn package -Dmaven.repo.local=someDirectory" ... just to check this. |
[INFO] --- royale-maven-plugin:0.9.8-SNAPSHOT:compile-extern (default-compile-extern) @ royale-typedefs-js ---
[INFO] Executing COMPC in tool group Royale with args: [-load-config=C:\tools\royale\royale-typedefs\js\target\compile-extern-config.xml, -compiler.targets=SWF]
args:
-load-config=C:\tools\royale\royale-typedefs\js\target\compile-extern-config.xml
-compiler.targets=SWF
target:SWF
COMPC
Chargement de la configuration▒: C:\tools\royale\royale-typedefs\js\target\compile-extern-config.xml
C:\tools\royale\royale-typedefs\js\target\generated-sources\externc\functions\Symbol.as(8): col: 57 Erreur▒: Le type est introuvable ou n▒est pas une constante de compilation▒: symbol
C:\tools\royale\royale-typedefs\js\target\generated-sources\externc\interfaces\AsyncGenerator.as(15): col: 5 Erreur▒: Impossible de remplacer une m▒thode interface. next et une m▒thode dans l▒interface de base AsyncIterator sont contradictoires.
C:\tools\royale\royale-typedefs\js\target\generated-sources\externc\interfaces\Generator.as(15): col: 5 Erreur▒: Impossible de remplacer une m▒thode interface. next et une m▒thode dans l▒interface de base Iterator sont contradictoires.
C:\tools\royale\royale-typedefs\js\target\generated-sources\externc\functions\Symbol.as(8): col: 57 Le type est introuvable ou n▒est pas une constante de compilation▒: symbol
C:\tools\royale\royale-typedefs\js\target\generated-sources\externc\interfaces\AsyncGenerator.as(15): col: 5 Impossible de remplacer une m▒thode interface. next et une m▒thode dans l▒interface de base AsyncIterator sont contradictoires.
C:\tools\royale\royale-typedefs\js\target\generated-sources\externc\interfaces\Generator.as(15): col: 5 Impossible de remplacer une m▒thode interface. next et une m▒thode dans l▒interface de base Iterator sont contradictoires.
7.719535306 seconds
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 17.301 s
[INFO] Finished at: 2021-01-13T14:16:58+01:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.royale.compiler:royale-maven-plugin:0.9.8-SNAPSHOT:compile-extern (default-compile-extern) on project royale-typedefs-js: There were errors during the build. Got return code 3 -> [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] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
The text was updated successfully, but these errors were encountered: