You need to run Maven in the root of the repo rather than the distribution
folder:

C:\dev\full_royale_sdk\royale-asjs

To build a distribution you need to enable the with-distribution profile.

To include SWF support you need to enable the option-with-swf profile too.

So something like this should give you a distribution:

C:\dev\full_royale_sdk\royale-asjs>mvn clean install -P
with-distribution,option-with-swf

More details (and some additional profiles) here:

https://github.com/apache/royale-asjs/wiki/Build-Apache-Royale-with-Maven

--
Josh Tynjala
Bowler Hat LLC <https://bowlerhat.dev>


On Thu, Apr 15, 2021 at 7:05 AM Yishay Weiss <yishayj...@hotmail.com> wrote:

>
> Sorry if this has come up already but can anyone point me in the right
> direction?
>
> I ran
>
> C:\dev\full_royale_sdk\royale-asjs\distribution>mvn clean install
>
> And got
>
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-assembly-plugin:3.2.0:single
> (create-distro-packages) on project distribution: Failed to create as
> sembly: Error adding file to archive:
> C:\dev\full_royale_sdk\royale-asjs\distribution\jars\compiler-mxmljsc\target\compiler-mxmljsc-0.9.8-SNAPSHOT.jar
> -> [Help
> 1]
>

Reply via email to