This is an automated email from the ASF dual-hosted git repository.
tison pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/pulsar-site.git
The following commit(s) were added to refs/heads/main by this push:
new 7f0f4e47bd7 [fix][doc] Version requriements for functions java pom.xml
(#446)
7f0f4e47bd7 is described below
commit 7f0f4e47bd7f9571ba25421cb32ce5a1c8af8446
Author: tison <[email protected]>
AuthorDate: Sat Mar 4 10:51:12 2023 +0800
[fix][doc] Version requriements for functions java pom.xml (#446)
Signed-off-by: tison <[email protected]>
---
docs/functions-package-java.md | 4 +++-
versioned_docs/version-2.11.x/functions-package-java.md | 4 +++-
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/docs/functions-package-java.md b/docs/functions-package-java.md
index adc6ff5ac38..4fe113857c8 100644
--- a/docs/functions-package-java.md
+++ b/docs/functions-package-java.md
@@ -41,7 +41,7 @@ To package a Java function as JAR, complete the following
steps.
<dependency>
<groupId>org.apache.pulsar</groupId>
<artifactId>pulsar-functions-api</artifactId>
- <version>2.10.0</version>
+ <version>@pulsar:version@</version>
</dependency>
</dependencies>
@@ -73,6 +73,7 @@ To package a Java function as JAR, complete the following
steps.
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
+ <version>3.11.0</version>
<configuration>
<release>17</release>
</configuration>
@@ -154,6 +155,7 @@ To package a Java function as NAR, complete the following
steps.
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
+ <version>3.11.0</version>
<configuration>
<release>17</release>
</configuration>
diff --git a/versioned_docs/version-2.11.x/functions-package-java.md
b/versioned_docs/version-2.11.x/functions-package-java.md
index adc6ff5ac38..4fe113857c8 100644
--- a/versioned_docs/version-2.11.x/functions-package-java.md
+++ b/versioned_docs/version-2.11.x/functions-package-java.md
@@ -41,7 +41,7 @@ To package a Java function as JAR, complete the following
steps.
<dependency>
<groupId>org.apache.pulsar</groupId>
<artifactId>pulsar-functions-api</artifactId>
- <version>2.10.0</version>
+ <version>@pulsar:version@</version>
</dependency>
</dependencies>
@@ -73,6 +73,7 @@ To package a Java function as JAR, complete the following
steps.
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
+ <version>3.11.0</version>
<configuration>
<release>17</release>
</configuration>
@@ -154,6 +155,7 @@ To package a Java function as NAR, complete the following
steps.
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
+ <version>3.11.0</version>
<configuration>
<release>17</release>
</configuration>