summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJanHolger <jan@bebendorf.eu>2021-07-07 10:22:14 +0200
committerJanHolger <jan@bebendorf.eu>2021-07-07 10:22:14 +0200
commit61901d60bfff1518eabffee846c4a5e36f3d62ed (patch)
treee2b6127defd03fd5cc8e683bdc51ce367a8549d1
parent1d26c0a20d3c595d2846de31c2034e27595540b1 (diff)
Added deployment config
-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