Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jakartaee-spec-project-leads] Automatic Module Names for Jakarta EE 9
  • From: Mark Thomas <markt@xxxxxxxxxx>
  • Date: Wed, 29 Jan 2020 23:16:40 +0000
  • Autocrypt: addr=markt@xxxxxxxxxx; prefer-encrypt=mutual; keydata= xsFNBEq0DukBEAD4jovHOPJDxoD+JnO1Go2kiwpgRULasGlrVKuSUdP6wzcaqWmXpqtOJKKw W2MQFQLmg7nQ9RjJwy3QCbKNDJQA/bwbQT1F7WzTCz2S6vxC4zxKck4t6RZBq2dJsYKF0CEh 6ZfY4dmKvhq+3istSoFRdHYoOPGWZpuRDqfZPdGm/m335/6KGH59oysn1NE7a2a+kZzjBSEg v23+l4Z1Rg7+fpz1JcdHSdC2Z+ZRxML25eVatRVz4yvDOZItqDURP24zWOodxgboldV6Y88C 3v/7KRR+1vklzkuA2FqF8Q4r/2f0su7MUVviQcy29y/RlLSDTTYoVlCZ1ni14qFU7Hpw43KJ tgXmcUwq31T1+SlXdYjNJ1aFkUi8BjCHDcSgE/IReKUanjHzm4XSymKDTeqqzidi4k6PDD4j yHb8k8vxi6qT6Udnlcfo5NBkkUT1TauhEy8ktHhbl9k60BvvMBP9l6cURiJg1WS77egI4P/8 2oPbzzFiGFqXyJKULVgxtdQ3JikCpodp3f1fh6PlYZwkW4xCJLJucJ5MiQp07HAkMVW5w+k8 Xvuk4i5quh3N+2kzKHOOiQCDmN0sz0XjOE+7XBvM1lvz3+UarLfgSVmW8aheLd7eaIl5ItBk 8844ZJ60LrQ+JiIqvqJemxyIM6epoZvY5a3ZshZpcLilC5hW8QARAQABzSJNYXJrIEUgRCBU aG9tYXMgPG1hcmt0QGFwYWNoZS5vcmc+wsF3BBMBCgAhBQJKtA7pAhsDBQsJCAcDBRUKCQgL BRYCAwEAAh4BAheAAAoJEBDAHFovYFnn2YgQAKN6FLG/I1Ij3PUlC/XNlhasQxPeE3w2Ovtt weOQPYkbl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iY0zJOaRitmN/JWbOGLiwrcN4ukKNyFntFG5jPaFnJdx9rHfyJNeF9cgv9JlZeFxJ6WqIAhl KOuH3K8/py0SPE6ZOFfRo0YUxvh25K/siOcPLm613aOxyY7YfQ8ME2vgn7I0mAtg9am+YFDa bGqj839odwZdzZv2T2mUHnybFTJFBuMWGWKYstYDS6eZEmhupbPvUKkDug/mO+gdo+pSKF9Y S6DM5RtCdTNJq4NZY50ypBb5RSj+INHPocIp2V/DDTbzySsu6wARAQABwsFfBBgBCgAJBQJK tA7pAhsMAAoJEBDAHFovYFnnLe0P/i34oK5cE2LlqUEITEcTO94x1EX0UmtKokRfQ3AYWK8X eFD8cmSty72hMkL+1c0V//4Qc53SUyLIWXk8FKWF7hdL3zyuBqlRb55721CYC35GA/jR90p0 k1vr701gaat2cNTOVC0/6H9cE5yYXT+zMr9TSiKCDwONhhSbmAJZc6X0fgsmCD7I5xUI5Vri hN/Wx0CZBtrXGUyE4hgFaYSGptZmkY5Ln1e+nI185Bda7bpLwcAIGrI9nYtVXgf71ybGKdPP tFfXIoPXuctn99M7NnWBhNuGDms2YWkOC7eeWBTxKkZDWR3vRmRy52B6GxR7USk/KXs7yqGP kfT/c4CZFfOurZUXXuC3PvOme0DQmqwExtJormoG4Fy6suEFPrfhYMigTy7kSbVTCOBMjQLH +U/FFNshvg9+M/ZvaKT+0lpRvBSuG5ngsC0bO0xWsXhb6qfH2h53g4VcwFvCBL5IfqgAeUbC nGGHNcGWpmwdeb7D7ahrNZSHEUUYR7lTbjkYS01/QDOcEwNZOqDRIJUQOOUq35721VeROkdh ZmMZtFlsQeQJsWoqGrQo/kEYicVlMVOgjmOOzOa5fRb/IqlGlBn4a4me3hWthLLtMy+OOEim 6ENjntVTBQiTP/YqrxWDbCkaD7b2e9wY5N3JlRxMIQHfcHaND3PRdQSn7oHYXmJl
  • Delivered-to: jakartaee-spec-project-leads@xxxxxxxxxxx
  • List-archive: <https://www.eclipse.org/mailman/private/jakartaee-spec-project-leads>
  • List-help: <mailto:jakartaee-spec-project-leads-request@eclipse.org?subject=help>
  • List-subscribe: <https://www.eclipse.org/mailman/listinfo/jakartaee-spec-project-leads>, <mailto:jakartaee-spec-project-leads-request@eclipse.org?subject=subscribe>
  • List-unsubscribe: <https://www.eclipse.org/mailman/options/jakartaee-spec-project-leads>, <mailto:jakartaee-spec-project-leads-request@eclipse.org?subject=unsubscribe>
  • User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1

On 29/01/2020 22:28, David Blevins wrote:
> Related question, what module name should we use for Geronimo JavaMail?

My suggestion (and it is only a suggestion) would be to follow the
guidelines here for OSGi BundleSymbolicName for implementations:

https://wiki.eclipse.org/JakartaEE_Maven_Versioning_Rules

and replace "-" (if any) with ".".

which I think would give you something like

org.apache.geronimo.jakarta.mail

Mark


> 
> On Wed, Jan 29, 2020 at 10:21 AM Anthony Vanelverdinghe
> <anthonyv.be@xxxxxxxxxxx <mailto:anthonyv.be@xxxxxxxxxxx>> wrote:
> 
>     Why is the Jakarta Mail implementation allowed to use a module name
>     in the jakarta namespace? Isn't the "jakarta.*" namespace reserved
>     for specifications?
>     I always assumed it was, in which case the ".api" suffix doesn't add
>     any value & should be dropped.
> 
>     Kind regards, Anthony
> 
>     On 29/01/2020 17:49, Kevin Sutter wrote:
>>     Lukas,
>>     We are only trying to establish a convention for the Specification
>>     (API) Projects.  The implementations might need to establish their
>>     own module naming conventions.
>>
>>     For the specific case you referenced
>>     <https://github.com/eclipse-ee4j/mail/issues/409>, isn't that a
>>     quirk with Jakarta Mail?  Under normal conditions, there should be
>>     a clear separation between the API and the Implementation.
>>
>>     ---------------------------------------------------
>>     Kevin Sutter
>>     STSM, MicroProfile and Jakarta EE architect @ IBM
>>     e-mail:  sutter@xxxxxxxxxx <mailto:sutter@xxxxxxxxxx>     Twitter:
>>      @kwsutter
>>     phone: tl-553-3620 (office), 507-253-3620 (office)    
>>     LinkedIn: https://www.linkedin.com/in/kevinwsutter
>>
>>
>>
>>     From:        Lukas Jungmann <lukas.jungmann@xxxxxxxxxx>
>>     <mailto:lukas.jungmann@xxxxxxxxxx>
>>     To:        jakartaee-spec-project-leads@xxxxxxxxxxx
>>     <mailto:jakartaee-spec-project-leads@xxxxxxxxxxx>
>>     Date:        01/29/2020 09:59
>>     Subject:        [EXTERNAL] Re: [jakartaee-spec-project-leads]
>>     Automatic Module Names for Jakarta EE 9
>>     Sent by:        jakartaee-spec-project-leads-bounces@xxxxxxxxxxx
>>     <mailto:jakartaee-spec-project-leads-bounces@xxxxxxxxxxx>
>>     ------------------------------------------------------------------------
>>
>>
>>
>>     On 1/29/20 3:43 PM, Kevin Sutter wrote:
>>     > Is it a requirement that all of the Projects use the OSGI
>>     > Bundle-SymbolicName?  (It probably is due to the use of the
>>     maven bundle
>>     > plugin, but I thought I would ask...)
>>
>>     Yes; GF is based on OSGi so whatever gets there, needs to be OSGi
>>     bundle
>>     and "The Bundle-SymbolicName manifest header is a mandatory
>>     header."[1]
>>
>>     >
>>     > Just to be clear with an example, I looked at Servlet:
>>     > <bundle.symbolicName>jakarta.servlet-api</bundle.symbolicName>
>>     >
>>     > Thus, your proposed Automatic Module name would be (given your
>>     proposed
>>     > rules)?
>>     > jakarta.servlet.api
>>     >
>>     > Are we good with this approach across the Jakarta EE Projects?
>>
>>     no on my end as it may require implementation module to be called
>>     API in
>>     certain cases, ie https://github.com/eclipse-ee4j/mail/issues/409 has
>>     some details. JDK does not use "api" in their module names too.
>>     But if
>>     majority wants it this way...
>>
>>     thanks,
>>     --lukas
>>
>>     [1]:
>>     https://osgi.org/specification/osgi.core/7.0.0/framework.module.html#framework.module.bsn
>>     >
>>     > ---------------------------------------------------
>>     > Kevin Sutter
>>     > STSM, MicroProfile and Jakarta EE architect @ IBM
>>     > e-mail:  sutter@xxxxxxxxxx <mailto:sutter@xxxxxxxxxx>    
>>     Twitter:  @kwsutter
>>     > phone: tl-553-3620 (office), 507-253-3620 (office)
>>     > LinkedIn: https://www.linkedin.com/in/kevinwsutter
>>     >
>>     >
>>     >
>>     > From: Mark Thomas <markt@xxxxxxxxxx> <mailto:markt@xxxxxxxxxx>
>>     > To: JakartaEE Spec Project Leadership discussions
>>     > <jakartaee-spec-project-leads@xxxxxxxxxxx>
>>     <mailto:jakartaee-spec-project-leads@xxxxxxxxxxx>
>>     > Date: 01/29/2020 06:40
>>     > Subject: [EXTERNAL] Re: [jakartaee-spec-project-leads] Automatic
>>     Module
>>     > Names for Jakarta EE 9
>>     > Sent by: jakartaee-spec-project-leads-bounces@xxxxxxxxxxx
>>     <mailto:jakartaee-spec-project-leads-bounces@xxxxxxxxxxx>
>>     >
>>     ------------------------------------------------------------------------
>>     >
>>     >
>>     >
>>     > Thanks for the links.
>>     >
>>     > My reading of this is that my proposal to:
>>     >
>>     > - Take the OSGi Bundle-SymbolicName
>>     > - Replace any "-" with "."
>>     > - Use that as the automatic module name
>>     >
>>     > is consistent with the requirement that the module names start with
>>     > "jakarta." and not inconsistent with any other Jakarta EE wide
>>     policy.
>>     >
>>     > I therefore intend to proceed with this approach in the projects in
>>     > which I am involved.
>>     >
>>     > Separately, I'd like to recommend this proposed approach for
>>     adoption
>>     > across Jakarta EE.
>>     >
>>     > Thanks,
>>     >
>>     > Mark
>>     >
>>     >
>>     > On 28/01/2020 18:13, Kevin Sutter wrote:
>>     >> Thanks for the pointer to the Issue.  Here's the reference to
>>      the PMC
>>     >> minutes regarding Module Names:
>>     >>  https://www.eclipse.org/ee4j/minutes/?date=2018-11-06#module-names
>>     >>
>>     >> This was the discussion previous to the Jakarta EE 8 release.
>>      It  has
>>     >> not been formally addressed for the Jakarta EE 9 release.  I
>>      still stand
>>     >> by the "jakarta." prefix, but we haven't declared the required
>>     >> definition of module names across all individual projects.
>>     >>
>>     >> ---------------------------------------------------
>>     >> Kevin Sutter
>>     >> STSM, MicroProfile and Jakarta EE architect @ IBM
>>     >> e-mail:  sutter@xxxxxxxxxx <mailto:sutter@xxxxxxxxxx>    
>>     Twitter:  @kwsutter
>>     >> phone: tl-553-3620 (office), 507-253-3620 (office)    
>>     >> LinkedIn: https://www.linkedin.com/in/kevinwsutter
>>     >>
>>     >>
>>     >>
>>     >> From:        Anthony Vanelverdinghe <anthonyv.be@xxxxxxxxxxx>
>>     <mailto:anthonyv.be@xxxxxxxxxxx>
>>     >> To:        JakartaEE Spec Project Leadership discussions
>>     >> <jakartaee-spec-project-leads@xxxxxxxxxxx>
>>     <mailto:jakartaee-spec-project-leads@xxxxxxxxxxx>, Mark Thomas
>>     <markt@xxxxxxxxxx> <mailto:markt@xxxxxxxxxx>
>>     >> Date:        01/28/2020 11:53
>>     >> Subject:        [EXTERNAL] Re: [jakartaee-spec-project-leads]
>>      Automatic
>>     >> Module Names for Jakarta EE 9
>>     >> Sent by:      
>>      jakartaee-spec-project-leads-bounces@xxxxxxxxxxx
>>     <mailto:jakartaee-spec-project-leads-bounces@xxxxxxxxxxx>
>>     >>
>>     ------------------------------------------------------------------------
>>     >>
>>     >>
>>     >>
>>     >> Hi Mark
>>     >>
>>     >> There's [1], which says that module names must be "jakarta.*",
>>      so e.g.
>>     >> jakarta.el, jakarta.websocket, jakarta.servlet
>>     >> I've been unable to find the issued PMC statement though.
>>     >>
>>     >> [1]
>>     https://github.com/eclipse-ee4j/ee4j/issues/34#issuecomment-436605211
>>     >>
>>     >> Kind regards,
>>     >> Anthony
>>     >>
>>     >> On 28/01/2020 18:02, Mark Thomas wrote:
>>     >>> Hi,
>>     >>>
>>     >>> A number of projects I am involved in have open issues for
>>     JPMS  names to
>>     >>> be defined [1][2][3]. Using the JAR name is inherently
>>     unstable  and
>>     >>> triggers warnings in various build systems.
>>     >>>
>>     >>> Is there an official view on what project should be using? I
>>     looked  in
>>     >>> [4] but module names are explicitly excluded.
>>     >>>
>>     >>> Absent an official view, is there any objection to projects using:
>>     >>> - Take the OSGi Bundle-SymbolicName
>>     >>> - Replace any "-" with "."
>>     >>> - Use that as the automatic module name
>>     >>> ?
>>     >>>
>>     >>> Thanks,
>>     >>>
>>     >>> Mark
>>     >>>
>>     >>>
>>     >>> [1] https://github.com/eclipse-ee4j/el-ri/issues/46
>>     >>> [2] https://github.com/eclipse-ee4j/websocket-api/issues/260
>>     >>> [3] https://github.com/eclipse-ee4j/servlet-api/issues/201
>>     >>>
>>     >>> [4] https://wiki.eclipse.org/JakartaEE_Maven_Versioning_Rules
>>     >>>
>>     >>>
>>     >>> _______________________________________________
>>     >>> jakartaee-spec-project-leads mailing list
>>     >>> jakartaee-spec-project-leads@xxxxxxxxxxx
>>     <mailto:jakartaee-spec-project-leads@xxxxxxxxxxx>
>>     >>> To change your delivery options, retrieve your password, or
>>     unsubscribe  from this list, visit
>>     >>>
>>     https://www.eclipse.org/mailman/listinfo/jakartaee-spec-project-leads
>>     >> _______________________________________________
>>     >> jakartaee-spec-project-leads mailing list
>>     >> jakartaee-spec-project-leads@xxxxxxxxxxx
>>     <mailto:jakartaee-spec-project-leads@xxxxxxxxxxx>
>>     >> To change your delivery options, retrieve your password, or
>>     unsubscribe
>>     >> from this list, visit
>>     >>
>>     https://www.eclipse.org/mailman/listinfo/jakartaee-spec-project-leads
>>     >>
>>     >>
>>     >>
>>     >>
>>     >
>>     > _______________________________________________
>>     > jakartaee-spec-project-leads mailing list
>>     > jakartaee-spec-project-leads@xxxxxxxxxxx
>>     <mailto:jakartaee-spec-project-leads@xxxxxxxxxxx>
>>     > To change your delivery options, retrieve your password, or
>>     unsubscribe
>>     > from this list, visit
>>     >
>>     https://www.eclipse.org/mailman/listinfo/jakartaee-spec-project-leads
>>     >
>>     >
>>     >
>>     >
>>     >
>>     > _______________________________________________
>>     > jakartaee-spec-project-leads mailing list
>>     > jakartaee-spec-project-leads@xxxxxxxxxxx
>>     <mailto:jakartaee-spec-project-leads@xxxxxxxxxxx>
>>     > To change your delivery options, retrieve your password, or
>>     unsubscribe from this list, visit
>>     >
>>     https://www.eclipse.org/mailman/listinfo/jakartaee-spec-project-leads
>>     >
>>     _______________________________________________
>>     jakartaee-spec-project-leads mailing list
>>     jakartaee-spec-project-leads@xxxxxxxxxxx
>>     <mailto:jakartaee-spec-project-leads@xxxxxxxxxxx>
>>     To change your delivery options, retrieve your password, or
>>     unsubscribe from this list, visit
>>     https://www.eclipse.org/mailman/listinfo/jakartaee-spec-project-leads
>>
>>
>>
>>
>>
>>     _______________________________________________
>>     jakartaee-spec-project-leads mailing list
>>     jakartaee-spec-project-leads@xxxxxxxxxxx <mailto:jakartaee-spec-project-leads@xxxxxxxxxxx>
>>     To change your delivery options, retrieve your password, or unsubscribe from this list, visit
>>     https://www.eclipse.org/mailman/listinfo/jakartaee-spec-project-leads
>     _______________________________________________
>     jakartaee-spec-project-leads mailing list
>     jakartaee-spec-project-leads@xxxxxxxxxxx
>     <mailto:jakartaee-spec-project-leads@xxxxxxxxxxx>
>     To change your delivery options, retrieve your password, or
>     unsubscribe from this list, visit
>     https://www.eclipse.org/mailman/listinfo/jakartaee-spec-project-leads
> 
> -- 
> Sent from Gmail Mobile
> 
> _______________________________________________
> jakartaee-spec-project-leads mailing list
> jakartaee-spec-project-leads@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/jakartaee-spec-project-leads
> 



Back to the top