Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Open Subsurface Data Universe Software
Platform
System
Reference and Helper Services
CRS Catalog
Commits
26d8c967
Commit
26d8c967
authored
Jul 15, 2020
by
David Diederich
Browse files
Configured Maven build scripts to use GitLab's package repository
parent
09e27415
Changes
5
Hide whitespace changes
Inline
Side-by-side
.mvn/community-maven.settings.xml
0 → 100644
View file @
26d8c967
<settings>
<profiles>
<profile>
<!-- This profile uses the CI-Token to authenticate with the server, and is the default case -->
<id>
GitLab-Authenticate-With-Job-Token
</id>
<activation>
<activeByDefault>
true
</activeByDefault>
</activation>
<properties>
<gitlab-server>
community-maven-via-job-token
</gitlab-server>
</properties>
</profile>
<profile>
<!-- This profile uses a personal token to authenticate, which is useful for local or manual runs. The
presence of the COMMUNITY_MAVEN_TOKEN variable triggers this and overrides the CI Token
based authentication -->
<id>
GitLab-Authenticate-With-Private-Token
</id>
<activation>
<property>
<name>
env.COMMUNITY_MAVEN_TOKEN
</name>
</property>
</activation>
<properties>
<gitlab-server>
community-maven-via-private-token
</gitlab-server>
</properties>
</profile>
</profiles>
<servers>
<server>
<id>
community-maven-via-job-token
</id>
<configuration>
<httpHeaders>
<property>
<name>
Job-Token
</name>
<value>
${env.CI_JOB_TOKEN}
</value>
</property>
</httpHeaders>
</configuration>
</server>
<server>
<id>
community-maven-via-private-token
</id>
<configuration>
<httpHeaders>
<property>
<name>
Private-Token
</name>
<value>
${env.COMMUNITY_MAVEN_TOKEN}
</value>
</property>
</httpHeaders>
</configuration>
</server>
</servers>
</settings>
crs-catalog-core/pom.xml
View file @
26d8c967
...
...
@@ -39,17 +39,22 @@
<repositories>
<repository>
<id>
os-core
</id>
<url>
https://pkgs.dev.azure.com/slb-des-ext-collaboration/_packaging/os-core/maven/v1
</url>
<releases>
<enabled>
true
</enabled>
</releases>
<snapshots>
<enabled>
true
</enabled>
</snapshots>
<id>
${gitlab-server}
</id>
<url>
https://community.opengroup.org/api/v4/groups/17/-/packages/maven
</url>
</repository>
</repositories>
<distributionManagement>
<repository>
<id>
${gitlab-server}
</id>
<url>
https://community.opengroup.org/api/v4/projects/21/packages/maven
</url>
</repository>
<snapshotRepository>
<id>
${gitlab-server}
</id>
<url>
https://community.opengroup.org/api/v4/projects/21/packages/maven
</url>
</snapshotRepository>
</distributionManagement>
<dependencies>
<!-- Compile/runtime dependencies -->
<dependency>
...
...
pom.xml
View file @
26d8c967
...
...
@@ -78,15 +78,20 @@
<repositories>
<repository>
<id>
os-core
</id>
<url>
https://pkgs.dev.azure.com/slb-des-ext-collaboration/_packaging/os-core/maven/v1
</url>
<releases>
<enabled>
true
</enabled>
</releases>
<snapshots>
<enabled>
true
</enabled>
</snapshots>
<id>
${gitlab-server}
</id>
<url>
https://community.opengroup.org/api/v4/groups/17/-/packages/maven
</url>
</repository>
</repositories>
<distributionManagement>
<repository>
<id>
${gitlab-server}
</id>
<url>
https://community.opengroup.org/api/v4/projects/21/packages/maven
</url>
</repository>
<snapshotRepository>
<id>
${gitlab-server}
</id>
<url>
https://community.opengroup.org/api/v4/projects/21/packages/maven
</url>
</snapshotRepository>
</distributionManagement>
</project>
provider/crs-catalog-azure/crs-catalog-aks/pom.xml
View file @
26d8c967
...
...
@@ -20,17 +20,22 @@
<repositories>
<repository>
<id>
os-core
</id>
<url>
https://pkgs.dev.azure.com/slb-des-ext-collaboration/_packaging/os-core/maven/v1
</url>
<releases>
<enabled>
true
</enabled>
</releases>
<snapshots>
<enabled>
true
</enabled>
</snapshots>
<id>
${gitlab-server}
</id>
<url>
https://community.opengroup.org/api/v4/groups/17/-/packages/maven
</url>
</repository>
</repositories>
<distributionManagement>
<repository>
<id>
${gitlab-server}
</id>
<url>
https://community.opengroup.org/api/v4/projects/21/packages/maven
</url>
</repository>
<snapshotRepository>
<id>
${gitlab-server}
</id>
<url>
https://community.opengroup.org/api/v4/projects/21/packages/maven
</url>
</snapshotRepository>
</distributionManagement>
<properties>
<app.version>
1
</app.version>
<app.id>
crs-catalog-aks
</app.id>
...
...
provider/crs-catalog-gcp/crs-catalog-gke/pom.xml
View file @
26d8c967
...
...
@@ -20,17 +20,22 @@
<repositories>
<repository>
<id>
os-core
</id>
<url>
https://pkgs.dev.azure.com/slb-des-ext-collaboration/_packaging/os-core/maven/v1
</url>
<releases>
<enabled>
true
</enabled>
</releases>
<snapshots>
<enabled>
true
</enabled>
</snapshots>
<id>
${gitlab-server}
</id>
<url>
https://community.opengroup.org/api/v4/groups/17/-/packages/maven
</url>
</repository>
</repositories>
<distributionManagement>
<repository>
<id>
${gitlab-server}
</id>
<url>
https://community.opengroup.org/api/v4/projects/21/packages/maven
</url>
</repository>
<snapshotRepository>
<id>
${gitlab-server}
</id>
<url>
https://community.opengroup.org/api/v4/projects/21/packages/maven
</url>
</snapshotRepository>
</distributionManagement>
<properties>
<app.version>
1
</app.version>
<app.id>
crs-catalog-gke
</app.id>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment