Thomas Vachuska | 8c8b037 | 2015-03-10 11:11:24 -0700 | [diff] [blame] | 1 | <!-- |
| 2 | ~ Copyright 2015 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> |
| 17 | <modelVersion>4.0.0</modelVersion> |
| 18 | |
| 19 | <parent> |
| 20 | <groupId>org.onosproject</groupId> |
| 21 | <artifactId>onos-base</artifactId> |
| 22 | <version>1</version> |
| 23 | <relativePath>../../build/pom.xml</relativePath> |
| 24 | </parent> |
| 25 | |
| 26 | <artifactId>onos-maven-plugin</artifactId> |
Brian O'Connor | 6ea48a2 | 2015-03-17 20:07:20 -0700 | [diff] [blame] | 27 | <version>1.2.0-SNAPSHOT</version> |
Thomas Vachuska | 8c8b037 | 2015-03-10 11:11:24 -0700 | [diff] [blame] | 28 | <packaging>maven-plugin</packaging> |
| 29 | |
| 30 | <description>Maven plugin for packaging ONOS applications or generating component configuration resources</description> |
| 31 | |
| 32 | <dependencies> |
| 33 | <dependency> |
| 34 | <groupId>org.apache.maven</groupId> |
| 35 | <artifactId>maven-plugin-api</artifactId> |
| 36 | <version>2.0</version> |
| 37 | </dependency> |
| 38 | |
| 39 | <dependency> |
| 40 | <groupId>com.thoughtworks.qdox</groupId> |
| 41 | <artifactId>qdox</artifactId> |
| 42 | <version>2.0-M3</version> |
| 43 | </dependency> |
| 44 | |
| 45 | <!-- dependencies to annotations --> |
| 46 | <dependency> |
| 47 | <groupId>org.apache.maven.plugin-tools</groupId> |
| 48 | <artifactId>maven-plugin-annotations</artifactId> |
| 49 | <version>3.4</version> |
| 50 | <scope>provided</scope> |
| 51 | </dependency> |
| 52 | </dependencies> |
| 53 | |
| 54 | <build> |
| 55 | <plugins> |
| 56 | <plugin> |
| 57 | <groupId>org.apache.maven.plugins</groupId> |
| 58 | <artifactId>maven-compiler-plugin</artifactId> |
| 59 | <version>2.5.1</version> |
| 60 | <configuration> |
| 61 | <source>1.8</source> |
| 62 | <target>1.8</target> |
| 63 | </configuration> |
| 64 | </plugin> |
| 65 | |
| 66 | <plugin> |
| 67 | <groupId>org.apache.maven.plugins</groupId> |
| 68 | <artifactId>maven-plugin-plugin</artifactId> |
| 69 | <version>3.4</version> |
| 70 | <executions> |
| 71 | <execution> |
| 72 | <id>default-descriptor</id> |
| 73 | <phase>process-classes</phase> |
| 74 | </execution> |
| 75 | <!-- if you want to generate help goal --> |
| 76 | <execution> |
| 77 | <id>help-goal</id> |
| 78 | <goals> |
| 79 | <goal>helpmojo</goal> |
| 80 | </goals> |
| 81 | </execution> |
| 82 | </executions> |
| 83 | </plugin> |
| 84 | </plugins> |
| 85 | </build> |
| 86 | </project> |