Jeffrey van Gogh | 32d3c0c | 2016-04-04 10:49:31 -0700 | [diff] [blame^] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | |
| 3 | <!-- |
| 4 | Licensed to the Apache Software Foundation (ASF) under one |
| 5 | or more contributor license agreements. See the NOTICE file |
| 6 | distributed with this work for additional information |
| 7 | regarding copyright ownership. The ASF licenses this file |
| 8 | to you under the Apache License, Version 2.0 (the |
| 9 | "License"); you may not use this file except in compliance |
| 10 | with the License. You may obtain a copy of the License at |
| 11 | |
| 12 | http://www.apache.org/licenses/LICENSE-2.0 |
| 13 | |
| 14 | Unless required by applicable law or agreed to in writing, |
| 15 | software distributed under the License is distributed on an |
| 16 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| 17 | KIND, either express or implied. See the License for the |
| 18 | specific language governing permissions and limitations |
| 19 | under the License. |
| 20 | --> |
| 21 | |
| 22 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 23 | <modelVersion>4.0.0</modelVersion> |
| 24 | |
| 25 | <parent> |
| 26 | <groupId>org.apache.maven</groupId> |
| 27 | <artifactId>maven</artifactId> |
| 28 | <version>3.2.1</version> |
| 29 | </parent> |
| 30 | |
| 31 | <artifactId>maven-model</artifactId> |
| 32 | |
| 33 | <name>Maven Model</name> |
| 34 | <description>Model for Maven POM (Project Object Model)</description> |
| 35 | |
| 36 | <scm><!-- remove when git scm url format can accept artifact-id at the end, as automatically inherited --> |
| 37 | <connection>scm:git:https://git-wip-us.apache.org/repos/asf/maven.git</connection> |
| 38 | <developerConnection>scm:git:https://git-wip-us.apache.org/repos/asf/maven.git</developerConnection> |
| 39 | <tag>maven-3.2.1</tag> |
| 40 | </scm> |
| 41 | |
| 42 | <dependencies> |
| 43 | <dependency> |
| 44 | <groupId>org.codehaus.plexus</groupId> |
| 45 | <artifactId>plexus-utils</artifactId> |
| 46 | </dependency> |
| 47 | </dependencies> |
| 48 | |
| 49 | <build> |
| 50 | <plugins> |
| 51 | <plugin> |
| 52 | <groupId>org.codehaus.modello</groupId> |
| 53 | <artifactId>modello-maven-plugin</artifactId> |
| 54 | <configuration> |
| 55 | <version>4.0.0</version> |
| 56 | <models> |
| 57 | <model>src/main/mdo/maven.mdo</model> |
| 58 | </models> |
| 59 | </configuration> |
| 60 | <executions> |
| 61 | <execution> |
| 62 | <id>standard</id> |
| 63 | <goals> |
| 64 | <goal>java</goal> |
| 65 | <goal>xpp3-reader</goal> |
| 66 | <goal>xpp3-extended-reader</goal> |
| 67 | <goal>xpp3-writer</goal> |
| 68 | </goals> |
| 69 | </execution> |
| 70 | </executions> |
| 71 | </plugin> |
| 72 | <plugin> |
| 73 | <groupId>org.apache.maven.plugins</groupId> |
| 74 | <artifactId>maven-site-plugin</artifactId> |
| 75 | <configuration> |
| 76 | <!-- Exclude the navigation file for Maven 1 sites |
| 77 | as it interferes with the site generation. --> |
| 78 | <moduleExcludes> |
| 79 | <xdoc>navigation.xml</xdoc> |
| 80 | </moduleExcludes> |
| 81 | </configuration> |
| 82 | </plugin> |
| 83 | </plugins> |
| 84 | </build> |
| 85 | |
| 86 | <profiles> |
| 87 | <profile> |
| 88 | <id>all-models</id> |
| 89 | <build> |
| 90 | <plugins> |
| 91 | <plugin> |
| 92 | <groupId>org.codehaus.modello</groupId> |
| 93 | <artifactId>modello-maven-plugin</artifactId> |
| 94 | <executions> |
| 95 | <execution> |
| 96 | <id>v3</id> |
| 97 | <goals> |
| 98 | <goal>java</goal> |
| 99 | <goal>xpp3-writer</goal> |
| 100 | <goal>xpp3-reader</goal> |
| 101 | <goal>xsd</goal> |
| 102 | </goals> |
| 103 | <configuration> |
| 104 | <version>3.0.0</version> |
| 105 | <packageWithVersion>true</packageWithVersion> |
| 106 | </configuration> |
| 107 | </execution> |
| 108 | </executions> |
| 109 | </plugin> |
| 110 | <plugin> |
| 111 | <artifactId>maven-jar-plugin</artifactId> |
| 112 | <executions> |
| 113 | <execution> |
| 114 | <phase>package</phase> |
| 115 | <goals> |
| 116 | <goal>jar</goal> |
| 117 | </goals> |
| 118 | <configuration> |
| 119 | <classifier>all</classifier> |
| 120 | </configuration> |
| 121 | </execution> |
| 122 | </executions> |
| 123 | </plugin> |
| 124 | </plugins> |
| 125 | </build> |
| 126 | </profile> |
| 127 | </profiles> |
| 128 | </project> |