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

View File

@ -32,24 +32,6 @@
<plugin> <plugin>
<groupId>org.codehaus.modello</groupId> <groupId>org.codehaus.modello</groupId>
<artifactId>modello-maven-plugin</artifactId> <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> <configuration>
<version>4.0.0</version> <version>4.0.0</version>
<model>maven.mdo</model> <model>maven.mdo</model>
@ -65,7 +47,6 @@
<plugin> <plugin>
<groupId>org.codehaus.modello</groupId> <groupId>org.codehaus.modello</groupId>
<artifactId>modello-maven-plugin</artifactId> <artifactId>modello-maven-plugin</artifactId>
<version>1.0-alpha-8</version>
<executions> <executions>
<execution> <execution>
<id>v3</id> <id>v3</id>

View File

@ -31,23 +31,6 @@
<plugin> <plugin>
<groupId>org.codehaus.modello</groupId> <groupId>org.codehaus.modello</groupId>
<artifactId>modello-maven-plugin</artifactId> <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> <configuration>
<model>src/main/mdo/lifecycle.mdo</model> <model>src/main/mdo/lifecycle.mdo</model>
<version>1.0.0</version> <version>1.0.0</version>

View File

@ -31,24 +31,8 @@
<plugin> <plugin>
<groupId>org.codehaus.modello</groupId> <groupId>org.codehaus.modello</groupId>
<artifactId>modello-maven-plugin</artifactId> <artifactId>modello-maven-plugin</artifactId>
<version>1.0-alpha-7</version>
<executions> <executions>
<execution> <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>
<id>xsd</id> <id>xsd</id>
<phase>generate-sources</phase> <phase>generate-sources</phase>
<goals> <goals>

View File

@ -31,23 +31,6 @@
<plugin> <plugin>
<groupId>org.codehaus.modello</groupId> <groupId>org.codehaus.modello</groupId>
<artifactId>modello-maven-plugin</artifactId> <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> <configuration>
<model>src/main/mdo/plugin-metadata.mdo</model> <model>src/main/mdo/plugin-metadata.mdo</model>
<version>1.0.0</version> <version>1.0.0</version>

View File

@ -32,24 +32,6 @@
<plugin> <plugin>
<groupId>org.codehaus.modello</groupId> <groupId>org.codehaus.modello</groupId>
<artifactId>modello-maven-plugin</artifactId> <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> <configuration>
<version>1.0.0</version> <version>1.0.0</version>
<model>src/main/mdo/metadata.mdo</model> <model>src/main/mdo/metadata.mdo</model>

View File

@ -31,23 +31,6 @@
<plugin> <plugin>
<groupId>org.codehaus.modello</groupId> <groupId>org.codehaus.modello</groupId>
<artifactId>modello-maven-plugin</artifactId> <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> <configuration>
<version>1.0.0</version> <version>1.0.0</version>
<model>settings.mdo</model> <model>settings.mdo</model>

22
pom.xml
View File

@ -77,6 +77,28 @@
<tagBase>https://svn.apache.org/repos/asf/maven/components/tags</tagBase> <tagBase>https://svn.apache.org/repos/asf/maven/components/tags</tagBase>
</configuration> </configuration>
</plugin> </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> </plugins>
</pluginManagement> </pluginManagement>
</build> </build>