mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-18 07:23:08 +00:00
Merge pull request #9032 from DSpace/backport-9016-to-dspace-7_x
[Port dspace-7_x] Avoid requiring git as a build dependency
This commit is contained in:
@@ -50,7 +50,7 @@ RUN ant init_installation update_configs update_code update_webapps
|
|||||||
FROM tomcat:9-jdk${JDK_VERSION}
|
FROM tomcat:9-jdk${JDK_VERSION}
|
||||||
# NOTE: DSPACE_INSTALL must align with the "dspace.dir" default configuration.
|
# NOTE: DSPACE_INSTALL must align with the "dspace.dir" default configuration.
|
||||||
ENV DSPACE_INSTALL=/dspace
|
ENV DSPACE_INSTALL=/dspace
|
||||||
# Copy the /dspace directory from 'ant_build' containger to /dspace in this container
|
# Copy the /dspace directory from 'ant_build' container to /dspace in this container
|
||||||
COPY --from=ant_build /dspace $DSPACE_INSTALL
|
COPY --from=ant_build /dspace $DSPACE_INSTALL
|
||||||
# Expose Tomcat port and AJP port
|
# Expose Tomcat port and AJP port
|
||||||
EXPOSE 8080 8009
|
EXPOSE 8080 8009
|
||||||
|
@@ -102,7 +102,7 @@
|
|||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.codehaus.mojo</groupId>
|
<groupId>org.codehaus.mojo</groupId>
|
||||||
<artifactId>build-helper-maven-plugin</artifactId>
|
<artifactId>build-helper-maven-plugin</artifactId>
|
||||||
<version>3.0.0</version>
|
<version>3.4.0</version>
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
<phase>validate</phase>
|
<phase>validate</phase>
|
||||||
@@ -116,7 +116,10 @@
|
|||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.codehaus.mojo</groupId>
|
<groupId>org.codehaus.mojo</groupId>
|
||||||
<artifactId>buildnumber-maven-plugin</artifactId>
|
<artifactId>buildnumber-maven-plugin</artifactId>
|
||||||
<version>1.4</version>
|
<version>3.2.0</version>
|
||||||
|
<configuration>
|
||||||
|
<revisionOnScmFailure>UNKNOWN_REVISION</revisionOnScmFailure>
|
||||||
|
</configuration>
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
<phase>validate</phase>
|
<phase>validate</phase>
|
||||||
|
Reference in New Issue
Block a user