WordPress database error: [Disk full (/tmp/#sql-temptable-1-261069-25fe.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")]
SHOW FULL COLUMNS FROM `markjacobsen_options`

{"id":1961,"date":"2018-09-27T09:33:00","date_gmt":"2018-09-27T13:33:00","guid":{"rendered":"http:\/\/markjacobsen.net\/?p=1961"},"modified":"2018-09-26T19:17:25","modified_gmt":"2018-09-26T23:17:25","slug":"including-the-version-in-a-maven-artifact","status":"publish","type":"post","link":"https:\/\/markjacobsen.net\/2018\/09\/including-the-version-in-a-maven-artifact\/","title":{"rendered":"Including the version in a Maven artifact"},"content":{"rendered":"

Recently I wanted to include the version of an artifact generated by a Maven build into a text file in that artifact. As Google and and good friends will help you with, I was pointed to this article<\/a> that was exactly what I wanted.<\/p>\n

Basically, create a \/src\/main\/resources\/version.txt file with the following content…<\/p>\n

${project.version}<\/code><\/pre>\n

… then including the following snippet in your “build”…<\/p>\n

\r\n<build>\r\n  <resources>\r\n    <resource>\r\n      <directory>src\/main\/resources<\/directory>\r\n      <filtering>true<\/filtering>\r\n      <includes>\r\n        <include>**\/version.txt<\/include>\r\n      <\/includes>\r\n    <\/resource>\r\n    <resource>\r\n      <directory>src\/main\/resources<\/directory>\r\n      <filtering>false<\/filtering>\r\n      <excludes>\r\n        <exclude>**\/version.txt<\/exclude>\r\n      <\/excludes>\r\n    <\/resource>\r\n  <\/resources>\r\n<\/build>\r\n<\/code><\/pre>\nPlease remember to subscribe to the newsletter<\/a> to stay up to date!<\/i>\n\nYou or someone you know looking to buy or sell?<\/i>\n<\/a>\nDisclaimer: Thoughts and opinions are my own, and do not reflect the views of any employer, family member, friend, or anyone else. Some links may be affiliate links, but I don't link to anything I don't use myself. You would think this should be self evident these days, but apparently not...<\/small><\/i>","protected":false},"excerpt":{"rendered":"

Recently I wanted to include the version of an artifact generated by a Maven build into a text file in that artifact. As Google and and good friends will help you with, I was pointed to this article that was exactly what I wanted. Basically, create a \/src\/main\/resources\/version.txt file with the following content… ${project.version} … … Continue reading Including the version in a Maven artifact<\/span> →<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"footnotes":"","_jetpack_memberships_contains_paid_content":false,"jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false},"version":2}},"categories":[58],"tags":[156,175],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p2UXeD-vD","jetpack_sharing_enabled":true,"jetpack-related-posts":[],"jetpack_likes_enabled":false,"_links":{"self":[{"href":"https:\/\/markjacobsen.net\/wp-json\/wp\/v2\/posts\/1961"}],"collection":[{"href":"https:\/\/markjacobsen.net\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/markjacobsen.net\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/markjacobsen.net\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/markjacobsen.net\/wp-json\/wp\/v2\/comments?post=1961"}],"version-history":[{"count":3,"href":"https:\/\/markjacobsen.net\/wp-json\/wp\/v2\/posts\/1961\/revisions"}],"predecessor-version":[{"id":1964,"href":"https:\/\/markjacobsen.net\/wp-json\/wp\/v2\/posts\/1961\/revisions\/1964"}],"wp:attachment":[{"href":"https:\/\/markjacobsen.net\/wp-json\/wp\/v2\/media?parent=1961"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/markjacobsen.net\/wp-json\/wp\/v2\/categories?post=1961"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/markjacobsen.net\/wp-json\/wp\/v2\/tags?post=1961"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}