Gaurav Agrawal | a599a8f | 2017-01-10 20:45:27 +0530 | [diff] [blame] | 1 | <!-- |
Brian O'Connor | 72b2df2 | 2017-08-03 18:48:28 -0700 | [diff] [blame] | 2 | ~ Copyright 2016-present Open Networking Foundation |
Gaurav Agrawal | a599a8f | 2017-01-10 20:45:27 +0530 | [diff] [blame] | 3 | ~ |
| 4 | ~ Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | ~ you may not use this file except in compliance with the License. |
| 6 | ~ You may obtain a copy of the License at |
| 7 | ~ |
| 8 | ~ http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | ~ |
| 10 | ~ Unless required by applicable law or agreed to in writing, software |
| 11 | ~ distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | ~ See the License for the specific language governing permissions and |
| 14 | ~ limitations under the License. |
| 15 | --> |
| 16 | <project xmlns="http://maven.apache.org/POM/4.0.0" |
| 17 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 18 | 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 | <parent> |
| 22 | <groupId>org.onosproject</groupId> |
| 23 | <artifactId>onos-yang-compiler-plugin</artifactId> |
Ray Milkey | fee8b90 | 2019-01-14 10:23:24 -0800 | [diff] [blame^] | 24 | <version>2.6.1</version> |
Gaurav Agrawal | a599a8f | 2017-01-10 20:45:27 +0530 | [diff] [blame] | 25 | </parent> |
| 26 | |
| 27 | <artifactId>onos-yang-compiler-maven-plugin</artifactId> |
Gaurav Agrawal | a599a8f | 2017-01-10 20:45:27 +0530 | [diff] [blame] | 28 | <packaging>maven-plugin</packaging> |
| 29 | |
| 30 | <dependencies> |
| 31 | <dependency> |
| 32 | <groupId>org.apache.maven</groupId> |
| 33 | <artifactId>maven-core</artifactId> |
| 34 | <version>3.3.9</version> |
| 35 | </dependency> |
| 36 | <dependency> |
| 37 | <groupId>org.apache.maven</groupId> |
| 38 | <artifactId>maven-plugin-api</artifactId> |
| 39 | <version>3.3.9</version> |
| 40 | </dependency> |
| 41 | <dependency> |
| 42 | <groupId>org.apache.maven.plugin-tools</groupId> |
| 43 | <artifactId>maven-plugin-annotations</artifactId> |
| 44 | <version>3.4</version> |
| 45 | <scope>provided</scope> |
| 46 | </dependency> |
| 47 | <dependency> |
| 48 | <groupId>org.apache.felix</groupId> |
| 49 | <artifactId>maven-scr-plugin</artifactId> |
| 50 | <version>1.21.0</version> |
| 51 | <scope>compile</scope> |
| 52 | </dependency> |
| 53 | <dependency> |
| 54 | <groupId>org.apache.maven</groupId> |
| 55 | <artifactId>maven-artifact</artifactId> |
| 56 | <version>3.3.9</version> |
| 57 | </dependency> |
Yuta HIGUCHI | 5c8fa43 | 2018-01-26 18:56:40 -0800 | [diff] [blame] | 58 | |
Gaurav Agrawal | a599a8f | 2017-01-10 20:45:27 +0530 | [diff] [blame] | 59 | <dependency> |
Yuta HIGUCHI | 5c8fa43 | 2018-01-26 18:56:40 -0800 | [diff] [blame] | 60 | <groupId>com.google.guava</groupId> |
| 61 | <artifactId>guava</artifactId> |
| 62 | </dependency> |
| 63 | |
| 64 | <dependency> |
| 65 | <!-- FIXME avoid using alpha version --> |
Gaurav Agrawal | a599a8f | 2017-01-10 20:45:27 +0530 | [diff] [blame] | 66 | <groupId>org.apache.maven</groupId> |
| 67 | <artifactId>maven-project</artifactId> |
| 68 | <version>3.0-alpha-2</version> |
Yuta HIGUCHI | 5c8fa43 | 2018-01-26 18:56:40 -0800 | [diff] [blame] | 69 | <exclusions> |
| 70 | <exclusion> |
| 71 | <!-- exclude from transitive dependency --> |
| 72 | <!-- since this has package collision with recent guava --> |
| 73 | <artifactId>com.google.code.google-collections</artifactId> |
| 74 | <groupId>google-collection</groupId> |
| 75 | </exclusion> |
| 76 | </exclusions> |
Gaurav Agrawal | a599a8f | 2017-01-10 20:45:27 +0530 | [diff] [blame] | 77 | </dependency> |
| 78 | <dependency> |
| 79 | <groupId>org.apache.maven</groupId> |
| 80 | <artifactId>maven-model</artifactId> |
| 81 | <version>3.3.9</version> |
| 82 | </dependency> |
| 83 | <dependency> |
| 84 | <groupId>org.sonatype.plexus</groupId> |
| 85 | <artifactId>plexus-build-api</artifactId> |
| 86 | <version>0.0.7</version> |
| 87 | <scope>provided</scope> |
| 88 | </dependency> |
| 89 | <dependency> |
Gaurav Agrawal | a599a8f | 2017-01-10 20:45:27 +0530 | [diff] [blame] | 90 | <groupId>org.slf4j</groupId> |
| 91 | <artifactId>slf4j-api</artifactId> |
Gaurav Agrawal | a599a8f | 2017-01-10 20:45:27 +0530 | [diff] [blame] | 92 | <scope>provided</scope> |
| 93 | </dependency> |
| 94 | <dependency> |
| 95 | <groupId>junit</groupId> |
| 96 | <artifactId>junit</artifactId> |
Gaurav Agrawal | a599a8f | 2017-01-10 20:45:27 +0530 | [diff] [blame] | 97 | <scope>test</scope> |
| 98 | </dependency> |
sonugupta-huawei | 3b15f11 | 2017-10-09 16:48:14 +0530 | [diff] [blame] | 99 | <dependency> |
| 100 | <groupId>org.onosproject</groupId> |
| 101 | <artifactId>onos-yang-compiler-plugin-utils</artifactId> |
Thomas Vachuska | 922b231 | 2018-06-26 18:22:36 -0700 | [diff] [blame] | 102 | <version>${project.version}</version> |
sonugupta-huawei | 3b15f11 | 2017-10-09 16:48:14 +0530 | [diff] [blame] | 103 | </dependency> |
Gaurav Agrawal | a599a8f | 2017-01-10 20:45:27 +0530 | [diff] [blame] | 104 | </dependencies> |
| 105 | |
| 106 | <build> |
| 107 | <plugins> |
| 108 | <plugin> |
Gaurav Agrawal | a599a8f | 2017-01-10 20:45:27 +0530 | [diff] [blame] | 109 | <groupId>org.apache.maven.plugins</groupId> |
| 110 | <artifactId>maven-plugin-plugin</artifactId> |
| 111 | <version>3.4</version> |
| 112 | <configuration> |
| 113 | <skipErrorNoDescriptorsFound>true |
| 114 | </skipErrorNoDescriptorsFound> |
| 115 | </configuration> |
| 116 | <executions> |
| 117 | <execution> |
| 118 | <phase>generate-sources</phase> |
| 119 | <goals> |
| 120 | <goal>descriptor</goal> |
| 121 | </goals> |
| 122 | </execution> |
| 123 | </executions> |
| 124 | </plugin> |
Gaurav Agrawal | a599a8f | 2017-01-10 20:45:27 +0530 | [diff] [blame] | 125 | </plugins> |
| 126 | </build> |
| 127 | </project> |