You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by kh...@apache.org on 2022/07/30 12:53:21 UTC
[maven-help-plugin] 02/02: WIP.
This is an automated email from the ASF dual-hosted git repository.
khmarbaise pushed a commit to branch MPH-188
in repository https://gitbox.apache.org/repos/asf/maven-help-plugin.git
commit 1c05a5acb577162abc10f248b9b99a02eddceb87
Author: Karl Heinz Marbaise <kh...@apache.org>
AuthorDate: Sat Jul 30 14:53:15 2022 +0200
WIP.
---
pom.xml | 46 ++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 46 insertions(+)
diff --git a/pom.xml b/pom.xml
index 942e8ec..8f037a9 100644
--- a/pom.xml
+++ b/pom.xml
@@ -223,6 +223,52 @@
</plugin>
</plugins>
</pluginManagement>
+ <plugins>
+ <!-- unpack old Maven core sources for maven.mdo model to be able to generate xpp3-extended-writer when not yet provided by Maven core -->
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-dependency-plugin</artifactId>
+ <executions>
+ <execution>
+ <phase>generate-sources</phase>
+ <goals>
+ <goal>unpack</goal>
+ </goals>
+ <configuration>
+ <artifactItems>
+ <artifactItem>
+ <groupId>org.apache.maven</groupId>
+ <artifactId>apache-maven</artifactId>
+ <version>${mavenVersion}</version>
+ <type>tar.gz</type>
+ <classifier>src</classifier>
+ <outputDirectory>${project.build.directory}</outputDirectory>
+ </artifactItem>
+ </artifactItems>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.codehaus.modello</groupId>
+ <artifactId>modello-maven-plugin</artifactId>
+ <configuration>
+ <version>4.0.0</version>
+ <models>
+ <model>target/apache-maven-${mavenVersion}/maven-model/src/main/mdo/maven.mdo</model>
+ </models>
+ <extendedClassnameSuffix>ExOldSupport</extendedClassnameSuffix><!-- to avoid conflict with class provided by Maven core -->
+ </configuration>
+ <executions>
+ <execution>
+ <id>modello</id>
+ <goals>
+ <goal>xpp3-extended-writer</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
</build>
<profiles>