Thomas Vachuska | a2ae422 | 2015-04-29 18:42:09 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!-- |
| 3 | ~ Copyright 2015 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 UI bundle archetype</description> |
| 26 | <url>http://onosproject.org</url> |
| 27 | |
| 28 | <properties> |
Brian O'Connor | 684b185 | 2015-06-25 19:55:38 -0400 | [diff] [blame] | 29 | <onos.version>1.2.2-SNAPSHOT</onos.version> |
Thomas Vachuska | a2ae422 | 2015-04-29 18:42:09 -0700 | [diff] [blame] | 30 | <!-- Uncomment to generate ONOS app from this module. |
| 31 | <onos.app.name>org.foo.app</onos.app.name> |
| 32 | <onos.app.origin>Foo, Inc.</onos.app.origin> |
| 33 | --> |
| 34 | </properties> |
| 35 | |
| 36 | <dependencies> |
| 37 | <dependency> |
| 38 | <groupId>org.onosproject</groupId> |
| 39 | <artifactId>onos-api</artifactId> |
| 40 | <version>${onos.version}</version> |
| 41 | </dependency> |
| 42 | |
| 43 | <dependency> |
| 44 | <groupId>org.onosproject</groupId> |
| 45 | <artifactId>onlab-osgi</artifactId> |
| 46 | <version>${onos.version}</version> |
| 47 | </dependency> |
| 48 | |
| 49 | <dependency> |
| 50 | <groupId>junit</groupId> |
| 51 | <artifactId>junit</artifactId> |
| 52 | <version>4.11</version> |
| 53 | <scope>test</scope> |
| 54 | </dependency> |
| 55 | |
| 56 | <dependency> |
| 57 | <groupId>org.onosproject</groupId> |
| 58 | <artifactId>onos-api</artifactId> |
| 59 | <version>${onos.version}</version> |
| 60 | <scope>test</scope> |
| 61 | <classifier>tests</classifier> |
| 62 | </dependency> |
| 63 | |
| 64 | <dependency> |
| 65 | <groupId>org.apache.felix</groupId> |
| 66 | <artifactId>org.apache.felix.scr.annotations</artifactId> |
| 67 | <version>1.9.8</version> |
| 68 | <scope>provided</scope> |
| 69 | </dependency> |
| 70 | </dependencies> |
| 71 | |
| 72 | <build> |
| 73 | <plugins> |
| 74 | <plugin> |
| 75 | <groupId>org.apache.felix</groupId> |
| 76 | <artifactId>maven-bundle-plugin</artifactId> |
| 77 | <version>2.5.3</version> |
| 78 | <extensions>true</extensions> |
| 79 | </plugin> |
| 80 | <plugin> |
| 81 | <groupId>org.apache.maven.plugins</groupId> |
| 82 | <artifactId>maven-compiler-plugin</artifactId> |
| 83 | <version>2.5.1</version> |
| 84 | <configuration> |
| 85 | <source>1.8</source> |
| 86 | <target>1.8</target> |
| 87 | </configuration> |
| 88 | </plugin> |
| 89 | <plugin> |
| 90 | <groupId>org.apache.felix</groupId> |
| 91 | <artifactId>maven-scr-plugin</artifactId> |
| 92 | <version>1.20.0</version> |
| 93 | <executions> |
| 94 | <execution> |
| 95 | <id>generate-scr-srcdescriptor</id> |
| 96 | <goals> |
| 97 | <goal>scr</goal> |
| 98 | </goals> |
| 99 | </execution> |
| 100 | </executions> |
| 101 | <configuration> |
| 102 | <supportedProjectTypes> |
| 103 | <supportedProjectType>bundle</supportedProjectType> |
| 104 | <supportedProjectType>war</supportedProjectType> |
| 105 | </supportedProjectTypes> |
| 106 | </configuration> |
| 107 | </plugin> |
| 108 | <plugin> |
| 109 | <groupId>org.onosproject</groupId> |
| 110 | <artifactId>onos-maven-plugin</artifactId> |
Brian O'Connor | 21a29e3 | 2015-06-05 20:15:29 -0700 | [diff] [blame] | 111 | <version>1.4</version> |
Thomas Vachuska | a2ae422 | 2015-04-29 18:42:09 -0700 | [diff] [blame] | 112 | <executions> |
| 113 | <execution> |
| 114 | <id>cfg</id> |
| 115 | <phase>generate-resources</phase> |
| 116 | <goals> |
| 117 | <goal>cfg</goal> |
| 118 | </goals> |
| 119 | </execution> |
| 120 | <execution> |
| 121 | <id>app</id> |
| 122 | <phase>package</phase> |
| 123 | <goals> |
| 124 | <goal>app</goal> |
| 125 | </goals> |
| 126 | </execution> |
| 127 | </executions> |
| 128 | </plugin> |
| 129 | </plugins> |
| 130 | </build> |
| 131 | |
| 132 | </project> |