-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsample-settings.xml
More file actions
56 lines (56 loc) · 1.84 KB
/
sample-settings.xml
File metadata and controls
56 lines (56 loc) · 1.84 KB
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
<settings>
<profiles>
<profile>
<id>ossrh</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<properties>
<gpg.executable>gpg2</gpg.executable>
<gpg.passphrase>{Your Pass Phase Here}</gpg.passphrase>
</properties>
</profile>
<profile>
<id>nexus</id>
<pluginRepositories>
<pluginRepository>
<id>central</id>
<name>Central Repository</name>
<url>https://repo.maven.apache.org/maven2</url>
</pluginRepository>
</pluginRepositories>
<repositories>
<repository>
<snapshots>
<enabled>false</enabled>
</snapshots>
<id>central</id>
<name>Central Repository</name>
<url>https://repo.maven.apache.org/maven2</url>
</repository>
</repositories>
</profile>
</profiles>
<activeProfiles>
<!--make the profile active all the time -->
<activeProfile>nexus</activeProfile>
</activeProfiles>
<servers>
<!-- These for Open Source -->
<server>
<id>snapshots</id>
<username>{username for 'ossrh'}</username>
<password>{password for 'ossrh'}</password>
</server>
<server>
<id>releases</id>
<username>{username for 'ossrh'}</username>
<password>{password for 'ossrh'}</password>
</server>
<server>
<id>ossrh</id>
<username>{username for 'ossrh'}</username>
<password>{password for 'ossrh'}</password>
</server>
</servers>
</settings>