{"id":19093443,"url":"https://github.com/imagej/imagej-command-archetype","last_synced_at":"2025-10-08T07:13:04.201Z","repository":{"id":74775037,"uuid":"94770522","full_name":"imagej/imagej-command-archetype","owner":"imagej","description":"Maven archetype for a SciJava/ImageJ2 Command","archived":false,"fork":false,"pushed_at":"2022-06-14T20:52:56.000Z","size":52,"stargazers_count":2,"open_issues_count":0,"forks_count":3,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-07-27T07:36:31.809Z","etag":null,"topics":["imagej","maven-archetype","scijava"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/imagej.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-06-19T11:40:11.000Z","updated_at":"2023-10-19T19:51:26.000Z","dependencies_parsed_at":null,"dependency_job_id":"fdc8047a-5ddb-4a4f-a3c8-6411937cdb09","html_url":"https://github.com/imagej/imagej-command-archetype","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/imagej/imagej-command-archetype","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imagej%2Fimagej-command-archetype","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imagej%2Fimagej-command-archetype/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imagej%2Fimagej-command-archetype/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imagej%2Fimagej-command-archetype/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/imagej","download_url":"https://codeload.github.com/imagej/imagej-command-archetype/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imagej%2Fimagej-command-archetype/sbom","scorecard":{"id":484763,"data":{"date":"2025-08-11","repo":{"name":"github.com/imagej/imagej-command-archetype","commit":"d53887f397237d0a9aa3d4a460a0df5209269ffd"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.4,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/30 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build-main.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/imagej/imagej-command-archetype/build-main.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build-main.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/imagej/imagej-command-archetype/build-main.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build-pr.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/imagej/imagej-command-archetype/build-pr.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build-pr.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/imagej/imagej-command-archetype/build-pr.yml/master?enable=pin","Info:   0 out of   4 GitHub-owned GitHubAction dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/build-main.yml:1","Warn: no topLevel permission defined: .github/workflows/build-pr.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":9,"reason":"license file detected","details":["Info: project has a license file: LICENSE.txt:0","Warn: project license file does not contain an FSF or OSI license."],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-19T17:30:23.350Z","repository_id":74775037,"created_at":"2025-08-19T17:30:23.350Z","updated_at":"2025-08-19T17:30:23.350Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278904023,"owners_count":26066004,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-08T02:00:06.501Z","response_time":56,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["imagej","maven-archetype","scijava"],"created_at":"2024-11-09T03:24:41.746Z","updated_at":"2025-10-08T07:13:04.160Z","avatar_url":"https://github.com/imagej.png","language":"Java","readme":"[![](https://github.com/imagej/imagej-command-archetype/actions/workflows/build-main.yml/badge.svg)](https://github.com/imagej/imagej-command-archetype/actions/workflows/build-main.yml)\n\nimagej-command-archetype\n========================\n\nMaven archetype based on [https://github.com/imagej/example-imagej-command](https://github.com/imagej/example-imagej-command).\n\nUsage\n-----\n\n1. Start the interactive creation mode and select a coordinate (`groupId`, `artifactId`, `version`) for your project. This will create a new subdirectory (named after `artifactId`) with a minimal setup for a `Command`:\n\n```\n$ mvn archetype:generate \\\n    -DarchetypeGroupId=net.imagej \\\n    -DarchetypeArtifactId=imagej-command-archetype\n```\n\n**Interactive mode for GAV definition:**\n```\n[INFO] Scanning for projects...\n[INFO]                                                                         \n[INFO] ------------------------------------------------------------------------\n[INFO] Building Maven Stub Project (No POM) 1\n[INFO] ------------------------------------------------------------------------\n[INFO] \n[INFO] \u003e\u003e\u003e maven-archetype-plugin:3.0.1:generate (default-cli) \u003e generate-sources @ standalone-pom \u003e\u003e\u003e\n[INFO] \n[INFO] \u003c\u003c\u003c maven-archetype-plugin:3.0.1:generate (default-cli) \u003c generate-sources @ standalone-pom \u003c\u003c\u003c\n[INFO] \n[INFO] --- maven-archetype-plugin:3.0.1:generate (default-cli) @ standalone-pom ---\n[INFO] Generating project in Interactive mode\n[INFO] Archetype repository not defined. Using the one from [net.imagej:imagej-command-archetype:0.0.1-SNAPSHOT] found in catalog local\nDefine value for property 'groupId': com.mycompany\nDefine value for property 'artifactId': MyCommand\nDefine value for property 'version' 1.0-SNAPSHOT: : 0.1.0-SNAPSHOT\nDefine value for property 'package' com.mycompany: : \nDefine value for property 'description': My awesome description\nDefine value for property 'developerId' stefan: : stelfrich\nDefine value for property 'developerName': Stefan\nDefine value for property 'developerUrl' https://imagej.net/User:stelfrich: : \nDefine value for property 'inceptionYear' 2017: : \nDefine value for property 'main-class' com.mycompany.MyCommand: : \nDefine value for property 'name': My awesome command\nDefine value for property 'organizationId': imagej\nDefine value for property 'organizationName': ImageJ\nDefine value for property 'organizationUrl' https://github.com/imagej: : \nDefine value for property 'scmConnection' scm:git:git://github.com/imagej/MyCommand: : \nDefine value for property 'scmDeveloperConnection' scm:git:git@github.com:imagej/MyCommand: : \nDefine value for property 'scmUrl' https://github.com/imagej/MyCommand: : \nDefine value for property 'url' https://imagej.net/MyCommand: : \nDefine value for property 'urlIssueManagement' https://github.com/imagej/MyCommand/issues: : \nConfirm properties configuration:\ngroupId: com.mycompany\nartifactId: MyCommand\nversion: 0.1.0-SNAPSHOT\npackage: com.mycompany\ndescription: My awesome description\ndeveloperId: stelfrich\ndeveloperName: Stefan\ndeveloperUrl: https://imagej.net/User:stelfrich\ninceptionYear: 2017\nmain-class: com.mycompany.MyCommand\nname: My awesome command\norganizationId: imagej\norganizationName: ImageJ\norganizationUrl: https://github.com/imagej\nscmConnection: scm:git:git://github.com/imagej/MyCommand\nscmDeveloperConnection: scm:git:git@github.com:imagej/MyCommand\nscmUrl: https://github.com/imagej/MyCommand\nurl: https://imagej.net/MyCommand\nurlIssueManagement: https://github.com/imagej/MyCommand/issues\n Y: :\n```\n\nKnown issues\n---\n\nIf you get the following error message when trying to create a new command in interactive mode\n\n```\n...\nDefine value for property 'description': : Something\nMar 28, 2018 9:23:33 AM org.apache.velocity.runtime.log.JdkLogChute log\nINFO: FileResourceLoader : adding path '.'\nMar 28, 2018 9:23:33 AM org.apache.velocity.runtime.log.JdkLogChute log\nINFO: Null reference [template 'developerId', line 1, column 1] : ${package.getClass().forName(\"java.lang.System\").getProperty(\"user.name\")} cannot be resolved.\nDefine value for property 'developerId':  ${package.getClass().forName(\"java.lang.System\").getProperty(\"user.name\")}: : \n```\n\nconfirm that one of the first lines in the output says\n\n```\n[INFO] \u003e\u003e\u003e maven-archetype-plugin:2.4:generate (default-cli) \u003e generate-sources @ standalone-pom \u003e\u003e\u003e\n```\n\nThis means, that Maven is using version 2.4 of `maven-archetype-plugin` instead of the latest version, which enables us to generate even more meaningful default settings.\n\nIf the above applies to you, delete `~/.m2/repositories/org/apache/maven/plugins` to force Maven to re-download the latest version of plugins.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimagej%2Fimagej-command-archetype","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fimagej%2Fimagej-command-archetype","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimagej%2Fimagej-command-archetype/lists"}