Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [glassfish-dev] [jakartaee-platform-dev] About to release a new version of spec-version-maven-plugin



On Tue, 18 Feb 2020 at 12:37, Tom Jenkinson <tom.jenkinson@xxxxxxxxxx> wrote:


On Tue, 18 Feb 2020 at 12:29, arjan tijms <arjan.tijms@xxxxxxxxx> wrote:
Hi,

On Tue, Feb 18, 2020 at 11:10 AM Tom Jenkinson <tom.jenkinson@xxxxxxxxxx> wrote:
Hi Arjan,

I think I have encountered the same issue but when trying to create an "-M1" version on Jakarta Transactions. Would a similar change be possible for that type of qualifier?


Yes, that would be possible of course. I assumed that after some discussion it was agreed to go for the -RC1 versions. Seemingly people before used M1 and RC1 for the same purpose anyway.

I think that there could have been an update to the expectation https://www.eclipse.org/lists/jakartaee-platform-dev/msg01456.html

I am considering if we can release an RC for Jakarta Transactions but I assume projects will probably find the ability to use milestones useful in the future.

Just to mention that I produced an RC using version 2.1 so having the spec plugin tolerate milestone builds is not blocking Jakarta Transactions for the current initiative.

Whether Jakarta Transactions (or perhaps other projects) will need milestone builds after the current initiative but before 2.0.0.Final I am not sure.



Kind regards,
Arjan


 
Thanks,
Tom

On Wed, 5 Feb 2020 at 21:33, arjan tijms <arjan.tijms@xxxxxxxxx> wrote:
Hi,

Several projects had an issue with not being able to build a maven project using the spec-version-maven-plugin when having a -RCx qualifier. E.g.

<groupId>jakarta.security.auth.message</groupId>
<artifactId>jakarta.security.auth.message-api</artifactId>
<version>2.0.0-RC1</version>

I've updated the plug-in to threat RC1 essentially the same as a -SNAPSHOT qualifier, meaning it's stripped-off for the sake of the spec-version-maven-plugin. This works with the regular final mode (the default), which is the same as for the -SNAPSHOT qualifier.

The result is a MANIFEST.MF with the relevant version set (in this case) to 2.0.0.

unzip -p target/jakarta.security.auth.message-api-2.0.0-RC1.jar META-INF/MANIFEST.MF

Manifest-Version: 1.0
Created-By: Apache Maven Bundle Plugin
Built-By: arjan.tijms
Build-Jdk: 13.0.1
Automatic-Module-Name: java.security.auth.message
Bnd-LastModified: 1580938099883
Bundle-Description: Jakarta Authentication 2.0 Specification
 g/software/classpath/license.html
Bundle-ManifestVersion: 2
Bundle-Name: Jakarta Authentication
Bundle-SymbolicName: jakarta.security.auth.message-api
Bundle-Vendor: Jakarta Authentication
Bundle-Version: 2.0.0
Export-Package: jakarta.security.auth.message;uses:="javax.security.auth
 ,javax.security.auth.login";version="2.0.0",jakarta.security.auth.messa
 ge.config;uses:="jakarta.security.auth.message,javax.security.auth,java
 x.security.auth.callback";version="2.0.0",jakarta.security.auth.message
 .module;uses:="jakarta.security.auth.message,javax.security.auth.callba
 ck";version="2.0.0",jakarta.security.auth.message.callback;uses:="javax
 .crypto,javax.security.auth,javax.security.auth.callback,javax.security
 .auth.x500";version="2.0.0"
Extension-Name: jakarta.security.auth.message
Implementation-Vendor: Jakarta Authentication
Implementation-Vendor-Id: org.glassfish
Implementation-Version: 2.0.0
Import-Package: jakarta.security.auth.message,javax.crypto,javax.securit
 y.auth,javax.security.auth.callback,javax.security.auth.login,javax.sec
 urity.auth.x500
Require-Capability: osgi.ee;filter:="(&(osgi.ee=JavaSE)(version=1.8))"
Specification-Vendor: Oracle Corporation
Specification-Version: 2.0
Tool: Bnd-4.2.0.201903051501

If this is what is everyone likes to see I can release spec-version-maven-plugin as version 2.1.

Kind regards,
Arjan Tijms




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

Back to the top