This is an automated email from the ASF dual-hosted git repository. ppkarwasz pushed a commit to branch fix/simplify-pom in repository https://gitbox.apache.org/repos/asf/logging-flume-mongodb.git
commit e604a0adfa44a6bbfb04818532a262e9c5d11574 Author: Piotr P. Karwasz <[email protected]> AuthorDate: Wed Sep 2 19:11:28 2026 +0200 Simplify the sink POM Drop the plugin configuration that `logging-parent` already provides: - The `--add-exports` compiler arguments required by Error Prone move to `.mvn/jvm.config`, like in the main Flume repository, which also removes the hard-coded `maven-compiler-plugin` version. - The `bnd-baseline-maven-plugin` execution is inherited; the only local setting that remains is `bnd.baseline.fail.on.missing`, since the artifact was never released. - The `test-jar` execution is removed, as nothing consumes it. Assisted-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01F9NiqMnCccUGDtqt64uKe6 --- .mvn/jvm.config | 11 +++++++++ flume-mongodb-sink/pom.xml | 58 ++-------------------------------------------- 2 files changed, 13 insertions(+), 56 deletions(-) diff --git a/.mvn/jvm.config b/.mvn/jvm.config new file mode 100644 index 0000000..f3b9f7d --- /dev/null +++ b/.mvn/jvm.config @@ -0,0 +1,11 @@ +--add-exports jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED +--add-exports jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED +--add-exports jdk.compiler/com.sun.tools.javac.main=ALL-UNNAMED +--add-exports jdk.compiler/com.sun.tools.javac.model=ALL-UNNAMED +--add-exports jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED +--add-exports jdk.compiler/com.sun.tools.javac.processing=ALL-UNNAMED +--add-exports jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED +--add-exports jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED +--add-opens jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED +--add-opens jdk.compiler/com.sun.tools.javac.comp=ALL-UNNAMED +-Dfile.encoding=UTF-8 diff --git a/flume-mongodb-sink/pom.xml b/flume-mongodb-sink/pom.xml index ddcb4f9..cfaeaa8 100644 --- a/flume-mongodb-sink/pom.xml +++ b/flume-mongodb-sink/pom.xml @@ -27,6 +27,8 @@ <name>Flume MongoDb Sink</name> <properties> + <!-- This artifact was never released before --> + <bnd.baseline.fail.on.missing>false</bnd.baseline.fail.on.missing> <!-- TODO fix spotbugs violations --> <spotbugs.maxAllowedViolations>4</spotbugs.maxAllowedViolations> <pmd.maxAllowedViolations>0</pmd.maxAllowedViolations> @@ -77,60 +79,4 @@ </dependency> </dependencies> - - <build> - <plugins> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-compiler-plugin</artifactId> - <version>3.13.0</version> - <!-- Use a recent version --> - <configuration> - <compilerArgs> - <arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED</arg> - <arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED</arg> - <arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.main=ALL-UNNAMED</arg> - <arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.model=ALL-UNNAMED</arg> - <arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED</arg> - <arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.processing=ALL-UNNAMED</arg> - <arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED</arg> - <arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED</arg> - <arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED</arg> - <arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.comp=ALL-UNNAMED</arg> - </compilerArgs> - </configuration> - </plugin> - <plugin> - <groupId>biz.aQute.bnd</groupId> - <artifactId>bnd-baseline-maven-plugin</artifactId> - <configuration> - <failOnMissing>false</failOnMissing> - <!-- Do not use the <distributionManagement&rt; element to download releases --> - <includeDistributionManagement>false</includeDistributionManagement> - <!-- Do not check against alpha releases --> - <releaseversions>true</releaseversions> - </configuration> - <executions> - <execution> - <id>check-api-compat</id> - <goals> - <goal>baseline</goal> - </goals> - </execution> - </executions> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-jar-plugin</artifactId> - <executions> - <execution> - <goals> - <goal>test-jar</goal> - </goals> - </execution> - </executions> - </plugin> - </plugins> - </build> - </project>
