You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kyuubi.apache.org by GitBox <gi...@apache.org> on 2021/11/20 11:12:28 UTC
[GitHub] [incubator-kyuubi] zhenjiaguo opened a new issue #1426: [DOC] Building a kyuubi submodule error
zhenjiaguo opened a new issue #1426:
URL: https://github.com/apache/incubator-kyuubi/issues/1426
### Code of Conduct
- [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
### Search before asking
- [X] I have searched in the [issues](https://github.com/apache/incubator-kyuubi/issues?q=is%3Aissue) and found no similar issues.
### Describe the bug
When I follow the [developer-tools](https://kyuubi.apache.org/developer-tools.html) to build a kyuubi submodule. I found error:
```shell
jia@jia-pc:~/IdeaProjects/kyuubi$ build/mvn clean package -pl :kyuubi-common -DskipTests
Using `mvn` from path: /home/jia/tools/apache-maven-3.6.3/bin/mvn
[INFO] Scanning for projects...
[ERROR] [ERROR] Could not find the selected project in the reactor: :kyuubi-common @
[ERROR] Could not find the selected project in the reactor: :kyuubi-common -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MavenExecutionException
```
I use `mvn -help` to see `-pl` option:
```shell
-pl,--projects <arg> Comma-delimited list of specified
reactor projects to build instead
of all projects. A project can be
specified by [groupId]:artifactId
or by its relative path
```
So, I try a command use relative path or use `[groupId]:artifactId` as follows:
```
build/mvn clean package -pl :kyuubi-common_2.12 -DskipTests
build/mvn clean package -pl ./kyuubi-common -DskipTests
build/mvn clean package -pl kyuubi-common -DskipTests
```
They are all success to build the submodule.
I think the doc have some error need to fix.
### Affects Version(s)
master
### Kyuubi Server Log Output
_No response_
### Kyuubi Engine Log Output
_No response_
### Kyuubi Server Configurations
_No response_
### Kyuubi Engine Configurations
_No response_
### Additional context
_No response_
### Are you willing to submit PR?
- [X] Yes I am willing to submit a PR!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@kyuubi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-kyuubi] ulysses-you closed issue #1426: [DOC] Building a kyuubi submodule error
Posted by GitBox <gi...@apache.org>.
ulysses-you closed issue #1426:
URL: https://github.com/apache/incubator-kyuubi/issues/1426
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@kyuubi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org