It is also not recommended to do that manually. Maven has special commands
for such things.

On Mon, Jul 13, 2020, 8:06 AM Yishay Weiss <yishayj...@hotmail.com> wrote:

> You shouldn’t need to remove -SNAPSHOT manually. That should happen as
> part of (Royale) release step 2, which run mvn release:prepare [1]
>
> [1]
> https://maven.apache.org/maven-release/maven-release-plugin/examples/prepare-release.html
>
> From: Harbs<mailto:harbs.li...@gmail.com>
> Sent: Sunday, July 12, 2020 10:47 PM
> To: Apache Royale Development<mailto:dev@royale.apache.org>
> Subject: Re: Royale_Release_Step_002 - Build # 50 - Still Failing!
>
> Or in other words, how does maven-release-plugin work?
>
> > On Jul 12, 2020, at 10:46 PM, Harbs <harbs.li...@gmail.com> wrote:
> >
> > I’m not sure what’s supposed to be happening here. I thought that as
> part of step 1, the release/0.9.8 branch gets the poms sans the -SNAPSHOT,
> but they still say 0.9.8-SNAPSHOT
> >
> > I tried removing -SNAPSHOT manually, but that didn’t help either.
> >
> > With -SNAPSHOT, I get an error:
> >
> > [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-release-plugin:3.0.0-M1:prepare
> (default-cli) on project royale-compiler-parent: Can't release project due
> to non released dependencies :
> > [ERROR]
>  
> org.apache.royale.compiler:compiler-build-tools:maven-plugin:1.2.1-SNAPSHOT:runtime
> > [ERROR] in project 'Apache Royale: Compiler: Externc'
> (org.apache.royale.compiler:compiler-externc:jar:0.9.8-SNAPSHOT)
> >
> >
> > Without the -SNAPSHOT, I get an error:
> > [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-release-plugin:3.0.0-M1:prepare
> (default-cli) on project royale-compiler-parent: You don't have a SNAPSHOT
> project in the reactor projects list. -> [Help 1]
> > Maven is black magic to me… ;-)
> >
> > Any pointers?
> >
> > Harbs
> >
> >> On Jul 12, 2020, at 10:34 PM, apacheroyal...@gmail.com wrote:
> >>
> >> Royale_Release_Step_002 - Build # 50 - Still Failing:
> >>
> >> Check console output at
> http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/Royale_Release_Step_002/50/
> to view the results.
> >
>
>

Reply via email to