Hi Francis, I try to reproduce this. This may be because you did not execute mvn clean install in root directory before executing the mvn clean package -Pcluster in collector directory. Please refer to the following document and try again. Sorry, we will update the document to make it clearer.
refer https://hertzbeat.apache.org/docs/community/development/#collector-build Thanks. Tom On 2024/05/14 09:19:34 Francis Chuang wrote: > I am unable to build the collector from the source distribution or the > cloned git repository. > > This is the error I get: > user:/apache-hertzbeat-1.6.0-incubating-src/collector$ mvn clean package > -Pcluster > [INFO] Scanning for projects... > [INFO] > [INFO] --------------< org.apache.hertzbeat:hertzbeat-collector > >-------------- > [INFO] Building hertzbeat-collector 2.0-SNAPSHOT > [INFO] from pom.xml > [INFO] --------------------------------[ jar > ]--------------------------------- > [WARNING] The POM for > org.apache.hertzbeat:hertzbeat-common:jar:2.0-SNAPSHOT is missing, no > dependency information available > [WARNING] The POM for > org.apache.hertzbeat:hertzbeat-remoting:jar:2.0-SNAPSHOT is missing, no > dependency information available > [INFO] > ------------------------------------------------------------------------ > [INFO] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 0.613 s > [INFO] Finished at: 2024-05-14T09:17:25Z > [INFO] > ------------------------------------------------------------------------ > [ERROR] Failed to execute goal on project hertzbeat-collector: Could not > resolve dependencies for project > org.apache.hertzbeat:hertzbeat-collector:jar:2.0-SNAPSHOT: The following > artifacts could not be resolved: > org.apache.hertzbeat:hertzbeat-common:jar:2.0-SNAPSHOT (absent), > org.apache.hertzbeat:hertzbeat-remoting:jar:2.0-SNAPSHOT (absent): Could > not find artifact org.apache.hertzbeat:hertzbeat-common:jar:2.0-SNAPSHOT > -> [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/DependencyResolutionException > > $ java --version > openjdk 17.0.11 2024-04-16 > OpenJDK Runtime Environment Temurin-17.0.11+9 (build 17.0.11+9) > OpenJDK 64-Bit Server VM Temurin-17.0.11+9 (build 17.0.11+9, mixed mode, > sharing) > > $ mvn --version > Apache Maven 3.9.6 (bc0240f3c744dd6b6ec2920b3cd08dcc295161ae) > Maven home: /usr/share/maven > Java version: 17.0.11, vendor: Eclipse Adoptium, runtime: /opt/java/openjdk > Default locale: en_US, platform encoding: UTF-8 > OS name: "linux", version: "5.15.146.1-microsoft-standard-wsl2", arch: > "amd64", family: "unix" > > I am using Docker in WSL2 on Windows 11 23H2. > > Francis > > On 14/05/2024 3:19 pm, Chao Gong wrote: > > Hello HertzBeat Community: > > > > This is a call for vote to release our first Apache HertzBeat (incubating) > > version release-1.6.0-RC1. > > > > Apache HertzBeat - a real-time monitoring system with agentless, > > performance cluster, prometheus-compatible, custom monitoring and status > > page building capabilities. > > > > Release notes: > > https://github.com/apache/hertzbeat/releases/tag/v1.6.0-rc1 > > > > The release candidates: > > https://dist.apache.org/repos/dist/dev/incubator/hertzbeat/1.6.0-RC1/ > > > > Git tag for the release: > > https://github.com/apache/hertzbeat/releases/tag/v1.6.0-rc1 > > > > The artifacts signed with PGP key [33545C76], corresponding to [ > > gongc...@apache.org], that can be found in keys file: > > https://downloads.apache.org/incubator/hertzbeat/KEYS > > > > The vote will be open for at least 72 hours or until the necessary number > > of votes are reached. > > > > Please vote accordingly: > > > > [ ] +1 approve > > [ ] +0 no opinion > > [ ] -1 disapprove with the reason > > > > *Valid check is a requirement for a vote. * Checklist for reference: > > > > [ ] Download HertzBeat are valid. > > [ ] Checksums and PGP signatures are valid. > > [ ] Source code distributions have correct names matching the current > > release. > > [ ] LICENSE and NOTICE files are correct for each HertzBeat repo. > > [ ] All files have license headers if necessary. > > [ ] No compiled archives bundled in source archive. > > [ ] Can compile from source. > > > > More detail checklist please refer: > > https://cwiki.apache.org/confluence/display/INCUBATOR/Incubator+Release+Checklist > > > > Steps to validate the release,Please refer to: > > https://hertzbeat.apache.org/docs/community/how_to_verify_release > > > > How to Build: > > https://hertzbeat.apache.org/docs/community/development/#build-hertzbeat-binary-package > > > > Thanks! > > Tom. > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@hertzbeat.apache.org > For additional commands, e-mail: dev-h...@hertzbeat.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@hertzbeat.apache.org For additional commands, e-mail: dev-h...@hertzbeat.apache.org