royale-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Piotr Zarzycki <piotrzarzyck...@gmail.com>
Subject Re: Re: ant and mvn error...
Date Sun, 19 Nov 2017 20:31:44 GMT
Hi Serkan,

Sorry for inconvenience. I will look into that in the meantime I modified
for you pom.xml which is inside CreateJSExample [1]. Change it with mine. I
have commented out flash dependency and make it build to JS only by adding
<targets>JSRoyale</targets>

[1] https://paste.apache.org/sKng

Thanks, Piotr


2017-11-19 21:19 GMT+01:00 Serkan Taş <serkan.tas@likyateknoloji.com>:

>
>
> Here it is :
>
>
> \apache-royale-jsonly-0.9.0-bin\examples\royale\CreateJSExample>mvn clean
> install -s D:\dev\apache-royale-jsonly-0.9.0-bin\settings-template.xml
> [INFO] Scanning for projects...
> [INFO]
> [INFO] ------------------------------------------------------------
> ------------
> [INFO] Building Apache Royale: Examples: Royale: CreateJSExample
> 0.9.0-SNAPSHOT
> [INFO] ------------------------------------------------------------
> ------------
> [WARNING] The POM for com.adobe.flash.framework:playerglobal:swc:20.0 is
> missing, no dependency information available
> [INFO] ------------------------------------------------------------
> ------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------
> ------------
> [INFO] Total time: 1.635 s
> [INFO] Finished at: 2017-11-19T21:16:58+03:00
> [INFO] Final Memory: 13M/220M
> [INFO] ------------------------------------------------------------
> ------------
> [ERROR] Failed to execute goal on project CreateJSExample: Could not
> resolve dependencies for project org.apache.royale.examples:
> CreateJSExample:swf:0.9.0-SNAPSHOT: Failure to find
>  com.adobe.flash.framework:playerglobal:swc:20.0 in
> https://repository.apache.org/content/repositories/releases was cached in
> the local repository, resolution will not be reattempt
> ed until the update interval of apache-release has elapsed or updates are
> forced -> [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/
> DependencyResolutionException
>
> 19.11.2017 21:11 tarihinde Piotr Zarzycki yazdı:
>
> Hi Serkan,
>
> In order to build this example you probably have to point to maven from
> what place it should download artifacts require for build. In that case use
> "settings-template.xml" which is in main folder of downloaded framework.
>
> command: mvn clean install -s "path to settings-template.xml".
>
> Let me know what is the results.
>
> Thanks, Piotr
>
>
> 2017-11-19 19:04 GMT+01:00 Serkan Taş <serkan.tas@likyateknoloji.com>:
>
>> hi,
>>
>> when i am trying to build one of the examples - CreateJSExample - mvn and
>> ant i got the following errors :
>>
>> I downloaded the file :http://apacheflexbuild.clouda
>> pp.net:8080/job/royale-asjs-jsonly/lastSuccessfulBuild/artif
>> act/out/apache-royale-jsonly-0.9.0-bin.zip
>>
>> folder  : \apache-royale-jsonly-0.9.0-bin\examples\royale\CreateJSExample
>>
>> with ant :
>>
>> BUILD FAILED
>> \apache-royale-jsonly-0.9.0-bin\examples\build_example.xml:152: The
>> <mxmlc> type doesn't support the "swf-version" attribute.
>>
>> with maven :
>>
>> \apache-royale-jsonly-0.9.0-bin\examples\royale\CreateJSExample>mvn
>> compile
>> [INFO] Scanning for projects...
>> [INFO]
>> [INFO] ------------------------------------------------------------
>> ------------
>> [INFO] Building Apache Royale: Examples: Royale: CreateJSExample
>> 0.9.0-SNAPSHOT
>> [INFO] ------------------------------------------------------------
>> ------------
>> [INFO]
>> [INFO] --- maven-remote-resources-plugin:1.5:process
>> (process-resource-bundles) @ CreateJSExample ---
>> [INFO] ------------------------------------------------------------
>> ------------
>> [INFO] BUILD FAILURE
>> [INFO] ------------------------------------------------------------
>> ------------
>> [INFO] Total time: 1.622 s
>> [INFO] Finished at: 2017-11-19T21:01:36+03:00
>> [INFO] Final Memory: 13M/155M
>> [INFO] ------------------------------------------------------------
>> ------------
>> [ERROR] Failed to execute goal org.apache.maven.plugins:maven
>> -remote-resources-plugin:1.5:process (process-resource-bundles) on
>> project CreateJSExample: Execution process-resource-
>> bundles of goal org.apache.maven.plugins:maven
>> -remote-resources-plugin:1.5:process failed: A required class was
>> missing while executing org.apache.maven.plugins:maven-remote-resour
>> ces-plugin:1.5:process: org/apache/commons/collections/ExtendedProperties
>>
>>
>
>
> --
>
> Piotr Zarzycki
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://www.patreon.com/piotrzarzycki>*
>
>
>


-- 

Piotr Zarzycki

Patreon: *https://www.patreon.com/piotrzarzycki
<https://www.patreon.com/piotrzarzycki>*

Mime
View raw message