Did you clean the project first ?
Try to delete the bin folder and compile again.

Maria Jose Esteve <mjest...@iest.com> escreveu no dia sábado, 30/10/2021
à(s) 17:09:

> Hello,
> I'm updating some sample projects I have published to compile with the
> 0.9.9 version of the SDK but I'm getting this error:
>
> [ERROR] Failed to execute goal
> org.apache.royale.compiler:royale-maven-plugin:0.9.9-SNAPSHOT:compile-as
> (default-compile-as) on project royale-echarts: Could not resolve
> dependencies for project
> org.apache.royale.community.echarts:royale-echarts:swc:1.0-SNAPSHOT: The
> following artifacts could not be resolved:
> org.apache.royale.framework:Core:swc:swf:0.9.9-SNAPSHOT,
> org.apache.royale.framework:Collections:swc:swf:0.9.9-SNAPSHOT,
> org.apache.royale.framework:Network:swc:swf:0.9.9-SNAPSHOT,
> org.apache.royale.framework:HTML:swc:swf:0.9.9-SNAPSHOT,
> org.apache.royale.framework:Basic:swc:swf:0.9.9-SNAPSHOT: Could not find
> artifact org.apache.royale.framework:Core:swc:swf:0.9.9-SNAPSHOT in
> apache-snapshots (
> https://repository.apache.org/content/repositories/snapshots)
>
> I compile with Maven, and I have 3 initial variables where I indicate the
> version:
>
>   <properties>
>     <compiler.debug>true</compiler.debug>
>     <royale.framework.version>0.9.9-SNAPSHOT</royale.framework.version>
>     <royale.compiler.version>0.9.9-SNAPSHOT</royale.compiler.version>
>     <royale.typedefs.version>0.9.9-SNAPSHOT</royale.typedefs.version>
>     <player.version>15.0</player.version>
>     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
>   </properties>
>
> I used to have 0.9.8-SNAPSHOT and simply switched to 0.9.9
> In the main project of my work, I did the same thing and had no problems
> at all. I have compared the pom's and I can't figure out which one is
> wrong...
> Can someone help me to solve this problem?
>
> Thx.
> Hiedra.
>

Reply via email to