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