Change SR dependency after sr-app is renamed to sr-api
and update onos dependency to 2.2.4

Change-Id: Iff47a5778c47aa1dbe873635d5c8898b110a7a38
diff --git a/app/pom.xml b/app/pom.xml
index 5b574c9..6331c2c 100644
--- a/app/pom.xml
+++ b/app/pom.xml
@@ -51,14 +51,16 @@
             REST API for Trellis troubleshooting tools
         </api.description>
         <api.package>org.onosproject.t3.rest</api.package>
+
+        <trellis.api.version>3.0.0-SNAPSHOT</trellis.api.version>
     </properties>
 
     <dependencies>
         <!-- Trellis API -->
         <dependency>
             <groupId>org.onosproject</groupId>
-            <artifactId>segmentrouting-app</artifactId>
-            <version>${segmentrouting.version}</version>
+            <artifactId>segmentrouting-api</artifactId>
+            <version>${trellis.api.version}</version>
             <scope>provided</scope>
         </dependency>
 
diff --git a/pom.xml b/pom.xml
index 8868d43..98a061d 100644
--- a/pom.xml
+++ b/pom.xml
@@ -22,7 +22,7 @@
     <parent>
         <groupId>org.onosproject</groupId>
         <artifactId>onos-dependencies</artifactId>
-        <version>2.2.3-b2</version>
+        <version>2.2.4</version>
     </parent>
 
     <groupId>org.onosproject</groupId>
@@ -36,10 +36,6 @@
         <module>app</module>
     </modules>
 
-    <properties>
-        <segmentrouting.version>3.0.0-SNAPSHOT</segmentrouting.version>
-    </properties>
-
     <build>
         <plugins>
             <plugin>