| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| Licensed to the Apache Software Foundation (ASF) under one |
| or more contributor license agreements. See the NOTICE file |
| distributed with this work for additional information |
| regarding copyright ownership. The ASF licenses this file |
| to you under the Apache License, Version 2.0 (the |
| "License"); you may not use this file except in compliance |
| with the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, |
| software distributed under the License is distributed on an |
| "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| KIND, either express or implied. See the License for the |
| specific language governing permissions and limitations |
| under the License. |
| --> |
| <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 https://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| <modelVersion>4.0.0</modelVersion> |
| |
| <parent> |
| <groupId>org.apache.maven</groupId> |
| <artifactId>maven</artifactId> |
| <version>4.0.0-alpha-5</version> |
| </parent> |
| |
| <artifactId>maven-model</artifactId> |
| |
| <name>Maven Model</name> |
| <description>Model for Maven POM (Project Object Model)</description> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.maven</groupId> |
| <artifactId>maven-api-model</artifactId> |
| <version>4.0.0-alpha-5</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.maven</groupId> |
| <artifactId>maven-xml-impl</artifactId> |
| <version>4.0.0-alpha-5</version> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.codehaus.modello</groupId> |
| <artifactId>modello-maven-plugin</artifactId> |
| <configuration> |
| <basedir>${project.basedir}/../api/maven-api-model</basedir> |
| <velocityBasedir>${project.basedir}/../src/mdo</velocityBasedir> |
| <version>4.0.0</version> |
| <models> |
| <model>src/main/mdo/maven.mdo</model> |
| </models> |
| <params> |
| <param>packageModelV3=org.apache.maven.model</param> |
| <param>packageModelV4=org.apache.maven.api.model</param> |
| <param>packageToolV4=org.apache.maven.model.v4</param> |
| <param>isMavenModel=true</param> |
| </params> |
| </configuration> |
| <executions> |
| <execution> |
| <id>modello-site-docs</id> |
| <goals> |
| <goal>xdoc</goal> |
| <goal>xsd</goal> |
| </goals> |
| <phase>pre-site</phase> |
| </execution> |
| <execution> |
| <id>model-v3</id> |
| <goals> |
| <goal>velocity</goal> |
| </goals> |
| <phase>generate-sources</phase> |
| <configuration> |
| <version>4.1.0</version> |
| <templates> |
| <template>model-v3.vm</template> |
| </templates> |
| </configuration> |
| </execution> |
| <execution> |
| <id>model-v4</id> |
| <goals> |
| <goal>velocity</goal> |
| </goals> |
| <phase>generate-sources</phase> |
| <configuration> |
| <version>4.2.0</version> |
| <templates> |
| <template>merger.vm</template> |
| <template>transformer.vm</template> |
| <template>reader-modified.vm</template> |
| <template>reader-ex.vm</template> |
| <template>writer.vm</template> |
| <template>writer-ex.vm</template> |
| </templates> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <configuration> |
| <excludes> |
| <exclude>**/package-info.java</exclude> |
| </excludes> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>com.github.siom79.japicmp</groupId> |
| <artifactId>japicmp-maven-plugin</artifactId> |
| <configuration> |
| <parameter> |
| <excludes> |
| <exclude>org.apache.maven.model.*#setOtherLocation(java.lang.Object,org.apache.maven.model.InputLocation):METHOD_REMOVED</exclude> |
| <exclude>org.apache.maven.model.ConfigurationContainer#isInheritanceApplied():METHOD_REMOVED</exclude> |
| <exclude>org.apache.maven.model.ConfigurationContainer#setInherited(boolean):METHOD_REMOVED</exclude> |
| <exclude>org.apache.maven.model.ConfigurationContainer#unsetInheritanceApplied():METHOD_REMOVED</exclude> |
| <exclude>org.apache.maven.model.Contributor#addProperty(java.lang.String,java.lang.String):METHOD_REMOVED</exclude> |
| <exclude>org.apache.maven.model.Dependency#clearManagementKey():METHOD_REMOVED</exclude> |
| <exclude>org.apache.maven.model.ModelBase#addProperty(java.lang.String,java.lang.String):METHOD_REMOVED</exclude> |
| <exclude>org.apache.maven.model.ModelBase#getReports():METHOD_REMOVED</exclude> |
| <exclude>org.apache.maven.model.ModelBase#setReports(java.lang.Object):METHOD_REMOVED</exclude> |
| <exclude>org.apache.maven.model.Notifier#addConfiguration(java.lang.String,java.lang.String):METHOD_REMOVED</exclude> |
| <exclude>org.apache.maven.model.Plugin#getGoals():METHOD_REMOVED</exclude> |
| <exclude>org.apache.maven.model.Plugin#setGoals(java.lang.Object):METHOD_REMOVED</exclude> |
| <exclude>org.apache.maven.model.Reporting#flushReportPluginMap():METHOD_REMOVED</exclude> |
| <exclude>org.apache.maven.model.Reporting#getReportPluginsAsMap():METHOD_REMOVED</exclude> |
| <exclude>org.apache.maven.model.Resource#initMergeId():METHOD_REMOVED</exclude> |
| <exclude>org.apache.maven.model.Scm#setChildScmConnectionInheritAppendPath(boolean):METHOD_REMOVED</exclude> |
| <exclude>org.apache.maven.model.Scm#setChildScmDeveloperConnectionInheritAppendPath(boolean):METHOD_REMOVED</exclude> |
| <exclude>org.apache.maven.model.Scm#setChildScmUrlInheritAppendPath(boolean):METHOD_REMOVED</exclude> |
| <exclude>org.apache.maven.model.Site#setChildSiteUrlInheritAppendPath(boolean):METHOD_REMOVED</exclude> |
| <exclude>org.apache.maven.model.io.xpp3.MavenXpp3Reader#contentTransformer</exclude> |
| <exclude>org.apache.maven.model.io.xpp3.MavenXpp3ReaderEx#contentTransformer</exclude> |
| <exclude>org.apache.maven.model.io.xpp3.MavenXpp3WriterEx#toString(org.apache.maven.model.InputLocation):METHOD_REMOVED</exclude> |
| <exclude>org.apache.maven.model.io.xpp3.MavenXpp3WriterEx#writeXpp3DomToSerializer(org.codehaus.plexus.util.xml.Xpp3Dom,org.codehaus.plexus.util.xml.pull.XmlSerializer):METHOD_REMOVED</exclude> |
| <exclude>org.apache.maven.model.merge.ModelMerger</exclude> |
| </excludes> |
| </parameter> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| |
| </project> |