Jian Li | c6c76dc | 2016-01-26 14:22:51 -0800 | [diff] [blame] | 1 | #set( $dummy = "" ) |
| 2 | #set( $date = $dummy.getClass().forName("java.util.Date").newInstance() ) |
| 3 | #set( $format = $dummy.getClass().forName("java.text.SimpleDateFormat").newInstance() ) |
| 4 | #set( $pattern = $format.applyPattern("yyyy") ) |
| 5 | #set( $year = $format.format($date) ) |
Thomas Vachuska | fc7f22d | 2014-12-04 11:07:01 -0800 | [diff] [blame] | 6 | <?xml version="1.0" encoding="UTF-8"?> |
| 7 | <!-- |
Brian O'Connor | a09fe5b | 2017-08-03 21:12:30 -0700 | [diff] [blame] | 8 | ~ Copyright ${year} Open Networking Foundation |
Thomas Vachuska | fc7f22d | 2014-12-04 11:07:01 -0800 | [diff] [blame] | 9 | ~ |
| 10 | ~ Licensed under the Apache License, Version 2.0 (the "License"); |
| 11 | ~ you may not use this file except in compliance with the License. |
| 12 | ~ You may obtain a copy of the License at |
| 13 | ~ |
| 14 | ~ http://www.apache.org/licenses/LICENSE-2.0 |
| 15 | ~ |
| 16 | ~ Unless required by applicable law or agreed to in writing, software |
| 17 | ~ distributed under the License is distributed on an "AS IS" BASIS, |
| 18 | ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 19 | ~ See the License for the specific language governing permissions and |
| 20 | ~ limitations under the License. |
| 21 | --> |
Carmelo Cascone | bcc6171 | 2019-11-18 15:56:51 -0800 | [diff] [blame] | 22 | <project xmlns="http://maven.apache.org/POM/4.0.0" |
| 23 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 24 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
Thomas Vachuska | fc7f22d | 2014-12-04 11:07:01 -0800 | [diff] [blame] | 25 | <modelVersion>4.0.0</modelVersion> |
| 26 | |
Carmelo Cascone | 27b9712 | 2019-11-12 10:34:05 -0800 | [diff] [blame] | 27 | <parent> |
| 28 | <groupId>org.onosproject</groupId> |
| 29 | <artifactId>onos-dependencies</artifactId> |
| 30 | <version>${onosVersion}</version> |
| 31 | </parent> |
| 32 | |
Thomas Vachuska | fc7f22d | 2014-12-04 11:07:01 -0800 | [diff] [blame] | 33 | <groupId>${groupId}</groupId> |
| 34 | <artifactId>${artifactId}</artifactId> |
| 35 | <version>${version}</version> |
| 36 | <packaging>bundle</packaging> |
| 37 | |
| 38 | <description>ONOS OSGi bundle archetype</description> |
| 39 | <url>http://onosproject.org</url> |
| 40 | |
Thomas Vachuska | fc7f22d | 2014-12-04 11:07:01 -0800 | [diff] [blame] | 41 | <dependencies> |
| 42 | <dependency> |
| 43 | <groupId>org.onosproject</groupId> |
| 44 | <artifactId>onos-api</artifactId> |
| 45 | <version>${onos.version}</version> |
Carmelo Cascone | 27b9712 | 2019-11-12 10:34:05 -0800 | [diff] [blame] | 46 | <scope>provided</scope> |
Thomas Vachuska | fc7f22d | 2014-12-04 11:07:01 -0800 | [diff] [blame] | 47 | </dependency> |
| 48 | |
| 49 | <dependency> |
| 50 | <groupId>org.onosproject</groupId> |
| 51 | <artifactId>onlab-osgi</artifactId> |
| 52 | <version>${onos.version}</version> |
Carmelo Cascone | 27b9712 | 2019-11-12 10:34:05 -0800 | [diff] [blame] | 53 | <scope>provided</scope> |
Thomas Vachuska | fc7f22d | 2014-12-04 11:07:01 -0800 | [diff] [blame] | 54 | </dependency> |
| 55 | |
| 56 | <dependency> |
| 57 | <groupId>org.onosproject</groupId> |
| 58 | <artifactId>onos-cli</artifactId> |
| 59 | <version>${onos.version}</version> |
| 60 | <scope>provided</scope> |
| 61 | </dependency> |
| 62 | |
| 63 | <dependency> |
| 64 | <groupId>org.onosproject</groupId> |
| 65 | <artifactId>onos-api</artifactId> |
| 66 | <version>${onos.version}</version> |
| 67 | <scope>test</scope> |
| 68 | <classifier>tests</classifier> |
| 69 | </dependency> |
| 70 | |
| 71 | <dependency> |
Thomas Vachuska | fc7f22d | 2014-12-04 11:07:01 -0800 | [diff] [blame] | 72 | <groupId>org.apache.karaf.shell</groupId> |
| 73 | <artifactId>org.apache.karaf.shell.console</artifactId> |
Thomas Vachuska | fc7f22d | 2014-12-04 11:07:01 -0800 | [diff] [blame] | 74 | <scope>provided</scope> |
| 75 | </dependency> |
| 76 | </dependencies> |
| 77 | |
| 78 | <build> |
| 79 | <plugins> |
| 80 | <plugin> |
| 81 | <groupId>org.apache.felix</groupId> |
| 82 | <artifactId>maven-bundle-plugin</artifactId> |
Thomas Vachuska | 64b0ade | 2018-11-01 15:26:26 -0700 | [diff] [blame] | 83 | <configuration> |
| 84 | <instructions> |
| 85 | <Karaf-Commands>${package}</Karaf-Commands> |
| 86 | </instructions> |
| 87 | </configuration> |
Thomas Vachuska | fc7f22d | 2014-12-04 11:07:01 -0800 | [diff] [blame] | 88 | </plugin> |
Carmelo Cascone | bcc6171 | 2019-11-18 15:56:51 -0800 | [diff] [blame] | 89 | <plugin> |
| 90 | <groupId>org.apache.maven.plugins</groupId> |
| 91 | <artifactId>maven-checkstyle-plugin</artifactId> |
| 92 | <!-- Uncomment to disable checkstyle validation |
| 93 | <configuration> |
| 94 | <skip>true</skip> |
| 95 | </configuration> |
| 96 | --> |
| 97 | </plugin> |
Thomas Vachuska | fc7f22d | 2014-12-04 11:07:01 -0800 | [diff] [blame] | 98 | </plugins> |
| 99 | </build> |
| 100 | |
| 101 | </project> |