diff --git a/pom.xml b/pom.xml
index a0cf90d93..7da323849 100755
--- a/pom.xml
+++ b/pom.xml
@@ -22,7 +22,7 @@
net.openhft
java-parent-pom
- 1.1.0
+ 1.1.2
@@ -121,24 +121,9 @@
-
-
-
- org.apache.maven.plugins
- maven-compiler-plugin
-
- -Xlint:deprecation
- 1.6
- 1.6
- 1.8
- 1.8
- UTF-8
-
-
-
org.apache.maven.plugins
maven-scm-publish-plugin
diff --git a/src/test/java/net/openhft/chronicle/map/fromdocs/OpenJDKAndHashMapExamplesTest.java b/src/test/java/net/openhft/chronicle/map/fromdocs/OpenJDKAndHashMapExamplesTest.java
index 8a005476f..6104d81aa 100644
--- a/src/test/java/net/openhft/chronicle/map/fromdocs/OpenJDKAndHashMapExamplesTest.java
+++ b/src/test/java/net/openhft/chronicle/map/fromdocs/OpenJDKAndHashMapExamplesTest.java
@@ -21,6 +21,7 @@ import net.openhft.chronicle.map.ChronicleMap;
import net.openhft.chronicle.map.ChronicleMapBuilder;
import net.openhft.lang.io.serialization.impl.NewInstanceObjectFactory;
import net.openhft.lang.model.DataValueClasses;
+import org.junit.Ignore;
import org.junit.Test;
import java.io.File;
@@ -32,8 +33,8 @@ import static net.openhft.lang.model.DataValueClasses.directClassFor;
import static org.junit.Assert.assertEquals;
/**
- * These code fragments will appear in an article on OpenHFT.
- * These tests to ensure that the examples compile and behave as expected.
+ * These code fragments will appear in an article on OpenHFT. These tests to ensure that the examples compile
+ * and behave as expected.
*/
public class OpenJDKAndHashMapExamplesTest {
private static final SimpleDateFormat YYYYMMDD = new SimpleDateFormat("yyyyMMdd");
@@ -50,16 +51,19 @@ public class OpenJDKAndHashMapExamplesTest {
}
@Test
+ @Ignore
public void bondExample() throws IOException, InterruptedException {
Class bondVODirectClass = directClassFor(BondVOInterface.class);
NewInstanceObjectFactory bondVODirectObjectFactory =
new NewInstanceObjectFactory(bondVODirectClass);
+ File file = new File(TMP + "/chm-myBondPortfolioCHM-" + System.nanoTime());
+ file.deleteOnExit();
ChronicleMap chm = ChronicleMapBuilder
.of(String.class, bondVODirectClass)
.valueFactory(bondVODirectObjectFactory)
.entrySize(512)
- .create(new File(TMP + "/chm-myBondPortfolioCHM"));
+ .create(file);
BondVOInterface bondVO = DataValueClasses.newDirectReference(BondVOInterface.class);
@@ -148,7 +152,7 @@ public class OpenJDKAndHashMapExamplesTest {
// cleanup.
chm.close();
chmB.close();
- new File(TMP + "/chm-myBondPortfolioCHM").delete();
+ file.delete();
}