1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-28 00:06:53 +01:00

Initial java-client setup with jdk 1.7. Closes #17.

This commit is contained in:
ivaosthu 2014-10-20 16:23:20 +02:00
parent f66542b1eb
commit 2ff49bd3dc
4 changed files with 75 additions and 0 deletions

3
.gitignore vendored
View File

@ -30,3 +30,6 @@ node_modules
# Idea stuff
.idea
*.iml
# Java
target

View File

@ -0,0 +1,55 @@
<?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>
<parent>
<groupId>org.sonatype.oss</groupId>
<artifactId>oss-parent</artifactId>
<version>7</version>
</parent>
<groupId>no.finn.unleash</groupId>
<artifactId>unleash-client-java</artifactId>
<version>1.0-SNAPSHOT</version>
<properties>
<version.log4j2>2.0-rc1</version.log4j2>
</properties>
<dependencies>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-api</artifactId>
<version>${version.log4j2}</version>
</dependency>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
<version>4.3.1</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.11</version>
</dependency>
</dependencies>
<build>
<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>
</plugins>
</build>
</project>

View File

@ -0,0 +1,4 @@
package no.finn.unleash;
public final class Unleash {
}

View File

@ -0,0 +1,13 @@
package no.finn.unleash;
import org.junit.Test;
import static org.junit.Assert.assertTrue;
public class UnleashTest {
@Test
public void helloWorld() {
assertTrue(true);
}
}