Skip to content

Commit

Permalink
Merge pull request #195 from Jiri-Kremser/mustache-in-btools
Browse files Browse the repository at this point in the history
HAWKULAR-134 - Moving the asciidoc.mustache to hawkular-build-tools
  • Loading branch information
tsegismont committed Apr 17, 2015
2 parents 2bd4ffd + ebaced1 commit b2b07c0
Showing 1 changed file with 25 additions and 1 deletion.
26 changes: 25 additions & 1 deletion api/metrics-api-jaxrs/pom.xml
Expand Up @@ -173,6 +173,30 @@
<build>
<!-- Document generation from the Swagger 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 @@ -182,7 +206,7 @@
<locations>org.hawkular.metrics.api.jaxrs</locations>
<apiVersion>1.0</apiVersion>
<basePath>http://localhost:8080/hawkular-metrics/</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.metrics.api.jaxrs.swagger.filter.JaxRsFilter</swaggerInternalFilter>
<swaggerApiReader>com.wordnik.swagger.jaxrs.reader.DefaultJaxrsApiReader</swaggerApiReader>
Expand Down

0 comments on commit b2b07c0

Please sign in to comment.