Skip to content

Commit 742991e

Browse files
committed
Failing deployment
1 parent 918fe75 commit 742991e

2 files changed

Lines changed: 11 additions & 3 deletions

File tree

amp/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -212,15 +212,15 @@ COPY . .
212212
ARG SKIP_TESTS=false
213213
RUN --mount=type=cache,target=/root/.m2 \
214214
if [ "$SKIP_TESTS" = "true" ]; then \
215-
mvn -B clean compile org.apache.maven.plugins:maven-war-plugin:3.3.2:exploded \
215+
mvn -B -U clean compile org.apache.maven.plugins:maven-war-plugin:3.3.2:exploded \
216216
-DbuildSource=$BUILD_SOURCE \
217217
-Djdbc.user=amp -Djdbc.password=amp122006 -Djdbc.db=amp -Djdbc.host=db \
218218
-Djdbc.port=5432 -DdbName=postgresql -Djdbc.driverClassName=org.postgresql.Driver \
219219
-Dskip.npm -Dskip.installnodenpm -DskipTests \
220220
&& mv target/amp exploded \
221221
&& rm -rf target; \
222222
else \
223-
mvn -B test org.apache.maven.plugins:maven-war-plugin:3.3.2:exploded \
223+
mvn -B -U test org.apache.maven.plugins:maven-war-plugin:3.3.2:exploded \
224224
-DbuildSource=$BUILD_SOURCE \
225225
-Djdbc.user=amp -Djdbc.password=amp122006 -Djdbc.db=amp -Djdbc.host=db \
226226
-Djdbc.port=5432 -DdbName=postgresql -Djdbc.driverClassName=org.postgresql.Driver \

amp/pom.xml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,10 +75,18 @@
7575
<snapshots>
7676
<enabled>false</enabled>
7777
</snapshots>
78-
<id>central</id>
78+
<id>artifactory-amp</id>
7979
<name>amp</name>
8080
<url>https://artifactory.dgdev.org/artifactory/amp/</url>
8181
</pluginRepository>
82+
<pluginRepository>
83+
<snapshots>
84+
<enabled>false</enabled>
85+
</snapshots>
86+
<id>central</id>
87+
<name>Maven Central</name>
88+
<url>https://repo.maven.apache.org/maven2</url>
89+
</pluginRepository>
8290
</pluginRepositories>
8391

8492
<profiles>

0 commit comments

Comments
 (0)