mirror of
https://github.com/apache/maven.git
synced 2025-02-21 01:15:42 +00:00
don't generate code from plugin.mdo model since code is not used (nor included in artifact's jar), but javadoc may confuse users
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1339549 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
a31a898955
commit
503ecc43c3
@ -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>
|
||||
|
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user