Skip to content

Commit

Permalink
Merge pull request #42 from Jiri-Kremser/mv-template-to-build-tools
Browse files Browse the repository at this point in the history
Moving the mustache template (for the rest docs) to build tools
  • Loading branch information
jshaughn committed May 1, 2015
2 parents dcbf240 + a85a536 commit 5d88b15
Showing 1 changed file with 25 additions and 1 deletion.
26 changes: 25 additions & 1 deletion hawkular-alerts-rest/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,30 @@
<build>
<!-- Document generation from the Annotations on the REST-API. -->
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<id>unpack</id>
<phase>process-resources</phase>
<goals>
<goal>unpack</goal>
</goals>
<configuration>
<artifactItems>
<artifactItem>
<groupId>org.hawkular</groupId>
<artifactId>hawkular-build-tools</artifactId>
<version>${version.org.hawkular.hawkular-build-tools}</version>
<type>jar</type>
<includes>**/*.mustache</includes>
</artifactItem>
</artifactItems>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>com.github.kongchen</groupId>
<artifactId>swagger-maven-plugin</artifactId>
Expand All @@ -143,7 +167,7 @@
<locations>org.hawkular.alerts.rest</locations>
<apiVersion>1.0</apiVersion>
<basePath>http://localhost:8080/hawkular/alerts</basePath>
<outputTemplate>https://raw.githubusercontent.com/hawkular/hawkular.github.io/swagger/asciidoc.mustache</outputTemplate>
<outputTemplate>${project.build.directory}/dependency/hawkular-documentation/asciidoc.mustache</outputTemplate>
<swaggerDirectory>${project.build.directory}/generated/swagger-ui</swaggerDirectory>
<swaggerInternalFilter>org.hawkular.alerts.rest.swagger.filter.JaxRsFilter</swaggerInternalFilter>
<swaggerApiReader>com.wordnik.swagger.jaxrs.reader.DefaultJaxrsApiReader</swaggerApiReader>
Expand Down

0 comments on commit 5d88b15

Please sign in to comment.