Skip to content

Commit

Permalink
[HWKMETRICS-185] Create maven module for JAX-RS 1.1 implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefan Negrea committed Aug 10, 2015
1 parent 38ff28c commit 91dcefd
Show file tree
Hide file tree
Showing 14 changed files with 1,956 additions and 0 deletions.
127 changes: 127 additions & 0 deletions api/metrics-api-jaxrs-1.1/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,127 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright 2014-2015 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>
<artifactId>hawkular-metrics-parent</artifactId>
<groupId>org.hawkular.metrics</groupId>
<version>0.6.0-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>

<artifactId>hawkular-metrics-api-jaxrs-1.1</artifactId>
<packaging>war</packaging>

<name>Hawkular Metrics JAX-RS 1.1 API Implementation</name>
<description>Hawkular Metrics JAX-RS 1.1 API Implementation</description>

<properties>
</properties>

<dependencies>
<dependency>
<groupId>org.hawkular.metrics</groupId>
<artifactId>hawkular-metrics-core-impl</artifactId>
<version>${project.version}</version>
</dependency>

<dependency>
<groupId>org.hawkular.metrics</groupId>
<artifactId>hawkular-metrics-core-api</artifactId>
<version>${project.version}</version>
</dependency>

<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-core</artifactId>
</dependency>

<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
</dependency>

<dependency>
<groupId>org.jboss.resteasy</groupId>
<artifactId>resteasy-jaxrs</artifactId>
<scope>provided</scope>
<version>2.3.10.Final</version>
</dependency>

<!-- documentation -->
<dependency>
<groupId>com.wordnik</groupId>
<artifactId>swagger-annotations</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.wordnik</groupId>
<artifactId>swagger-core_2.10</artifactId>
<scope>provided</scope>
</dependency>

</dependencies>

<build>
<finalName>hawkular-metrics-api-jaxrs-1.1</finalName>
<plugins>
<plugin>
<artifactId>maven-war-plugin</artifactId>
<configuration>
<failOnMissingWebXml>false</failOnMissingWebXml>
<archive>
<manifest>
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
</manifest>
<!-- <manifestEntries> <Build-Number>${buildNumber}</Build-Number>
</manifestEntries> -->
</archive>
</configuration>
</plugin>

<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>1.3.2</version>
<executions>
<execution>
<goals>
<goal>exec</goal>
</goals>
</execution>
</executions>
<configuration>
<executable>java</executable>
<arguments>
<!-- argument>-Dssl</argument-->
<argument>-classpath</argument>
<classpath/>
<argument>org.hawkular.metrics.api.undertow.MainServer</argument>
</arguments>
</configuration>
</plugin>

</plugins>
</build>

</project>

0 comments on commit 91dcefd

Please sign in to comment.