atlasmap-standalone
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>io.atlasmap</groupId> <artifactId>atlasmap-standalone</artifactId> <version>2.5.2</version> </dependency>
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <!-- Copyright (C) 2017 Red Hat, Inc. 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/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>io.atlasmap</groupId> <artifactId>atlas-parent</artifactId> <version>2.5.2</version> <relativePath>../parent</relativePath> </parent> <artifactId>atlasmap-standalone</artifactId> <name>AtlasMap Standalone Application</name> <description>AtlasMap spring-boot runtime which runs AtlasMap design runtime service and AtlasMap Data Mapper UI in a single spring-boot image</description> <packaging>jar</packaging> <properties> <failOnMissingWebXml>false</failOnMissingWebXml> <maven.build.timestamp.format>yyyy-MM-dd HH:mm</maven.build.timestamp.format> <!-- Controls Docker Image Generation --> <from.image>fabric8/java-jboss-openjdk8-jdk</from.image> <docker.image>atlasmap/atlasmap</docker.image> <from.image.version>1.3</from.image.version> <license.dir>${project.basedir}/src/main/resources/license</license.dir> <license.output.dir>${project.build.directory}/classes/licenses</license.output.dir> </properties> <build> <finalName>atlasmap-standalone</finalName> <plugins> <plugin> <artifactId>maven-dependency-plugin</artifactId> <executions> <execution> <id>unpack-ui</id> <phase>process-resources</phase> <goals> <goal>unpack</goal> </goals> <configuration> <artifactItems> <artifactItem> <groupId>io.atlasmap</groupId> <artifactId>atlasmap-ui</artifactId> <type>zip</type> <outputDirectory>${project.build.directory}/classes/public</outputDirectory> </artifactItem> </artifactItems> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven-plugin</artifactId> <configuration> <jvmArguments>-server -Xms256m -Xmx1024m</jvmArguments> <mainClass>io.atlasmap.standalone.Application</mainClass> </configuration> <executions> <execution> <id>repackage</id> <goals> <goal>repackage</goal> </goals> </execution> <execution> <id>build-info</id> <goals> <goal>build-info</goal> </goals> </execution> </executions> </plugin> <plugin> <artifactId>maven-surefire-plugin</artifactId> <configuration> <systemPropertyVariables> <webdriver.chrome.driver>${webdriver.chrome.driver}</webdriver.chrome.driver> </systemPropertyVariables> </configuration> </plugin> </plugins> </build> <dependencyManagement> <dependencies> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-dependencies</artifactId> <version>${spring-boot.version}</version> <scope>import</scope> <type>pom</type> </dependency> </dependencies> </dependencyManagement> <dependencies> <!-- === Internal dependencies (don't touch without discussion) ========================== --> <dependency> <groupId>io.atlasmap</groupId> <artifactId>atlas-java-module</artifactId> </dependency> <dependency> <groupId>io.atlasmap</groupId> <artifactId>atlas-java-service</artifactId> </dependency> <dependency> <groupId>io.atlasmap</groupId> <artifactId>atlas-json-module</artifactId> </dependency> <dependency> <groupId>io.atlasmap</groupId> <artifactId>atlas-json-service</artifactId> </dependency> <dependency> <groupId>io.atlasmap</groupId> <artifactId>atlas-xml-module</artifactId> </dependency> <dependency> <groupId>io.atlasmap</groupId> <artifactId>atlas-xml-service</artifactId> </dependency> <dependency> <groupId>io.atlasmap</groupId> <artifactId>atlas-csv-module</artifactId> </dependency> <dependency> <groupId>io.atlasmap</groupId> <artifactId>atlas-csv-service</artifactId> </dependency> <dependency> <groupId>io.atlasmap</groupId> <artifactId>atlas-dfdl-module</artifactId> </dependency> <dependency> <groupId>io.atlasmap</groupId> <artifactId>atlas-dfdl-service</artifactId> </dependency> <dependency> <groupId>io.atlasmap</groupId> <artifactId>atlas-service</artifactId> </dependency> <!-- ===================================================================================== --> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> <exclusions> <exclusion> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-tomcat</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-undertow</artifactId> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-actuator</artifactId> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-security</artifactId> </dependency> <dependency> <groupId>org.jboss.resteasy</groupId> <artifactId>resteasy-spring-boot-starter</artifactId> </dependency> <dependency> <groupId>org.jboss.resteasy</groupId> <artifactId>resteasy-multipart-provider</artifactId> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-test</artifactId> <scope>test</scope> <exclusions> <exclusion> <groupId>org.junit.vintage</groupId> <artifactId>junit-vintage-engine</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>com.squareup.okhttp3</groupId> <artifactId>okhttp</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.seleniumhq.selenium</groupId> <artifactId>selenium-java</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.seleniumhq.selenium</groupId> <artifactId>selenium-api</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.seleniumhq.selenium</groupId> <artifactId>selenium-support</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.seleniumhq.selenium</groupId> <artifactId>selenium-chrome-driver</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.seleniumhq.selenium</groupId> <artifactId>selenium-remote-driver</artifactId> <scope>test</scope> </dependency> </dependencies> <profiles> <profile> <id>ci</id> <properties> <user.home>/home/jenkins</user.home> <fabric8.namespace>syndesis-ci</fabric8.namespace> <fabric8.mode>openshift</fabric8.mode> </properties> </profile> <profile> <id>docker</id> <build> <plugins> <plugin> <groupId>org.eclipse.jkube</groupId> <artifactId>kubernetes-maven-plugin</artifactId> <configuration> <buildStrategy>jib</buildStrategy> <images> <image> <name>${docker.image}:${image.tag.primary}</name> <build> <from>${from.image}:${from.image.version}</from> <tags> <tag>${image.tag.secondary}</tag> <tag>${image.tag.tertiary}</tag> </tags> <assembly> <inline> <id>copy-files</id> <fileSets> <fileSet> <directory>${license.output.dir}/licenses</directory> <outputDirectory>licenses</outputDirectory> </fileSet> </fileSets> </inline> <targetDir>/deployments</targetDir> </assembly> <cmd>java -jar /deployments/${project.artifactId}.jar</cmd> <ports> <port>8585</port> </ports> </build> </image> </images> </configuration> </plugin> </plugins> </build> </profile> <profile> <id>itests</id> <build> <plugins> <plugin> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven-plugin</artifactId> <configuration> <arguments> <argument>--logging.level.io.atlasmap=DEBUG</argument> <argument>--logging.file.name=target/atlasmap-spring-boot.log</argument> </arguments> <jvmArguments>-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=8000 -server -Xms256m -Xmx1024m</jvmArguments> </configuration> </plugin> </plugins> </build> <dependencies> <dependency> <groupId>io.atlasmap</groupId> <artifactId>atlas-java-test-model</artifactId> </dependency> <dependency> <groupId>org.twitter4j</groupId> <artifactId>twitter4j-core</artifactId> </dependency> </dependencies> </profile> <profile> <id>generate-licenses-xml</id> <build> <plugins> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>license-maven-plugin</artifactId> <executions> <execution> <goals> <goal>aggregate-download-licenses</goal> </goals> <phase>generate-resources</phase> <configuration> <licensesOutputDirectory>${license.dir}/licenses</licensesOutputDirectory> <licensesOutputFile>${license.dir}/licenses.xml</licensesOutputFile> </configuration> </execution> </executions> </plugin> </plugins> </build> </profile> </profiles> </project>