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: github.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:0f33a45b-b110-74f9-bc60-ad0ebe3770a4 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | EB3E:2105AF:2A71672:38B4D05:696EEF29 |
| html-safe-nonce | 68dd888e0891ed7d036120cd404b7830690421d5f03a26201755da62e82b45e2 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQjNFOjIxMDVBRjoyQTcxNjcyOjM4QjREMDU6Njk2RUVGMjkiLCJ2aXNpdG9yX2lkIjoiMzE1NzgyMDQ5MDc4MDcwMDQ1NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 7af8ab777049ffec06095e2057229b07d9c87573cdb4c107ae961cecb9ae4970 |
| 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 | b278ad162d35332b6de714dfb005de04386c4d92df6475522bef910f491a35ee |
| 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 | 39aed5006635ab6f45e6b77d23e73b08a00272a3 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width