Skip to content
This repository has been archived by the owner on May 22, 2019. It is now read-only.

Commit

Permalink
Publishing to a private Maven repo
Browse files Browse the repository at this point in the history
  • Loading branch information
KMax authored and Matthias247 committed Nov 4, 2014
1 parent 8b40e67 commit b187d5b
Show file tree
Hide file tree
Showing 2 changed files with 114 additions and 57 deletions.
150 changes: 93 additions & 57 deletions pom.xml
Original file line number Diff line number Diff line change
@@ -1,59 +1,95 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<groupId>ws.wamp.jawampa</groupId>
<artifactId>jawampa</artifactId>
<version>0.1.0</version>

<name>jawampa</name>
<url></url>
<description>jawampa is a library that provides client and server support for the Web Application Messaging Protocol (WAMP) on the JVM.</description>

<licenses>
<license>
<name>Apache License, Version 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0</url>
</license>
</licenses>

<inceptionYear>2014</inceptionYear>

<build>
<sourceDirectory>src/main/java</sourceDirectory>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.1</version>
<configuration>
<source>1.6</source>
<target>1.6</target>
</configuration>
</plugin>
</plugins>
</build>

<dependencies>
<dependency>
<groupId>com.netflix.rxjava</groupId>
<artifactId>rxjava-core</artifactId>
<version>0.20.4</version>
</dependency>
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty-codec-http</artifactId>
<version>4.0.24.Final</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>2.4.2</version>
</dependency>
</dependencies>

<scm>
<url>https://github.com/Matthias247/jawampa</url>
<connection>scm:git:https://github.com/Matthias247/jawampa.git</connection>
<developerConnection>scm:git:https://github.com/Matthias247/jawampa.git</developerConnection>
<tag>HEAD</tag>
</scm>
<modelVersion>4.0.0</modelVersion>

<groupId>ws.wamp.jawampa</groupId>
<artifactId>jawampa</artifactId>
<version>0.1.0</version>

<name>jawampa</name>
<url></url>
<description>jawampa is a library that provides client and server support for the Web Application Messaging Protocol (WAMP) on the JVM.</description>

<licenses>
<license>
<name>Apache License, Version 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0</url>
</license>
</licenses>

<inceptionYear>2014</inceptionYear>

<properties>
<!-- github server corresponds to entry in ~/.m2/settings.xml -->
<github.global.server>github</github.global.server>
</properties>

<build>
<sourceDirectory>src/main/java</sourceDirectory>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.1</version>
<configuration>
<source>1.6</source>
<target>1.6</target>
</configuration>
</plugin>
<plugin>
<artifactId>maven-deploy-plugin</artifactId>
<version>2.8.1</version>
<configuration>
<altDeploymentRepository>internal.repo::default::file://${project.build.directory}/mvn-repo</altDeploymentRepository>
</configuration>
</plugin>
<plugin>
<groupId>com.github.github</groupId>
<artifactId>site-maven-plugin</artifactId>
<version>0.10</version>
<configuration>
<message>Maven artifacts for ${project.name} ${project.version}</message> <!-- git commit message -->
<noJekyll>true</noJekyll> <!-- disable webpage processing -->
<outputDirectory>${project.build.directory}/mvn-repo</outputDirectory> <!-- matches distribution management repository url above -->
<branch>refs/heads/mvn-repo</branch> <!-- remote branch name -->
<includes>
<include>**/*</include>
</includes>
<repositoryName>jawampa</repositoryName> <!-- github repo name -->
<repositoryOwner>Matthias247</repositoryOwner> <!-- github username -->
</configuration>
<executions>
<execution>
<goals>
<goal>site</goal>
</goals>
<phase>deploy</phase>
</execution>
</executions>
</plugin>
</plugins>
</build>

<dependencies>
<dependency>
<groupId>com.netflix.rxjava</groupId>
<artifactId>rxjava-core</artifactId>
<version>0.20.4</version>
</dependency>
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty-codec-http</artifactId>
<version>4.0.24.Final</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>2.4.2</version>
</dependency>
</dependencies>

<scm>
<url>https://github.com/Matthias247/jawampa</url>
<connection>scm:git:https://github.com/Matthias247/jawampa.git</connection>
<developerConnection>scm:git:https://github.com/Matthias247/jawampa.git</developerConnection>
<tag>HEAD</tag>
</scm>
</project>
21 changes: 21 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,27 @@ jawampa
- is compatible with Java6. However the examples in this document use Java8
syntax for convenience.

Install
-------
Add the following repository to your pom.xml:

<repository>
<id>jawampa.mvn-repo</id>
<url>https://raw.github.com/Matthias247/jawampa/mvn-repo/</url>
<snapshots>
<enabled>true</enabled>
<updatePolicy>always</updatePolicy>
</snapshots>
</repository>

and declare the following dependency:

<dependency>
<groupId>ws.wamp.jawampa</groupId>
<artifactId>jawampa</artifactId>
<version>0.1.0</version>
</dependency>


WAMP client API (`WampClient`)
------------------------------
Expand Down

0 comments on commit b187d5b

Please sign in to comment.