mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-07 01:54:22 +00:00
Merge branch 'master' of github.com:DSpace/DSpace into rcaap-openaire4-fields
This commit is contained in:
@@ -54,7 +54,13 @@ EXPOSE 8080 8009
|
|||||||
|
|
||||||
ENV JAVA_OPTS=-Xmx2000m
|
ENV JAVA_OPTS=-Xmx2000m
|
||||||
|
|
||||||
RUN mv /usr/local/tomcat/webapps/ROOT /usr/local/tomcat/webapps/ROOT.bk && \
|
# Run the "server" webapp off the /server path (e.g. http://localhost:8080/server/)
|
||||||
ln -s $DSPACE_INSTALL/webapps/server /usr/local/tomcat/webapps/ROOT && \
|
# and the v6.x (deprecated) REST API off the "/rest" path
|
||||||
ln -s $DSPACE_INSTALL/webapps/server /usr/local/tomcat/webapps/server && \
|
RUN ln -s $DSPACE_INSTALL/webapps/server /usr/local/tomcat/webapps/server && \
|
||||||
ln -s $DSPACE_INSTALL/webapps/rest /usr/local/tomcat/webapps/rest
|
ln -s $DSPACE_INSTALL/webapps/rest /usr/local/tomcat/webapps/rest
|
||||||
|
# If you wish to run "server" webapp off the ROOT path, then comment out the above RUN, and uncomment the below RUN.
|
||||||
|
# You also MUST update the URL in dspace/src/main/docker/local.cfg
|
||||||
|
# Please note that server webapp should only run on one path at a time.
|
||||||
|
#RUN mv /usr/local/tomcat/webapps/ROOT /usr/local/tomcat/webapps/ROOT.bk && \
|
||||||
|
# ln -s $DSPACE_INSTALL/webapps/server /usr/local/tomcat/webapps/ROOT && \
|
||||||
|
# ln -s $DSPACE_INSTALL/webapps/rest /usr/local/tomcat/webapps/rest
|
@@ -54,11 +54,17 @@ EXPOSE 8080 8009
|
|||||||
|
|
||||||
ENV JAVA_OPTS=-Xmx2000m
|
ENV JAVA_OPTS=-Xmx2000m
|
||||||
|
|
||||||
RUN mv /usr/local/tomcat/webapps/ROOT /usr/local/tomcat/webapps/ROOT.bk && \
|
# Run the "server" webapp off the /server path (e.g. http://localhost:8080/server/)
|
||||||
ln -s $DSPACE_INSTALL/webapps/server /usr/local/tomcat/webapps/ROOT && \
|
# and the v6.x (deprecated) REST API off the "/rest" path
|
||||||
ln -s $DSPACE_INSTALL/webapps/server /usr/local/tomcat/webapps/server && \
|
RUN ln -s $DSPACE_INSTALL/webapps/server /usr/local/tomcat/webapps/server && \
|
||||||
ln -s $DSPACE_INSTALL/webapps/rest /usr/local/tomcat/webapps/rest
|
ln -s $DSPACE_INSTALL/webapps/rest /usr/local/tomcat/webapps/rest
|
||||||
|
# If you wish to run "server" webapp off the ROOT path, then comment out the above RUN, and uncomment the below RUN.
|
||||||
|
# You also MUST update the URL in dspace/src/main/docker/local.cfg
|
||||||
|
# Please note that server webapp should only run on one path at a time.
|
||||||
|
#RUN mv /usr/local/tomcat/webapps/ROOT /usr/local/tomcat/webapps/ROOT.bk && \
|
||||||
|
# ln -s $DSPACE_INSTALL/webapps/server /usr/local/tomcat/webapps/ROOT && \
|
||||||
|
# ln -s $DSPACE_INSTALL/webapps/rest /usr/local/tomcat/webapps/rest
|
||||||
|
|
||||||
|
# Overwrite the v6.x (deprecated) REST API's web.xml, so that we can run it on HTTP (defaults to requiring HTTPS)
|
||||||
COPY dspace/src/main/docker/test/rest_web.xml $DSPACE_INSTALL/webapps/rest/WEB-INF/web.xml
|
COPY dspace/src/main/docker/test/rest_web.xml $DSPACE_INSTALL/webapps/rest/WEB-INF/web.xml
|
||||||
|
RUN sed -i -e "s|\${dspace.dir}|$DSPACE_INSTALL|" $DSPACE_INSTALL/webapps/rest/WEB-INF/web.xml
|
||||||
RUN sed -i -e "s|\${dspace.dir}|$DSPACE_INSTALL|" $DSPACE_INSTALL/webapps/rest/WEB-INF/web.xml
|
|
9
dspace/bin/.gitattributes
vendored
Normal file
9
dspace/bin/.gitattributes
vendored
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
# Ensure Unix files in this folder always keep Unix line endings
|
||||||
|
dspace text eol=lf
|
||||||
|
dspace-info.pl text eol=lf
|
||||||
|
log-reporter text eol=lf
|
||||||
|
make-handle-config text eol=lf
|
||||||
|
start-handle-server text eol=lf
|
||||||
|
|
||||||
|
# Ensure Windows files in this folder always keep Windows line endings
|
||||||
|
*.bat text eol=crlf
|
10
pom.xml
10
pom.xml
@@ -16,10 +16,6 @@
|
|||||||
<url>http://www.dspace.org</url>
|
<url>http://www.dspace.org</url>
|
||||||
</organization>
|
</organization>
|
||||||
|
|
||||||
<prerequisites>
|
|
||||||
<maven>3.0</maven>
|
|
||||||
</prerequisites>
|
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||||
<project.reporting.outputEncoding>${project.build.sourceEncoding}</project.reporting.outputEncoding>
|
<project.reporting.outputEncoding>${project.build.sourceEncoding}</project.reporting.outputEncoding>
|
||||||
@@ -55,7 +51,8 @@
|
|||||||
(NOTE: individual POMs can override specific settings). -->
|
(NOTE: individual POMs can override specific settings). -->
|
||||||
<pluginManagement>
|
<pluginManagement>
|
||||||
<plugins>
|
<plugins>
|
||||||
<!-- Use to enforce a particular version of Java and ensure no conflicting dependencies -->
|
<!-- Use to enforce particular versions of Java and Maven,
|
||||||
|
and to ensure no conflicting dependencies -->
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-enforcer-plugin</artifactId>
|
<artifactId>maven-enforcer-plugin</artifactId>
|
||||||
@@ -71,6 +68,9 @@
|
|||||||
<requireJavaVersion>
|
<requireJavaVersion>
|
||||||
<version>${java.version}</version>
|
<version>${java.version}</version>
|
||||||
</requireJavaVersion>
|
</requireJavaVersion>
|
||||||
|
<requireMavenVersion>
|
||||||
|
<version>[3.0.5,)</version>
|
||||||
|
</requireMavenVersion>
|
||||||
</rules>
|
</rules>
|
||||||
</configuration>
|
</configuration>
|
||||||
</execution>
|
</execution>
|
||||||
|
Reference in New Issue
Block a user