summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md15
-rw-r--r--pom.xml29
2 files changed, 44 insertions, 0 deletions
diff --git a/README.md b/README.md
index f5b8172..04eff4b 100644
--- a/README.md
+++ b/README.md
@@ -23,4 +23,19 @@ server.getSessionConfigurations().add(new BGPSessionConfiguration(
}
));
server.run();
+```
+
+## Maven
+```xml
+<repository>
+ <id>lumaserv</id>
+ <url>https://maven.lumaserv.cloud</url>
+</repository>
+```
+```xml
+<dependency>
+ <groupId>com.lumaserv</groupId>
+ <artifactId>bgp-java</artifactId>
+ <version>1.0-SNAPSHOT</version>
+</dependency>
``` \ No newline at end of file
diff --git a/pom.xml b/pom.xml
index 5a085ff..66f533c 100644
--- a/pom.xml
+++ b/pom.xml
@@ -22,4 +22,33 @@
</dependency>
</dependencies>
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-deploy-plugin</artifactId>
+ <version>3.0.0-M1</version>
+ <executions>
+ <execution>
+ <id>default-deploy</id>
+ <phase>deploy</phase>
+ <goals>
+ <goal>deploy</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+
+ <distributionManagement>
+ <snapshotRepository>
+ <id>lumaserv-snapshots</id>
+ <url>https://nexus.lumaserv.cloud/repository/lumaserv-snapshots</url>
+ </snapshotRepository>
+ <repository>
+ <id>lumaserv-releases</id>
+ <url>https://nexus.lumaserv.cloud/repository/lumaserv-releases</url>
+ </repository>
+ </distributionManagement>
+
</project> \ No newline at end of file