From eb84bdcbddc49d9d8e69c8f97988f7c194978e47 Mon Sep 17 00:00:00 2001 From: Jimisola Laursen Date: Wed, 25 Feb 2026 21:54:09 +0100 Subject: [PATCH 01/11] refactor: update groupId and package to io.github.reqstool - Change groupId from se.lfv.reqstool to io.github.reqstool in pom.xml - Migrate package from se.lfv.reqstool.plugins.maven to io.github.reqstool.plugins.maven - Reorganize directory structure to match new package naming - Add comprehensive javadoc comments to all public classes and constants - Silences all javadoc warnings during build --- .claude/settings.local.json | 7 +++++ pom.xml | 2 +- .../plugins/maven/RequirementsToolMojo.java | 30 ++++++++++++++++++- .../maven/RequirementsToolMojoTests.java | 2 +- 4 files changed, 38 insertions(+), 3 deletions(-) create mode 100644 .claude/settings.local.json rename src/main/java/{se/lfv => io/github}/reqstool/plugins/maven/RequirementsToolMojo.java (90%) rename src/test/java/{se/lfv => io/github}/reqstool/plugins/maven/RequirementsToolMojoTests.java (98%) diff --git a/.claude/settings.local.json b/.claude/settings.local.json new file mode 100644 index 0000000..550b458 --- /dev/null +++ b/.claude/settings.local.json @@ -0,0 +1,7 @@ +{ + "permissions": { + "allow": [ + "Bash(mvn clean:*)" + ] + } +} diff --git a/pom.xml b/pom.xml index 0c68108..d279da7 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 - se.lfv.reqstool + io.github.reqstool reqstool-maven-plugin maven-plugin 1.0.3 diff --git a/src/main/java/se/lfv/reqstool/plugins/maven/RequirementsToolMojo.java b/src/main/java/io/github/reqstool/plugins/maven/RequirementsToolMojo.java similarity index 90% rename from src/main/java/se/lfv/reqstool/plugins/maven/RequirementsToolMojo.java rename to src/main/java/io/github/reqstool/plugins/maven/RequirementsToolMojo.java index 10b1408..7045d9e 100644 --- a/src/main/java/se/lfv/reqstool/plugins/maven/RequirementsToolMojo.java +++ b/src/main/java/io/github/reqstool/plugins/maven/RequirementsToolMojo.java @@ -1,5 +1,5 @@ // Copyright © LFV -package se.lfv.reqstool.plugins.maven; +package io.github.reqstool.plugins.maven; import java.io.File; import java.io.FileOutputStream; @@ -47,6 +47,11 @@ import com.fasterxml.jackson.dataformat.yaml.YAMLFactory; import com.fasterxml.jackson.dataformat.yaml.YAMLGenerator; +/** + * Maven Mojo for assembling and attaching reqstool artifacts. This plugin packages + * requirements, test results, and annotations into a ZIP artifact during the verify phase + * of the Maven build lifecycle. + */ @Mojo(name = "assemble-and-attach-zip-artifact", defaultPhase = LifecyclePhase.VERIFY) public class RequirementsToolMojo extends AbstractMojo { @@ -54,32 +59,45 @@ public class RequirementsToolMojo extends AbstractMojo { private static final String[] OUTPUT_ARTIFACT_TEST_RESULTS_PATTERN = { "test_results/**/*.xml" }; + /** Input file name for manual verification results. */ public static final String INPUT_FILE_MANUAL_VERIFICATION_RESULTS_YML = "manual_verification_results.yml"; + /** Input file name for requirements. */ public static final String INPUT_FILE_REQUIREMENTS_YML = "requirements.yml"; + /** Input file name for software verification cases. */ public static final String INPUT_FILE_SOFTWARE_VERIFICATION_CASES_YML = "software_verification_cases.yml"; + /** Input dataset directory path. */ public static final String INPUT_PATH_DATASET = "reqstool"; + /** Output file name for annotations. */ public static final String OUTPUT_FILE_ANNOTATIONS_YML_FILE = "annotations.yml"; private static final String OUTPUT_ARTIFACT_CLASSIFIER = "reqstool"; + /** Output artifact file name for reqstool configuration. */ public static final String OUTPUT_ARTIFACT_FILE_REQSTOOL_CONFIG_YML = "reqstool_config.yml"; + /** Output artifact directory name for test results. */ public static final String OUTPUT_ARTIFACT_DIR_TEST_RESULTS = "test_results"; + /** XML element name for implementations. */ public static final String XML_IMPLEMENTATIONS = "implementations"; + /** XML element name for requirement annotations. */ public static final String XML_REQUIREMENT_ANNOTATIONS = "requirement_annotations"; + /** XML element name for tests. */ public static final String XML_TESTS = "tests"; + /** YAML language server schema annotation. */ protected static final String YAML_LANG_SERVER_SCHEMA_ANNOTATIONS = "# yaml-language-server: $schema=https://raw.githubusercontent.com/Luftfartsverket/reqstool-client/main/src/reqstool/resources/schemas/v1/annotations.schema.json"; + /** YAML language server schema for configuration. */ protected static final String YAML_LANG_SERVER_SCHEMA_CONFIG = "# yaml-language-server: $schema=https://raw.githubusercontent.com/Luftfartsverket/reqstool-client/main/src/reqstool/resources/schemas/v1/reqstool_config.schema.json"; + /** ObjectMapper for YAML serialization and deserialization. */ protected static final ObjectMapper yamlMapper; static { @@ -122,6 +140,16 @@ public class RequirementsToolMojo extends AbstractMojo { @Parameter(property = "reqstool.skipAttachZipArtifact", defaultValue = "false") private boolean skipAttachZipArtifact; + /** Default constructor. */ + public RequirementsToolMojo() { + } + + /** + * Executes the Mojo goal to assemble and attach the reqstool ZIP artifact. Combines + * requirement and test annotations, assembles them into a ZIP file with requirements + * and test results, and attaches the artifact to the Maven project. + * @throws MojoExecutionException if an error occurs during execution + */ public void execute() throws MojoExecutionException { if (skip) { getLog().info("Skipping execution of reqstool plugin"); diff --git a/src/test/java/se/lfv/reqstool/plugins/maven/RequirementsToolMojoTests.java b/src/test/java/io/github/reqstool/plugins/maven/RequirementsToolMojoTests.java similarity index 98% rename from src/test/java/se/lfv/reqstool/plugins/maven/RequirementsToolMojoTests.java rename to src/test/java/io/github/reqstool/plugins/maven/RequirementsToolMojoTests.java index da19b3b..7320bb9 100644 --- a/src/test/java/se/lfv/reqstool/plugins/maven/RequirementsToolMojoTests.java +++ b/src/test/java/io/github/reqstool/plugins/maven/RequirementsToolMojoTests.java @@ -1,5 +1,5 @@ // Copyright © LFV -package se.lfv.reqstool.plugins.maven; +package io.github.reqstool.plugins.maven; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertTrue; From 666124ffe89bf13db6ce06eaf5e3eaa8e14b9b29 Mon Sep 17 00:00:00 2001 From: Jimisola Laursen Date: Wed, 25 Feb 2026 22:00:35 +0100 Subject: [PATCH 02/11] chore: bump version to 0.1.0 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index d279da7..5774d10 100644 --- a/pom.xml +++ b/pom.xml @@ -8,7 +8,7 @@ io.github.reqstool reqstool-maven-plugin maven-plugin - 1.0.3 + 0.1.0 ${project.artifactId} Reqstool - Maven Plugin From 3d90f051509b8860aea7583d547849b321e423b4 Mon Sep 17 00:00:00 2001 From: Jimisola Laursen Date: Wed, 25 Feb 2026 22:03:58 +0100 Subject: [PATCH 03/11] docs: update groupId, package, and version references to io.github.reqstool 0.1.0 --- docs/antora.yml | 2 +- docs/modules/ROOT/pages/configuration.adoc | 2 +- docs/modules/ROOT/pages/usage.adoc | 12 ++++++------ 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/docs/antora.yml b/docs/antora.yml index c3e2f00..7f8ae1b 100644 --- a/docs/antora.yml +++ b/docs/antora.yml @@ -2,6 +2,6 @@ name: reqstool-java-maven-plugin title: Reqstool Maven Plugin -version: 0.0.3 +version: 0.1.0 nav: - modules/ROOT/nav.adoc diff --git a/docs/modules/ROOT/pages/configuration.adoc b/docs/modules/ROOT/pages/configuration.adoc index a216ca1..6c81f70 100644 --- a/docs/modules/ROOT/pages/configuration.adoc +++ b/docs/modules/ROOT/pages/configuration.adoc @@ -8,7 +8,7 @@ To configure the plugin add a `` block for the plugin under the ` - se.lfv.reqstool + io.github.reqstool reqstool-maven-plugin 0.1.0 diff --git a/docs/modules/ROOT/pages/usage.adoc b/docs/modules/ROOT/pages/usage.adoc index 01188c5..550a61a 100644 --- a/docs/modules/ROOT/pages/usage.adoc +++ b/docs/modules/ROOT/pages/usage.adoc @@ -1,14 +1,14 @@ == Usage -To use the LFV Reqstool Java Maven Plugin, add the following configuration to your Maven project's `pom.xml`: +To use the Reqstool Java Maven Plugin, add the following configuration to your Maven project's `pom.xml`: ```xml - se.lfv.reqstool + io.github.reqstool reqstool-maven-plugin - 1.0.0 + 0.1.0 @@ -18,11 +18,11 @@ To use the LFV Reqstool Java Maven Plugin, add the following configuration to yo - se.lfv.reqstool + io.github.reqstool reqstool-java-annotations - 0.1.2 + 0.1.0 - + From 321d2e267637d4f65b7074163354b49f5121dc5a Mon Sep 17 00:00:00 2001 From: Jimisola Laursen Date: Wed, 25 Feb 2026 22:11:21 +0100 Subject: [PATCH 04/11] chore: update all URLs and references from Luftfartsverket to reqstool org --- .claude/settings.local.json | 5 ++++- LICENSE | 2 +- README.adoc | 10 +++++----- docs/antora-playbook.yml | 2 +- pom.xml | 18 +++++++++--------- .../plugins/maven/RequirementsToolMojo.java | 6 +++--- .../maven/RequirementsToolMojoTests.java | 2 +- 7 files changed, 24 insertions(+), 21 deletions(-) diff --git a/.claude/settings.local.json b/.claude/settings.local.json index 550b458..6c4509e 100644 --- a/.claude/settings.local.json +++ b/.claude/settings.local.json @@ -1,7 +1,10 @@ { "permissions": { "allow": [ - "Bash(mvn clean:*)" + "Bash(mvn clean:*)", + "Bash(ping:*)", + "Bash(GIT_TRACE=1 git push:*)", + "Bash(git remote:*)" ] } } diff --git a/LICENSE b/LICENSE index 5ea452a..fc689cb 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2024 LFV +Copyright (c) 2024 reqstool Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/README.adoc b/README.adoc index 45ddb5b..5d99c57 100644 --- a/README.adoc +++ b/README.adoc @@ -1,9 +1,9 @@ -image:https://img.shields.io/github/commit-activity/m/Luftfartsverket/reqstool-java-maven-plugin?label=commits&style=for-the-badge["Commit Activity", link="https://github.com/Luftfartsverket/reqstool-java-maven-plugin/pulse"] -image:https://img.shields.io/github/issues/Luftfartsverket/reqstool-java-maven-plugin?style=for-the-badge&logo=github["GitHub Issues", link="https://github.com/Luftfartsverket/reqstool-java-maven-plugin/issues"] +image:https://img.shields.io/github/commit-activity/m/reqstool/reqstool-java-maven-plugin?label=commits&style=for-the-badge["Commit Activity", link="https://github.com/reqstool/reqstool-java-maven-plugin/pulse"] +image:https://img.shields.io/github/issues/reqstool/reqstool-java-maven-plugin?style=for-the-badge&logo=github["GitHub Issues", link="https://github.com/reqstool/reqstool-java-maven-plugin/issues"] image:https://img.shields.io/badge/Java-21-brightgreen.svg?style=for-the-badge["JVM support", link="https://sdkman.io"] -image:https://img.shields.io/github/license/Luftfartsverket/reqstool-java-maven-plugin?style=for-the-badge&logo=opensourceinitiative["License", link="https://opensource.org/license/mit/"] -image:https://img.shields.io/github/actions/workflow/status/Luftfartsverket/reqstool-java-maven-plugin/build.yml?style=for-the-badge&logo=github["Build", link="https://github.com/Luftfartsverket/reqstool-java-maven-plugin/actions/workflows/build.yml"] -image:https://img.shields.io/badge/Documentation-blue?style=for-the-badge&link=docs["Static Badge", link="https://luftfartsverket.github.io/reqstool-java-maven-plugin/"] +image:https://img.shields.io/github/license/reqstool/reqstool-java-maven-plugin?style=for-the-badge&logo=opensourceinitiative["License", link="https://opensource.org/license/mit/"] +image:https://img.shields.io/github/actions/workflow/status/reqstool/reqstool-java-maven-plugin/build.yml?style=for-the-badge&logo=github["Build", link="https://github.com/reqstool/reqstool-java-maven-plugin/actions/workflows/build.yml"] +image:https://img.shields.io/badge/Documentation-blue?style=for-the-badge&link=docs["Static Badge", link="https://reqstool.github.io/reqstool-java-maven-plugin/"] include::docs/modules/ROOT/pages/index.adoc[] diff --git a/docs/antora-playbook.yml b/docs/antora-playbook.yml index d9871a4..725bdce 100644 --- a/docs/antora-playbook.yml +++ b/docs/antora-playbook.yml @@ -2,7 +2,7 @@ site: title: Reqstool Maven Plugin - url: https://github.com/luftfartsverket/reqstool-java-maven-plugin + url: https://github.com/reqstool/reqstool-java-maven-plugin start_page: reqstool-java-maven-plugin::index.adoc content: diff --git a/pom.xml b/pom.xml index 5774d10..7efe92f 100644 --- a/pom.xml +++ b/pom.xml @@ -12,7 +12,7 @@ ${project.artifactId} Reqstool - Maven Plugin - https://github.com/Luftfartsverket/reqstool-java-maven-plugin + https://github.com/reqstool/reqstool-java-maven-plugin @@ -23,24 +23,24 @@ - LFV System Developer Team - sysdev@lfv.se - Luftfartsverket - http://www.lfv.se + Reqstool Contributors + https://github.com/reqstool + reqstool + https://github.com/reqstool - scm:git:https://github.com/Luftfartsverket/reqstool-java-maven-plugin.git - https://github.com/Luftfartsverket/reqstool-java-maven-plugin + scm:git:https://github.com/reqstool/reqstool-java-maven-plugin.git + https://github.com/reqstool/reqstool-java-maven-plugin Github - https://github.com/Luftfartsverket/reqstool-java-maven-plugin/issues + https://github.com/reqstool/reqstool-java-maven-plugin/issues Github - https://github.com/Luftfartsverket/reqstool-java-maven-plugin/actions + https://github.com/reqstool/reqstool-java-maven-plugin/actions diff --git a/src/main/java/io/github/reqstool/plugins/maven/RequirementsToolMojo.java b/src/main/java/io/github/reqstool/plugins/maven/RequirementsToolMojo.java index 7045d9e..eec2891 100644 --- a/src/main/java/io/github/reqstool/plugins/maven/RequirementsToolMojo.java +++ b/src/main/java/io/github/reqstool/plugins/maven/RequirementsToolMojo.java @@ -1,4 +1,4 @@ -// Copyright © LFV +// Copyright © reqstool package io.github.reqstool.plugins.maven; import java.io.File; @@ -92,10 +92,10 @@ public class RequirementsToolMojo extends AbstractMojo { public static final String XML_TESTS = "tests"; /** YAML language server schema annotation. */ - protected static final String YAML_LANG_SERVER_SCHEMA_ANNOTATIONS = "# yaml-language-server: $schema=https://raw.githubusercontent.com/Luftfartsverket/reqstool-client/main/src/reqstool/resources/schemas/v1/annotations.schema.json"; + protected static final String YAML_LANG_SERVER_SCHEMA_ANNOTATIONS = "# yaml-language-server: $schema=https://raw.githubusercontent.com/reqstool/reqstool-client/main/src/reqstool/resources/schemas/v1/annotations.schema.json"; /** YAML language server schema for configuration. */ - protected static final String YAML_LANG_SERVER_SCHEMA_CONFIG = "# yaml-language-server: $schema=https://raw.githubusercontent.com/Luftfartsverket/reqstool-client/main/src/reqstool/resources/schemas/v1/reqstool_config.schema.json"; + protected static final String YAML_LANG_SERVER_SCHEMA_CONFIG = "# yaml-language-server: $schema=https://raw.githubusercontent.com/reqstool/reqstool-client/main/src/reqstool/resources/schemas/v1/reqstool_config.schema.json"; /** ObjectMapper for YAML serialization and deserialization. */ protected static final ObjectMapper yamlMapper; diff --git a/src/test/java/io/github/reqstool/plugins/maven/RequirementsToolMojoTests.java b/src/test/java/io/github/reqstool/plugins/maven/RequirementsToolMojoTests.java index 7320bb9..c1d02c3 100644 --- a/src/test/java/io/github/reqstool/plugins/maven/RequirementsToolMojoTests.java +++ b/src/test/java/io/github/reqstool/plugins/maven/RequirementsToolMojoTests.java @@ -1,4 +1,4 @@ -// Copyright © LFV +// Copyright © reqstool package io.github.reqstool.plugins.maven; import static org.junit.jupiter.api.Assertions.assertEquals; From e243f0d94352148da7d1aa93cac41fd2ef881efb Mon Sep 17 00:00:00 2001 From: Jimisola Laursen Date: Wed, 25 Feb 2026 22:13:36 +0100 Subject: [PATCH 05/11] chore: update remaining lfv/Luftfartsverket references in test fixtures --- .../resources/yml/combined_annotations.yml | 18 +++++++++--------- .../resources/yml/requirements_annotations.yml | 12 ++++++------ src/test/resources/yml/svcs_annotations.yml | 10 +++++----- 3 files changed, 20 insertions(+), 20 deletions(-) diff --git a/src/test/resources/yml/combined_annotations.yml b/src/test/resources/yml/combined_annotations.yml index 26ed176..4d6f686 100644 --- a/src/test/resources/yml/combined_annotations.yml +++ b/src/test/resources/yml/combined_annotations.yml @@ -3,27 +3,27 @@ requirement_annotations: implementations: REQ_001: - elementKind: "CLASS" - fullyQualifiedName: "se.lfv.reqstool.annotations.RequirementsExample" + fullyQualifiedName: "io.github.reqstool.annotations.RequirementsExample" REQ_002: - elementKind: "CLASS" - fullyQualifiedName: "se.lfv.reqstool.annotations.RequirementsExample" + fullyQualifiedName: "io.github.reqstool.annotations.RequirementsExample" REQ_003: - elementKind: "CLASS" - fullyQualifiedName: "se.lfv.reqstool.annotations.RequirementsExample" + fullyQualifiedName: "io.github.reqstool.annotations.RequirementsExample" - elementKind: "METHOD" - fullyQualifiedName: "se.lfv.reqstool.annotations.RequirementsExample.someMethod1" + fullyQualifiedName: "io.github.reqstool.annotations.RequirementsExample.someMethod1" REQ_004: - elementKind: "FIELD" - fullyQualifiedName: "se.lfv.reqstool.annotations.RequirementsExample.field" + fullyQualifiedName: "io.github.reqstool.annotations.RequirementsExample.field" tests: SVC_001: - elementKind: "CLASS" - fullyQualifiedName: "se.lfv.reqstool.annotations.SVCsExample" + fullyQualifiedName: "io.github.reqstool.annotations.SVCsExample" SVC_002: - elementKind: "CLASS" - fullyQualifiedName: "se.lfv.reqstool.annotations.SVCsExample" + fullyQualifiedName: "io.github.reqstool.annotations.SVCsExample" SVC_003: - elementKind: "CLASS" - fullyQualifiedName: "se.lfv.reqstool.annotations.SVCsExample" + fullyQualifiedName: "io.github.reqstool.annotations.SVCsExample" - elementKind: "METHOD" - fullyQualifiedName: "se.lfv.reqstool.annotations.SVCsExample.someMethod" + fullyQualifiedName: "io.github.reqstool.annotations.SVCsExample.someMethod" diff --git a/src/test/resources/yml/requirements_annotations.yml b/src/test/resources/yml/requirements_annotations.yml index 8c250f5..70de55c 100644 --- a/src/test/resources/yml/requirements_annotations.yml +++ b/src/test/resources/yml/requirements_annotations.yml @@ -1,18 +1,18 @@ -# yaml-language-server: $schema=https://raw.githubusercontent.com/Luftfartsverket/reqstool-client/main/src/reqstool/resources/schemas/v1/annotations.schema.json +# yaml-language-server: $schema=https://raw.githubusercontent.com/reqstool/reqstool-client/main/src/reqstool/resources/schemas/v1/annotations.schema.json --- requirement_annotations: implementations: REQ_001: - elementKind: "CLASS" - fullyQualifiedName: "se.lfv.reqstool.annotations.RequirementsExample" + fullyQualifiedName: "io.github.reqstool.annotations.RequirementsExample" REQ_002: - elementKind: "CLASS" - fullyQualifiedName: "se.lfv.reqstool.annotations.RequirementsExample" + fullyQualifiedName: "io.github.reqstool.annotations.RequirementsExample" REQ_003: - elementKind: "CLASS" - fullyQualifiedName: "se.lfv.reqstool.annotations.RequirementsExample" + fullyQualifiedName: "io.github.reqstool.annotations.RequirementsExample" - elementKind: "METHOD" - fullyQualifiedName: "se.lfv.reqstool.annotations.RequirementsExample.someMethod1" + fullyQualifiedName: "io.github.reqstool.annotations.RequirementsExample.someMethod1" REQ_004: - elementKind: "FIELD" - fullyQualifiedName: "se.lfv.reqstool.annotations.RequirementsExample.field" + fullyQualifiedName: "io.github.reqstool.annotations.RequirementsExample.field" diff --git a/src/test/resources/yml/svcs_annotations.yml b/src/test/resources/yml/svcs_annotations.yml index a953532..e102df6 100644 --- a/src/test/resources/yml/svcs_annotations.yml +++ b/src/test/resources/yml/svcs_annotations.yml @@ -1,15 +1,15 @@ -# yaml-language-server: $schema=https://raw.githubusercontent.com/Luftfartsverket/reqstool-client/main/src/reqstool/resources/schemas/v1/annotations.schema.json +# yaml-language-server: $schema=https://raw.githubusercontent.com/reqstool/reqstool-client/main/src/reqstool/resources/schemas/v1/annotations.schema.json --- requirement_annotations: tests: SVC_001: - elementKind: "CLASS" - fullyQualifiedName: "se.lfv.reqstool.annotations.SVCsExample" + fullyQualifiedName: "io.github.reqstool.annotations.SVCsExample" SVC_002: - elementKind: "CLASS" - fullyQualifiedName: "se.lfv.reqstool.annotations.SVCsExample" + fullyQualifiedName: "io.github.reqstool.annotations.SVCsExample" SVC_003: - elementKind: "CLASS" - fullyQualifiedName: "se.lfv.reqstool.annotations.SVCsExample" + fullyQualifiedName: "io.github.reqstool.annotations.SVCsExample" - elementKind: "METHOD" - fullyQualifiedName: "se.lfv.reqstool.annotations.SVCsExample.someMethod" + fullyQualifiedName: "io.github.reqstool.annotations.SVCsExample.someMethod" From 66822d3cd83584b5474f1ec7d9c8470b440db041 Mon Sep 17 00:00:00 2001 From: Jimisola Laursen Date: Wed, 25 Feb 2026 22:20:12 +0100 Subject: [PATCH 06/11] chore: remove .claude from tracking and add to .gitignore --- .claude/settings.local.json | 10 ---------- .gitignore | 1 + 2 files changed, 1 insertion(+), 10 deletions(-) delete mode 100644 .claude/settings.local.json diff --git a/.claude/settings.local.json b/.claude/settings.local.json deleted file mode 100644 index 6c4509e..0000000 --- a/.claude/settings.local.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "permissions": { - "allow": [ - "Bash(mvn clean:*)", - "Bash(ping:*)", - "Bash(GIT_TRACE=1 git push:*)", - "Bash(git remote:*)" - ] - } -} diff --git a/.gitignore b/.gitignore index 88c6d79..1c7c3d1 100644 --- a/.gitignore +++ b/.gitignore @@ -45,3 +45,4 @@ buildNumber.properties ### VisualStudioCode ### .vscode/* +.claude/ From 3e9039b2fba8f1b82e8e5fe41b990de162b2df1b Mon Sep 17 00:00:00 2001 From: Jimisola Laursen Date: Wed, 25 Feb 2026 22:21:44 +0100 Subject: [PATCH 07/11] chore: update developer info in pom.xml --- pom.xml | 1 - 1 file changed, 1 deletion(-) diff --git a/pom.xml b/pom.xml index 7efe92f..cc7e3bd 100644 --- a/pom.xml +++ b/pom.xml @@ -24,7 +24,6 @@ Reqstool Contributors - https://github.com/reqstool reqstool https://github.com/reqstool From f6234df282552660a462341b4aeaebf3b1db0a3a Mon Sep 17 00:00:00 2001 From: Jimisola Laursen Date: Wed, 25 Feb 2026 22:50:05 +0100 Subject: [PATCH 08/11] chore: rename GPG secrets from SYSDEV_ to REQSTOOL_ prefix --- .github/workflows/publish_maven.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish_maven.yml b/.github/workflows/publish_maven.yml index a8ac42d..cc2d61b 100644 --- a/.github/workflows/publish_maven.yml +++ b/.github/workflows/publish_maven.yml @@ -28,11 +28,11 @@ jobs: server-id: central server-username: MAVEN_USERNAME server-password: MAVEN_PASSWORD - gpg-private-key: ${{ secrets.SYSDEV_PRIVATE_GPG_KEY }} + gpg-private-key: ${{ secrets.REQSTOOL_PRIVATE_GPG_KEY }} gpg-passphrase: MAVEN_GPG_PASSPHRASE - name: Publish to the Maven Central Repository run: mvn clean deploy env: MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }} MAVEN_PASSWORD: ${{ secrets.OSSRH_TOKEN }} - MAVEN_GPG_PASSPHRASE: ${{ secrets.SYSDEV_PRIVATE_GPG_KEY_PASSPHRASE }} + MAVEN_GPG_PASSPHRASE: ${{ secrets.REQSTOOL_PRIVATE_GPG_KEY_PASSPHRASE }} From 9782ade8d63d0a703b119dc0fc7ec7e03491c43b Mon Sep 17 00:00:00 2001 From: Jimisola Laursen Date: Wed, 25 Feb 2026 23:41:28 +0100 Subject: [PATCH 09/11] chore: rename GPG passphrase env var to REQSTOOL_PRIVATE_GPG_PASSPHRASE --- .github/workflows/publish_maven.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/publish_maven.yml b/.github/workflows/publish_maven.yml index cc2d61b..2e53afb 100644 --- a/.github/workflows/publish_maven.yml +++ b/.github/workflows/publish_maven.yml @@ -26,13 +26,13 @@ jobs: java-version: "21" distribution: "temurin" server-id: central - server-username: MAVEN_USERNAME - server-password: MAVEN_PASSWORD + server-username: MAVEN_CENTRAL_USERNAME + server-password: MAVEN_CENTRAL_PASSWORD gpg-private-key: ${{ secrets.REQSTOOL_PRIVATE_GPG_KEY }} - gpg-passphrase: MAVEN_GPG_PASSPHRASE + gpg-passphrase: REQSTOOL_PRIVATE_GPG_PASSPHRASE - name: Publish to the Maven Central Repository run: mvn clean deploy env: - MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }} - MAVEN_PASSWORD: ${{ secrets.OSSRH_TOKEN }} - MAVEN_GPG_PASSPHRASE: ${{ secrets.REQSTOOL_PRIVATE_GPG_KEY_PASSPHRASE }} + MAVEN_CENTRAL_USERNAME: ${{ secrets.OSSRH_USERNAME }} + MAVEN_CENTRAL_PASSWORD: ${{ secrets.OSSRH_TOKEN }} + REQSTOOL_PRIVATE_GPG_PASSPHRASE: ${{ secrets.REQSTOOL_PRIVATE_GPG_KEY_PASSPHRASE }} From 5d73174816fad9c5b717ad2c4933535549f9d20e Mon Sep 17 00:00:00 2001 From: Jimisola Laursen Date: Thu, 26 Feb 2026 00:14:10 +0100 Subject: [PATCH 10/11] chore: bump version to 1.0.0 --- docs/antora.yml | 2 +- docs/modules/ROOT/pages/configuration.adoc | 2 +- docs/modules/ROOT/pages/usage.adoc | 4 ++-- pom.xml | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/antora.yml b/docs/antora.yml index 7f8ae1b..a56fdb8 100644 --- a/docs/antora.yml +++ b/docs/antora.yml @@ -2,6 +2,6 @@ name: reqstool-java-maven-plugin title: Reqstool Maven Plugin -version: 0.1.0 +version: 1.0.0 nav: - modules/ROOT/nav.adoc diff --git a/docs/modules/ROOT/pages/configuration.adoc b/docs/modules/ROOT/pages/configuration.adoc index 6c81f70..2292909 100644 --- a/docs/modules/ROOT/pages/configuration.adoc +++ b/docs/modules/ROOT/pages/configuration.adoc @@ -10,7 +10,7 @@ To configure the plugin add a `` block for the plugin under the ` io.github.reqstool reqstool-maven-plugin - 0.1.0 + 1.0.0 diff --git a/docs/modules/ROOT/pages/usage.adoc b/docs/modules/ROOT/pages/usage.adoc index 550a61a..6a9ec78 100644 --- a/docs/modules/ROOT/pages/usage.adoc +++ b/docs/modules/ROOT/pages/usage.adoc @@ -8,7 +8,7 @@ To use the Reqstool Java Maven Plugin, add the following configuration to your M io.github.reqstool reqstool-maven-plugin - 0.1.0 + 1.0.0 @@ -20,7 +20,7 @@ To use the Reqstool Java Maven Plugin, add the following configuration to your M io.github.reqstool reqstool-java-annotations - 0.1.0 + 1.0.0 diff --git a/pom.xml b/pom.xml index 6fec2d0..e4f8452 100644 --- a/pom.xml +++ b/pom.xml @@ -8,7 +8,7 @@ io.github.reqstool reqstool-maven-plugin maven-plugin - 0.1.0 + 1.0.0 ${project.artifactId} Reqstool - Maven Plugin From b3d2c7449eabd403316f9f54704a9006838d81db Mon Sep 17 00:00:00 2001 From: Jimisola Laursen Date: Thu, 26 Feb 2026 01:19:33 +0100 Subject: [PATCH 11/11] fix: fix typo --- .github/workflows/publish_maven.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/publish_maven.yml b/.github/workflows/publish_maven.yml index 2e53afb..c8209e7 100644 --- a/.github/workflows/publish_maven.yml +++ b/.github/workflows/publish_maven.yml @@ -27,12 +27,13 @@ jobs: distribution: "temurin" server-id: central server-username: MAVEN_CENTRAL_USERNAME - server-password: MAVEN_CENTRAL_PASSWORD + server-password: MAVEN_CENTRAL_TOKEN gpg-private-key: ${{ secrets.REQSTOOL_PRIVATE_GPG_KEY }} gpg-passphrase: REQSTOOL_PRIVATE_GPG_PASSPHRASE - name: Publish to the Maven Central Repository run: mvn clean deploy env: - MAVEN_CENTRAL_USERNAME: ${{ secrets.OSSRH_USERNAME }} - MAVEN_CENTRAL_PASSWORD: ${{ secrets.OSSRH_TOKEN }} - REQSTOOL_PRIVATE_GPG_PASSPHRASE: ${{ secrets.REQSTOOL_PRIVATE_GPG_KEY_PASSPHRASE }} + MAVEN_CENTRAL_USERNAME: ${{ secrets.MAVEN_CENTRAL_USERNAME }} + MAVEN_CENTRAL_TOKEN: ${{ secrets.MAVEN_CENTRAL_TOKEN }} + REQSTOOL_PRIVATE_GPG_PASSPHRASE: ${{ secrets.REQSTOOL_PRIVATE_GPG_PASSPHRASE }} +