gravitee-rest-api-standalone-container
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>io.gravitee.rest.api.standalone</groupId>
<artifactId>gravitee-rest-api-standalone-container</artifactId>
<version>3.8.4</version>
</dependency><?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (C) 2015 The Gravitee team (http://gravitee.io)
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>io.gravitee.rest.api.standalone</groupId>
<artifactId>gravitee-rest-api-standalone</artifactId>
<version>3.8.4</version>
</parent>
<artifactId>gravitee-rest-api-standalone-container</artifactId>
<name>Gravitee.io Rest APIs - Standalone - Container</name>
<dependencies>
<!-- Gravitee.io -->
<dependency>
<groupId>io.gravitee.node</groupId>
<artifactId>gravitee-node-container</artifactId>
</dependency>
<dependency>
<groupId>io.gravitee.node</groupId>
<artifactId>gravitee-node-api</artifactId>
</dependency>
<dependency>
<groupId>io.gravitee.node</groupId>
<artifactId>gravitee-node-vertx</artifactId>
</dependency>
<dependency>
<groupId>io.gravitee.rest.api.management</groupId>
<artifactId>gravitee-rest-api-management-rest</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>io.gravitee.rest.api.portal</groupId>
<artifactId>gravitee-rest-api-portal-rest</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>io.gravitee.rest.api</groupId>
<artifactId>gravitee-rest-api-repository</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>io.gravitee.resource</groupId>
<artifactId>gravitee-resource-oauth2-provider-api</artifactId>
</dependency>
<dependency>
<groupId>io.gravitee.resource</groupId>
<artifactId>gravitee-resource-cache-provider-api</artifactId>
</dependency>
<!-- To override Spring commons-logging -->
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>jcl-over-slf4j</artifactId>
<version>${slf4j.version}</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-annotations</artifactId>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-core</artifactId>
<version>${jackson.version}</version>
<scope>compile</scope>
</dependency>
<!-- Vert.x -->
<dependency>
<groupId>io.vertx</groupId>
<artifactId>vertx-core</artifactId>
<version>${vertx.version}</version>
</dependency>
<dependency>
<groupId>io.vertx</groupId>
<artifactId>vertx-web-client</artifactId>
<version>${vertx.version}</version>
</dependency>
<dependency>
<groupId>io.vertx</groupId>
<artifactId>vertx-rx-java2</artifactId>
<version>${vertx.version}</version>
</dependency>
<!-- Jetty -->
<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-webapp</artifactId>
</dependency>
<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-servlets</artifactId>
</dependency>
<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-jmx</artifactId>
</dependency>
<!-- Logging -->
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-core</artifactId>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>ch.qos.logback.contrib</groupId>
<artifactId>logback-jackson</artifactId>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>ch.qos.logback.contrib</groupId>
<artifactId>logback-json-classic</artifactId>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>ch.qos.logback.contrib</groupId>
<artifactId>logback-json-core</artifactId>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>jul-to-slf4j</artifactId>
<version>${slf4j.version}</version>
</dependency>
<!-- Guava -->
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>${guava.version}</version>
</dependency>
<dependency>
<groupId>javax.xml.bind</groupId>
<artifactId>jaxb-api</artifactId>
<version>2.3.0</version>
</dependency>
<dependency>
<groupId>javax.activation</groupId>
<artifactId>javax.activation-api</artifactId>
<version>1.2.0</version>
</dependency>
<dependency>
<groupId>com.sun.xml.bind</groupId>
<artifactId>jaxb-impl</artifactId>
<version>2.1.2</version>
</dependency>
</dependencies>
<build>
<resources>
<resource>
<directory>src/main/resources</directory>
<filtering>true</filtering>
</resource>
</resources>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>2.4.3</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<transformers>
<transformer
implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
<mainClass>io.gravitee.rest.api.standalone.ManagementContainer</mainClass>
</transformer>
<transformer
implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer">
<resource>META-INF/spring.handlers</resource>
</transformer>
<transformer
implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer">
<resource>META-INF/spring.schemas</resource>
</transformer>
</transformers>
<shadedArtifactAttached>true</shadedArtifactAttached>
<!-- configures the suffix name for the executable jar here it will be
'<project.artifact>-<project.version>-executable.jar' -->
<shadedClassifierName>executable</shadedClassifierName>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>dev</id>
<properties>
<workspace>${project.build.directory}/temp</workspace>
<workspace.plugins>${workspace}/plugins</workspace.plugins>
<workspace.logs>${workspace}/logs</workspace.logs>
<gravitee.management.log.dir>${workspace}/logs</gravitee.management.log.dir>
</properties>
<build>
<resources>
<resource>
<directory>../gravitee-management-api-standalone-distribution/src/main/resources/</directory>
<includes>
<include>config/*</include>
<include>templates/*</include>
<include>themes/*</include>
<include>dashboards/*</include>
</includes>
<targetPath>${workspace}</targetPath>
<filtering>true</filtering>
</resource>
</resources>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<version>2.10</version>
<executions>
<execution>
<id>copy-plugins</id>
<phase>process-resources</phase>
<goals>
<goal>copy</goal>
</goals>
<configuration>
<artifactItems>
<!-- IDP -->
<artifactItem>
<groupId>io.gravitee.rest.api.idp</groupId>
<artifactId>gravitee-rest-api-idp-memory</artifactId>
<version>${project.version}</version>
<type>zip</type>
<overWrite>false</overWrite>
</artifactItem>
<artifactItem>
<groupId>io.gravitee.rest.api.idp</groupId>
<artifactId>gravitee-rest-api-idp-ldap</artifactId>
<version>${project.version}</version>
<type>zip</type>
<overWrite>false</overWrite>
</artifactItem>
<artifactItem>
<groupId>io.gravitee.rest.api.idp</groupId>
<artifactId>gravitee-rest-api-idp-repository</artifactId>
<version>${project.version}</version>
<type>zip</type>
<overWrite>false</overWrite>
</artifactItem>
<!-- REPOSITORIES -->
<artifactItem>
<groupId>io.gravitee.repository</groupId>
<artifactId>gravitee-repository-mongodb</artifactId>
<version>LATEST</version>
<type>zip</type>
<overWrite>false</overWrite>
</artifactItem>
<artifactItem>
<groupId>io.gravitee.repository</groupId>
<artifactId>gravitee-repository-elasticsearch</artifactId>
<version>LATEST</version>
<type>zip</type>
<overWrite>false</overWrite>
</artifactItem>
<!-- POLICIES -->
<artifactItem>
<groupId>io.gravitee.policy</groupId>
<artifactId>gravitee-policy-apikey</artifactId>
<version>LATEST</version>
<type>zip</type>
<overWrite>false</overWrite>
</artifactItem>
<!-- FETCHERS -->
<artifactItem>
<groupId>io.gravitee.fetcher</groupId>
<artifactId>gravitee-fetcher-http</artifactId>
<version>LATEST</version>
<type>zip</type>
<overWrite>false</overWrite>
</artifactItem>
</artifactItems>
<outputDirectory>${workspace.plugins}</outputDirectory>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<id>init-dir</id>
<phase>process-resources</phase>
<configuration>
<tasks>
<mkdir dir="${workspace.logs}"/>
<mkdir dir="${workspace.plugins}"/>
</tasks>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>1.5.0</version>
<executions>
<execution>
<goals>
<goal>java</goal>
</goals>
</execution>
</executions>
<configuration>
<includeProjectDependencies>true</includeProjectDependencies>
<mainClass>io.gravitee.rest.api.standalone.ManagementContainer</mainClass>
<systemProperties>
<systemProperty>
<key>gravitee.home</key>
<value>${workspace}</value>
</systemProperty>
</systemProperties>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>ee</id>
<activation>
<activeByDefault>false</activeByDefault>
</activation>
<dependencies>
<!-- GraviteeSource dependencies -->
<dependency>
<groupId>com.graviteesource.license</groupId>
<artifactId>gravitee-license-node</artifactId>
</dependency>
</dependencies>
</profile>
</profiles>
</project>