Skip to content

Commit 928e9bf

Browse files
authored
Update README.md
1 parent f9b4751 commit 928e9bf

File tree

1 file changed

+16
-2
lines changed

1 file changed

+16
-2
lines changed

README.md

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ I think it is just like the file `bits/stdc++.h` in C++, so I named it `JavaPlus
1111

1212
# install the package
1313

14+
## Through GitHub Maven
15+
1416
firstly, you should add the following line to your `~/.m2/settings.xml` file:
1517

1618
```xml
@@ -85,12 +87,24 @@ And then you will see the following code in your `./m2/settings.xml` file
8587
</settings>
8688
```
8789

88-
Then you can add the following code to your `pom.xml` file:
90+
Then you can add the following codes to your `pom.xml` file:
8991

9092
```xml
9193
<dependency>
9294
<groupId>top.mryan2005.javaplusplus</groupId>
9395
<artifactId>javaplusplus</artifactId>
9496
<version>1.0-SNAPSHOT</version>
9597
</dependency>
96-
```
98+
```
99+
100+
## Through Maven Central Repository
101+
102+
You only need to add the following codes to your `pom.xml` file:
103+
104+
```xml
105+
<dependency>
106+
<groupId>top.mryan2005.maven</groupId>
107+
<artifactId>simplifiedjava</artifactId>
108+
<version>1.0.7-beta</version>
109+
</dependency>
110+
```

0 commit comments

Comments
 (0)