提交 f0a8b41a 编写于 作者: K kohsuke

hooking up taglib doc generation.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14118 71c3de6d-444a-0410-be80-ed276b4c234a
上级 6b30e77f
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
<plugin> <plugin>
<groupId>org.kohsuke.stapler</groupId> <groupId>org.kohsuke.stapler</groupId>
<artifactId>maven-stapler-plugin</artifactId> <artifactId>maven-stapler-plugin</artifactId>
<version>1.7</version> <version>1.8</version>
<extensions>true</extensions> <extensions>true</extensions>
</plugin> </plugin>
<plugin> <plugin>
...@@ -153,14 +153,14 @@ ...@@ -153,14 +153,14 @@
</activation> </activation>
</profile> </profile>
<profile> <profile>
<id>release</id> <id>release</id>
<properties> <properties>
<!-- for releases, just use the POM version. See above ant-run plugin for how this gets used. --> <!-- for releases, just use the POM version. See above ant-run plugin for how this gets used. -->
<build.version>${version}</build.version> <build.version>${version}</build.version>
</properties> </properties>
<build> <build>
<plugins> <plugins>
<plugin><!-- execute apt:process for Wiki page generation --> <plugin><!-- execute apt:process for "Extension points" Wiki page generation -->
<groupId>org.codehaus.mojo</groupId> <groupId>org.codehaus.mojo</groupId>
<artifactId>apt-maven-plugin</artifactId> <artifactId>apt-maven-plugin</artifactId>
<version>1.0-alpha-2</version> <version>1.0-alpha-2</version>
...@@ -172,6 +172,27 @@ ...@@ -172,6 +172,27 @@
</execution> </execution>
</executions> </executions>
</plugin> </plugin>
<plugin>
<!--
generate jelly taglib docs from src/main/resoruces.
this is necessary in addition to the <reporting> configuration
to get the results deployed.
-->
<groupId>org.kohsuke.stapler</groupId>
<artifactId>maven-stapler-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>jelly-taglibdoc</goal>
</goals>
<configuration>
<patterns>
<pattern>/lib/.*</pattern>
</patterns>
</configuration>
</execution>
</executions>
</plugin>
</plugins> </plugins>
</build> </build>
</profile> </profile>
...@@ -551,4 +572,23 @@ ...@@ -551,4 +572,23 @@
</dependency--> </dependency-->
</dependencies> </dependencies>
<reporting>
<plugins>
<plugin><!-- generate Jelly tag lib documentation -->
<groupId>org.kohsuke.stapler</groupId>
<artifactId>maven-stapler-plugin</artifactId>
<configuration>
<patterns>
<pattern>/lib/.*</pattern>
</patterns>
</configuration>
</plugin>
<plugin><!-- skip slow dependency analysis -->
<artifactId>maven-project-info-reports-plugin</artifactId>
<configuration>
<dependencyLocationsEnabled>false</dependencyLocationsEnabled>
</configuration>
</plugin>
</plugins>
</reporting>
</project> </project>
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册