Skip to content
Snippets Groups Projects
Commit 77698224 authored by trantzas's avatar trantzas
Browse files

Merge branch...

Merge branch '1-create-a-pipeline-to-build-and-publish-the-mvn-package-in-gitlab-registry' into 'develop'

Resolve "Create a pipeline to build and publish the mvn package in gitlab registry"

See merge request !2
parents bfa53c74 0839c3a6
No related branches found
No related tags found
2 merge requests!6Merging 2024Q2_RC into main, creating 2024Q2 Release,!2Resolve "Create a pipeline to build and publish the mvn package in gitlab registry"
Pipeline #3838 canceled
stages:
- deploy
deploy:
stage: deploy
image: maven:3.9.5-ibm-semeru-17-focal
script:
- mvn deploy -s ci_settings.xml -DskipTests
<settings xmlns="http://maven.apache.org/SETTINGS/1.1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.1.0 http://maven.apache.org/xsd/settings-1.1.0.xsd">
<servers>
<server>
<id>gitlab-maven</id>
<configuration>
<httpHeaders>
<property>
<name>Job-Token</name>
<value>${CI_JOB_TOKEN}</value>
</property>
</httpHeaders>
</configuration>
</server>
</servers>
</settings>
......@@ -9,9 +9,26 @@
<relativePath>../org.etsi.osl.main</relativePath>
</parent>
<artifactId>org.etsi.osl.centrallog.client</artifactId>
<name>org.etsi.osl.centrallog.client</name>
<artifactId>org.etsi.osl.centrallog.client</artifactId>
<name>org.etsi.osl.centrallog.client</name>
<repositories>
<repository>
<id>gitlab-maven</id>
<url>https://labs.etsi.org/rep/api/v4/groups/260/-/packages/maven</url>
</repository>
</repositories>
<distributionManagement>
<repository>
<id>gitlab-maven</id>
<url>${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/maven</url>
</repository>
<snapshotRepository>
<id>gitlab-maven</id>
<url>${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/maven</url>
</snapshotRepository>
</distributionManagement>
<dependencyManagement>
<dependencies>
<!-- Camel BOM -->
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment