Skip to content

Commit 0a8cc67

Browse files
cheesengbvenners
authored andcommitted
Added note for deployment in README.md.
1 parent 546ef17 commit 0a8cc67

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

README.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,3 +55,24 @@ To use the ScalaTest Maven plugin, you need to disable SureFire and enable Scala
5555
</execution>
5656
</executions>
5757
</plugin>
58+
59+
Deploying to Sonatype
60+
---------------------
61+
62+
Add the following into settings.xml (please replace username and password):
63+
64+
```
65+
<servers>
66+
<server>
67+
<id>sonatype-nexus-staging</id>
68+
<username>xxx</username>
69+
<password>yyy</password>
70+
</server>
71+
</servers>
72+
```
73+
74+
Then run the following command:
75+
76+
```
77+
> mvn clean deploy -Dmaven.test.skip=true
78+
```

0 commit comments

Comments
 (0)