Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jakartabatch-dev] Package prefix for new modules in the Batch TCK
  • From: Ondrej Mihályi <ondrej.mihalyi@xxxxxxxxxxx>
  • Date: Fri, 17 Dec 2021 18:09:25 +0000
  • Accept-language: en-GB, sk-SK, en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=payara.fish; dmarc=pass action=none header.from=payara.fish; dkim=pass header.d=payara.fish; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=fRspJgZcAsGEVMzRb4ga8JUCpdXwxu2SdbFQA2rT/TE=; b=jkq1vu9OA8hArOnxaFhDboirc58SSEw0RJiC2OgB8eAKTDju4ggHsRU/vKvrYsLayKNflXlvWADJkCB143HR5AjMIh0CCWaAZmh6pIUjDQxxwb7yb8QP9gx1JHkLjSrcugHSPx1SD/6Kwe964lknXswETUBAyWS267nQ2b4HosGGo3E9iHi1EpF36SdbzzMSKA1ge2mJUN6qHMWvv76apPJCQoiJ7wpL0urh+GDCmxdf177CN2tFvoK3ijTpMJsV5eB+isNTEusSssI1o3iFFJmCcYziXlIi7ZlGSPSEbjN56h02R2Kip4/rsmkvXUKrhk38iPcm0JAb1WgqrVfpjQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=kanMj8StQ31uTo18jeI9gQ3ECRMg637DAEwFB5qbPLr0UzEpCCvfBLuUqvCb4OddhJUO6uhCN25x9eJ3JCqLEnNCHCv2jFzBJTXnUUmbCt2JnV6qBJN5z5Uh3wFex3rXQ+SlDpdzVw7Uw8afIUT3wp90JcgW2CdsUmNIgXqP59qLkYRc7bvVt8qmrruusV3CnnGnqKXz1NJdpF5hhZcKHHmIG0qpUgYatl/M3deFHYDdhk/heJ04xNqauYrN6slaAfLRj+bVObDdRhuBwHbz9lTzodZM7a9tQh1VawyqmxNjCjPdyJOeM2auH9eR+Zlqk2vU5kMq6wbFwJOyrcHcog==
  • Delivered-to: jakartabatch-dev@xxxxxxxxxxx
  • List-archive: <https://www.eclipse.org/mailman/private/jakartabatch-dev/>
  • List-help: <mailto:jakartabatch-dev-request@eclipse.org?subject=help>
  • List-subscribe: <https://www.eclipse.org/mailman/listinfo/jakartabatch-dev>, <mailto:jakartabatch-dev-request@eclipse.org?subject=subscribe>
  • List-unsubscribe: <https://www.eclipse.org/mailman/options/jakartabatch-dev>, <mailto:jakartabatch-dev-request@eclipse.org?subject=unsubscribe>
  • Suggested_attachment_session_id: abdba73c-d7ce-b3e5-5298-41309d1902c2
  • Thread-index: AQHX82TADDITbgLfFUyNnFRXr3dugA==
  • Thread-topic: Package prefix for new modules in the Batch TCK

Hi all,

We discussed with Scott Kurz on the Slack channel that we should choose a good package prefix for the new code we add to the TCK.

The code that was donated to the Eclipse project uses com.ibm.jbatch.tck prefix, like the tests themselves: https://github.com/eclipse-ee4j/batch-tck/tree/master/com.ibm.jbatch.tck/src/main/java/com/ibm/jbatch/tck.

We've added some new modules within the migration to JUnit5. Some of them use jakarta.batch prefix, the same as the prefix used by the Batch API, e.g. JUnit reporting extension: https://github.com/eclipse-ee4j/batch-tck/tree/master/jakarta.batch.reporting/src/main/java/jakarta/batch/junit5reporting, some other use a shorter prefix "jbatch", such as the Arquillian extension: https://github.com/eclipse-ee4j/batch-tck/tree/master/jakarta.batch.arquillian.extension/src/main/java/jbatch/arquillian/extension

The donated modules should probably stay with the existing com.ibm.jbatch.tck prefix, there's no value in refactoring them. But what about the newly added modules? And any future modules? Should they also use the same package prefix, or something independent, not related to IBM?

I had a look at JAX-RS and JSON-B TCKs, and they are using the API prefix plus .tck, i.e. jakarta.ws.rs.tck or jakarta.json.bind.tck. If we follow that pattern, new modules should use the jakarta.batch.tck prefix.

Do you agree with using the prefix jakarta.batch.tck for newly added modules and all future modules? Or should we continue with com.ibm.jbatch.tck? Or can anybody suggest a better prefix?

Note: this isn't about maven artifact groups. All the modules now use the jakarta.batch maven group, only artifact name changes. This is about the package names in the code inside the modules.


All the best,


Ondrej Mihályi

Senior Payara Service Engineer
Payara - Supported Enterprise Software for Jakarta EE and MicroProfile Applications
US: +1 415 523 0175 | UK: +44 207 754 0481

----------------------------------------------------------------------------------------------------------------------

Payara is a proud recipient of the prestigious Queen's Award for Enterprise: International Trade 2021

Payara-Tech LDA, Registered Office: Rua Nova de São Pedro no. 54, 2nd floor, room “D”, 9000 048 Funchal, Ilha da Madeira, Portugal

VAT: PT 515158674 | www.payara.fish | info@xxxxxxxxxxx | @Payara_Fish


Back to the top