[MNG-7041] Update @since, version ranges and other version related strings

This closes #404
This commit is contained in:
Michael Osipov 2020-11-28 21:21:41 +01:00
parent 3736be9c15
commit b24c34bb23
36 changed files with 40 additions and 40 deletions

View File

@ -44,7 +44,7 @@ class ReactorModelPool
private final Map<Path, Model> modelsByPath = new HashMap<>();
/**
* Get the model by its GAV or (since 3.7.0) by its GA if there is only one.
* Get the model by its GAV or (since 4.0.0) by its GA if there is only one.
*
* @param groupId, never {@code null}
* @param artifactId, never {@code null}
@ -68,7 +68,7 @@ public Model get( String groupId, String artifactId, String version )
*
* @param path
* @return the matching model or {@code null}
* @since 3.7.0
* @since 4.0.0
*/
public Model get( Path path )
{

View File

@ -30,7 +30,7 @@
* It will provide several values for the consumer pom based on its context.
*
* @author Robert Scholte
* @since 3.7.0
* @since 4.0.0
*/
public class DefaultConsumerPomXMLFilterFactory extends ConsumerPomXMLFilterFactory
{

View File

@ -23,7 +23,7 @@
* Centralized class for feature information
*
* @author Robert Scholte
* @since 3.7.0
* @since 4.0.0
*/
public final class Features
{
@ -42,7 +42,7 @@ public static Feature buildConsumer()
* Represents some feature
*
* @author Robert Scholte
* @since 3.7.0
* @since 4.0.0
*/
public static class Feature
{

View File

@ -53,7 +53,7 @@
* Subclasses are responsible for providing the right SAXFilter.
*
* @author Robert Scholte
* @since 3.7.0
* @since 4.0.0
*/
public abstract class AbstractModelSourceTransformer
implements ModelSourceTransformer

View File

@ -28,7 +28,7 @@
* Represents a model pulled from a repository
*
* @author Robert Scholte
* @since 3.7.0
* @since 4.0.0
*/
public class ArtifactModelSource extends FileSource implements ModelSource
{

View File

@ -42,7 +42,7 @@
* ModelSourceTransformer for the build pom
*
* @author Robert Scholte
* @since 3.7.0
* @since 4.0.0
*/
@Named
@Singleton

View File

@ -34,7 +34,7 @@
/**
*
* @author Robert Scholte
* @since 3.7.0
* @since 4.0.0
*/
public class DefaultBuildPomXMLFilterFactory extends BuildPomXMLFilterFactory
{

View File

@ -1561,7 +1561,7 @@ protected boolean hasFatalErrors( ModelProblemCollectorExt problems )
* All others can simply be copied from source to target to restore the locationTracker
*
* @author Robert Scholte
* @since 3.7.0
* @since 4.0.0
*/
class FileToRawModelMerger extends ModelMerger
{

View File

@ -28,7 +28,7 @@
* Default ModelSourceTransformer, provides pomFile as inputStream and ignores the context
*
* @author Robert Scholte
* @since 3.7.0
* @since 4.0.0
*/
public class DefaultModelSourceTransformer implements ModelSourceTransformer
{

View File

@ -67,7 +67,7 @@ public interface ModelBuildingRequest
/**
*
* @return the file model
* @since 3.7.0
* @since 4.0.0
*/
Model getFileModel();
@ -75,7 +75,7 @@ public interface ModelBuildingRequest
*
* @param fileModel
* @return This request, never {@code null}.
* @since 3.7.0
* @since 4.0.0
*/
ModelBuildingRequest setFileModel( Model fileModel );

View File

@ -39,7 +39,7 @@ public interface ModelCache
* @param path The path of the cache record, must not be {@code null}.
* @param tag The tag of the cache record, must not be {@code null}.
* @param data The data to store in the cache, must not be {@code null}.
* @since 3.7.0
* @since 4.0.0
*/
default void put( Source path, String tag, Object data )
{
@ -52,7 +52,7 @@ default void put( Source path, String tag, Object data )
* @param path The path of the cache record, must not be {@code null}.
* @param tag The tag of the cache record, must not be {@code null}.
* @return The requested data or {@code null} if none was present in the cache.
* @since 3.7.0
* @since 4.0.0
*/
default Object get( Source path, String tag )
{

View File

@ -26,7 +26,7 @@
/**
*
* @author Robert Scholte
* @since 3.7.0
* @since 4.0.0
*/
public interface ModelSourceTransformer
{

View File

@ -28,7 +28,7 @@
*
*
* @author Robert Scholte
* @since 3.7.0
* @since 4.0.0
*/
public interface TransformerContext
{

View File

@ -22,7 +22,7 @@
/**
*
* @author Robert Scholte
* @since 3.7.0
* @since 4.0.0
*/
public class TransformerException extends Exception
{

View File

@ -33,7 +33,7 @@
* Creates XML related factories with OWASP advices applied
*
* @author Robert Scholte
* @since 3.7.0
* @since 4.0.0
*/
public final class Factories
{

View File

@ -25,7 +25,7 @@
* Command pattern to gather events which can be executed later on.
*
* @author Robert Scholte
* @since 3.7.0
* @since 4.0.0
*/
@FunctionalInterface
public interface SAXEvent

View File

@ -28,7 +28,7 @@
* Factory for SAXEvents
*
* @author Robert Scholte
* @since 3.7.0
* @since 4.0.0
*/
public final class SAXEventFactory
{

View File

@ -25,7 +25,7 @@
* Utility class for SAXEvents
*
* @author Robert Scholte
* @since 3.7.0
* @since 4.0.0
*/
public final class SAXEventUtils
{

View File

@ -28,7 +28,7 @@
* Hence use this class in the LexicalHandler chain to do so
*
* @author Robert Scholte
* @since 3.7.0
* @since 4.0.0
*/
public class CommentRenormalizer implements LexicalHandler
{

View File

@ -34,7 +34,7 @@
* Builds up a list of SAXEvents, which will be executed with {@link #executeEvents()}
*
* @author Robert Scholte
* @since 3.7.0
* @since 4.0.0
*/
abstract class AbstractEventXMLFilter extends AbstractSAXFilter
{

View File

@ -29,7 +29,7 @@
* Otherwise the LexicalHandler events might end up before all collected XMLReader events.
*
* @author Robert Scholte
* @since 3.7.0
* @since 4.0.0
*/
public class AbstractSAXFilter extends XMLFilterImpl implements LexicalHandler
{

View File

@ -29,7 +29,7 @@
*
*
* @author Robert Scholte
* @since 3.7.0
* @since 4.0.0
*/
public class BuildPomXMLFilter extends AbstractSAXFilter
{

View File

@ -37,7 +37,7 @@
* Base implementation for providing the BuildPomXML.
*
* @author Robert Scholte
* @since 3.7.0
* @since 4.0.0
*/
public class BuildPomXMLFilterFactory
{

View File

@ -25,7 +25,7 @@
* Listener can be used to capture the result of the build pom
*
* @author Robert Scholte
* @since 3.7.0
* @since 4.0.0
*/
@FunctionalInterface
public interface BuildPomXMLFilterListener

View File

@ -28,7 +28,7 @@
* Resolves all ci-friendly properties occurrences between version-tags
*
* @author Robert Scholte
* @since 3.7.0
* @since 4.0.0
*/
class CiFriendlyXMLFilter
extends AbstractSAXFilter

View File

@ -31,7 +31,7 @@
* - {@link org.apache.maven.internal.aether.DefaultRepositorySystemSessionFactory} when publishing pom files.
*
* @author Robert Scholte
* @since 3.7.0
* @since 4.0.0
*/
public class ConsumerPomXMLFilter extends AbstractSAXFilter
{

View File

@ -30,7 +30,7 @@
/**
*
* @author Robert Scholte
* @since 3.7.0
* @since 4.0.0
*/
public class ConsumerPomXMLFilterFactory
{

View File

@ -24,7 +24,7 @@
/**
*
* @author Robert Scholte
* @since 3.7.0
* @since 4.0.0
*/
public class DependencyKey
{

View File

@ -32,7 +32,7 @@
* Should be used in case of a DOM that should not be effected by other filters, even though the elements match
*
* @author Robert Scholte
* @since 3.7.0
* @since 4.0.0
*/
class FastForwardFilter extends AbstractSAXFilter
{

View File

@ -26,7 +26,7 @@
* Remove all modules, this is just buildtime information
*
* @author Robert Scholte
* @since 3.7.0
* @since 4.0.0
*/
class ModulesXMLFilter
extends AbstractEventXMLFilter

View File

@ -39,7 +39,7 @@
* </p>
*
* @author Robert Scholte
* @since 3.7.0
* @since 4.0.0
*/
class ParentXMLFilter
extends AbstractEventXMLFilter

View File

@ -29,7 +29,7 @@
* Will apply the version if the dependency is part of the reactor
*
* @author Robert Scholte
* @since 3.7.0
* @since 4.0.0
*/
public class ReactorDependencyXMLFilter extends AbstractEventXMLFilter
{

View File

@ -26,7 +26,7 @@
* Remove relativePath element, has no value for consumer pom
*
* @author Robert Scholte
* @since 3.7.0
* @since 4.0.0
*/
class RelativePathXMLFilter
extends AbstractEventXMLFilter

View File

@ -22,7 +22,7 @@
/**
*
* @author Robert Scholte
* @since 3.7.0
* @since 4.0.0
*/
public class RelativeProject
{

View File

@ -42,7 +42,7 @@
* A small example of a pipeline of 2 XML Filters, to understand how to get the expected result
*
* @author Robert Scholte
* @since 3.7.0
* @since 4.0.0
*/
public class ChainedFilterTest
{

View File

@ -190,7 +190,7 @@ public void licenseHeader() throws Exception {
" <parent>\n" +
" <groupId>org.apache.maven</groupId>\n" +
" <artifactId>maven</artifactId>\n" +
" <version>3.7.0-SNAPSHOT</version>\n" +
" <version>4.0.0-SNAPSHOT</version>\n" +
" </parent>\n" +
" <artifactId>maven-xml</artifactId>\n" +
" <name>Maven XML</name>\n" +