GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — [doc](fe-sql-parser) Fix CLI jar name and Java version in README (#68… · apache/doris@bb512df

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • fe/fe-sql-parser
    • README.md
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎fe/fe-sql-parser/README.md‎

Copy file name to clipboardExpand all lines: fe/fe-sql-parser/README.md
+4-4Lines changed: 4 additions & 4 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -90,11 +90,11 @@ The `flatten` profile is required so the installed POM has `${revision}` resolve
9090
mvn -pl fe-sql-parser -Pcli package -DskipTests
9191
```
9292

93-
Output: `fe/fe-sql-parser/target/fe-sql-parser-1.2-SNAPSHOT-cli.jar` (~1.7 MB).
93+
Output: `fe/fe-sql-parser/target/doris-fe-sql-parser-cli.jar` (~1.7 MB).
9494

9595
This is a self-contained executable jar produced by `maven-shade-plugin`:
9696

97-
- Bundles `antlr4-runtime` so the jar runs anywhere with a JRE 8+
97+
- Bundles `antlr4-runtime` so the jar runs anywhere with a JRE 17+
9898
- Manifest sets `Main-Class: org.apache.doris.sqlparser.DorisSqlParserCli`
9999
- `<minimizeJar>true</minimizeJar>` strips unused classes (transitively-inherited logging, test utilities, etc.) so the final jar contains only the parser plus its actual reachable dependencies
100100

@@ -103,7 +103,7 @@ The CLI profile is gated so default Doris builds do not pay the shading cost. Th
103103
## CLI Usage
104104

105105
```
106-
java -jar fe-sql-parser-1.2-SNAPSHOT-cli.jar [OPTIONS] [SQL]
106+
java -jar doris-fe-sql-parser-cli.jar [OPTIONS] [SQL]
107107
```
108108

109109
### Input sources (mutually exclusive)
@@ -220,7 +220,7 @@ For frequent use, drop a wrapper on your `PATH`:
220220
```bash
221221
# ~/bin/doris-sql-parse
222222
#!/usr/bin/env bash
223-
exec java -jar /path/to/fe-sql-parser-1.2-SNAPSHOT-cli.jar "$@"
223+
exec java -jar /path/to/doris-fe-sql-parser-cli.jar "$@"
224224
```
225225

226226
```bash

0 commit comments

Comments
0 (0)
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.