summaryrefslogtreecommitdiffstats
path: root/common/minimal-distribution-parent/pom.xml
diff options
context:
space:
mode:
authorMaros Marsalek <mmarsale@cisco.com>2016-09-08 11:57:18 +0200
committerMarek Gradzki <mgradzki@cisco.com>2016-09-08 11:28:55 +0000
commitbb972b5738831e70b98f9165dd2091d7cf5b3c11 (patch)
treed8d87294104fb56cbe3369f23f9fd7a5b5226a7f /common/minimal-distribution-parent/pom.xml
parent14bdeacc3a1b1e9068c1924812b5e6dbf1271d0c (diff)
HONEYCOMB-197 Minimal distribution positive test
Change-Id: I2191472f10b39a026ccde2494a7921655c57c314 Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
Diffstat (limited to 'common/minimal-distribution-parent/pom.xml')
-rw-r--r--common/minimal-distribution-parent/pom.xml20
1 files changed, 20 insertions, 0 deletions
diff --git a/common/minimal-distribution-parent/pom.xml b/common/minimal-distribution-parent/pom.xml
index 373b642c7..12dce7357 100644
--- a/common/minimal-distribution-parent/pom.xml
+++ b/common/minimal-distribution-parent/pom.xml
@@ -55,6 +55,11 @@ done
<mdsal.version>2.0.2-Beryllium-SR2</mdsal.version>
<!-- Used by mdsal as provided/runtime dependency-->
<osgi.core.version>5.0.0</osgi.core.version>
+ <junit.version>4.11</junit.version>
+ <!-- Use /dev/urandom instead of /dev/random during tests to speed up execution
+ http://stackoverflow.com/questions/137212/how-to-solve-performance-problem-with-java-securerandom
+ -->
+ <random.seed.file>/dev/./urandom</random.seed.file>
</properties>
<dependencyManagement>
@@ -152,6 +157,14 @@ done
<artifactId>org.osgi.core</artifactId>
<version>${osgi.core.version}</version>
</dependency>
+
+ <!-- Junit for test -->
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <version>${junit.version}</version>
+ <scope>test</scope>
+ </dependency>
</dependencies>
</dependencyManagement>
@@ -313,6 +326,13 @@ done
</execution>
</executions>
</plugin>
+
+ <plugin>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <argLine>-Djava.security.egd=file:${random.seed.file}</argLine>
+ </configuration>
+ </plugin>
</plugins>
</pluginManagement>
</build>