Skip to content
Snippets Groups Projects
pom.xml 8.57 KiB
Newer Older
  • Learn to ignore specific revisions
  • <?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>
    	<groupId>org.projectfloodlight</groupId>
    	<artifactId>floodlight</artifactId>
    	<version>1.2-SNAPSHOT</version>
    	<name>floodlight</name>
    	<repositories>
    		<repository>
    			<id>maven-restlet</id>
    			<name>Public online Restlet repository</name>
    
    			<url>http://maven.restlet.com</url>
    
    		</repository>
    		<repository>
    			<id>sonatype-oss-snapshot</id>
    			<name>Sonatype OSS snapshot repository</name>
    			<url>https://oss.sonatype.org/content/repositories/snapshots</url>
    		</repository>
    	</repositories>
    	<build>
    		<plugins>
    			<plugin>
    
                    <groupId>org.apache.maven.plugins</groupId>
    
    				<artifactId>maven-compiler-plugin</artifactId>
    				<version>3.0</version>
    				<configuration>
    
    				</configuration>
    			</plugin>
    			<plugin>
    				<groupId>org.codehaus.mojo</groupId>
    				<artifactId>build-helper-maven-plugin</artifactId>
    				<version>1.7</version>
    				<executions>
    					<execution>
    						<id>add-source</id>
    						<phase>generate-sources</phase>
    						<goals>
    							<goal>add-source</goal>
    						</goals>
    						<configuration>
    							<sources>
    								<source>lib/gen-java</source>
    								<source>src/main/python</source>
    							</sources>
    						</configuration>
    					</execution>
    				</executions>
    			</plugin>
    
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-assembly-plugin</artifactId>
                </plugin>
    
    		</plugins>
    		<pluginManagement>
    			<plugins>
    				<!--This plugin's configuration is used to store Eclipse m2e settings 
    					only. It has no influence on the Maven build itself. -->
    				<plugin>
    					<groupId>org.eclipse.m2e</groupId>
    					<artifactId>lifecycle-mapping</artifactId>
    					<version>1.0.0</version>
    					<configuration>
    						<lifecycleMappingMetadata>
    							<pluginExecutions>
    								<pluginExecution>
    									<pluginExecutionFilter>
    										<groupId>
    											org.codehaus.mojo
    										</groupId>
    										<artifactId>
    											build-helper-maven-plugin
    										</artifactId>
    										<versionRange>
    
    										</versionRange>
    										<goals>
    											<goal>add-source</goal>
    										</goals>
    									</pluginExecutionFilter>
    									<action>
    										<ignore />
    									</action>
    								</pluginExecution>
    							</pluginExecutions>
    						</lifecycleMappingMetadata>
    					</configuration>
    				</plugin>
    
                    <plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <version>2.5</version>
                        <artifactId>maven-assembly-plugin</artifactId>
                        <configuration>
                            <descriptorRefs>
                                <descriptorRef>jar-with-dependencies</descriptorRef>
                            </descriptorRefs>
                            <archive>     
                                <manifestEntries>
                                    <Class-Path>.</Class-Path>
                                </manifestEntries>
                                <manifest>
                                    <!-- <addClasspath>true</addClasspath>
                                    <classpathPrefix>../lib/</classpathPrefix> -->
                                    <mainClass>net.floodlightcontroller.core.Main</mainClass>
                                    <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
                                    <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
                                </manifest>
                            </archive>
                            <appendAssemblyId>false</appendAssemblyId>
                            <finalName>floodlight</finalName>
                        </configuration>
                        <executions>
                            <execution>
                                <phase>package</phase>
                                <goals>
                                    <goal>single</goal>
                                </goals>
                            </execution>
                        </executions>
                    </plugin>
    
    			</plugins>
    		</pluginManagement>
    
    		<resources>
    			<resource>
    				<directory>${basedir}</directory>
    				<includes>
    					<include>LICENSE.txt</include>
    					<include>NOTICE.txt</include>
    					<include>README.md</include>
    
                    </includes>
                </resource>
                <resource>
                    <directory>src/main/resources</directory>
    
                <resource>
                    <directory>src/test/resources</directory>
                </resource>
    
    	</build>
    	<dependencies>
    		<dependency>
    			<groupId>com.google.guava</groupId>
    			<artifactId>guava</artifactId>
    			<version>13.0.1</version>
    		</dependency>
    		<dependency>
    			<groupId>ch.qos.logback</groupId>
    			<artifactId>logback-classic</artifactId>
    			<version>1.0.0</version>
    		</dependency>
    		<dependency>
    			<groupId>org.slf4j</groupId>
    			<artifactId>slf4j-api</artifactId>
    			<version>1.6.4</version>
    		</dependency>
    
    Banse, Christian's avatar
    Banse, Christian committed
    		<dependency>
    			<groupId>org.restlet.jse</groupId>
    			<artifactId>org.restlet</artifactId>
    			<version>${lib-restlet-version}</version>
    
    		<dependency>
    			<groupId>org.restlet.jse</groupId>
    			<artifactId>org.restlet.ext.jackson</artifactId>
    
    			<version>${lib-restlet-version}</version>
    
    		</dependency>
    		<dependency>
    			<groupId>org.restlet.jse</groupId>
    			<artifactId>org.restlet.ext.simple</artifactId>
    
    			<version>${lib-restlet-version}</version>
    
    		</dependency>
    		<dependency>
    			<groupId>org.restlet.jse</groupId>
    			<artifactId>org.restlet.ext.slf4j</artifactId>
    
    			<version>${lib-restlet-version}</version>
    
    		</dependency>
    		<dependency>
    
    			<groupId>org.restlet.jse</groupId>
    
    Banse, Christian's avatar
    Banse, Christian committed
    			<artifactId>org.restlet.ext.jsslutils</artifactId>
    
    			<version>${lib-restlet-version}</version>
    
    		<dependency>
    			<groupId>args4j</groupId>
    			<artifactId>args4j</artifactId>
    
    			<version>2.0.16</version>
    
    		</dependency>
    		<dependency>
    			<groupId>com.googlecode.concurrentlinkedhashmap</groupId>
    			<artifactId>concurrentlinkedhashmap-lru</artifactId>
    			<version>1.2</version>
    		</dependency>
    		<dependency>
    			<groupId>org.python</groupId>
    			<artifactId>jython-standalone</artifactId>
    			<version>2.5.2</version>
    		</dependency>
    		<dependency>
    			<groupId>org.apache.thrift</groupId>
    			<artifactId>libthrift</artifactId>
    
    			<version>0.9.0</version>
    
    		</dependency>
    		<dependency>
    			<groupId>junit</groupId>
    			<artifactId>junit</artifactId>
    
    			<scope>test</scope>
    		</dependency>
    		<dependency>
    			<groupId>org.easymock</groupId>
    			<artifactId>easymock</artifactId>
    
    			<scope>test</scope>
    		</dependency>
    		<dependency>
    			<groupId>cglib</groupId>
    			<artifactId>cglib-nodep</artifactId>
    			<version>2.2.2</version>
    		</dependency>
    		<dependency>
    			<groupId>org.objenesis</groupId>
    			<artifactId>objenesis</artifactId>
    			<version>1.2</version>
    		</dependency>
    		<dependency>
    			<groupId>org.apache.derby</groupId>
    			<artifactId>derby</artifactId>
    			<version>10.9.1.0</version>
    		</dependency>
    		<dependency>
    			<groupId>com.google.code.findbugs</groupId>
    			<artifactId>jsr305</artifactId>
    			<version>2.0.1</version>
    		</dependency>
    		<dependency>
    			<groupId>com.google.code.findbugs</groupId>
    			<artifactId>annotations</artifactId>
    			<version>2.0.1</version>
    		</dependency>
    		<dependency>
    			<groupId>org.hamcrest</groupId>
    			<artifactId>hamcrest-core</artifactId>
    
    			<version>${lib-hamcrest-version}</version>
    
    		</dependency>
    		<dependency>
    			<groupId>org.hamcrest</groupId>
    			<artifactId>hamcrest-integration</artifactId>
    
    			<version>${lib-hamcrest-version}</version>
    
    		</dependency>
    		<dependency>
    			<groupId>org.hamcrest</groupId>
    			<artifactId>hamcrest-library</artifactId>
    
    			<version>${lib-hamcrest-version}</version>
    
    		</dependency>
    		<dependency>
    			<groupId>org.projectfloodlight</groupId>
    			<artifactId>openflowj</artifactId>
    
    		<dependency>
    			<groupId>io.netty</groupId>
    
    			<artifactId>netty-all</artifactId>
    
    			<version>4.0.31.Final</version>
    
    		</dependency>
    
    		<dependency>
    			<groupId>com.fasterxml.jackson.dataformat</groupId>
    			<artifactId>jackson-dataformat-cbor</artifactId>
    			<version>${lib-jackson-version}</version>
    		</dependency>
    
    	<properties>
    
    		<lib-restlet-version>2.3.2</lib-restlet-version>
    
    		<lib-jackson-version>2.4.4</lib-jackson-version>
    
    		<lib-hamcrest-version>1.3</lib-hamcrest-version>
    	</properties>
    
    Banse, Christian's avatar
    Banse, Christian committed
    </project>