Author: hboutemy
Date: Thu May 17 11:00:27 2012
New Revision: 1339549
URL: http://svn.apache.org/viewvc?rev=1339549&view=rev
Log:
don't generate code from plugin.mdo model since code is not used (nor included
in artifact's jar), but javadoc may confuse users
Modified:
maven/maven-3/trunk/maven-plugin-api/pom.xml
maven/maven-3/trunk/maven-plugin-api/src/main/mdo/plugin.mdo
Modified: maven/maven-3/trunk/maven-plugin-api/pom.xml
URL:
http://svn.apache.org/viewvc/maven/maven-3/trunk/maven-plugin-api/pom.xml?rev=1339549&r1=1339548&r2=1339549&view=diff
==============================================================================
--- maven/maven-3/trunk/maven-plugin-api/pom.xml (original)
+++ maven/maven-3/trunk/maven-plugin-api/pom.xml Thu May 17 11:00:27 2012
@@ -62,19 +62,19 @@ under the License.
<configuration>
<models>
<model>src/main/mdo/lifecycle.mdo</model>
- <model>src/main/mdo/plugin.mdo</model>
</models>
<version>1.0.0</version>
</configuration>
- </plugin>
- <plugin>
- <artifactId>maven-jar-plugin</artifactId>
- <configuration>
- <excludes>
- <exclude>org/apache/maven/plugin/descriptor/model</exclude>
- <exclude>org/apache/maven/plugin/descriptor/model/**/*</exclude>
- </excludes>
- </configuration>
+ <executions>
+ <execution>
+ <id>site-docs</id>
+ <configuration>
+ <models combine.children="append">
+ <model>src/main/mdo/plugin.mdo</model><!-- plugin.mdo is only
for documentation, not used for code generation -->
+ </models>
+ </configuration>
+ </execution>
+ </executions>
</plugin>
</plugins>
</build>
Modified: maven/maven-3/trunk/maven-plugin-api/src/main/mdo/plugin.mdo
URL:
http://svn.apache.org/viewvc/maven/maven-3/trunk/maven-plugin-api/src/main/mdo/plugin.mdo?rev=1339549&r1=1339548&r2=1339549&view=diff
==============================================================================
--- maven/maven-3/trunk/maven-plugin-api/src/main/mdo/plugin.mdo (original)
+++ maven/maven-3/trunk/maven-plugin-api/src/main/mdo/plugin.mdo Thu May 17
11:00:27 2012
@@ -27,6 +27,8 @@ under the License.
Plugin descriptor, stored in <code>META-INF/maven/plugin.xml</code> in a
plugin's jar artifact.
This descriptor is generally generated from plugin sources, using
<a href="/plugins/maven-plugin-plugin/">maven-plugin-plugin</a>.
+ <i>Notice:</i> this documentation is generated from a Modello model but
the code executed is not generated
+ from this descriptor. Please report if you find anything wrong.
]]></description>
<defaults>
<default>