You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Prashant Bhate (JIRA)" <ji...@codehaus.org> on 2010/09/09 13:02:32 UTC

[jira] Created: (MNG-4803) Include few new helpful methods to ArtifactVersion interface

Include few new helpful methods to  ArtifactVersion interface
-------------------------------------------------------------

                 Key: MNG-4803
                 URL: http://jira.codehaus.org/browse/MNG-4803
             Project: Maven 2 & 3
          Issue Type: Improvement
            Reporter: Prashant  Bhate



It is Useful to include following helpful methods to interface ArtifactVersion and corresponding implementation in DefaultArtifactVersion class

getMajorVersion
getNextMinorVersion

Implementation is easy just do currentVersion+1

It would help towards merging functionality of org.apache.maven.shared.release.versions.VersionInfo into this
see http://maven.apache.org/maven-release/maven-release-manager/xref/org/apache/maven/shared/release/versions/VersionInfo.html

 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Closed: (MNG-4803) Include few new helpful methods to ArtifactVersion interface

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-4803?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brett Porter closed MNG-4803.
-----------------------------

    Resolution: Won't Fix
      Assignee: Brett Porter

changing the interface would be problematic for compatibility, and new versioning is likely to happen from a new interface. I think this is best as part of a shared utility.

> Include few new helpful methods to  ArtifactVersion interface
> -------------------------------------------------------------
>
>                 Key: MNG-4803
>                 URL: http://jira.codehaus.org/browse/MNG-4803
>             Project: Maven 2 & 3
>          Issue Type: Improvement
>            Reporter: Prashant  Bhate
>            Assignee: Brett Porter
>
> It is Useful to include following helpful methods to interface ArtifactVersion and corresponding implementation in DefaultArtifactVersion class
> getMajorVersion
> getNextMinorVersion
> Implementation is easy just do currentVersion+1
> It would help towards merging functionality of org.apache.maven.shared.release.versions.VersionInfo into this
> see http://maven.apache.org/maven-release/maven-release-manager/xref/org/apache/maven/shared/release/versions/VersionInfo.html
>  

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira