This is an automated email from the ASF dual-hosted git repository. haonan pushed a commit to branch remove_jitpack in repository https://gitbox.apache.org/repos/asf/iotdb.git
commit 1e54313feb1eb4c471776aa3f26d2455d44e0608 Author: HTHou <[email protected]> AuthorDate: Tue Aug 6 16:53:15 2024 +0800 Remove jitpack repo from pom since it is slow --- library-udf/pom.xml | 3 +-- pom.xml | 55 ++++++++++++++++++----------------------------------- 2 files changed, 20 insertions(+), 38 deletions(-) diff --git a/library-udf/pom.xml b/library-udf/pom.xml index 2aca5427ad7..c9754f4586d 100644 --- a/library-udf/pom.xml +++ b/library-udf/pom.xml @@ -72,8 +72,7 @@ <dependency> <groupId>com.github.ggalmazor</groupId> <artifactId>lt_downsampling_java8</artifactId> - <!-- This version is only available in the jitpack.io repo --> - <version>0.0.6</version> + <version>0.1.0</version> </dependency> <dependency> <groupId>com.google.guava</groupId> diff --git a/pom.xml b/pom.xml index a17a51150f6..7f9ad66f481 100644 --- a/pom.xml +++ b/pom.xml @@ -1390,16 +1390,6 @@ <system>Jira</system> <url>https://issues.apache.org/jira/browse/iotdb</url> </issueManagement> - <!-- - Needed for fetching lt_downsampling_java8 (which is used by library-udf) - (Adding this in the root or when building other parts, this transitive dependency can be fetched) - --> - <repositories> - <repository> - <id>jitpack.io</id> - <url>https://jitpack.io</url> - </repository> - </repositories> <!-- Only configure the site distribution as the rest is handled by the apache parent --> <distributionManagement> <site> @@ -1509,6 +1499,25 @@ </activation> <properties> <maven.compiler.release>8</maven.compiler.release> + <!-- + Add argLine for Java 9 and above, due to + [JEP 260: Encapsulate Most Internal APIs], + [JEP 396: Strongly Encapsulate JDK Internals by Default], + [JEP 403: Strongly Encapsulate JDK Internals] + --> + <argLine><![CDATA[ + --add-opens=java.base/java.lang=ALL-UNNAMED + --add-opens=java.base/java.util=ALL-UNNAMED + --add-opens=java.base/java.nio=ALL-UNNAMED + --add-opens=java.base/java.io=ALL-UNNAMED + --add-opens=java.base/java.net=ALL-UNNAMED + --add-opens=java.base/java.util.concurrent=ALL-UNNAMED + --add-exports=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED + --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.parser=ALL-UNNAMED + --add-exports=jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED + ]]></argLine> </properties> </profile> <!-- Current version of spotless cannot support JDK11 below --> @@ -1524,32 +1533,6 @@ <spotless.skip>true</spotless.skip> </properties> </profile> - <!-- - Add argLine for Java 16 and above, due to [JEP 396: Strongly Encapsulate JDK Internals by Default] - (https://openjdk.java.net/jeps/396) - --> - <profile> - <id>.java-16</id> - <activation> - <jdk>16</jdk> - </activation> - <properties> - <argLine>--illegal-access=permit --add-opens=java.base/java.util.concurrent=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.nio=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.net=ALL-UNNAMED --add-exports=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED --add-exports=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED --add-exports=jdk.compiler/com.sun.tools.java [...] - </properties> - </profile> - <!-- - Add argLine for Java 16 and above, due to [JEP 396: Strongly Encapsulate JDK Internals by Default] - (https://openjdk.java.net/jeps/396) - --> - <profile> - <id>.java-17-and-above</id> - <activation> - <jdk>[17,)</jdk> - </activation> - <properties> - <argLine>--add-opens=java.base/java.util.concurrent=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.nio=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.net=ALL-UNNAMED --add-exports=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED --add-exports=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED --add-exports=jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED --add [...] - </properties> - </profile> <!-- Little helper profile that will disable running the cmake tests when the maven tests are being skipped --> <profile> <id>.skipTests</id>
