summaryrefslogtreecommitdiff
path: root/qa/qa/fixtures/package_managers/maven/package_pom.xml.erb
blob: 5159172a170d402620d34689ca6072049178a6f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
 <project>
  <groupId><%= group_id %></groupId>
  <artifactId><%= artifact_id %></artifactId>
  <version><%= package_version %></version>
  <modelVersion>4.0.0</modelVersion>
  <repositories>
    <repository>
      <id><%= package_project.name %></id>
      <url><%= gitlab_address_with_port %>/api/v4/groups/<%= package_project.group.id %>/-/packages/maven</url>
    </repository>
  </repositories>
  <distributionManagement>
    <repository>
      <id><%= package_project.name %></id>
      <url><%= gitlab_address_with_port %>/api/v4/projects/<%= package_project.id %>/packages/maven</url>
    </repository>
    <snapshotRepository>
      <id><%= package_project.name %></id>
      <url><%= gitlab_address_with_port %>/api/v4/projects/<%= package_project.id %>/packages/maven</url>
    </snapshotRepository>
  </distributionManagement>
</project>