Welcome to mirror list, hosted at ThFree Co, Russian Federation.

maven_installation_spec.js.snap « __snapshots__ « details « components « package_registry « packages_and_registries « frontend « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 23cdf4864de90ce0eea447fd2352df723666afc5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`MavenInstallation groovy renders all the messages 1`] = `
<div>
  <installation-title-stub
    options="[object Object],[object Object],[object Object]"
    packagetype="maven"
  />
  <code-instruction-stub
    class="gl-mb-5"
    copytext="Copy Gradle Groovy DSL install command"
    instruction="implementation 'appGroup:appName:appVersion'"
    label="Gradle Groovy DSL install command"
    trackingaction="copy_gradle_install_command"
    trackinglabel="code_instruction"
  />
  <code-instruction-stub
    copytext="Copy add Gradle Groovy DSL repository command"
    instruction="maven {
  url 'http://gdk.test:3000/api/v4/projects/1/packages/maven'
}"
    label="Add Gradle Groovy DSL repository command"
    multiline="true"
    trackingaction="copy_gradle_add_to_source_command"
    trackinglabel="code_instruction"
  />
</div>
`;

exports[`MavenInstallation kotlin renders all the messages 1`] = `
<div>
  <installation-title-stub
    options="[object Object],[object Object],[object Object]"
    packagetype="maven"
  />
  <code-instruction-stub
    class="gl-mb-5"
    copytext="Copy Gradle Kotlin DSL install command"
    instruction="implementation(\\"appGroup:appName:appVersion\\")"
    label="Gradle Kotlin DSL install command"
    trackingaction="copy_kotlin_install_command"
    trackinglabel="code_instruction"
  />
  <code-instruction-stub
    copytext="Copy add Gradle Kotlin DSL repository command"
    instruction="maven(\\"http://gdk.test:3000/api/v4/projects/1/packages/maven\\")"
    label="Add Gradle Kotlin DSL repository command"
    multiline="true"
    trackingaction="copy_kotlin_add_to_source_command"
    trackinglabel="code_instruction"
  />
</div>
`;

exports[`MavenInstallation maven renders all the messages 1`] = `
<div>
  <installation-title-stub
    options="[object Object],[object Object],[object Object]"
    packagetype="maven"
  />
  <p>
    Copy and paste this inside your
    <code>
      pom.xml
    </code>
    <code>
      dependencies
    </code>
    block.
  </p>
  <code-instruction-stub
    copytext="Copy Maven XML"
    instruction=<dependency>
        <groupid>
          appGroup
        </groupid>
        <artifactid>
          appName
        </artifactid>
        <version>
          appVersion
        </version>
      </dependency>
    label=""
    multiline="true"
    trackingaction="copy_maven_xml"
    trackinglabel="code_instruction"
  />
  <code-instruction-stub
    class="gl-mt-5 gl-w-20"
    copytext="Copy Maven command"
    instruction="mvn install"
    label="Maven Command"
    trackingaction="copy_maven_command"
    trackinglabel="code_instruction"
  />
  <h3
    class="gl-font-lg"
  >
    Registry setup
  </h3>
  <p>
    If you haven't already done so, you will need to add the below to your
    <code>
      pom.xml
    </code>
    file.
  </p>
  <code-instruction-stub
    copytext="Copy Maven registry XML"
    instruction=<repositories>
        <repository>
          <id>
            gitlab-maven
          </id>
          <url>
            http://gdk.test:3000/api/v4/projects/1/packages/maven
          </url>
        </repository>
      </repositories>
    label=""
    multiline="true"
    trackingaction="copy_maven_setup_xml"
    trackinglabel="code_instruction"
  />
  For more information on the Maven registry,
  <gl-link-stub
    href="/help/user/packages/maven_repository/index"
    target="_blank"
  >
    see the documentation
  </gl-link-stub>
  .
</div>
`;