Title: Add Main class exists rule by gselzer · Pull Request #35 · scijava/scijava-maven-plugin · GitHub
Open Graph Title: Add Main class exists rule by gselzer · Pull Request #35 · scijava/scijava-maven-plugin
X Title: Add Main class exists rule by gselzer · Pull Request #35 · scijava/scijava-maven-plugin
Description: This PR adds a new custom enforcer rule that asserts that either: No main-class property exists (this would actually show up as a key with a blank value) The main-class property refers to an existing class file. The intent behind this rule is to catch the situations where a POM is copied and the developer who doesn't know any better (historically me) just changes the package structure of this property without actually making the class. It's been tested on the scijava/scijava repository, and seems to be working. Note that this rule differs from the existing rules in that it does not use the deprecated org.apache.maven.enforcer.rule.api.EnforcerRule. Let me know if that's an issue! We could always refactor the other rules into the new classes in another PR (there seems to be no issue with using both old and new patterns simultaneously)
Open Graph Description: This PR adds a new custom enforcer rule that asserts that either: No main-class property exists (this would actually show up as a key with a blank value) The main-class property refers to an exist...
X Description: This PR adds a new custom enforcer rule that asserts that either: No main-class property exists (this would actually show up as a key with a blank value) The main-class property refers to an exist...
Opengraph URL: https://github.com/scijava/scijava-maven-plugin/pull/35
X: @github
Domain: patch-diff.githubusercontent.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:747bbf8a-afed-8ca6-5373-691c86bfdb78 |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | DEDE:2AE7DB:30B59E:3F60E0:696E9525 |
| html-safe-nonce | 61611edb69ac55789cc693b400cdcaecac849e88a918e7df3d8cfc4c0291f5ff |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERURFOjJBRTdEQjozMEI1OUU6M0Y2MEUwOjY5NkU5NTI1IiwidmlzaXRvcl9pZCI6IjY5MzkxMzUwMzQxOTExNTY1MTciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 7e61ad06809997eca4e5c34f616408cf0047057260a91862b598cbd748e33fa8 |
| hovercard-subject-tag | pull_request:3154262750 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/scijava/scijava-maven-plugin/pull/35/checks |
| twitter:image | https://avatars.githubusercontent.com/u/29754838?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/29754838?s=400&v=4 |
| og:image:alt | This PR adds a new custom enforcer rule that asserts that either: No main-class property exists (this would actually show up as a key with a blank value) The main-class property refers to an exist... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | fdad15fd2ad43212aa8b8be5f2c2725550f8374ceeeb154a999ad9145b43f3f7 |
| turbo-cache-control | no-cache |
| go-import | github.com/scijava/scijava-maven-plugin git https://github.com/scijava/scijava-maven-plugin.git |
| octolytics-dimension-user_id | 1262770 |
| octolytics-dimension-user_login | scijava |
| octolytics-dimension-repository_id | 18479943 |
| octolytics-dimension-repository_nwo | scijava/scijava-maven-plugin |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 18479943 |
| octolytics-dimension-repository_network_root_nwo | scijava/scijava-maven-plugin |
| turbo-body-classes | logged-out env-production page-responsive full-width full-width-p-0 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 27b23bc056eb973d350fc95afc848757edb9e7a9 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width