Fix maven build problems with inband telemetry app
Change-Id: Ic1716a0a80e0d639c44864f2fb0e0bdce22fdf76
diff --git a/apps/inbandtelemetry/api/src/main/java/org/onosproject/inbandtelemetry/api/IntIntent.java b/apps/inbandtelemetry/api/src/main/java/org/onosproject/inbandtelemetry/api/IntIntent.java
index 21d5381..37e1e29 100644
--- a/apps/inbandtelemetry/api/src/main/java/org/onosproject/inbandtelemetry/api/IntIntent.java
+++ b/apps/inbandtelemetry/api/src/main/java/org/onosproject/inbandtelemetry/api/IntIntent.java
@@ -286,7 +286,7 @@
checkArgument(!selector.criteria().isEmpty(), "Empty selector cannot match any flow.");
checkArgument(!metadataTypes.isEmpty(), "Metadata types cannot be empty.");
checkNotNull(headerType, "Header type cannot be null.");
- checkNotNull(!reportTypes.isEmpty(), "Report types cannot be empty.");
+ checkArgument(!reportTypes.isEmpty(), "Report types cannot be empty.");
checkNotNull(telemetryMode, "Telemetry mode cannot be null.");
return new IntIntent(selector, metadataTypes, headerType, reportTypes, telemetryMode);
diff --git a/apps/inbandtelemetry/pom.xml b/apps/inbandtelemetry/pom.xml
index 0105fbe..57a8351 100644
--- a/apps/inbandtelemetry/pom.xml
+++ b/apps/inbandtelemetry/pom.xml
@@ -32,6 +32,5 @@
<modules>
<module>api</module>
- <module>impl</module>
</modules>
</project>
diff --git a/apps/pom.xml b/apps/pom.xml
index 0691341..488c7c9 100644
--- a/apps/pom.xml
+++ b/apps/pom.xml
@@ -108,6 +108,7 @@
<module>imr</module>
<module>t3</module>
<module>nodemetrics</module>
+ <module>inbandtelemetry</module>
</modules>
<properties>