Class UseNextReleasesMojo

All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

@Mojo(name="use-next-releases", threadSafe=true) public class UseNextReleasesMojo extends UseLatestVersionsMojoBase
Replaces any release versions with the next release version (if it has been released).
Since:
1.0-alpha-3
Author:
Stephen Connolly
  • Field Details

    • allowDowngrade

      @Parameter(property="allowDowngrade", defaultValue="false") protected boolean allowDowngrade

      Whether to downgrade a snapshot dependency if allowSnapshots is false and there exists a non-snapshot version within the range fulfilling the criteria.

      Only valid if allowSnapshots is false.

      Since:
      2.15.0
  • Constructor Details

    • UseNextReleasesMojo

      @Inject public UseNextReleasesMojo(org.apache.maven.artifact.handler.manager.ArtifactHandlerManager artifactHandlerManager, org.eclipse.aether.RepositorySystem repositorySystem, Map<String,org.apache.maven.wagon.Wagon> wagonMap, Map<String,ChangeRecorder> changeRecorders)
  • Method Details