mirror of
https://github.com/alanorth/cgspace-notes.git
synced 2025-01-27 05:49:12 +01:00
Update notes
This commit is contained in:
@ -825,8 +825,26 @@ $ dspace import -a -e aorth@mjanja.ch -s /tmp/2018-01-16\ LIVES/SimpleArchiveFor
|
||||
```
|
||||
$ docker pull docker.bintray.io/jfrog/artifactory-oss:latest
|
||||
$ docker volume create --name artifactory5_data
|
||||
$ docker run --name artifactory -d -v artifactory5_data:/var/opt/jfrog/artifactory -p 8081:8081 docker.bintray.io/jfrog/artifactory-oss:latest
|
||||
$ docker network create dspace-build
|
||||
$ docker run --network dspace-build --name artifactory -d -v artifactory5_data:/var/opt/jfrog/artifactory -p 8081:8081 docker.bintray.io/jfrog/artifactory-oss:latest
|
||||
```
|
||||
|
||||
- Then configure the local maven to use it in settings.xml with the settings from "Set Me Up": https://www.jfrog.com/confluence/display/RTF/Using+Artifactory
|
||||
- This could be a game changer for testing and running the Docker DSpace image
|
||||
- Wow, I even managed to add the Atmire repository as a remote and map it into the `libs-release` virtual repository, then tell maven to use it for `atmire.com-releases` in settings.xml!
|
||||
- Hmm, some maven dependencies for the SWORDv2 web application in DSpace 5.5 are broken:
|
||||
|
||||
```
|
||||
[ERROR] Failed to execute goal on project dspace-swordv2: Could not resolve dependencies for project org.dspace:dspace-swordv2:war:5.5: Failed to collect dependencies at org.swordapp:sword2-server:jar:classes:1.0 -> org.apache.abdera:abdera-client:jar:1.1.1 -> org.apache.abdera:abdera-core:jar:1.1.1 -> org.apache.abdera:abdera-i18n:jar:1.1.1 -> org.apache.geronimo.specs:geronimo-activation_1.0.2_spec:jar:1.1: Failed to read artifact descriptor for org.apache.geronimo.specs:geronimo-activation_1.0.2_spec:jar:1.1: Could not find artifact org.apache.geronimo.specs:specs:pom:1.1 in central (http://localhost:8081/artifactory/libs-release) -> [Help 1]
|
||||
```
|
||||
|
||||
- I never noticed because I build with that web application disabled:
|
||||
|
||||
```
|
||||
$ mvn -U -Dmirage2.on=true -Dmirage2.deps.included=false -Denv=localhost -P \!dspace-sword,\!dspace-swordv2 clean package
|
||||
```
|
||||
|
||||
- UptimeRobot said CGSpace went down for a few minutes
|
||||
- I didn't do anything but it came back up on its own
|
||||
- I don't see anything unusual in the XMLUI or REST/OAI logs
|
||||
- Now Linode alert says the CPU load is high, *sigh*
|
||||
|
Reference in New Issue
Block a user