Thomas Vachuska | 922b231 | 2018-06-26 18:22:36 -0700 | [diff] [blame] | 1 | <!-- |
| 2 | ~ Copyright 2018-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-compiler-plugin</artifactId> |
ONOS Jenkins User | 7482534 | 2018-11-26 21:40:10 +0000 | [diff] [blame] | 24 | <version>2.7-SNAPSHOT</version> |
Thomas Vachuska | 922b231 | 2018-06-26 18:22:36 -0700 | [diff] [blame] | 25 | </parent> |
| 26 | |
| 27 | <artifactId>onos-yang-compiler-main</artifactId> |
| 28 | <packaging>bundle</packaging> |
| 29 | |
| 30 | <dependencies> |
| 31 | <dependency> |
| 32 | <groupId>org.onosproject</groupId> |
| 33 | <artifactId>onos-yang-compiler-plugin-utils</artifactId> |
| 34 | <version>${project.version}</version> |
| 35 | </dependency> |
| 36 | </dependencies> |
| 37 | |
| 38 | <build> |
| 39 | <plugins> |
| 40 | <plugin> |
| 41 | <groupId>org.apache.maven.plugins</groupId> |
| 42 | <artifactId>maven-shade-plugin</artifactId> |
| 43 | <version>2.4.3</version> |
| 44 | <executions> |
| 45 | <execution> |
| 46 | <phase>package</phase> |
| 47 | <goals> |
| 48 | <goal>shade</goal> |
| 49 | </goals> |
| 50 | </execution> |
| 51 | </executions> |
| 52 | <configuration> |
| 53 | <transformers> |
| 54 | <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer"> |
| 55 | <mainClass>org.onosproject.yang.compiler.main.YangCompilerMain</mainClass> |
| 56 | </transformer> |
| 57 | </transformers> |
| 58 | </configuration> |
| 59 | </plugin> |
| 60 | </plugins> |
| 61 | </build> |
| 62 | </project> |