Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added JUnit test dependency to pom.xml #2

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
27 changes: 26 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
@@ -1,9 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
<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>com.github.hipchat</groupId>
<artifactId>jHipchat</artifactId>
<version>0.0.1-SNAPSHOT</version>
<version>0.0.3-SNAPSHOT</version>
<name>${project.artifactId}</name>
<scm>
<url>[email protected]:metova/jHipChat.git</url>
<developerConnection>scm:git:[email protected]:metova/jHipChat.git</developerConnection>
<tag>HEAD</tag>
</scm>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.10</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
Expand Down Expand Up @@ -33,4 +46,16 @@
</plugin>
</plugins>
</build>
<distributionManagement>
<repository>
<id>metova</id>
<name>Metova Repo</name>
<url>http://repo.metova.com/nexus/content/repositories/metova/</url>
</repository>
<snapshotRepository>
<id>metova-snapshots</id>
<name>Metova Repo</name>
<url>http://repo.metova.com/nexus/content/repositories/metova-snapshots/</url>
</snapshotRepository>
</distributionManagement>
</project>
1 change: 1 addition & 0 deletions src/main/java/com/github/hipchat/api/Room.java
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,7 @@ public boolean sendMessage(String message, UserId from, boolean notify, Color co
params.append(URLEncoder.encode(from.getName(), "UTF-8"));
params.append("&message=");
params.append(URLEncoder.encode(message, "UTF-8"));
params.append("&message_format=html");
} catch (UnsupportedEncodingException e)
{
throw new RuntimeException(e);
Expand Down