Permalink
Browse files

cleaned up pom. added language level.. java 7.

  • Loading branch information...
1 parent 7934690 commit f9c78119c0435a7dce24136349ee063508e313e2 @mikedanese mikedanese committed Dec 30, 2013
Showing with 13 additions and 14 deletions.
  1. +11 −9 pom.xml
  2. +2 −5 src/main/java/com/raskol/tradebot/TradeBotMain.java
View
20 pom.xml
@@ -2,18 +2,11 @@
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.raskol.tradebot</groupId>
+ <groupId>com.raskol</groupId>
<artifactId>tradebot</artifactId>
- <version>1.0-SNAPSHOT</version>
+ <version>0.0.1-SNAPSHOT</version>
<packaging>jar</packaging>
- <name>tradebot</name>
- <url>http://maven.apache.org</url>
-
- <properties>
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- </properties>
-
<dependencies>
<dependency>
<groupId>junit</groupId>
@@ -42,6 +35,15 @@
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <version>3.1</version>
+ <configuration>
+ <source>1.7</source>
+ <target>1.7</target>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>1.6</version>
<configuration>
@@ -9,9 +9,6 @@
import java.io.IOException;
-/**
- * Hello world!
- */
public class TradeBotMain {
public static void main(String[] args) throws IOException {
System.out.println("Trade Bot Initialized!");
@@ -23,8 +20,8 @@ public static void main(String[] args) throws IOException {
PollingMarketDataService marketDataService = bitstamp.getPollingMarketDataService();
// Get the latest trade data for BTC/CAD
- Trades trades = marketDataService.getTrades(Currencies.BTC, Currencies.USD, new Object[0]);
+ Trades trades = marketDataService.getTrades(Currencies.BTC, Currencies.USD);
- System.out.println(trades.toString());
+ System.out.println(trades);
}
}

0 comments on commit f9c7811

Please sign in to comment.