You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Alasdair Nottingham (JIRA)" <ji...@apache.org> on 2011/03/21 12:38:05 UTC

[jira] [Created] (GERONIMO-5872) geronimo-servlet_3.0_spec-1.0.jar incorrectly applies semantic versioning to servlet packages

geronimo-servlet_3.0_spec-1.0.jar incorrectly applies semantic versioning to servlet packages
---------------------------------------------------------------------------------------------

                 Key: GERONIMO-5872
                 URL: https://issues.apache.org/jira/browse/GERONIMO-5872
             Project: Geronimo
          Issue Type: Bug
      Security Level: public (Regular issues)
          Components: specs
    Affects Versions: 3.0-M1
            Reporter: Alasdair Nottingham


The gernomio-servlet_3.0_spec-1.0.jar incorrectly exports the javax.servlet packages as 2.6 and 3.0. The problem with this is if the Servlet spec were to make a semantically breaking API change the correct next semantic step for the javax.servlet packages would be 3.0. This means there is no way for an importer importing at [3.0,4.0) to know whether they will match the version that is the same as 2.6, or the version that is breaking from 3.0 resulting in deployment and runtime problems.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (GERONIMO-5872) geronimo-servlet_3.0_spec-1.0.jar incorrectly applies semantic versioning to servlet packages

Posted by "Alasdair Nottingham (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GERONIMO-5872?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13009276#comment-13009276 ] 

Alasdair Nottingham commented on GERONIMO-5872:
-----------------------------------------------

The OSGi Enterprise Expert group specified in the Enterprise 4.2 spec that Servlet 2.5 packages be versioned at 2.5, so we should expect semantic versions from that point on.

The correct semantic version from a 2.5 baseline is 2.6. Users who expect the packages to be at version 3 are expecting something which does not follow the best practices for semantic versioning.

> geronimo-servlet_3.0_spec-1.0.jar incorrectly applies semantic versioning to servlet packages
> ---------------------------------------------------------------------------------------------
>
>                 Key: GERONIMO-5872
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-5872
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: specs
>    Affects Versions: 3.0-M1
>            Reporter: Alasdair Nottingham
>
> The gernomio-servlet_3.0_spec-1.0.jar incorrectly exports the javax.servlet packages as 2.6 and 3.0. The problem with this is if the Servlet spec were to make a semantically breaking API change the correct next semantic step for the javax.servlet packages would be 3.0. This means there is no way for an importer importing at [3.0,4.0) to know whether they will match the version that is the same as 2.6, or the version that is breaking from 3.0 resulting in deployment and runtime problems.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (GERONIMO-5872) geronimo-servlet_3.0_spec-1.0.jar incorrectly applies semantic versioning to servlet packages

Posted by "David Jencks (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GERONIMO-5872?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13009193#comment-13009193 ] 

David Jencks commented on GERONIMO-5872:
----------------------------------------

Semantically, shouldn't servlet spec package versioning be at something like 1.8?
What version do you think we should export?
What do we do about the users of the servlet api that expect the 3.0 api classes to be exported at 3.0?
Is there any agreement among anyone what the osgi package version should be for javaee spec apis?  Is it documented anywhere?

> geronimo-servlet_3.0_spec-1.0.jar incorrectly applies semantic versioning to servlet packages
> ---------------------------------------------------------------------------------------------
>
>                 Key: GERONIMO-5872
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-5872
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: specs
>    Affects Versions: 3.0-M1
>            Reporter: Alasdair Nottingham
>
> The gernomio-servlet_3.0_spec-1.0.jar incorrectly exports the javax.servlet packages as 2.6 and 3.0. The problem with this is if the Servlet spec were to make a semantically breaking API change the correct next semantic step for the javax.servlet packages would be 3.0. This means there is no way for an importer importing at [3.0,4.0) to know whether they will match the version that is the same as 2.6, or the version that is breaking from 3.0 resulting in deployment and runtime problems.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira