geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "xiezhi (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (GERONIMO-6465) Make the feature of calculating artifact string from the file name better
Date Thu, 23 May 2013 06:06:21 GMT

    [ https://issues.apache.org/jira/browse/GERONIMO-6465?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13664909#comment-13664909
] 

xiezhi commented on GERONIMO-6465:
----------------------------------

Maven rule need to follow also.
Maven version rule:
<major>.<minor>.<revision>([ -<qualififer> ] | [ -<build> ])
      major ::= number
      minor ::= number
      micro ::= number
      qualifier ::= (alphanum)+
      build :: = [1-9]?[0-9]*
                
> Make the feature of calculating artifact string from the file name better
> -------------------------------------------------------------------------
>
>                 Key: GERONIMO-6465
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-6465
>             Project: Geronimo
>          Issue Type: Improvement
>      Security Level: public(Regular issues) 
>          Components: geronimo-maven-plugin, installer
>    Affects Versions: 3.0-beta-1
>            Reporter: xiezhi
>            Priority: Minor
>
> As we know, to install a jar into geronimo repository by command tool, the file name
may be a key to transfer a bundle. The geronimo will use the regex string "(.+)-([0-9].+)\\.([^0-9]+)"
to extract the artiface id,version and type from the filename.
> Based on the regex string, the filename should be like "mylib-1.0.jar".
> But I think it does not accord with the OSGi rule about bundle version.
> From OSGi Core Release 5(osgi.core.5.0.0.pdf)
> A version has the following grammar:
> version ::=
> major( '.' minor ( '.' micro ( '.' qualifier )? )? )?
> major ::= number // See 1.3.2
> minor ::= number
> micro ::= number
> qualifier ::= ( alphanum | ’_’ | '-' )+
> So I think it is better to do some change.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message