You need to have a -SNAPSHOT version in your pom.xml. The version for the release will be asked for during the release process. See https://github.com/jenkinsci/email-ext-plugin/blob/master/pom.xml#L20 for an example.
On Mon, Mar 16, 2020 at 5:45 AM selva vignesh <[email protected]> wrote: > Hi team, > When i am performing release getting below error can anyone please assist > me. > > I've added *Artifactory Credentials for Maven. * > > *mvn release:prepare release:perform* > > > [INFO] Scanning for projects... > > [INFO] > > [INFO] -------------------< io.jenkins.plugins:zohosprints > >------------------- > > [INFO] Building Zoho Sprints 1.1 > > [INFO] --------------------------------[ hpi > ]--------------------------------- > > [INFO] > > [INFO] --- maven-release-plugin:2.5.3:prepare (default-cli) @ zohosprints > --- > > [INFO] > ------------------------------------------------------------------------ > > [INFO] BUILD FAILURE > > [INFO] > ------------------------------------------------------------------------ > > [INFO] Total time: 1.994 s > > [INFO] Finished at: 2020-03-16T18:11:02+05:30 > > [INFO] > ------------------------------------------------------------------------ > > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-release-plugin:2.5.3:prepare (default-cli) > on project zohosprints: You don't have a SNAPSHOT project in the reactor > projects list. -> [Help 1] > > [ERROR] > > [ERROR] To see the full stack trace of the errors, re-run Maven with the > -e switch. > > [ERROR] Re-run Maven using the -X switch to enable full debug logging. > > [ERROR] > > [ERROR] For more information about the errors and possible solutions, > please read the following articles: > > [ERROR] [Help 1] > http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException > > -- > You received this message because you are subscribed to the Google Groups > "Jenkins Developers" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-dev/f5184842-53d4-4d8c-be29-bcbc8a5f4321%40googlegroups.com > <https://groups.google.com/d/msgid/jenkinsci-dev/f5184842-53d4-4d8c-be29-bcbc8a5f4321%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- Website: http://earl-of-code.com -- You received this message because you are subscribed to the Google Groups "Jenkins Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/CAPiUgVeexZrvEkzRXM517z_5c%3D24X9VpqMStv5%3DfkX4CNBwueg%40mail.gmail.com.
