Commit Graph

2097 Commits

Author SHA1 Message Date
Ceki Gulcu 6b2921a523 start wotk on 2.0.12-SNAPSHOT
Signed-off-by: Ceki Gulcu <ceki@qos.ch>
2024-01-08 20:50:02 +01:00
Ceki Gulcu 3f4717c44e get javadoc:aggregate command to work
Signed-off-by: Ceki Gulcu <ceki@qos.ch>
2024-01-08 20:48:59 +01:00
Ceki Gulcu d9145fba56 prepare release 2.0.11
Signed-off-by: Ceki Gulcu <ceki@qos.ch>
2024-01-08 18:58:10 +01:00
Ceki Gulcu 68ff7064ec acceptance test, disabled for the moment
Signed-off-by: Ceki Gulcu <ceki@qos.ch>
2024-01-08 18:50:54 +01:00
Guillaume Nodet db8cd90c10 Use computeIfAbsent with a protected method, make reset protected
Signed-off-by: Guillaume Nodet <gnodet@gmail.com>
2024-01-08 17:39:25 +01:00
Guillaume Nodet d564304a61 Use computeIfAbsent with a protected method, make reset protected
Signed-off-by: Guillaume Nodet <gnodet@gmail.com>
2024-01-08 17:39:25 +01:00
Ceki Gulcu ef8dda71dd javadoc changed for SimpleLogger constructor
Signed-off-by: Ceki Gulcu <ceki@qos.ch>
2024-01-08 15:23:23 +01:00
Ceki Gulcu fe42ecb5f7 change constructor access modifier instead of
Signed-off-by: Ceki Gulcu <ceki@qos.ch>
2024-01-08 15:16:08 +01:00
Ceki Gulcu 7029a8b7fd add renderLevel method in SimpleLogger
Signed-off-by: Ceki Gulcu <ceki@qos.ch>
2024-01-08 15:02:22 +01:00
Ceki Gulcu 8c873b2e75 start work on 2.0.11-SNAPSHOT
Signed-off-by: Ceki Gulcu <ceki@qos.ch>
2023-12-29 00:03:40 +01:00
Ceki Gulcu 7bcee9aa1f javadoc configuration tweak
Signed-off-by: Ceki Gulcu <ceki@qos.ch>
2023-12-29 00:02:38 +01:00
Ceki Gulcu 6fe9c07113 more javadoc adjustments
Signed-off-by: Ceki Gulcu <ceki@qos.ch>
2023-12-28 21:48:34 +01:00
Ceki Gulcu df562c22d8 migrator should have javadocs
Signed-off-by: Ceki Gulcu <ceki@qos.ch>
2023-12-28 21:38:38 +01:00
Ceki Gulcu 6d39ca8bf9 prepare release 2.0.10
Signed-off-by: Ceki Gulcu <ceki@qos.ch>
2023-12-28 21:14:08 +01:00
Ceki Gulcu 86ee8298d9 javadoc edit
Signed-off-by: Ceki Gulcu <ceki@qos.ch>
2023-12-06 20:54:40 +01:00
Ceki Gulcu 5ccbe20b11 remove unreachable code, see issues/371
Signed-off-by: Ceki Gulcu <ceki@qos.ch>
2023-12-05 10:02:43 +01:00
Ceki Gulcu 02b36a269a attempt at fixing PR 358
Signed-off-by: Ceki Gulcu <ceki@qos.ch>
2023-11-25 20:47:16 +01:00
Ceki Gulcu c12667b906 document Reporter class
Signed-off-by: Ceki Gulcu <ceki@qos.ch>
2023-11-17 12:57:30 +01:00
Ceki Gulcu 316b5d1727 first attempt at fixing issues/361
Signed-off-by: Ceki Gulcu <ceki@qos.ch>
2023-11-15 19:59:01 +01:00
Hervé Boutemy 7c164fab8d upgrade maven-bundle-plugin
fixes Reproducible  Builds issue with OSGi metadata
2023-09-03 23:03:40 +02:00
Ceki Gulcu 56e42fdb61 start work on 2.0.10-SNAPSHOT
Signed-off-by: Ceki Gulcu <ceki@qos.ch>
2023-09-03 18:20:34 +02:00
Ceki Gulcu 216459e5d8 prepare release 2.0.9
Signed-off-by: Ceki Gulcu <ceki@qos.ch>
2023-09-03 18:12:02 +02:00
Ceki Gulcu 2481810f94 rename slf4j.binding system proerty as slf4j.provider
Signed-off-by: Ceki Gulcu <ceki@qos.ch>
2023-09-03 18:06:27 +02:00
Ceki Gulcu 25d742d666 start work on 2.0.9-SNAPSHOT
Signed-off-by: Ceki Gulcu <ceki@qos.ch>
2023-09-03 17:44:47 +02:00
Ceki Gulcu 10a151756d further adjusments for successful deployment on Maven Central
Signed-off-by: Ceki Gulcu <ceki@qos.ch>
2023-08-29 23:31:08 +02:00
Ceki Gulcu 17f5bf3d87 fix issues during deployment
Signed-off-by: Ceki Gulcu <ceki@qos.ch>
2023-08-29 23:04:24 +02:00
Ceki Gulcu f967033766 move parent-pom.xml to parent/pom.xml as explained in SLF4J-437
Signed-off-by: Ceki Gulcu <ceki@qos.ch>
2023-08-29 22:50:25 +02:00
Ceki Gulcu 0b9c92cc3a prepare release 2.0.8
Signed-off-by: Ceki Gulcu <ceki@qos.ch>
2023-08-29 22:14:17 +02:00
Ceki Gulcu 05698f8d23 fine tuning for SLF4J-450
Signed-off-by: Ceki Gulcu <ceki@qos.ch>
2023-08-29 22:06:48 +02:00
Kengo TODA 9783320b6c feat: allow binding to be explicitly specified 2023-08-29 16:40:18 +02:00
Ethan McCue aa13da39ed Fix typo in "SLF4JPlarformLoggerFactory"
Signed-off-by: Ethan McCue <ethan@mccue.dev>
2023-08-08 18:25:20 +02:00
Ceki Gulcu 7a4da876b3 add equals/hashCode to KeyValuePair
Signed-off-by: Ceki Gulcu <ceki@qos.ch>
2023-08-08 18:20:12 +02:00
Taku Miyakawa 0769bc8182 use MessageFormat insetad of String.format to comply spec of System.Logger.log
Signed-off-by: Taku Miyakawa <miyakawa.taku@gmail.com>
2023-08-08 18:12:15 +02:00
Ceki Gulcu e63f87f02c fix SLF4J-595
Signed-off-by: Ceki Gulcu <ceki@qos.ch>
2023-07-12 22:50:26 +02:00
Ceki Gulcu 3f20e0dfd2 update certain plugins, add parent-pom.xml as a module fixing SLF4J-596
Signed-off-by: Ceki Gulcu <ceki@qos.ch>
2023-07-12 21:52:15 +02:00
Ceki Gulcu 06fa09a2fb use jar plugin to add MainClass information in MANIFEST.MF instead of the fleix plugin, see SLF4J-594
Signed-off-by: Ceki Gulcu <ceki@qos.ch>
2023-07-11 11:04:41 +02:00
Ceki Gulcu 6fd9db9b5e add BOM file, fixes SLF4J-437
Signed-off-by: Ceki Gulcu <ceki@qos.ch>
2023-06-16 18:05:17 +02:00
Hannes Wellmann f871e7f2e9 Restore 'Main-Class' header in slf4j-migrator Manifest.MF
Because the Manifest.MF did not have a terminating new-line it was
invalid and its content was ignored, thus the Main-Class entry was
missing.

To have less files in the project, generate the entry using the
maven-bundle-plugin.

Signed-off-by: Hannes Wellmann <wellmann.hannes1@gmx.net>
2023-04-10 00:13:24 +02:00
Hannes Wellmann 0b4d88edef Use project.name in Bundle-Name and simplify slf4j-api OSGi metadata gen
The value of project.name is more expressive than the previously used
project.artifactId.

Signed-off-by: Hannes Wellmann <wellmann.hannes1@gmx.net>
2023-04-10 00:11:41 +02:00
Hannes Wellmann 2ec7c1034c Replace all remaining OSGi MANIFEST.MF by bundle-plugin instructions
This ensures that there is only a single source for OSGi metadata.
Additionally this improves the metadata for some Export-Package entries.

Signed-off-by: Hannes Wellmann <wellmann.hannes1@gmx.net>
2023-04-10 00:11:41 +02:00
Hannes Wellmann df44ace9c3 Automate OSGi metadata creation and fix metadata for other slf4j-modules
Only use the maven-bundle-plugin to generate all OSGi metadata into
slf4j's Manifest.MF files. This unifies the resulting MANIFEST.MFs
that are currently partly generated and partly statically defined and
fixes the following aspects:

- Fix the package-export of slf4j-jdk-platform-logging (from
'slf4j.jdk.platform.logging' to 'org.slf4j.jdk.platform.logging')
- Import missing packages for slf4j-reload4j and log4j-over-slf4j
- Replace the deprecated 'Bundle-RequiredExecutionEnvironment' by a
corresponding required 'osgi.ee' capability
- Restores the exported packages of jcl-over-slf4j

Fixes https://jira.qos.ch/browse/SLF4J-578

Signed-off-by: Hannes Wellmann <wellmann.hannes1@gmx.net>
2023-04-10 00:11:41 +02:00
Hannes Wellmann 661869eeb2 Adapt project names from 'Binding' to 'Provider'
Since slf4j 2 Bindings are now called Providers. The corresponding Maven
project names and descriptions should be adapted accordingly.

Signed-off-by: Hannes Wellmann <wellmann.hannes1@gmx.net>
2023-04-09 18:25:43 +02:00
Ceki Gulcu cff3312e43 start work on 2.0.8-SNAPSHOT
Signed-off-by: Ceki Gulcu <ceki@qos.ch>
2023-03-17 20:41:07 +01:00
Ceki Gulcu d6a21ae68f update javadoc plugin to version 3.0.5
Signed-off-by: Ceki Gulcu <ceki@qos.ch>
2023-03-17 20:35:35 +01:00
Ceki Gulcu 13950e51a6 prepare release 2.0.7
Signed-off-by: Ceki Gulcu <ceki@qos.ch>
2023-03-17 19:49:13 +01:00
Ceki Gulcu 122e0c18dd add LICENSE.txt files to all modules, rename LICENSE as LICENSE.txt when appropriate
Signed-off-by: Ceki Gulcu <ceki@qos.ch>
2023-03-17 19:35:56 +01:00
TWI 2a8ca99caf add license file to jar 2023-03-17 19:25:44 +01:00
Hannes Wellmann b363bb31ed SLF4J-579: Export client packages of slf4j-api in version 1
Fixes https://jira.qos.ch/browse/SLF4J-576

This allows to use the slf4j-api version 2 artifact as drop-in
replacement for slf4j-api version 1 in OSGi environments as well.
slf4j-api can now be wired to bundles that require packages of slf4j-api
in version 1 or 2.

Signed-off-by: Hannes Wellmann <wellmann.hannes1@gmx.net>
2023-03-17 18:01:31 +01:00
Hannes Wellmann 2235d3c698
Fully automate OSGi metadata creation and fix brocken OSGi-metadata in slf4j-api (#330)
* Improve generated OSGi metadata and restore Bundle-SymbolicName

Enhance the generated OSGi metadata for all slf4j-modules in the
following ways:
- Restore the Bundle-SymbolicName, Bundle-Name, Bundle-Vendor and
Bundle-DocURL from SLF4J-2.0.5 and before
- Removes Export-Package: META-INF.versions.9
- Removes self-Imports of exported package (has to be added again in a
follow up, where desired)
- Remove unnecessary BND-internal headers

Additionally move the maven-bundle-plugin configuration from the
execution configuration up into the configuration of the plugin so that
it can be easier overwritten in child-modules.

Signed-off-by: Hannes Wellmann <wellmann.hannes1@gmx.net>

* Automate OSGi metadata creation and restore package-exports of slf4j-api

Only use the maven-bundle-plugin to generate all OSGi metadata into
slf4j-api's Manifest.MF file. This unifies the resulting MANIFEST.MFs
that are currently partly generated and partly statically defined.

Furthermore it fixes the following flaws in the currently generated OSGi
metadata of slf4j-api:
- Import only the exported org.slf4j.spi package (like in slf4j 2.0.5
and before)
- Replace the deprecated 'Bundle-RequiredExecutionEnvironment' header by
a corresponding required 'osgi.ee' capability

Signed-off-by: Hannes Wellmann <wellmann.hannes1@gmx.net>

---------

Signed-off-by: Hannes Wellmann <wellmann.hannes1@gmx.net>
2023-03-15 21:28:25 +01:00
Sean C. Sullivan a5540ad510 setup-java v3
Signed-off-by: Sean C. Sullivan <github@seansullivan.com>
2022-12-19 20:40:13 +01:00