Ray Milkey | b322f08 | 2016-10-06 11:06:10 -0700 | [diff] [blame] | 1 | <!-- |
| 2 | ~ Copyright 2016-present Open Networking Laboratory |
| 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-plugins</artifactId> |
| 24 | <version>1.9-SNAPSHOT</version> |
| 25 | </parent> |
| 26 | |
| 27 | <artifactId>onos-yang-maven-plugin</artifactId> |
| 28 | <version>1.9-SNAPSHOT</version> |
| 29 | <packaging>maven-plugin</packaging> |
| 30 | |
| 31 | <dependencies> |
| 32 | <dependency> |
| 33 | <groupId>org.apache.maven</groupId> |
| 34 | <artifactId>maven-core</artifactId> |
| 35 | <version>3.3.9</version> |
| 36 | </dependency> |
| 37 | <dependency> |
| 38 | <groupId>org.apache.maven</groupId> |
| 39 | <artifactId>maven-plugin-api</artifactId> |
| 40 | <version>3.3.9</version> |
| 41 | </dependency> |
| 42 | <dependency> |
| 43 | <groupId>org.apache.maven.plugin-tools</groupId> |
| 44 | <artifactId>maven-plugin-annotations</artifactId> |
| 45 | <version>3.4</version> |
| 46 | <scope>provided</scope> |
| 47 | </dependency> |
| 48 | <dependency> |
| 49 | <groupId>org.apache.felix</groupId> |
| 50 | <artifactId>maven-scr-plugin</artifactId> |
| 51 | <version>1.21.0</version> |
| 52 | <scope>compile</scope> |
| 53 | </dependency> |
| 54 | <dependency> |
| 55 | <groupId>org.apache.maven</groupId> |
| 56 | <artifactId>maven-artifact</artifactId> |
| 57 | <version>3.3.9</version> |
| 58 | </dependency> |
| 59 | <dependency> |
| 60 | <groupId>org.apache.maven</groupId> |
| 61 | <artifactId>maven-project</artifactId> |
| 62 | <version>3.0-alpha-2</version> |
| 63 | </dependency> |
| 64 | <dependency> |
| 65 | <groupId>org.apache.maven</groupId> |
| 66 | <artifactId>maven-model</artifactId> |
| 67 | <version>3.3.9</version> |
| 68 | </dependency> |
| 69 | <dependency> |
| 70 | <groupId>org.sonatype.plexus</groupId> |
| 71 | <artifactId>plexus-build-api</artifactId> |
| 72 | <version>0.0.7</version> |
| 73 | <scope>provided</scope> |
| 74 | </dependency> |
| 75 | <dependency> |
| 76 | <groupId>org.codehaus.mojo</groupId> |
| 77 | <artifactId>build-helper-maven-plugin</artifactId> |
| 78 | <version>1.10</version> |
| 79 | </dependency> |
| 80 | <dependency> |
| 81 | <groupId>org.slf4j</groupId> |
| 82 | <artifactId>slf4j-api</artifactId> |
| 83 | <version>1.7.21</version> |
| 84 | <scope>provided</scope> |
| 85 | </dependency> |
Ray Milkey | ffd9ef8 | 2016-10-06 16:58:16 -0700 | [diff] [blame] | 86 | <dependency> |
| 87 | <groupId>junit</groupId> |
| 88 | <artifactId>junit</artifactId> |
| 89 | <version>4.12</version> |
| 90 | <scope>test</scope> |
| 91 | </dependency> |
Ray Milkey | b322f08 | 2016-10-06 11:06:10 -0700 | [diff] [blame] | 92 | </dependencies> |
| 93 | |
| 94 | <build> |
| 95 | <plugins> |
| 96 | <plugin> |
| 97 | <groupId>org.codehaus.mojo</groupId> |
| 98 | <artifactId>build-helper-maven-plugin</artifactId> |
| 99 | <version>1.10</version> |
| 100 | <executions> |
| 101 | <execution> |
| 102 | <id>add-source</id> |
| 103 | <phase>generate-sources</phase> |
| 104 | <goals> |
| 105 | <goal>add-source</goal> |
| 106 | </goals> |
| 107 | <configuration> |
| 108 | <sources> |
| 109 | <source> |
| 110 | target/generated-sources/org/onosproject/yangutils/parser/antlrgencode |
| 111 | </source> |
| 112 | <sourceDirectory> |
| 113 | target/generated-sources/org/onosproject/yangutils/parser/antlrgencode |
| 114 | </sourceDirectory> |
| 115 | </sources> |
| 116 | </configuration> |
| 117 | </execution> |
| 118 | </executions> |
| 119 | </plugin> |
| 120 | <plugin> |
| 121 | <groupId>org.apache.maven.plugins</groupId> |
| 122 | <artifactId>maven-plugin-plugin</artifactId> |
| 123 | <version>3.4</version> |
| 124 | <configuration> |
| 125 | <skipErrorNoDescriptorsFound>true |
| 126 | </skipErrorNoDescriptorsFound> |
| 127 | </configuration> |
| 128 | <executions> |
| 129 | <execution> |
| 130 | <phase>generate-sources</phase> |
| 131 | <goals> |
| 132 | <goal>descriptor</goal> |
| 133 | </goals> |
| 134 | </execution> |
| 135 | </executions> |
| 136 | </plugin> |
| 137 | <plugin> |
| 138 | <groupId>org.apache.felix</groupId> |
| 139 | <artifactId>maven-bundle-plugin</artifactId> |
| 140 | <version>2.5.4</version> |
| 141 | <extensions>true</extensions> |
| 142 | </plugin> |
| 143 | </plugins> |
| 144 | </build> |
| 145 | </project> |