Skip to content

Commit bcbb99a

Browse files
committed
Switch to labs.consol.de repository
1 parent 7436143 commit bcbb99a

File tree

2 files changed

+34
-3
lines changed

2 files changed

+34
-3
lines changed

pom.xml

+31
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,14 @@
257257
</configuration>
258258
</plugin>
259259
</plugins>
260+
261+
<extensions>
262+
<extension>
263+
<groupId>org.apache.maven.wagon</groupId>
264+
<artifactId>wagon-ssh-external</artifactId>
265+
<version>2.7</version>
266+
</extension>
267+
</extensions>
260268
</build>
261269

262270
<dependencyManagement>
@@ -441,6 +449,29 @@
441449
</plugins>
442450
</build>
443451
</profile>
452+
453+
<profile>
454+
<id>release-labs</id>
455+
<distributionManagement>
456+
<repository>
457+
<id>consol-labs-release</id>
458+
<url>scpexe://labs.consol.de/home/maven-repository/www/htdocs/repository</url>
459+
</repository>
460+
<snapshotRepository>
461+
<id>consol-labs-snapshots</id>
462+
<url>scpexe://labs.consol.de/home/maven-repository/www/htdocs/snapshots-repository</url>
463+
</snapshotRepository>
464+
</distributionManagement>
465+
466+
<build>
467+
<plugins>
468+
<plugin>
469+
<groupId>org.apache.maven.plugins</groupId>
470+
<artifactId>maven-gpg-plugin</artifactId>
471+
</plugin>
472+
</plugins>
473+
</build>
474+
</profile>
444475

445476
<profile>
446477
<id>embedded</id>

src/main/docker/Dockerfile

+3-3
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@ USER root
1212

1313
RUN mkdir ${DEPLOY_DIR}
1414

15-
RUN curl http://build-n.int.consol.de/repository/citrus-releases/com/consol/citrus/samples/${APP_ARTIFACT}/${APP_VERSION}/${APP_ARTIFACT}-${APP_VERSION}-executable.war -o ${DEPLOY_DIR}/${APP_ARTIFACT}.war
15+
RUN curl https://labs.consol.de/maven/repository/com/consol/citrus/samples/${APP_ARTIFACT}/${APP_VERSION}/${APP_ARTIFACT}-${APP_VERSION}-executable.war -o ${DEPLOY_DIR}/${APP_ARTIFACT}.war
1616

1717
RUN find $DEPLOY_DIR -name '*.war' -exec chmod a+x {} +
1818

19-
RUN useradd -U openshift
19+
RUN useradd -U citrus
2020

2121
CMD java -jar ${DEPLOY_DIR}/${APP_ARTIFACT}.war
2222

23-
USER openshift
23+
USER citrus

0 commit comments

Comments
 (0)