wojtek opened 11 months ago
|
|||||||
Robin Shen changed fields 11 months ago
|
|||||||
Tested on a newly launched AWS ubuntu instance with below steps and it works fine:
|
|||||||
I'm using macOS but it shouldn't matter. I realised I'm using Java17 by default but even with v11 it's the same:
It seems that the issue is with:
|
|||||||
OneDev artifactory instance is a proxy, and maven will resort to maven central if not found. I daily develop OneDev on Mac x86, and it also builds successfully. I do not have Mac arm for testing. If you can help investigating the issue it will be great. |
|||||||
(does 1dev refresh the page? and/or has comment cache? I typed a comment here and left it for a bit while investigating the issue and it was gone) Either way - I removed "generate-resources" execution and it finally pointed that the "zip is empty" error was actually due to lucene artifact jar being empty, I removed it from local repo:
And it worked. Odd. Anyhow, in terms of maven build there is another issue and I had to build the server without running the tests:
Why does it try to access my private keys? From the code it seems it just Eclipse git client trying to commit and it uses local git installation for that?
|
|||||||
OneDev uses jgit to run some git test cases. And it tries to read gpg key for signing test commit if available. Please pull latest code which disabled commit signing for test commits. As to comment not being displayed, OneDev uses websocket to update UI, sometimes it misses update either due to network, or due to incorrect config of browser proxy, or when session times out. |
|||||||
Works now, thanks.
Hmm... but would that result in the comment typed in the comment box (but not yet submitted) to vanish? I would expect it to be rather the opposite - it would be retained even if I close the tab (a lot of sites do that, github or various forum softwares), virtually having a persistent draft. |
|||||||
Robin Shen changed state to 'Closed' 11 months ago
|
|||||||
Closing this now. As to save comment while editing to prevent loss, please watch/vote issue #838 |
|||||||
I encountered the same problem,and then I identified abnormal dependencies by logging in the maven-plugin module (before PluginUtils throw exception print abnormal filename) . I deleted the dependencies in the local maven repository and re downloaded them to solve the problem. but there have another problem, the dependency 'org.jvnet.winp:winp:jar:1.30' can not found in maven central and 'https://artifact.onedev.io/artifactory/onedev'. In maven central, the highest version is 1.28, then I saw that the 'commons' module was configured repository with 'jenkins' and 'jetbrains', perhaps the version 1.30 in there. |
|||||||
@qintao please pull latest version to see if it works. |
Type |
Question
|
Priority |
Normal
|
Assignee |
Executing simple
mvn clean install
fails with:(btw. IDEA can't build the project either…)