You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@royale.apache.org by Serkan Taş <se...@likyateknoloji.com> on 2017/11/19 18:04:46 UTC

ant and mvn error...

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.cloudapp.net:8080/job/royale-asjs-jsonly/lastSuccessfulBuild/artifact/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


Re: ant and mvn error...

Posted by Piotr Zarzycki <pi...@gmail.com>.
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ş <se...@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/
> artifact/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>*