Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build Failed #6

Open
imranmehdi5511 opened this issue Aug 11, 2023 · 1 comment
Open

Build Failed #6

imranmehdi5511 opened this issue Aug 11, 2023 · 1 comment

Comments

@imranmehdi5511
Copy link

I simply cloned and ran the first command to build and got this error, which i guess appeared previously but you claimed to have solved it but it is back again:
imran@Imran:/riot-bench$ mvn clean compile package -DskipTests
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for in.dream_lab.bm.stream_iot:iot-bm-tasks:jar:0.1
[WARNING] 'profiles.profile[release].plugins.plugin.(groupId:artifactId)' must be unique but found duplicate declaration of plugin org.apache.maven.plugins:maven-assembly-plugin @ in.dream_lab.bm.stream_iot:iot-bm:0.1, /home/imran/riot-bench/pom.xml, line 71, column 29
[WARNING]
[WARNING] Some problems were encountered while building the effective model for in.dream_lab.bm.stream_iot:iot-bm:pom:0.1
[WARNING] 'profiles.profile[release].plugins.plugin.(groupId:artifactId)' must be unique but found duplicate declaration of plugin org.apache.maven.plugins:maven-assembly-plugin @ line 71, column 29
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING]
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] IoT-BM [pom]
[INFO] IoT-BM-TASKS [jar]
[INFO] IoT-BM-STORM [jar]
[INFO] IoT-BM-DISTRO [jar]
[INFO]
[INFO] -----------------< in.dream_lab.bm.stream_iot:iot-bm >------------------
[INFO] Building IoT-BM 0.1 [1/4]
[INFO] --------------------------------[ pom ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ iot-bm ---
[INFO]
[INFO] --------------< in.dream_lab.bm.stream_iot:iot-bm-tasks >---------------
[INFO] Building IoT-BM-TASKS 0.1 [2/4]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for IoT-BM 0.1:
[INFO]
[INFO] IoT-BM ............................................. SUCCESS [ 0.065 s]
[INFO] IoT-BM-TASKS ....................................... FAILURE [ 0.109 s]
[INFO] IoT-BM-STORM ....................................... SKIPPED
[INFO] IoT-BM-DISTRO ...................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.237 s
[INFO] Finished at: 2023-08-11T11:13:51+05:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project iot-bm-tasks: Could not resolve dependencies for project in.dream_lab.bm.stream_iot:iot-bm-tasks:jar:0.1: Failed to collect dependencies at org.knowm.xchart:xchart-demo:jar:2.6.0 -> org.knowm.xchart:xchart:jar:2.6.0 -> de.erichseifert.vectorgraphics2d:VectorGraphics2D:jar:0.9.2: Failed to read artifact descriptor for de.erichseifert.vectorgraphics2d:VectorGraphics2D:jar:0.9.2: Could not transfer artifact de.erichseifert.vectorgraphics2d:VectorGraphics2D:pom:0.9.2 from/to maven-default-http-blocker (http://0.0.0.0/): Blocked mirror for repositories: [MavenCentral (http://repo1.maven.org/maven2, default, releases), Codehaus Snapshots (http://snapshots.repository.codehaus.org/, default, snapshots), erichseifert.de (http://mvn.erichseifert.de/maven2, default, releases+snapshots)] -> [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
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn -rf :iot-bm-tasks
imran@Imran:
/riot-bench$

@jgeorg02
Copy link

Hello,
I don't know if you are still interested in this, I had the same issue and fixed it by changing the pom.xml for tasks, I updated the version for org.knowm.xchart, so for xchart and xchart-demo to be both 3.2.0 and it built successfully.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants