hawkular-btm-server-rest
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>org.hawkular.btm</groupId> <artifactId>hawkular-btm-server-rest</artifactId> <version>0.8.0.Final</version> </dependency>
<?xml version="1.0" encoding="UTF-8"?> <!-- Copyright 2015-2016 Red Hat, Inc. and/or its affiliates and other contributors as indicated by the @author tags. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>org.hawkular.btm</groupId> <artifactId>hawkular-btm</artifactId> <version>0.8.0.Final</version> <relativePath>../../pom.xml</relativePath> </parent> <artifactId>hawkular-btm-server-rest</artifactId> <packaging>jar</packaging> <name>Hawkular BTM::Server::REST</name> <dependencies> <dependency> <groupId>org.hawkular.btm</groupId> <artifactId>hawkular-btm-api</artifactId> </dependency> <dependency> <groupId>org.hawkular.btm</groupId> <artifactId>hawkular-btm-server-api</artifactId> </dependency> <dependency> <groupId>org.jboss.logging</groupId> <artifactId>jboss-logging</artifactId> </dependency> <dependency> <groupId>org.jboss.logging</groupId> <artifactId>jboss-logging-annotations</artifactId> <scope>provided</scope> </dependency> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <scope>test</scope> </dependency> <!-- Wildfly provided --> <dependency> <groupId>org.jboss.resteasy</groupId> <artifactId>resteasy-jaxrs</artifactId> <scope>provided</scope> </dependency> <dependency> <groupId>javax.inject</groupId> <artifactId>javax.inject</artifactId> <scope>provided</scope> </dependency> <dependency> <groupId>javax.enterprise</groupId> <artifactId>cdi-api</artifactId> <scope>provided</scope> </dependency> <dependency> <groupId>org.jboss.logging</groupId> <artifactId>jboss-logging-processor</artifactId> <scope>provided</scope> </dependency> <!-- docs --> <dependency> <groupId>io.swagger</groupId> <artifactId>swagger-annotations</artifactId> </dependency> <dependency> <groupId>io.swagger</groupId> <artifactId>swagger-core</artifactId> </dependency> </dependencies> <profiles> <profile> <id>docgen</id> <build> <!-- Document generation from the Swagger annotations on the REST-API. --> <plugins> <!-- Uncomment when pulling templates from build tools <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> <outputDirectory>${project.build.directory}/dependency</outputDirectory> </artifactItem> </artifactItems> </configuration> </execution> </executions> </plugin> --> <plugin> <groupId>com.github.kongchen</groupId> <artifactId>swagger-maven-plugin</artifactId> <configuration> <apiSources> <apiSource> <springmvc>false</springmvc> <locations>org.hawkular.btm.server.rest</locations> <schemes>http,https</schemes> <basePath>/hawkular/btm</basePath> <info> <title>Hawkular Business Transaction Management</title> <version>v1</version> <description>The REST API for the Hawkular Business Transaction Management server</description> <license> <url>http://www.apache.org/licenses/LICENSE-2.0.html</url> <name>Apache 2.0</name> </license> </info> <!-- templatePath>${project.build.directory}/dependency/hawkular-documentation/asciidoc.mustache</templatePath --> <templatePath>${project.basedir}/src/main/templates/asciidoc.mustache</templatePath> <outputPath>${project.build.directory}/generated/rest-btm.adoc</outputPath> <swaggerDirectory>${project.build.directory}/generated/swagger-ui</swaggerDirectory> </apiSource> </apiSources> </configuration> <executions> <execution> <phase>compile</phase> <goals> <goal>generate</goal> </goals> </execution> </executions> </plugin> </plugins> </build> </profile> </profiles> </project>