<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Building Tool :: Ay Docs</title>
    <link>https://ops.docs.72602.space/using/building/index.html</link>
    <description>Maven Gradle</description>
    <generator>Hugo</generator>
    <language>en</language>
    <lastBuildDate>Mon, 11 Mar 2024 14:28:51 +0800</lastBuildDate>
    <atom:link href="https://ops.docs.72602.space/using/building/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Maven</title>
      <link>https://ops.docs.72602.space/using/building/maven/index.html</link>
      <pubDate>Mon, 11 Mar 2024 14:28:51 +0800</pubDate>
      <guid>https://ops.docs.72602.space/using/building/maven/index.html</guid>
      <description>1. build from submodule You don’t need to build from the head of project.&#xA;./mvnw clean package -DskipTests -rf :&lt;$submodule-name&gt; you can find the &lt;$submodule-name&gt; from submodule ’s pom.xml&#xA;&lt;project xmlns=&#34;http://maven.apache.org/POM/4.0.0&#34; xmlns:xsi=&#34;http://www.w3.org/2001/XMLSchema-instance&#34; xsi:schemaLocation=&#34;http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd&#34;&gt; &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt; &lt;parent&gt; &lt;groupId&gt;org.apache.flink&lt;/groupId&gt; &lt;artifactId&gt;flink-formats&lt;/artifactId&gt; &lt;version&gt;1.20-SNAPSHOT&lt;/version&gt; &lt;/parent&gt; &lt;artifactId&gt;flink-avro&lt;/artifactId&gt; &lt;name&gt;Flink : Formats : Avro&lt;/name&gt; Then you can modify the command as&#xA;./mvnw clean package -DskipTests -rf :flink-avro The result will look like this [WARNING] For this reason, future Maven versions might no longer support building such malformed projects. [WARNING] [INFO] ------------------------------------------------------------------------ [INFO] Detecting the operating system and CPU architecture [INFO] ------------------------------------------------------------------------ [INFO] os.detected.name: linux [INFO] os.detected.arch: x86_64 [INFO] os.detected.bitness: 64 [INFO] os.detected.version: 6.7 [INFO] os.detected.version.major: 6 [INFO] os.detected.version.minor: 7 [INFO] os.detected.release: fedora [INFO] os.detected.release.version: 38 [INFO] os.detected.release.like.fedora: true [INFO] os.detected.classifier: linux-x86_64 [INFO] ------------------------------------------------------------------------ [INFO] Reactor Build Order: [INFO] [INFO] Flink : Formats : Avro [jar] [INFO] Flink : Formats : SQL Avro [jar] [INFO] Flink : Formats : Parquet [jar] [INFO] Flink : Formats : SQL Parquet [jar] [INFO] Flink : Formats : Orc [jar] [INFO] Flink : Formats : SQL Orc [jar] [INFO] Flink : Python [jar] ... Normally, build Flink will start from module flink-parent</description>
    </item>
    <item>
      <title>Gradle</title>
      <link>https://ops.docs.72602.space/using/building/gradle/index.html</link>
      <pubDate>Thu, 07 Mar 2024 19:58:45 +0800</pubDate>
      <guid>https://ops.docs.72602.space/using/building/gradle/index.html</guid>
      <description>1. spotless keep your code spotless, check more detail in https://github.com/diffplug/spotless&#xA;see how to configuration there are several files need to configure.&#xA;settings.gradle.kts plugins { id(&#34;org.gradle.toolchains.foojay-resolver-convention&#34;) version &#34;0.7.0&#34; } build.gradle.kts plugins { id(&#34;com.diffplug.spotless&#34;) version &#34;6.23.3&#34; } configure&lt;com.diffplug.gradle.spotless.SpotlessExtension&gt; { kotlinGradle { target(&#34;**/*.kts&#34;) ktlint() } java { target(&#34;**/*.java&#34;) googleJavaFormat() .reflowLongStrings() .skipJavadocFormatting() .reorderImports(false) } yaml { target(&#34;**/*.yaml&#34;) jackson() .feature(&#34;ORDER_MAP_ENTRIES_BY_KEYS&#34;, true) } json { target(&#34;**/*.json&#34;) targetExclude(&#34;.vscode/settings.json&#34;) jackson() .feature(&#34;ORDER_MAP_ENTRIES_BY_KEYS&#34;, true) } } And the, you can execute follwoing command to format your code.</description>
    </item>
  </channel>
</rss>