Title: Fail the build when a non-existent main class is declared · Issue #34 · scijava/scijava-maven-plugin · GitHub
Open Graph Title: Fail the build when a non-existent main class is declared · Issue #34 · scijava/scijava-maven-plugin
X Title: Fail the build when a non-existent main class is declared · Issue #34 · scijava/scijava-maven-plugin
Description: It's easy to copy over main-class property into a pom when you're making a new project. If this class doesn't exist, then we should fail the build (via a new enforcer plugin), and suggest that the developer either add the main class or d...
Open Graph Description: It's easy to copy over main-class property into a pom when you're making a new project. If this class doesn't exist, then we should fail the build (via a new enforcer plugin), and suggest that the ...
X Description: It's easy to copy over main-class property into a pom when you're making a new project. If this class doesn't exist, then we should fail the build (via a new enforcer plugin), and sugge...
Opengraph URL: https://github.com/scijava/scijava-maven-plugin/issues/34
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Fail the build when a non-existent main class is declared","articleBody":"It's easy to copy over `main-class` property into a pom when you're making a new project. If this class doesn't exist, then we should fail the build (via a new enforcer plugin), and suggest that the developer either add the main class or delete the property from the pom.\n\n[Example offender](https://github.com/scijava/scijava/blob/13f00a282b10cddc79846617e2ec4618628fc60a/scijava-ops-engine/pom.xml#L102)","author":{"url":"https://github.com/gselzer","@type":"Person","name":"gselzer"},"datePublished":"2026-01-06T17:06:50.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/34/scijava-maven-plugin/issues/34"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:0d8e9b52-dc41-4273-eeac-61296df48480 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D702:28DD58:2E24D51:3CD8BC5:696DB185 |
| html-safe-nonce | 55a00303c452f58ca86442c1cd8c0ce34cd1a930a52c56bcd34b11e77278cd24 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENzAyOjI4REQ1ODoyRTI0RDUxOjNDRDhCQzU6Njk2REIxODUiLCJ2aXNpdG9yX2lkIjoiNDQyMTEzNzIyNzcxODcwMTQ0NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 7e8afa7288c580fbc3bc5a47b84ff10cef94fe9701477ca2656223736b43fb4d |
| hovercard-subject-tag | issue:3785856153 |
| github-keyboard-shortcuts | repository,issues,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/_view_fragments/issues/show/scijava/scijava-maven-plugin/34/issue_layout |
| twitter:image | https://opengraph.githubassets.com/6ae0560229905d9f880be16d841caac9f5dec860eb58f53ef3fbd5662642725a/scijava/scijava-maven-plugin/issues/34 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/6ae0560229905d9f880be16d841caac9f5dec860eb58f53ef3fbd5662642725a/scijava/scijava-maven-plugin/issues/34 |
| og:image:alt | It's easy to copy over main-class property into a pom when you're making a new project. If this class doesn't exist, then we should fail the build (via a new enforcer plugin), and suggest that the ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | gselzer |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4922b452d03cd8dbce479d866a11bc25b59ef6ee2da23aa9b0ddefa6bd4d0064 |
| turbo-cache-control | no-preview |
| 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 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7e5ae23c70136152637ceee8d6faceb35596ec46 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width