I can't get MassBank to build anymore.
The first attempt
mkdir MassBank-data
# then putting some records and a VERSION there just to have something
git clone https://github.com/MassBank/MassBank-web
cd MassBank-web
./install.sh start 1
resulted in errors related to the ~/.m2 repo.
Next attempt: ./install.sh stop 1, i made a new ~/.m2 with broad permissions, ./install.sh start 1
-> there was an error about
Failed to execute goal org.apache.maven.plugins:maven-clean-plugin:3.2.0:clean (default-clean) on project Failed to clean project: Failed to delete something something target/MassBank.war
So I made an empty target with 777 permissions and additionally added <failOnError>false</failOnError> on maven clean in pom.xml.
but now results in the following error ( I always in between):
Docker Compose plugin for docker version 2.21.0 found. Using command 'docker compose'.
[+] Stopping 2/2
✔ Container 1-tomee-1 Stopped 0.5s
✔ Container 1-mariadb-1 Stopped 0.5s
? Going to remove 1-tomee-1, 1-mariadb-1 Yes
[+] Removing 2/0
✔ Container 1-mariadb-1 Removed 0.0s
✔ Container 1-tomee-1 Removed 0.0s
stravsmi@eaw-msf1:~/massbank-debug/MassBank-web$ ./install.sh start 1
Docker Compose plugin for docker version 2.21.0 found. Using command 'docker compose'.
[+] Pulling 4/4
✔ mariadb Pulled 1.0s
✔ tomee Pulled 1.0s
✔ maven Pulled 0.9s
✔ dbupdate Pulled 1.0s
[+] Running 1/1
✔ Container 1-mariadb-1 Started 0.0s
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
13:00:26.047 ERROR massbank.Config - Can not read config file. Using defaults.
[ERROR] Can not map maven license LGPL-2.1 No URL exists to provide a mapping
[ERROR] Can not map maven license Public Domain No URL exists to provide a mapping
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.11.0:compile (default-compile) on project MassBank-web: Error while storing the mojo status: /project/MassBank-web/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst -> [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 :MassBank-web
I'm trying stuff like removing CURRENT_UID=$(id -u):$(id -g) and chmod -R 777 things but to no avail. Am I missing something?
I can't get MassBank to build anymore. The first attempt
resulted in errors related to the ~/.m2 repo.
Next attempt:
./install.sh stop 1
, i made a new ~/.m2 with broad permissions,./install.sh start 1
-> there was an error aboutFailed to execute goal org.apache.maven.plugins:maven-clean-plugin:3.2.0:clean (default-clean) on project Failed to clean project: Failed to delete
something somethingtarget/MassBank.war
So I made an emptytarget
with 777 permissions and additionally added<failOnError>false</failOnError>
on maven clean in pom.xml.but now results in the following error ( I always in between):
I'm trying stuff like removing
CURRENT_UID=$(id -u):$(id -g)
andchmod -R 777
things but to no avail. Am I missing something?