ant and mvn error...

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

ant and mvn error...

Serkan Taş
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

Reply | Threaded
Open this post in threaded view
|

Re: ant and mvn error...

Piotr Zarzycki
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ş <[hidden email]>:
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




--

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki