| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| ~ Licensed to the Apache Software Foundation (ASF) under one or more |
| ~ contributor license agreements. See the NOTICE file distributed with |
| ~ this work for additional information regarding copyright ownership. |
| ~ The ASF licenses this file to you under the Apache License, Version 2.0 |
| ~ (the "License"); you may not use this file except in compliance with |
| ~ the License. You may obtain a copy of the License at |
| ~ |
| ~ http://www.apache.org/licenses/LICENSE-2.0 |
| ~ |
| ~ Unless required by applicable law or agreed to in writing, software |
| ~ distributed under the License is distributed on an "AS IS" BASIS, |
| ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| ~ See the License for the specific language governing permissions and |
| ~ limitations under the License. |
| --> |
| <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| |
| <modelVersion>4.0.0</modelVersion> |
| |
| <parent> |
| <groupId>org.apache</groupId> |
| <artifactId>apache</artifactId> |
| <version>23</version> |
| </parent> |
| <groupId>org.apache.flume</groupId> |
| <artifactId>flume-project</artifactId> |
| <version>2.0.0-SNAPSHOT</version> |
| <packaging>pom</packaging> |
| |
| <name>Apache Flume Project</name> |
| |
| <modules> |
| <module>flume-bom</module> |
| <module>flume-parent</module> |
| <module>flume-ng-core</module> |
| <module>flume-ng-configuration</module> |
| <module>flume-ng-sources</module> |
| <module>flume-ng-node</module> |
| <!-- Disable until all snapshots are published |
| <module>flume-ng-dist</module> |
| --> |
| <module>flume-ng-channels</module> |
| <module>flume-ng-sdk</module> |
| <!-- Temporarily disable integration tests |
| <module>flume-ng-tests</module> |
| --> |
| <module>flume-tools</module> |
| <module>flume-ng-auth</module> |
| <module>flume-ng-configfilters</module> |
| </modules> |
| |
| <properties> |
| <spotless-maven-plugin.version>3.4.0</spotless-maven-plugin.version> |
| <palantir-java-format.version>2.90.0</palantir-java-format.version> |
| </properties> |
| |
| <build> |
| <pluginManagement> |
| <plugins> |
| |
| <plugin> |
| <groupId>com.diffplug.spotless</groupId> |
| <artifactId>spotless-maven-plugin</artifactId> |
| <version>${spotless-maven-plugin.version}</version> |
| </plugin> |
| |
| </plugins> |
| </pluginManagement> |
| |
| <plugins> |
| |
| <!-- Configuration here must match the one in `.editorconfig`! --> |
| <plugin> |
| <groupId>com.diffplug.spotless</groupId> |
| <artifactId>spotless-maven-plugin</artifactId> |
| <configuration> |
| <java> |
| <licenseHeader> |
| <!-- https://www.apache.org/legal/src-headers.html#headers --> |
| <content>/* |
| * Licensed to the Apache Software Foundation (ASF) under one or more |
| * contributor license agreements. See the NOTICE file distributed with |
| * this work for additional information regarding copyright ownership. |
| * The ASF licenses this file to you under the Apache License, Version 2.0 |
| * (the "License"); you may not use this file except in compliance with |
| * the License. You may obtain a copy of the License at |
| * |
| * http://www.apache.org/licenses/LICENSE-2.0 |
| * |
| * Unless required by applicable law or agreed to in writing, software |
| * distributed under the License is distributed on an "AS IS" BASIS, |
| * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| * See the License for the specific language governing permissions and |
| * limitations under the License. |
| */</content> |
| </licenseHeader> |
| <palantirJavaFormat> |
| <version>${palantir-java-format.version}</version> |
| </palantirJavaFormat> |
| </java> |
| <pom> |
| <licenseHeader> |
| <!-- https://www.apache.org/legal/src-headers.html#headers --> |
| <content><?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| ~ Licensed to the Apache Software Foundation (ASF) under one or more |
| ~ contributor license agreements. See the NOTICE file distributed with |
| ~ this work for additional information regarding copyright ownership. |
| ~ The ASF licenses this file to you under the Apache License, Version 2.0 |
| ~ (the "License"); you may not use this file except in compliance with |
| ~ the License. You may obtain a copy of the License at |
| ~ |
| ~ http://www.apache.org/licenses/LICENSE-2.0 |
| ~ |
| ~ Unless required by applicable law or agreed to in writing, software |
| ~ distributed under the License is distributed on an "AS IS" BASIS, |
| ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| ~ See the License for the specific language governing permissions and |
| ~ limitations under the License. |
| --></content> |
| <delimiter><project</delimiter> |
| </licenseHeader> |
| <sortPom> |
| <expandEmptyElements>false</expandEmptyElements> |
| <!-- Maven Release plugin uses this style --> |
| <spaceBeforeCloseEmptyElement>true</spaceBeforeCloseEmptyElement> |
| </sortPom> |
| </pom> |
| <formats> |
| <format> |
| <includes> |
| <include>src/**/*.xml</include> |
| </includes> |
| <excludes> |
| <!-- The license header in changelog entry files causing Git to match irrelevant files. |
| This is eventually causing merge conflicts. |
| Hence, we avoid enforcing license headers there. --> |
| <exclude>src/changelog/**/*.xml</exclude> |
| </excludes> |
| <licenseHeader> |
| <!-- https://www.apache.org/legal/src-headers.html#headers --> |
| <content><?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| ~ Licensed to the Apache Software Foundation (ASF) under one or more |
| ~ contributor license agreements. See the NOTICE file distributed with |
| ~ this work for additional information regarding copyright ownership. |
| ~ The ASF licenses this file to you under the Apache License, Version 2.0 |
| ~ (the "License"); you may not use this file except in compliance with |
| ~ the License. You may obtain a copy of the License at |
| ~ |
| ~ http://www.apache.org/licenses/LICENSE-2.0 |
| ~ |
| ~ Unless required by applicable law or agreed to in writing, software |
| ~ distributed under the License is distributed on an "AS IS" BASIS, |
| ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| ~ See the License for the specific language governing permissions and |
| ~ limitations under the License. |
| --></content> |
| <delimiter><(!DOCTYPE|\w)</delimiter> |
| </licenseHeader> |
| <endWithNewline /> |
| <trimTrailingWhitespace /> |
| </format> |
| <format> |
| <includes> |
| <include>src/**/*.properties</include> |
| </includes> |
| <licenseHeader> |
| <!-- https://www.apache.org/legal/src-headers.html#headers --> |
| <content># |
| # Licensed to the Apache Software Foundation (ASF) under one or more |
| # contributor license agreements. See the NOTICE file distributed with |
| # this work for additional information regarding copyright ownership. |
| # The ASF licenses this file to you under the Apache License, Version 2.0 |
| # (the "License"); you may not use this file except in compliance with |
| # the License. You may obtain a copy of the License at |
| # |
| # http://www.apache.org/licenses/LICENSE-2.0 |
| # |
| # Unless required by applicable law or agreed to in writing, software |
| # distributed under the License is distributed on an "AS IS" BASIS, |
| # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| # See the License for the specific language governing permissions and |
| # limitations under the License. |
| #</content> |
| <delimiter>(##|[^#])</delimiter> |
| </licenseHeader> |
| <endWithNewline /> |
| </format> |
| </formats> |
| <yaml> |
| <includes> |
| <include>.asf.yaml</include> |
| <include>.github/**/*.yaml</include> |
| <include>.github/**/*.yml</include> |
| <include>src/**/*.yaml</include> |
| <include>src/**/*.yml</include> |
| </includes> |
| <licenseHeader> |
| <!-- https://www.apache.org/legal/src-headers.html#headers --> |
| <content># |
| # Licensed to the Apache Software Foundation (ASF) under one or more |
| # contributor license agreements. See the NOTICE file distributed with |
| # this work for additional information regarding copyright ownership. |
| # The ASF licenses this file to you under the Apache License, Version 2.0 |
| # (the "License"); you may not use this file except in compliance with |
| # the License. You may obtain a copy of the License at |
| # |
| # http://www.apache.org/licenses/LICENSE-2.0 |
| # |
| # Unless required by applicable law or agreed to in writing, software |
| # distributed under the License is distributed on an "AS IS" BASIS, |
| # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| # See the License for the specific language governing permissions and |
| # limitations under the License. |
| #</content> |
| <delimiter>(##|[^#])</delimiter> |
| </licenseHeader> |
| <endWithNewline /> |
| <trimTrailingWhitespace /> |
| </yaml> |
| <lineEndings>UNIX</lineEndings> |
| </configuration> |
| <dependencies> |
| <!-- `com.palantir.javaformat:palantir-java-format` is a fake dependency to receive updates from `dependabot`, `maven-versions-plugin`, etc. |
| This dependency is not needed to be defined here, it is implied by `<palantirJavaFormat>` element above. --> |
| <dependency> |
| <groupId>com.palantir.javaformat</groupId> |
| <artifactId>palantir-java-format</artifactId> |
| <version>${palantir-java-format.version}</version> |
| </dependency> |
| </dependencies> |
| <executions> |
| <execution> |
| <id>default-spotless</id> |
| <goals> |
| <goal>check</goal> |
| </goals> |
| <phase>verify</phase> |
| </execution> |
| </executions> |
| </plugin> |
| |
| </plugins> |
| </build> |
| |
| </project> |