You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@royale.apache.org by Yishay Weiss <yi...@hotmail.com> on 2021/04/15 14:05:31 UTC
Building Maven Distribution
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]
Re: Building Maven Distribution
Posted by Yishay Weiss <yi...@hotmail.com>.
This is probably due to the fact I was doing some manual editing and git pushes which messed up the release. I'm going to start another RC next week.
________________________________
From: Yishay Weiss <yi...@hotmail.com>
Sent: Friday, April 16, 2021 7:02 AM
To: dev@royale.apache.org <de...@royale.apache.org>
Subject: RE: Building Maven Distribution
C:\jenkins\workspace\Royale_Release_Step_010\distribution\jars\compiler-mxmljsc\target\compiler-mxmljsc-0.9.8.jar
Cannot be archived because it does not exist. What does exist is
C:\jenkins\workspace\Royale_Release_Step_010\distribution\jars\compiler-mxmljsc\target\compiler-mxmljsc-0.9.9.jar
Not sure where the version got bumped.
From: Yishay Weiss<ma...@hotmail.com>
Sent: Friday, April 16, 2021 9:58 AM
To: dev@royale.apache.org<ma...@royale.apache.org>
Subject: RE: Building Maven Distribution
I’m getting the same error on the CI server [1], when running from the project root.
C:\jenkins\workspace\Royale_Release_Step_010>exit 0
[Royale_Release_Step_010] $ cmd.exe /C "mvn --batch-mode "-Proyale-release,apache-release,with-distribution,with-examples,with-manualtests,option-with-swf" release:prepare -Dtag=org.apache.royale.framework-0.9.8-rc2 -DpushChanges=false -Dusername=yishayw -DautoVersionSubmodules=true -Dcom.adobe.systemIdsForWhichTheTermsOfTheAdobeLicenseAgreementAreAccepted=35b7e7b4 -Dwebdriver.gecko.driver=C:\geckodriver\geckodriver.exe -Dgenerate.swf.swcs=true -Dgenerate.swf && exit %%ERRORLEVEL%%"
[1] Royale_Release_Step_010 #21 Console [Jenkins] (azure.com)<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/view/Royale_Release_Steps/job/Royale_Release_Step_010/21/console>
From: Josh Tynjala<ma...@bowlerhat.dev>
Sent: Thursday, April 15, 2021 7:32 PM
To: Apache Royale Development<ma...@royale.apache.org>
Subject: Re: Building Maven Distribution
Good to know. However, assuming that Yishay is building the distribution as
part of his efforts to do a release, it's probably best for him to run the
longer clean build from the root so that he can be sure that his
distribution doesn't unexpectedly include older build output.
--
Josh Tynjala
Bowler Hat LLC <https://bowlerhat.dev>
On Thu, Apr 15, 2021 at 9:24 AM Piotr Zarzycki <pi...@gmail.com>
wrote:
> Josh,
>
> It is possible to generate distribution by running following command from
> distribution folder;
>
> mvn clean install DdistributionTargetFolder=path_to_empty_folder
>
> Maybe it is neccassery build sdk upfront in first attempt, but later
> creating distribution is a matter of 5 minutes max.
>
> Thanks,
> Piotr
>
> czw., 15 kwi 2021 o 18:20 Josh Tynjala <jo...@bowlerhat.dev>
> napisał(a):
>
> > 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 <yi...@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]
> > >
> >
>
>
> --
>
> Piotr Zarzycki
>
RE: Building Maven Distribution
Posted by Yishay Weiss <yi...@hotmail.com>.
C:\jenkins\workspace\Royale_Release_Step_010\distribution\jars\compiler-mxmljsc\target\compiler-mxmljsc-0.9.8.jar
Cannot be archived because it does not exist. What does exist is
C:\jenkins\workspace\Royale_Release_Step_010\distribution\jars\compiler-mxmljsc\target\compiler-mxmljsc-0.9.9.jar
Not sure where the version got bumped.
From: Yishay Weiss<ma...@hotmail.com>
Sent: Friday, April 16, 2021 9:58 AM
To: dev@royale.apache.org<ma...@royale.apache.org>
Subject: RE: Building Maven Distribution
I’m getting the same error on the CI server [1], when running from the project root.
C:\jenkins\workspace\Royale_Release_Step_010>exit 0
[Royale_Release_Step_010] $ cmd.exe /C "mvn --batch-mode "-Proyale-release,apache-release,with-distribution,with-examples,with-manualtests,option-with-swf" release:prepare -Dtag=org.apache.royale.framework-0.9.8-rc2 -DpushChanges=false -Dusername=yishayw -DautoVersionSubmodules=true -Dcom.adobe.systemIdsForWhichTheTermsOfTheAdobeLicenseAgreementAreAccepted=35b7e7b4 -Dwebdriver.gecko.driver=C:\geckodriver\geckodriver.exe -Dgenerate.swf.swcs=true -Dgenerate.swf && exit %%ERRORLEVEL%%"
[1] Royale_Release_Step_010 #21 Console [Jenkins] (azure.com)<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/view/Royale_Release_Steps/job/Royale_Release_Step_010/21/console>
From: Josh Tynjala<ma...@bowlerhat.dev>
Sent: Thursday, April 15, 2021 7:32 PM
To: Apache Royale Development<ma...@royale.apache.org>
Subject: Re: Building Maven Distribution
Good to know. However, assuming that Yishay is building the distribution as
part of his efforts to do a release, it's probably best for him to run the
longer clean build from the root so that he can be sure that his
distribution doesn't unexpectedly include older build output.
--
Josh Tynjala
Bowler Hat LLC <https://bowlerhat.dev>
On Thu, Apr 15, 2021 at 9:24 AM Piotr Zarzycki <pi...@gmail.com>
wrote:
> Josh,
>
> It is possible to generate distribution by running following command from
> distribution folder;
>
> mvn clean install DdistributionTargetFolder=path_to_empty_folder
>
> Maybe it is neccassery build sdk upfront in first attempt, but later
> creating distribution is a matter of 5 minutes max.
>
> Thanks,
> Piotr
>
> czw., 15 kwi 2021 o 18:20 Josh Tynjala <jo...@bowlerhat.dev>
> napisał(a):
>
> > 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 <yi...@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]
> > >
> >
>
>
> --
>
> Piotr Zarzycki
>
RE: Building Maven Distribution
Posted by Yishay Weiss <yi...@hotmail.com>.
I’m getting the same error on the CI server [1], when running from the project root.
C:\jenkins\workspace\Royale_Release_Step_010>exit 0
[Royale_Release_Step_010] $ cmd.exe /C "mvn --batch-mode "-Proyale-release,apache-release,with-distribution,with-examples,with-manualtests,option-with-swf" release:prepare -Dtag=org.apache.royale.framework-0.9.8-rc2 -DpushChanges=false -Dusername=yishayw -DautoVersionSubmodules=true -Dcom.adobe.systemIdsForWhichTheTermsOfTheAdobeLicenseAgreementAreAccepted=35b7e7b4 -Dwebdriver.gecko.driver=C:\geckodriver\geckodriver.exe -Dgenerate.swf.swcs=true -Dgenerate.swf && exit %%ERRORLEVEL%%"
[1] Royale_Release_Step_010 #21 Console [Jenkins] (azure.com)<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/view/Royale_Release_Steps/job/Royale_Release_Step_010/21/console>
From: Josh Tynjala<ma...@bowlerhat.dev>
Sent: Thursday, April 15, 2021 7:32 PM
To: Apache Royale Development<ma...@royale.apache.org>
Subject: Re: Building Maven Distribution
Good to know. However, assuming that Yishay is building the distribution as
part of his efforts to do a release, it's probably best for him to run the
longer clean build from the root so that he can be sure that his
distribution doesn't unexpectedly include older build output.
--
Josh Tynjala
Bowler Hat LLC <https://bowlerhat.dev>
On Thu, Apr 15, 2021 at 9:24 AM Piotr Zarzycki <pi...@gmail.com>
wrote:
> Josh,
>
> It is possible to generate distribution by running following command from
> distribution folder;
>
> mvn clean install DdistributionTargetFolder=path_to_empty_folder
>
> Maybe it is neccassery build sdk upfront in first attempt, but later
> creating distribution is a matter of 5 minutes max.
>
> Thanks,
> Piotr
>
> czw., 15 kwi 2021 o 18:20 Josh Tynjala <jo...@bowlerhat.dev>
> napisał(a):
>
> > 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 <yi...@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]
> > >
> >
>
>
> --
>
> Piotr Zarzycki
>
Re: Building Maven Distribution
Posted by Josh Tynjala <jo...@bowlerhat.dev>.
Good to know. However, assuming that Yishay is building the distribution as
part of his efforts to do a release, it's probably best for him to run the
longer clean build from the root so that he can be sure that his
distribution doesn't unexpectedly include older build output.
--
Josh Tynjala
Bowler Hat LLC <https://bowlerhat.dev>
On Thu, Apr 15, 2021 at 9:24 AM Piotr Zarzycki <pi...@gmail.com>
wrote:
> Josh,
>
> It is possible to generate distribution by running following command from
> distribution folder;
>
> mvn clean install DdistributionTargetFolder=path_to_empty_folder
>
> Maybe it is neccassery build sdk upfront in first attempt, but later
> creating distribution is a matter of 5 minutes max.
>
> Thanks,
> Piotr
>
> czw., 15 kwi 2021 o 18:20 Josh Tynjala <jo...@bowlerhat.dev>
> napisał(a):
>
> > 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 <yi...@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]
> > >
> >
>
>
> --
>
> Piotr Zarzycki
>
Re: Building Maven Distribution
Posted by Piotr Zarzycki <pi...@gmail.com>.
Josh,
It is possible to generate distribution by running following command from
distribution folder;
mvn clean install DdistributionTargetFolder=path_to_empty_folder
Maybe it is neccassery build sdk upfront in first attempt, but later
creating distribution is a matter of 5 minutes max.
Thanks,
Piotr
czw., 15 kwi 2021 o 18:20 Josh Tynjala <jo...@bowlerhat.dev>
napisał(a):
> 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 <yi...@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]
> >
>
--
Piotr Zarzycki
Re: Building Maven Distribution
Posted by Josh Tynjala <jo...@bowlerhat.dev>.
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 <yi...@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]
>