Consolidating modello plugin configuration into parent-pom within pluginManagement.

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@421308 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
John Dennis Casey 2006-07-12 16:31:25 +00:00
parent 0a0d6e6eed
commit 864fbd29e2
8 changed files with 25 additions and 105 deletions

View File

@ -50,6 +50,7 @@
</dependencies>
<reporting>
<plugins>
<!--
<plugin>
<artifactId>maven-checkstyle-plugin</artifactId>
</plugin>
@ -62,6 +63,7 @@
<plugin>
<artifactId>maven-project-info-reports-plugin</artifactId>
</plugin>
-->
</plugins>
</reporting>
</project>

View File

@ -32,24 +32,6 @@
<plugin>
<groupId>org.codehaus.modello</groupId>
<artifactId>modello-maven-plugin</artifactId>
<version>1.0-alpha-8</version>
<executions>
<execution>
<goals>
<goal>xpp3-writer</goal>
<goal>java</goal>
<goal>xpp3-reader</goal>
<goal>xsd</goal>
</goals>
</execution>
<execution>
<id>site-xsd</id>
<phase>site</phase>
<goals>
<goal>xsd</goal>
</goals>
</execution>
</executions>
<configuration>
<version>4.0.0</version>
<model>maven.mdo</model>
@ -65,7 +47,6 @@
<plugin>
<groupId>org.codehaus.modello</groupId>
<artifactId>modello-maven-plugin</artifactId>
<version>1.0-alpha-8</version>
<executions>
<execution>
<id>v3</id>

View File

@ -31,23 +31,6 @@
<plugin>
<groupId>org.codehaus.modello</groupId>
<artifactId>modello-maven-plugin</artifactId>
<version>1.0-alpha-7</version>
<executions>
<execution>
<id>site-xsd</id>
<phase>site</phase>
<goals>
<goal>xsd</goal>
</goals>
</execution>
<execution>
<goals>
<goal>java</goal>
<goal>xpp3-reader</goal>
<goal>xpp3-writer</goal>
</goals>
</execution>
</executions>
<configuration>
<model>src/main/mdo/lifecycle.mdo</model>
<version>1.0.0</version>

View File

@ -31,24 +31,8 @@
<plugin>
<groupId>org.codehaus.modello</groupId>
<artifactId>modello-maven-plugin</artifactId>
<version>1.0-alpha-7</version>
<executions>
<execution>
<id>site-xsd</id>
<phase>site</phase>
<goals>
<goal>xsd</goal>
</goals>
</execution>
<execution>
<id>base</id>
<goals>
<goal>xpp3-writer</goal>
<goal>java</goal>
<goal>xpp3-reader</goal>
</goals>
</execution>
<execution>
<execution>
<id>xsd</id>
<phase>generate-sources</phase>
<goals>

View File

@ -31,23 +31,6 @@
<plugin>
<groupId>org.codehaus.modello</groupId>
<artifactId>modello-maven-plugin</artifactId>
<executions>
<execution>
<id>site-xsd</id>
<phase>site</phase>
<goals>
<goal>xsd</goal>
</goals>
</execution>
<execution>
<goals>
<goal>java</goal>
<goal>xpp3-reader</goal>
<goal>xpp3-writer</goal>
<goal>xsd</goal>
</goals>
</execution>
</executions>
<configuration>
<model>src/main/mdo/plugin-metadata.mdo</model>
<version>1.0.0</version>

View File

@ -32,24 +32,6 @@
<plugin>
<groupId>org.codehaus.modello</groupId>
<artifactId>modello-maven-plugin</artifactId>
<version>1.0-alpha-7</version>
<executions>
<execution>
<id>site-xsd</id>
<phase>site</phase>
<goals>
<goal>xsd</goal>
</goals>
</execution>
<execution>
<goals>
<goal>xpp3-writer</goal>
<goal>java</goal>
<goal>xpp3-reader</goal>
<goal>xsd</goal>
</goals>
</execution>
</executions>
<configuration>
<version>1.0.0</version>
<model>src/main/mdo/metadata.mdo</model>

View File

@ -31,23 +31,6 @@
<plugin>
<groupId>org.codehaus.modello</groupId>
<artifactId>modello-maven-plugin</artifactId>
<version>1.0-alpha-7</version>
<executions>
<execution>
<id>site-xsd</id>
<phase>site</phase>
<goals>
<goal>xsd</goal>
</goals>
</execution>
<execution>
<goals>
<goal>xpp3-writer</goal>
<goal>java</goal>
<goal>xpp3-reader</goal>
</goals>
</execution>
</executions>
<configuration>
<version>1.0.0</version>
<model>settings.mdo</model>

22
pom.xml
View File

@ -77,6 +77,28 @@
<tagBase>https://svn.apache.org/repos/asf/maven/components/tags</tagBase>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.modello</groupId>
<artifactId>modello-maven-plugin</artifactId>
<version>1.0-alpha-8</version>
<executions>
<execution>
<id>site-docs</id>
<phase>pre-site</phase>
<goals>
<goal>xdoc</goal>
<goal>xsd</goal>
</goals>
</execution>
<execution>
<goals>
<goal>java</goal>
<goal>xpp3-reader</goal>
<goal>xpp3-writer</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</pluginManagement>
</build>