Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ee4j-build] extension.name / apiPackage inconsistent between projects?

Is this primarily about the OSGi bundle or Jigsaw module names?

Without being in the PMC, I guess both could/should be "jakarta" now, similar to Maven coordinates.

For the actual Java packages, I don't believe existing packages should be changed for existing API elements, e.g. https://javaee.github.io/security-api/apidocs/index.html what was there in JSR 375 remains there.
AFAIK even a new method in something like SecurityContext goes into the existing interface or class, but if Enterprise Security 1.1 or 2.0 introduced a completely new element that did not exist in JSR 375, then a new package like "jakarta.security" (or "jakarta.security.enterprise", not sure, if the extra level is necessary here?) needs to be created.

Kind Regards,

Werner





On Thu, Jan 3, 2019 at 3:58 PM arjan tijms <arjan.tijms@xxxxxxxxx> wrote:
Hi,

Quite a number of projects uses "javax" for the extension.name / apiPackage. For instance:


 <properties>
        <non.final>false</non.final>
        <extension.name>javax.security.auth.message</extension.name>

...

  <artifactId>spec-version-maven-plugin</artifactId>
                <version>1.5</version>
                <configuration>
                    <specMode>jakarta</specMode>
                    <spec>
                        <groupIdPrefix>jakarta.</groupIdPrefix>
                        ...
                        <apiPackage>${extension.name}</apiPackage>

...

<instructions>
                        <Automatic-Module-Name>java.security.auth.message</Automatic-Module-Name>
                        <Bundle-Version>${spec.bundle.version}</Bundle-Version>
                        <Bundle-SymbolicName>${spec.bundle.symbolic-name}</Bundle-SymbolicName>
                        <Extension-Name>${spec.extension.name}</Extension-Name>

Should this stay at "javax" or become "jakarta" after al?

Kind regards,
Arjan


_______________________________________________
ee4j-build mailing list
ee4j-build@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/ee4j-build

Back to the top