Commit e05fb3fa authored by Lukas Jelonek's avatar Lukas Jelonek
Browse files

Setup gitlab package registry

parent b9080a2f
deploy:
image: maven:3.6-jdk-11
script:
- 'mvn deploy -s ci_settings.xml'
only:
- master
\ No newline at end of file
<settings>
<servers>
<server>
<id>gitlab-maven</id>
<configuration>
<httpHeaders>
<property>
<name>Job-Token</name>
<value>${env.CI_JOB_TOKEN}</value>
</property>
</httpHeaders>
</configuration>
</server>
</servers>
</settings>
\ No newline at end of file
......@@ -45,9 +45,6 @@
</plugin>
</plugins>
</build>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<dependencies>
<dependency>
......@@ -95,20 +92,25 @@
</dependency>
</dependencies>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<gitlab.project_id>53</gitlab.project_id>
</properties>
<repositories>
<repository>
<id>gitlab-maven</id>
<url>https://git.computational.bio.uni-giessen.de//api/v4/projects/53/packages/maven</url>
<url>https://git.computational.bio.uni-giessen.de/api/v4/packages/maven</url>
</repository>
</repositories>
<distributionManagement>
<repository>
<id>gitlab-maven</id>
<url>https://git.computational.bio.uni-giessen.de//api/v4/projects/53/packages/maven</url>
<url>https://git.computational.bio.uni-giessen.de/api/v4/projects/${gitlab.project_id}/packages/maven</url>
</repository>
<snapshotRepository>
<id>gitlab-maven</id>
<url>https://git.computational.bio.uni-giessen.de//api/v4/projects/53/packages/maven</url>
<url>https://git.computational.bio.uni-giessen.de/api/v4/projects/${gitlab.project_id}/packages/maven</url>
</snapshotRepository>
</distributionManagement>
</project>
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment