Skip to content
Permalink
Browse files
FLUME-3427 - Add automatic module names
  • Loading branch information
rgoers committed Jul 11, 2022
1 parent 1a0722a commit bfbfcbb17aa541e15c943939160f2ec99a7213b9
Show file tree
Hide file tree
Showing 45 changed files with 131 additions and 46 deletions.
@@ -22,7 +22,7 @@ limitations under the License.

<groupId>org.apache.flume</groupId>
<artifactId>build-support</artifactId>
<version>2.0.0-SNAPSHOT</version>
<version>1.10.1-SNAPSHOT</version>
<name>Build Support</name>
<description>Build tools and Configuration</description>
<properties>
@@ -21,7 +21,7 @@ limitations under the License.
<parent>
<artifactId>flume-parent</artifactId>
<groupId>org.apache.flume</groupId>
<version>2.0.0-SNAPSHOT</version>
<version>1.10.1-SNAPSHOT</version>
</parent>

<artifactId>flume-ng-auth</artifactId>
@@ -32,6 +32,7 @@ limitations under the License.
<!-- TODO fix spotbugs/pmd violations -->
<spotbugs.maxAllowedViolations>1</spotbugs.maxAllowedViolations>
<pmd.maxAllowedViolations>7</pmd.maxAllowedViolations>
<module.name>org.apache.flume.auth</module.name>
</properties>

<dependencies>
@@ -24,7 +24,7 @@
<parent>
<artifactId>flume-ng-channels</artifactId>
<groupId>org.apache.flume</groupId>
<version>2.0.0-SNAPSHOT</version>
<version>1.10.1-SNAPSHOT</version>
</parent>

<groupId>org.apache.flume.flume-ng-channels</groupId>
@@ -35,6 +35,7 @@
<!-- TODO fix spotbugs violations -->
<spotbugs.maxAllowedViolations>86</spotbugs.maxAllowedViolations>
<pmd.maxAllowedViolations>544</pmd.maxAllowedViolations>
<module.name>org.apache.flume.channel.file</module.name>
</properties>

<dependencies>
@@ -23,7 +23,7 @@ limitations under the License.
<parent>
<artifactId>flume-ng-channels</artifactId>
<groupId>org.apache.flume</groupId>
<version>2.0.0-SNAPSHOT</version>
<version>1.10.1-SNAPSHOT</version>
</parent>

<groupId>org.apache.flume.flume-ng-channels</groupId>
@@ -34,6 +34,7 @@ limitations under the License.
<!-- TODO fix spotbugs/pmd violations -->
<spotbugs.maxAllowedViolations>31</spotbugs.maxAllowedViolations>
<pmd.maxAllowedViolations>16</pmd.maxAllowedViolations>
<module.name>org.apache.flume.channel.jdbc</module.name>
</properties>

<dependencies>
@@ -21,7 +21,7 @@ limitations under the License.
<parent>
<artifactId>flume-ng-channels</artifactId>
<groupId>org.apache.flume</groupId>
<version>2.0.0-SNAPSHOT</version>
<version>1.10.1-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

@@ -32,6 +32,7 @@ limitations under the License.
<!-- TODO fix spotbugs/pmd violations -->
<spotbugs.maxAllowedViolations>13</spotbugs.maxAllowedViolations>
<pmd.maxAllowedViolations>13</pmd.maxAllowedViolations>
<module.name>org.apache.flume.channel.kafka</module.name>
</properties>

<dependencies>
@@ -24,7 +24,7 @@
<parent>
<artifactId>flume-ng-channels</artifactId>
<groupId>org.apache.flume</groupId>
<version>2.0.0-SNAPSHOT</version>
<version>1.10.1-SNAPSHOT</version>
</parent>

<groupId>org.apache.flume.flume-ng-channels</groupId>
@@ -35,6 +35,7 @@
<!-- TODO fix spotbugs/pmd violations -->
<spotbugs.maxAllowedViolations>2</spotbugs.maxAllowedViolations>
<pmd.maxAllowedViolations>8</pmd.maxAllowedViolations>
<module.name>org.apache.flume.channel.spillable.memory</module.name>
</properties>

<dependencies>
@@ -23,7 +23,7 @@ limitations under the License.
<parent>
<artifactId>flume-parent</artifactId>
<groupId>org.apache.flume</groupId>
<version>2.0.0-SNAPSHOT</version>
<version>1.10.1-SNAPSHOT</version>
</parent>

<artifactId>flume-ng-channels</artifactId>
@@ -21,7 +21,7 @@ limitations under the License.
<parent>
<artifactId>flume-ng-clients</artifactId>
<groupId>org.apache.flume</groupId>
<version>2.0.0-SNAPSHOT</version>
<version>1.10.1-SNAPSHOT</version>
<relativePath>..</relativePath>
</parent>

@@ -33,6 +33,7 @@ limitations under the License.
<!-- TODO fix spotbugs/pmd violations -->
<spotbugs.maxAllowedViolations>2</spotbugs.maxAllowedViolations>
<pmd.maxAllowedViolations>1</pmd.maxAllowedViolations>
<module.name>org.apache.flume.clients.log4jappender</module.name>
</properties>

<build>
@@ -20,7 +20,7 @@ limitations under the License.
<parent>
<artifactId>flume-parent</artifactId>
<groupId>org.apache.flume</groupId>
<version>2.0.0-SNAPSHOT</version>
<version>1.10.1-SNAPSHOT</version>
<relativePath>..</relativePath>
</parent>
<artifactId>flume-ng-clients</artifactId>
@@ -20,10 +20,14 @@ limitations under the License.
<parent>
<artifactId>flume-ng-configfilters</artifactId>
<groupId>org.apache.flume</groupId>
<version>2.0.0-SNAPSHOT</version>
<version>1.10.1-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

<properties>
<module.name>org.apache.flume.configfilter.api</module.name>
</properties>

<artifactId>flume-ng-config-filter-api</artifactId>
<name>Flume NG Config Filters API</name>

@@ -20,10 +20,14 @@ limitations under the License.
<parent>
<artifactId>flume-ng-configfilters</artifactId>
<groupId>org.apache.flume</groupId>
<version>2.0.0-SNAPSHOT</version>
<version>1.10.1-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

<properties>
<module.name>org.apache.flume.configfilter.env</module.name>
</properties>

<artifactId>flume-ng-environment-variable-config-filter</artifactId>
<name>Flume NG Environment Variable Config Filter</name>

@@ -21,10 +21,14 @@ limitations under the License.
<parent>
<artifactId>flume-ng-configfilters</artifactId>
<groupId>org.apache.flume</groupId>
<version>2.0.0-SNAPSHOT</version>
<version>1.10.1-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

<properties>
<module.name>org.apache.flume.configfilter.external</module.name>
</properties>

<artifactId>flume-ng-external-process-config-filter</artifactId>
<name>Flume NG External Process Config Filter</name>

@@ -20,10 +20,14 @@ limitations under the License.
<parent>
<artifactId>flume-ng-configfilters</artifactId>
<groupId>org.apache.flume</groupId>
<version>2.0.0-SNAPSHOT</version>
<version>1.10.1-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

<properties>
<module.name>org.apache.flume.configfilter.credstore</module.name>
</properties>

<artifactId>flume-ng-hadoop-credential-store-config-filter</artifactId>
<dependencies>
<dependency>
@@ -20,7 +20,7 @@ limitations under the License.
<parent>
<artifactId>flume-parent</artifactId>
<groupId>org.apache.flume</groupId>
<version>2.0.0-SNAPSHOT</version>
<version>1.10.1-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

@@ -20,7 +20,7 @@ limitations under the License.
<parent>
<artifactId>flume-parent</artifactId>
<groupId>org.apache.flume</groupId>
<version>2.0.0-SNAPSHOT</version>
<version>1.10.1-SNAPSHOT</version>
<relativePath>..</relativePath>
</parent>
<artifactId>flume-ng-configuration</artifactId>
@@ -30,6 +30,7 @@ limitations under the License.
<!-- TODO fix spotbugs violations -->
<spotbugs.maxAllowedViolations>8</spotbugs.maxAllowedViolations>
<pmd.maxAllowedViolations>17</pmd.maxAllowedViolations>
<module.name>org.apache.flume.conf</module.name>
</properties>

<dependencies>
@@ -22,7 +22,7 @@ limitations under the License.
<parent>
<artifactId>flume-parent</artifactId>
<groupId>org.apache.flume</groupId>
<version>2.0.0-SNAPSHOT</version>
<version>1.10.1-SNAPSHOT</version>
</parent>

<groupId>org.apache.flume</groupId>
@@ -33,6 +33,7 @@ limitations under the License.
<!-- TODO fix spotbugs violations -->
<spotbugs.maxAllowedViolations>115</spotbugs.maxAllowedViolations>
<pmd.maxAllowedViolations>121</pmd.maxAllowedViolations>
<module.name>org.apache.flume.core</module.name>
</properties>

<build>
@@ -24,7 +24,7 @@
<parent>
<artifactId>flume-parent</artifactId>
<groupId>org.apache.flume</groupId>
<version>2.0.0-SNAPSHOT</version>
<version>1.10.1-SNAPSHOT</version>
</parent>

<artifactId>flume-ng-dist</artifactId>
@@ -21,7 +21,7 @@ limitations under the License.
<parent>
<artifactId>flume-parent</artifactId>
<groupId>org.apache.flume</groupId>
<version>2.0.0-SNAPSHOT</version>
<version>1.10.1-SNAPSHOT</version>
</parent>

<artifactId>flume-ng-embedded-agent</artifactId>
@@ -31,6 +31,7 @@ limitations under the License.
<properties>
<!-- TODO fix pmd violations -->
<pmd.maxAllowedViolations>2</pmd.maxAllowedViolations>
<module.name>org.apache.flume.agent.embedded</module.name>
</properties>

<dependencies>
@@ -23,7 +23,7 @@ limitations under the License.
<parent>
<artifactId>flume-ng-legacy-sources</artifactId>
<groupId>org.apache.flume</groupId>
<version>2.0.0-SNAPSHOT</version>
<version>1.10.1-SNAPSHOT</version>
</parent>

<groupId>org.apache.flume.flume-ng-legacy-sources</groupId>
@@ -35,6 +35,7 @@ limitations under the License.
<spotbugs.maxAllowedViolations>5</spotbugs.maxAllowedViolations>
<pmd.maxAllowedViolations>37</pmd.maxAllowedViolations>
<thrift.executable>${env.THRIFT_HOME}/bin/thrift</thrift.executable>
<module.name>org.apache.flume.source.avroLegacy</module.name>
</properties>

<build>
@@ -23,7 +23,7 @@ limitations under the License.
<parent>
<artifactId>flume-ng-legacy-sources</artifactId>
<groupId>org.apache.flume</groupId>
<version>2.0.0-SNAPSHOT</version>
<version>1.10.1-SNAPSHOT</version>
</parent>

<groupId>org.apache.flume.flume-ng-legacy-sources</groupId>
@@ -39,6 +39,7 @@ limitations under the License.
the remaining violations and we must live with them. -->
<pmd.maxAllowedViolations>91</pmd.maxAllowedViolations>
<pmd.excludeFromFailureFile>${basedir}/exclude-pmd.properties</pmd.excludeFromFailureFile>
<module.name>org.apache.flume.source.thriftLegacy</module.name>
</properties>

<profiles>
@@ -23,7 +23,7 @@ limitations under the License.
<parent>
<artifactId>flume-parent</artifactId>
<groupId>org.apache.flume</groupId>
<version>2.0.0-SNAPSHOT</version>
<version>1.10.1-SNAPSHOT</version>
</parent>

<artifactId>flume-ng-legacy-sources</artifactId>
@@ -25,7 +25,7 @@
<parent>
<artifactId>flume-parent</artifactId>
<groupId>org.apache.flume</groupId>
<version>2.0.0-SNAPSHOT</version>
<version>1.10.1-SNAPSHOT</version>
</parent>

<artifactId>flume-ng-node</artifactId>
@@ -35,6 +35,7 @@
<!-- TODO fix spotbugs violations -->
<spotbugs.maxAllowedViolations>7</spotbugs.maxAllowedViolations>
<pmd.maxAllowedViolations>7</pmd.maxAllowedViolations>
<module.name>org.apache.flume.node</module.name>
</properties>

<dependencies>
@@ -21,7 +21,7 @@ limitations under the License.
<parent>
<artifactId>flume-parent</artifactId>
<groupId>org.apache.flume</groupId>
<version>2.0.0-SNAPSHOT</version>
<version>1.10.1-SNAPSHOT</version>
</parent>

<artifactId>flume-ng-sdk</artifactId>
@@ -32,6 +32,7 @@ limitations under the License.
<!-- TODO fix spotbugs/pmd violations -->
<spotbugs.maxAllowedViolations>69</spotbugs.maxAllowedViolations>
<pmd.maxAllowedViolations>170</pmd.maxAllowedViolations>
<module.name>org.apache.flume.sdk</module.name>
</properties>

<profiles>
@@ -23,7 +23,7 @@ limitations under the License.
<parent>
<artifactId>flume-ng-sinks</artifactId>
<groupId>org.apache.flume</groupId>
<version>2.0.0-SNAPSHOT</version>
<version>1.10.1-SNAPSHOT</version>
</parent>

<groupId>org.apache.flume.flume-ng-sinks</groupId>
@@ -34,6 +34,7 @@ limitations under the License.
<!-- TODO fix spotbugs/pmd violations -->
<spotbugs.maxAllowedViolations>14</spotbugs.maxAllowedViolations>
<pmd.maxAllowedViolations>25</pmd.maxAllowedViolations>
<module.name>org.apache.flume.sink.hdfs</module.name>
</properties>

<dependencies>
@@ -23,13 +23,14 @@ limitations under the License.
<parent>
<groupId>org.apache.flume</groupId>
<artifactId>flume-ng-sinks</artifactId>
<version>2.0.0-SNAPSHOT</version>
<version>1.10.1-SNAPSHOT</version>
</parent>

<properties>
<!-- TODO fix spotbugs/pmd violations -->
<spotbugs.maxAllowedViolations>6</spotbugs.maxAllowedViolations>
<pmd.maxAllowedViolations>7</pmd.maxAllowedViolations>
<module.name>org.apache.flume.sink.hive</module.name>
</properties>

<groupId>org.apache.flume.flume-ng-sinks</groupId>
@@ -23,7 +23,7 @@ limitations under the License.
<parent>
<artifactId>flume-ng-sinks</artifactId>
<groupId>org.apache.flume</groupId>
<version>2.0.0-SNAPSHOT</version>
<version>1.10.1-SNAPSHOT</version>
</parent>

<groupId>org.apache.flume.flume-ng-sinks</groupId>
@@ -34,6 +34,7 @@ limitations under the License.
<!-- TODO fix spotbugs/pmd violations -->
<spotbugs.maxAllowedViolations>1</spotbugs.maxAllowedViolations>
<pmd.maxAllowedViolations>1</pmd.maxAllowedViolations>
<module.name>org.apache.flume.sink.http</module.name>
</properties>

<dependencies>

0 comments on commit bfbfcbb

Please sign in to comment.