Skip to content

Instantly share code, notes, and snippets.

@fredhsu
Last active December 17, 2015 07:28
Show Gist options
  • Save fredhsu/5572584 to your computer and use it in GitHub Desktop.
Save fredhsu/5572584 to your computer and use it in GitHub Desktop.
POM file for mystats example
<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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.opendaylight.controller</groupId>
<artifactId>commons.opendaylight</artifactId>
<version>1.4.0-SNAPSHOT</version>
<relativePath>../../../controller/opendaylight/commons/opendaylight</relativePath>
</parent>
<groupId>com.example</groupId>
<artifactId>mystats</artifactId>
<name>mystats</name>
<url>http://maven.apache.org</url>
<packaging>bundle</packaging>
<build>
<plugins>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<version>2.3.6</version>
<extensions>true</extensions>
<configuration>
<instructions>
<Import-Package>
org.opendaylight.controller.sal.core,
org.opendaylight.controller.statisticsmanager,
org.opendaylight.controller.switchmanager,
org.opendaylight.controller.sal.utils,
org.opendaylight.controller.sal.reader,
org.opendaylight.controller.sal.flowprogrammer,
org.opendaylight.controller.sal.match,
org.slf4j,
org.apache.felix.dm
</Import-Package>
<Bundle-Activator>
com.example.mystats.Activator
</Bundle-Activator>
<Export-Package>
com.example.mystats
</Export-Package>
</instructions>
</configuration>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.1</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.opendaylight.controller</groupId>
<artifactId>sal</artifactId>
<version>0.4.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.opendaylight.controller</groupId>
<artifactId>statisticsmanager</artifactId>
<version>0.4.0-SNAPSHOT</version>
</dependency>
</dependencies>
</project>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment