{"id":26923820,"url":"https://github.com/dervism/java-archetype","last_synced_at":"2026-05-05T23:33:01.685Z","repository":{"id":47236281,"uuid":"319129064","full_name":"dervism/java-archetype","owner":"dervism","description":"Archetype for generating minimal Java projects with configuration for enabling/disabling preview features.","archived":false,"fork":false,"pushed_at":"2026-01-18T22:38:30.000Z","size":50,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-19T08:17:24.978Z","etag":null,"topics":["archetype","archetype-java","java","maven"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dervism.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2020-12-06T20:52:37.000Z","updated_at":"2026-01-18T22:38:33.000Z","dependencies_parsed_at":"2025-10-29T13:15:01.850Z","dependency_job_id":"20ed803a-452e-4fb4-9283-ac88d1bef068","html_url":"https://github.com/dervism/java-archetype","commit_stats":null,"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"purl":"pkg:github/dervism/java-archetype","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dervism%2Fjava-archetype","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dervism%2Fjava-archetype/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dervism%2Fjava-archetype/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dervism%2Fjava-archetype/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dervism","download_url":"https://codeload.github.com/dervism/java-archetype/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dervism%2Fjava-archetype/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32672675,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-05T11:29:49.557Z","status":"ssl_error","status_checked_at":"2026-05-05T11:29:48.587Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["archetype","archetype-java","java","maven"],"created_at":"2025-04-02T01:42:47.768Z","updated_at":"2026-05-05T23:33:01.680Z","avatar_url":"https://github.com/dervism.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# A simple Maven Archetype for Java\n![Maven Central](https://img.shields.io/maven-central/v/no.dervis/java-starter?style=flat-square)\n\nGenerates a minimal Maven project for Java with\n\n- JDK 25 (or any version you specify, read below)\n- JUnit 5.11.x\n\n## How to use\n\n### Selecting Java version\nChange the `jdkVersion` property to change the JDK version. Default value is currently `25`.\n\n### Activate/deactivate Java preview features\nChange the `javaPreviewFeatures` property to `no` or `n` if you want to disable preview features. Default value is `yes`, which means this archetype will generate a `pom.xml` file that allows you to use the newest preview features of Java.\n\n### Generating a new Java project from CLI\nChange the values of `DgroupId`, `-DartifactId` and `-Dversion` to match your own project details. These properties are required. `archetypeGroupId`, `archetypeArtifactId` and `archetypeVersion` must remain as is.\n\n```\nmvn archetype:generate -DarchetypeGroupId=no.dervis \\\n                    -DarchetypeArtifactId=java-starter \\\n                    -DarchetypeVersion=1.0.14 \\\n                    -DgroupId=org.mygroup \\\n                    -DartifactId=demoapp \\\n                    -Dversion=1.0.0 \\\n                    -DjdkVersion=25 \\\n                    -DjavaPreviewFeatures=yes \\\n                    -DinteractiveMode=false\n```\n\n### Maven Central\n[https://central.sonatype.com/artifact/no.dervis/java-starter/1.0.14](https://central.sonatype.com/artifact/no.dervis/java-starter/1.0.14)\n\n### Useful Maven commands for beginners\n#### Clean and compile\n\n- mvn clean compile\n\n#### Clean, compile and install\n\n- mvn clean install\n\n#### Check if there is newer versions of your dependencies\n- mvn versions:display-dependency-updates\n\n#### Upgrade snapshot versions to the closest release\n- mvn versions:use-releases\n\n#### Updating dependencies to the next version\n- mvn versions:use-next-releases\n\n#### Updating dependencies to the latest version\n- mvn versions:use-latest-releases\n\n### Rolling back a failed release\nIf a release started with the Maven Release Plugin fails or needs to be reverted, you can run the provided rollback script:\n\n- ./rollback.sh — rolls back the Maven release state (restores pom.xml from backups, removes temporary release files)\n- ./rollback.sh --delete-tag — additionally deletes the created Git tag locally\n- ./rollback.sh --delete-remote-tag — deletes the created Git tag both locally and on the configured Git remote (origin by default)\n\nNotes:\n- The script reads the tag name from release.properties (key: scm.tag).\n- It is safe to run multiple times; if there is nothing to roll back or the tag does not exist, it will continue with a warning.\n\n### Releasing (with dry run option)\nYou can run the release using the Maven Release Plugin via the provided script:\n\n- Actual release: `./release.sh`\n- Dry run (no tags/commits/push; validates that everything is ready): `./release.sh --dry-run` or `./release.sh -n`\n\nDry run runs `mvn release:prepare -DdryRun=true` so you can verify versions, SCM configuration, and checks without modifying your repository. When it completes successfully, run the script again without `--dry-run` to perform the actual release.\n\n### Release guide\n\nhttps://dev.to/selmaguedidi/publishing-your-java-library-to-maven-central-15in","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdervism%2Fjava-archetype","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdervism%2Fjava-archetype","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdervism%2Fjava-archetype/lists"}