{"id":17243162,"url":"https://github.com/leonardehrenfried/jspc-maven-plugin","last_synced_at":"2025-09-20T22:31:24.656Z","repository":{"id":1514261,"uuid":"1772126","full_name":"leonardehrenfried/jspc-maven-plugin","owner":"leonardehrenfried","description":"Maven JSP precompilation plugin","archived":false,"fork":false,"pushed_at":"2025-09-06T23:48:25.000Z","size":1411,"stargazers_count":31,"open_issues_count":15,"forks_count":22,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-09-18T09:12:59.847Z","etag":null,"topics":["jasper","java","precompiler-plugins"],"latest_commit_sha":null,"homepage":"https://leonardehrenfried.github.io/jspc-maven-plugin/compile-mojo.html","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/leonardehrenfried.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}},"created_at":"2011-05-19T16:08:59.000Z","updated_at":"2025-08-08T10:01:44.000Z","dependencies_parsed_at":"2023-02-17T17:16:02.513Z","dependency_job_id":"fc5d1934-b45a-44d2-a189-27d500a51701","html_url":"https://github.com/leonardehrenfried/jspc-maven-plugin","commit_stats":null,"previous_names":["lenniboy/jspc-maven-plugin"],"tags_count":29,"template":false,"template_full_name":null,"purl":"pkg:github/leonardehrenfried/jspc-maven-plugin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leonardehrenfried%2Fjspc-maven-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leonardehrenfried%2Fjspc-maven-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leonardehrenfried%2Fjspc-maven-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leonardehrenfried%2Fjspc-maven-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/leonardehrenfried","download_url":"https://codeload.github.com/leonardehrenfried/jspc-maven-plugin/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leonardehrenfried%2Fjspc-maven-plugin/sbom","scorecard":{"id":584255,"data":{"date":"2025-08-11","repo":{"name":"github.com/leonardehrenfried/jspc-maven-plugin","commit":"45f6ef0f8f0278c9f42714e457df8f322731772b"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/8 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":"Maintained","score":6,"reason":"8 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 6","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/ci.yml:1","Warn: topLevel 'contents' permission set to 'write': .github/workflows/release.yml:9","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":"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/ci.yml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/leonardehrenfried/jspc-maven-plugin/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/leonardehrenfried/jspc-maven-plugin/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:28: update your workflow using https://app.stepsecurity.io/secureworkflow/leonardehrenfried/jspc-maven-plugin/ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:33: update your workflow using https://app.stepsecurity.io/secureworkflow/leonardehrenfried/jspc-maven-plugin/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/leonardehrenfried/jspc-maven-plugin/release.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/leonardehrenfried/jspc-maven-plugin/release.yml/master?enable=pin","Info:   0 out of   4 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   2 third-party 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":"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":"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":"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":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE:0"],"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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 29 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"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-20T20:00:27.968Z","repository_id":1514261,"created_at":"2025-08-20T20:00:27.969Z","updated_at":"2025-08-20T20:00:27.969Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":276169305,"owners_count":25596952,"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-09-20T02:00:10.207Z","response_time":63,"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":["jasper","java","precompiler-plugins"],"created_at":"2024-10-15T06:14:53.614Z","updated_at":"2025-09-20T22:31:24.369Z","avatar_url":"https://github.com/leonardehrenfried.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"## JSPC Maven Plugin\n\n[![Build Status](https://travis-ci.org/leonardehrenfried/jspc-maven-plugin.svg?branch=master)](https://travis-ci.org/leonardehrenfried/jspc-maven-plugin)\n[![Maven Central](https://img.shields.io/maven-central/v/io.leonard.maven.plugins/jspc-maven-plugin.svg)](http://search.maven.org/#search%7Cgav%7C1%7Cg%3A%22io.leonard.maven.plugins%22%20AND%20a%3A%22jspc-maven-plugin%22)\n\nThis plugin precompiles JSPs. It is a fork of jetty-jspc-maven-plugin and configured as follows:\n\n```xml\n\u003cbuild\u003e\n....\n\u003cplugin\u003e\n \u003cgroupId\u003eio.leonard.maven.plugins\u003c/groupId\u003e\n  \u003cartifactId\u003ejspc-maven-plugin\u003c/artifactId\u003e\n  \u003cversion\u003e${ENTER_VERSION_HERE}\u003c/version\u003e\n   \u003cexecutions\u003e\n    \u003cexecution\u003e\n     \u003cid\u003ejspc\u003c/id\u003e\n     \u003cgoals\u003e\n     \u003cgoal\u003ecompile\u003c/goal\u003e\n    \u003c/goals\u003e\n    \u003cconfiguration\u003e\n    \u003c/configuration\u003e\n  \u003c/execution\u003e\n \u003c/executions\u003e\n\u003c/plugin\u003e\n...\n\u003c/build\u003e\n```\n\nIt has the following improvements compared to jetty-jspc-maven-plugin:\n\n* Faster: can be configured to run multi-threaded. For a speed comparison read the blog post below.\n* More descriptive error messages: Under Maven 3 this plugin shows a clear indication of what caused the error and which file it is in\n* Not stop at the first error (depends plugin configuration)\n\nThe compiler used by default in this plugin is Apache Jasper 10.\n\nIf the Jasper compiler version needs to be overloaded, the plugin must be configured as follows:\n\n```xml\n\u003cbuild\u003e\n  ....\n  \u003cplugin\u003e\n    \u003cgroupId\u003eio.leonard.maven.plugins\u003c/groupId\u003e\n    \u003cartifactId\u003ejspc-maven-plugin\u003c/artifactId\u003e\n    \u003cversion\u003e${ENTER_VERSION_HERE}\u003c/version\u003e\n    \u003cexecutions\u003e\n      \u003cexecution\u003e\n        \u003cid\u003ejspc\u003c/id\u003e\n        \u003cgoals\u003e\n          \u003cgoal\u003ecompile\u003c/goal\u003e\n        \u003c/goals\u003e\n        \u003cconfiguration /\u003e\n      \u003c/execution\u003e\n    \u003c/executions\u003e\n    \u003cdependencies\u003e\n      \u003cdependency\u003e\n        \u003cgroupId\u003eorg.apache.tomcat\u003c/groupId\u003e\n        \u003cartifactId\u003etomcat-jasper\u003c/artifactId\u003e\n        \u003cversion\u003e${ENTER_JASPER_VERSION_HERE}\u003c/version\u003e\n        \u003cexclusions\u003e\n          \u003cexclusion\u003e\n            \u003cgroupId\u003eorg.eclipse.jdt\u003c/groupId\u003e\n            \u003cartifactId\u003eecj\u003c/artifactId\u003e\n          \u003c/exclusion\u003e\n        \u003c/exclusions\u003e\n      \u003c/dependency\u003e\n      \u003cdependency\u003e\n        \u003cgroupId\u003eorg.eclipse.jdt\u003c/groupId\u003e\n        \u003cartifactId\u003eecj\u003c/artifactId\u003e\n        \u003cversion\u003e3.36.0\u003c/version\u003e\n      \u003c/dependency\u003e\n    \u003c/dependencies\u003e\n  \u003c/plugin\u003e\n  ...\n\u003c/build\u003e\n```\n\nFull documentation of the goal is available at https://leonardehrenfried.github.io/jspc-maven-plugin/compile-mojo.html\n\n## Compatibility Matrix\n\n* 5.X version of jspc-maven-plugin : needs Java \u003e= 17, Jasper only 11.X\n* 4.X version of jspc-maven-plugin : needs Java \u003e= 11, Jasper only 10.X\n* 3.X version of jspc-maven-plugin : needs Java \u003e= 1.8, Jasper only 9.X\n* 2.X version of jspc-maven-plugin : needs Java \u003e= 1.7, Jasper only 8.X\n* 1.X version of jspc-maven-plugin : needs Java \u003e= 1.5, Jasper only 6.X, 7.X\n\n## Comparison of precompiler plugins\n\n[https://tcollignon.github.io/2016/12/04/How-to-compile-JSP-with-Tomcat-and-Maven-faster.html](https://tcollignon.github.io/2016/12/04/How-to-compile-JSP-with-Tomcat-and-Maven-faster.html)\n\n## Use another JSP compiler\n\nBy default this plugin use org.apache.jasper.compiler.JDTCompiler (see compilerClass goal option). But if the number of threads is over 2,\nthis compiler has too much synchronization overheas and hence is no very not very performant.\n\nTo improve this is possible to user another compilerClass `org.apache.jasper.compiler.ParallelJDTCompiler`, which reduces synchronization.\n\nNote : With Tomcat 9 the compiler `org.apache.jasper.compiler.ParallelJDTCompiler` will not work very well. It needs some fix.\nWe advice to use the standard `org.apache.jasper.compiler.JDTCompiler` instead.\n\n## Release process\n\n1. `make release`\n1. `make commit-site`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleonardehrenfried%2Fjspc-maven-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fleonardehrenfried%2Fjspc-maven-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleonardehrenfried%2Fjspc-maven-plugin/lists"}