Thomas Vachuska | fc7f22d | 2014-12-04 11:07:01 -0800 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!-- |
| 3 | ~ Copyright 2014 Open Networking Laboratory |
| 4 | ~ |
| 5 | ~ Licensed under the Apache License, Version 2.0 (the "License"); |
| 6 | ~ you may not use this file except in compliance with the License. |
| 7 | ~ You may obtain a copy of the License at |
| 8 | ~ |
| 9 | ~ http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | ~ |
| 11 | ~ Unless required by applicable law or agreed to in writing, software |
| 12 | ~ distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | ~ See the License for the specific language governing permissions and |
| 15 | ~ limitations under the License. |
| 16 | --> |
| 17 | <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"> |
| 18 | <modelVersion>4.0.0</modelVersion> |
| 19 | |
| 20 | <groupId>${groupId}</groupId> |
| 21 | <artifactId>${artifactId}</artifactId> |
| 22 | <version>${version}</version> |
| 23 | <packaging>bundle</packaging> |
| 24 | |
| 25 | <description>ONOS OSGi bundle archetype</description> |
| 26 | <url>http://onosproject.org</url> |
| 27 | |
| 28 | <properties> |
Brian O'Connor | 7f2e9bf | 2014-12-04 23:35:13 -0800 | [diff] [blame] | 29 | <onos.version>1.1.0-SNAPSHOT</onos.version> |
Thomas Vachuska | fc7f22d | 2014-12-04 11:07:01 -0800 | [diff] [blame] | 30 | </properties> |
| 31 | |
| 32 | <dependencies> |
| 33 | <dependency> |
| 34 | <groupId>org.onosproject</groupId> |
| 35 | <artifactId>onos-api</artifactId> |
| 36 | <version>${onos.version}</version> |
| 37 | </dependency> |
| 38 | |
| 39 | <dependency> |
| 40 | <groupId>org.onosproject</groupId> |
| 41 | <artifactId>onlab-osgi</artifactId> |
| 42 | <version>${onos.version}</version> |
| 43 | </dependency> |
| 44 | |
| 45 | <dependency> |
| 46 | <groupId>junit</groupId> |
| 47 | <artifactId>junit</artifactId> |
| 48 | <version>4.11</version> |
| 49 | <scope>test</scope> |
| 50 | </dependency> |
| 51 | |
| 52 | <dependency> |
| 53 | <groupId>org.onosproject</groupId> |
| 54 | <artifactId>onos-cli</artifactId> |
| 55 | <version>${onos.version}</version> |
| 56 | <scope>provided</scope> |
| 57 | </dependency> |
| 58 | |
| 59 | <dependency> |
| 60 | <groupId>org.onosproject</groupId> |
| 61 | <artifactId>onos-api</artifactId> |
| 62 | <version>${onos.version}</version> |
| 63 | <scope>test</scope> |
| 64 | <classifier>tests</classifier> |
| 65 | </dependency> |
| 66 | |
| 67 | <dependency> |
| 68 | <groupId>org.osgi</groupId> |
| 69 | <artifactId>org.osgi.core</artifactId> |
| 70 | <version>4.3.1</version> |
| 71 | <scope>provided</scope> |
| 72 | </dependency> |
| 73 | <dependency> |
| 74 | <groupId>org.apache.felix</groupId> |
| 75 | <artifactId>org.apache.felix.scr.annotations</artifactId> |
| 76 | <version>1.9.8</version> |
| 77 | <scope>provided</scope> |
| 78 | </dependency> |
| 79 | <dependency> |
| 80 | <groupId>org.apache.karaf.shell</groupId> |
| 81 | <artifactId>org.apache.karaf.shell.console</artifactId> |
| 82 | <version>3.0.2</version> |
| 83 | <scope>provided</scope> |
| 84 | </dependency> |
| 85 | </dependencies> |
| 86 | |
| 87 | <build> |
| 88 | <plugins> |
| 89 | <plugin> |
| 90 | <groupId>org.apache.felix</groupId> |
| 91 | <artifactId>maven-bundle-plugin</artifactId> |
| 92 | <version>2.5.3</version> |
| 93 | <extensions>true</extensions> |
| 94 | </plugin> |
Brian O'Connor | 0b35191 | 2014-12-11 14:40:31 -0800 | [diff] [blame] | 95 | <plugin> |
| 96 | <groupId>org.apache.maven.plugins</groupId> |
| 97 | <artifactId>maven-compiler-plugin</artifactId> |
| 98 | <version>2.5.1</version> |
| 99 | <configuration> |
| 100 | <source>1.8</source> |
| 101 | <target>1.8</target> |
| 102 | </configuration> |
| 103 | </plugin> |
Thomas Vachuska | fc7f22d | 2014-12-04 11:07:01 -0800 | [diff] [blame] | 104 | <plugin> |
| 105 | <groupId>org.apache.felix</groupId> |
| 106 | <artifactId>maven-scr-plugin</artifactId> |
| 107 | <version>1.20.0</version> |
| 108 | <executions> |
| 109 | <execution> |
| 110 | <id>generate-scr-srcdescriptor</id> |
| 111 | <goals> |
| 112 | <goal>scr</goal> |
| 113 | </goals> |
| 114 | </execution> |
| 115 | </executions> |
| 116 | <configuration> |
| 117 | <supportedProjectTypes> |
| 118 | <supportedProjectType>bundle</supportedProjectType> |
| 119 | <supportedProjectType>war</supportedProjectType> |
| 120 | </supportedProjectTypes> |
| 121 | </configuration> |
| 122 | </plugin> |
| 123 | </plugins> |
| 124 | </build> |
| 125 | |
| 126 | </project> |