Build failure on demima-ui-viewer-swing
Closed this issue · 2 comments
yihsuan1102 commented
There is a build failure on demima-ui-viewer-swing.
[ERROR] Failed to execute goal on project demima-ui-viewer-swing:
Could not resolve dependencies for project net.ptidej.demima:demima-ui-viewer-swing:jar:1.0.0:
The following artifacts could not be resolved: net.ptidej.demima:demima-ui-cpp:jar:1.0.0 (absent):
net.ptidej.demima:demima-ui-cpp:jar:1.0.0 was not found in https://repo.maven.apache.org/maven2 during a previous attempt.
After commented out the dependency demima-ui-cpp
in DeMIMA UI Viewer Standalone Swing/pom.xml
. Another compilation failure is occurred.
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.11.0:compile (default-compile) on project demima-ui-viewer-swing: Compilation failure: Compilation failure:
[ERROR] /C:/project/ptidej-Ptidej/DeMIMA UI Viewer Standalone Swing/src/main/java/ptidej/viewer/ui/AbstractRepresentationWindow.java:[47,32] cannot find symbol
[ERROR] symbol: class CPPBuilder
[ERROR] location: package ptidej.ui.kernel.builder
[ERROR] /C:/project/ptidej-Ptidej/DeMIMA UI Viewer Standalone Swing/src/main/java/ptidej/viewer/ui/AbstractRepresentationWindow.java:[544,49] cannot find symbol
[ERROR] symbol: variable CPPBuilder
[ERROR] location: class ptidej.viewer.ui.AbstractRepresentationWindow
yann-gael commented
Why is it working for me ?-)
But you're right, I should not have any dependencies on C++-related projects and code right now. So I modified /DeMIMA UI Viewer Standalone Swing/pom.xml
and ptidej.viewer.ui.AbstractRepresentationWindow
to remove this dependency. It compiles and run now... on my computer!