2023-12-05 03:11:33 -05:00
|
|
|
<?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 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<parent>
|
|
|
|
<groupId>org.apache.maven</groupId>
|
|
|
|
<artifactId>maven-api</artifactId>
|
2024-12-13 18:22:29 -05:00
|
|
|
<version>4.0.0-rc-3-SNAPSHOT</version>
|
2023-12-05 03:11:33 -05:00
|
|
|
</parent>
|
|
|
|
|
|
|
|
<artifactId>maven-api-plugin</artifactId>
|
|
|
|
|
|
|
|
<name>Maven 4 API :: Plugin</name>
|
|
|
|
<description>Maven 4 API - Immutable Plugin model.</description>
|
|
|
|
|
|
|
|
<dependencies>
|
2024-04-24 05:41:31 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.maven</groupId>
|
2024-12-10 16:43:27 -05:00
|
|
|
<artifactId>maven-api-annotations</artifactId>
|
2024-04-24 05:41:31 -04:00
|
|
|
</dependency>
|
2023-12-05 03:11:33 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.maven</groupId>
|
|
|
|
<artifactId>maven-api-xml</artifactId>
|
|
|
|
</dependency>
|
2024-08-27 03:05:43 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.junit.jupiter</groupId>
|
|
|
|
<artifactId>junit-jupiter-api</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2023-12-05 03:11:33 -05:00
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.modello</groupId>
|
|
|
|
<artifactId>modello-maven-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>plugin</id>
|
|
|
|
<goals>
|
|
|
|
<goal>velocity</goal>
|
|
|
|
</goals>
|
2023-12-08 09:22:25 -05:00
|
|
|
<phase>generate-sources</phase>
|
2023-12-05 03:11:33 -05:00
|
|
|
<configuration>
|
|
|
|
<velocityBasedir>${project.basedir}/../../src/mdo</velocityBasedir>
|
|
|
|
<version>2.0.0</version>
|
|
|
|
<models>
|
|
|
|
<model>src/main/mdo/plugin.mdo</model>
|
|
|
|
</models>
|
|
|
|
<templates>
|
|
|
|
<template>model.vm</template>
|
|
|
|
</templates>
|
|
|
|
<params>
|
|
|
|
<param>packageModelV4=org.apache.maven.api.plugin.descriptor</param>
|
|
|
|
</params>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
2023-12-08 09:22:25 -05:00
|
|
|
<id>plugin-doc</id>
|
2023-12-05 03:11:33 -05:00
|
|
|
<goals>
|
|
|
|
<goal>xdoc</goal>
|
|
|
|
<goal>xsd</goal>
|
|
|
|
</goals>
|
|
|
|
<phase>generate-resources</phase>
|
2023-12-08 09:22:25 -05:00
|
|
|
<configuration>
|
|
|
|
<version>2.0.0</version>
|
|
|
|
<models>
|
|
|
|
<model>src/main/mdo/plugin.mdo</model>
|
|
|
|
</models>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>lifecycle</id>
|
|
|
|
<goals>
|
|
|
|
<goal>velocity</goal>
|
|
|
|
</goals>
|
|
|
|
<phase>generate-sources</phase>
|
2023-12-05 03:11:33 -05:00
|
|
|
<configuration>
|
|
|
|
<velocityBasedir>${project.basedir}/../../src/mdo</velocityBasedir>
|
2024-08-29 01:48:54 -04:00
|
|
|
<version>2.0.0</version>
|
2023-12-05 03:11:33 -05:00
|
|
|
<models>
|
|
|
|
<model>src/main/mdo/lifecycle.mdo</model>
|
|
|
|
</models>
|
|
|
|
<templates>
|
|
|
|
<template>model.vm</template>
|
|
|
|
</templates>
|
|
|
|
<params>
|
|
|
|
<param>packageModelV4=org.apache.maven.api.plugin.descriptor.lifecycle</param>
|
|
|
|
</params>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
2023-12-08 09:22:25 -05:00
|
|
|
<execution>
|
|
|
|
<id>lifecycle-doc</id>
|
|
|
|
<goals>
|
|
|
|
<goal>xdoc</goal>
|
|
|
|
<goal>xsd</goal>
|
|
|
|
</goals>
|
|
|
|
<phase>generate-sources</phase>
|
|
|
|
<configuration>
|
|
|
|
<version>1.0.0</version>
|
|
|
|
<models>
|
|
|
|
<model>src/main/mdo/lifecycle.mdo</model>
|
|
|
|
</models>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
2023-12-05 03:11:33 -05:00
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<excludes>
|
|
|
|
<exclude>**/package-info.java</exclude>
|
|
|
|
</excludes>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
|
|
|
|
</project>
|