adding a pom.xml for the parser 24/8824/1
authorColin Dixon <colin@colindixon.com>
Tue, 8 Jul 2014 20:06:13 +0000 (15:06 -0500)
committerColin Dixon <colin@colindixon.com>
Tue, 8 Jul 2014 20:06:13 +0000 (15:06 -0500)
Change-Id: If05a65d837ef38841d696dbcc846cb7602afef8b
Signed-off-by: Colin Dixon <colin@colindixon.com>
.gitignore
parser/pom.xml [new file with mode: 0644]
pom.xml

index 4ee43af5a4770e78307bd127e30387c3a0199652..8e56413f8c14c0b030e6d219cbf15bca3accce3a 100644 (file)
@@ -1,2 +1,3 @@
 *.class
 *~
+target
diff --git a/parser/pom.xml b/parser/pom.xml
new file mode 100644 (file)
index 0000000..14d7b14
--- /dev/null
@@ -0,0 +1,36 @@
+<?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.opendaylight.ttp</groupId>
+    <artifactId>ttp-parent</artifactId>
+    <version>0.0.1-SNAPSHOT</version>
+    <relativePath>../</relativePath>
+  </parent>
+  <artifactId>parser</artifactId>
+  <packaging>jar</packaging>
+
+  <dependencies>
+    <!-- <dependency>
+      <groupId>org.opendaylight.controller</groupId>
+      <artifactId>sal</artifactId>
+    </dependency> -->
+  </dependencies>
+
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.felix</groupId>
+        <artifactId>maven-bundle-plugin</artifactId>
+        <extensions>true</extensions>
+        <configuration>
+          <instructions>
+            <Bundle-Activator>org.opendaylight.l2switch.L2SwitchProvider</Bundle-Activator>
+          </instructions>
+          <manifestLocation>${project.build.directory}/META-INF</manifestLocation>
+        </configuration>
+      </plugin>
+    </plugins>
+  </build>
+
+</project>
diff --git a/pom.xml b/pom.xml
index af0a4b526ff95f5d31a391bfddecd6b82b7cceab..1d59be2740c85f2df7a24e38c0e258395a1dc609 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -2,15 +2,15 @@
 <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>
   <groupId>org.opendaylight.ttp</groupId>
-  <artifactId>ttp</artifactId>
+  <artifactId>ttp-parent</artifactId>
   <version>0.0.1-SNAPSHOT</version>
   <packaging>pom</packaging>
   <prerequisites>
     <maven>3.0</maven>
   </prerequisites>
   <modules>
-    <!-- <module>parent</module>
-    <module>packethandler</module>
+    <module>parser</module>
+    <!-- <module>packethandler</module>
     <module>distribution/base</module>
     <module>l2switch-main</module>
     <module>arpdecoder</module>