Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[Question] maven install error on windows #2269

Unanswered
sheli00 asked this question in Q&A
Discussion options

Bug Type (问题类型)

other exception / error (其他异常报错)

Before submit

  • 我已经确认现有的 IssuesFAQ 中没有相同 / 重复问题 (I have confirmed and searched that there are no similar problems in the historical issue and documents)

Environment (环境信息)

  • Apache Maven 3.9.2 (c9616018c7a021c1c39be70fb2843d6f5f9b8a1c)
  • Maven home: D:\study\maven
  • Java version: 1.8.0_361, vendor: Oracle Corporation, runtime: C:\Program Files\Java\jdk1.8.0_361\jre
  • Default locale: zh_CN, platform encoding: GBK
  • OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"

Expected & Actual behavior (期望与实际表现)

when i tried to use command mvn clean install -Dmaven.test.skip=true, errors below occured.

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.8:run (download-swagger-ui) on project hugegraph-dist: An Ant BuildException has occured: exec returned: 1
[ERROR] around Ant part ...<exec failonerror="true" dir="D:\study\idea\incubator-hugegraph\hugegraph-dist" executable="bash">... @ 12:101 in D:\study\idea\incubator-hugegraph\hugegraph-dist\target\antrun\build-main.xml
[ERROR] -> [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/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <args> -rf :hugegraph-dist

Vertex/Edge example (问题点 / 边数据举例)

No response

Schema [VertexLabel, EdgeLabel, IndexLabel] (元数据结构)

No response

You must be logged in to vote

Replies: 3 comments

Comment options

could check the exist issue first

And welcome to enhance the user experience in Windows

You must be logged in to vote
0 replies
Comment options

I use mvn clean package -DskipTests build successfully on win 10 with PowerShell.

env:

PS D:\Development\Code\incubator-hugegraph> java -version
java version "1.8.0_291"
Java(TM) SE Runtime Environment (build 1.8.0_291-b10)
Java HotSpot(TM) 64-Bit Server VM (build 25.291-b10, mixed mode)
PS D:\Development\Code\incubator-hugegraph> mvn -version
Apache Maven 3.8.1 (05c21c65bdfed0f71a2f2ada8b84da59348c4c5d)
Maven home: D:\Development\Tools\Maven\apache-maven-3.8.1\bin\..
Java version: 1.8.0_291, vendor: Oracle Corporation, runtime: D:\Development\Tools\Java\jdk1.8.0_291\jre
Default locale: zh_CN, platform encoding: GBK
OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"
[INFO] Skipping because packaging 'jar' is not pom.
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for hugegraph 1.0.0:
[INFO]
[INFO] hugegraph .......................................... SUCCESS [ 1.953 s]
[INFO] hugegraph-core ..................................... SUCCESS [ 27.612 s]
[INFO] hugegraph-api ...................................... SUCCESS [ 6.530 s]
[INFO] hugegraph-cassandra ................................ SUCCESS [ 1.895 s]
[INFO] hugegraph-scylladb ................................. SUCCESS [ 1.576 s]
[INFO] hugegraph-rocksdb .................................. SUCCESS [ 1.236 s]
[INFO] hugegraph-mysql .................................... SUCCESS [ 0.989 s]
[INFO] hugegraph-palo ..................................... SUCCESS [ 0.942 s]
[INFO] hugegraph-hbase .................................... SUCCESS [ 1.128 s]
[INFO] hugegraph-postgresql ............................... SUCCESS [ 0.827 s]
[INFO] hugegraph-dist ..................................... SUCCESS [ 20.077 s]
[INFO] hugegraph-example .................................. SUCCESS [ 1.907 s]
[INFO] hugegraph-test ..................................... SUCCESS [ 7.318 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:14 min
[INFO] Finished at: 2023年06月05日T02:06:12+08:00
[INFO] ------------------------------------------------------------------------
You must be logged in to vote
0 replies
Comment options

I bet we can use some Unix cmd tools like git bash.
succeeded in building hugegraph 1.3.0 on windows 11.

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
improvement General improvement help wanted Extra attention is needed shell Issues about shell script todo
Converted from issue

This discussion was converted from issue #2220 on August 05, 2023 15:53.

AltStyle によって変換されたページ (->オリジナル) /