api-model
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>com.adobe.commerce.cif</groupId>
<artifactId>api-model</artifactId>
<version>1.5.0</version>
</dependency><?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright 2018 Adobe. All rights reserved.
This file is licensed to you 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 REPRESENTATIONS
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>
<groupId>com.adobe.commerce.cif</groupId>
<artifactId>api-model</artifactId>
<version>1.5.0</version>
<name>Commerce Integration Framework (CIF) Cloud - API and Models</name>
<description>This package contains the REST API and java model definition of the Commerce Integration Framework (CIF) Cloud.</description>
<url>https://github.com/adobe/commerce-cif-api</url>
<scm>
<connection>scm:git:https://github.com/adobe/commerce-cif-api.git</connection>
<developerConnection>scm:git:git@github.com:adobe/commerce-cif-api.git</developerConnection>
<url>https://github.com/adobe/commerce-cif-api</url>
<tag>api-model-1.5.0</tag>
</scm>
<organization>
<name>Adobe</name>
<url>https://www.adobe.com</url>
</organization>
<licenses>
<license>
<name>The Apache License, Version 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
</license>
</licenses>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<build>
<resources>
<resource>
<directory>src/main/resources</directory>
<excludes>
<exclude>**/*</exclude>
</excludes>
</resource>
</resources>
<plugins>
<plugin>
<groupId>com.github.kongchen</groupId>
<artifactId>swagger-maven-plugin</artifactId>
<version>3.1.7</version>
<configuration>
<apiSources>
<apiSource>
<springmvc>false</springmvc>
<locations>com.adobe.commerce.cif.api</locations>
<schemes>https</schemes>
<host>runtime.adobe.io</host>
<basePath>/commerce</basePath>
<info>
<title>Commerce Integration Framework (CIF) Cloud API</title>
<version>${project.version}</version>
<description>Adobe Commerce Cloud API</description>
<license>
<name>Copyright 2018 Adobe. All rights reserved.</name>
</license>
<vendorExtensions>
<x-ow-namespace>your-namespace</x-ow-namespace>
<x-ow-package>default</x-ow-package>
</vendorExtensions>
</info>
<templatePath>${basedir}/src/main/resources/template/strapdown.html.hbs</templatePath>
<outputPath>${basedir}/src/main/resources/generated/swagger/document.html</outputPath>
<swaggerDirectory>${basedir}/src/main/resources/generated/swagger/</swaggerDirectory>
<outputFormats>json,yaml</outputFormats>
</apiSource>
</apiSources>
</configuration>
<executions>
<execution>
<phase>compile</phase>
<goals>
<goal>generate</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>com.github.eirslett</groupId>
<artifactId>frontend-maven-plugin</artifactId>
<version>1.4</version>
<configuration>
<workingDirectory>src/main/javascript</workingDirectory>
</configuration>
<executions>
<execution>
<id>Install node and npm</id>
<goals>
<goal>install-node-and-npm</goal>
</goals>
<configuration>
<nodeVersion>v7.7.4</nodeVersion>
<npmVersion>4.1.2</npmVersion>
</configuration>
</execution>
<execution>
<id>npm install</id>
<phase>compile</phase>
<goals>
<goal>npm</goal>
</goals>
</execution>
<execution>
<id>npm run build</id>
<phase>compile</phase>
<goals>
<goal>npm</goal>
</goals>
<configuration>
<arguments>run build</arguments>
</configuration>
</execution>
<execution>
<id>npm publish</id>
<phase>deploy</phase>
<goals>
<goal>npm</goal>
</goals>
<configuration>
<arguments>run perform</arguments>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-clean-plugin</artifactId>
<version>3.0.0</version>
<configuration>
<filesets>
<fileset>
<directory>src/main/resources/generated/swagger</directory>
</fileset>
<fileset>
<directory>src/main/resources/generated/javascript</directory>
</fileset>
<fileset>
<directory>src/main/resources/generated/graphql</directory>
</fileset>
<fileset>
<directory>src/main/javascript</directory>
<excludes>
<exclude>*.js</exclude>
<exclude>README.md</exclude>
<exclude>package.json</exclude>
<exclude>package-lock.json</exclude>
<exclude>license.txt</exclude>
<exclude>models-package.json</exclude>
<exclude>models-readme.md</exclude>
<exclude>src/**</exclude>
<exclude>test/**</exclude>
</excludes>
</fileset>
</filesets>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.1</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.rat</groupId>
<artifactId>apache-rat-plugin</artifactId>
<version>0.12</version>
<configuration>
<addDefaultLicenseMatchers>true</addDefaultLicenseMatchers>
<excludes combine.children="append">
<!-- don't check anything in target -->
<exclude>target/*</exclude>
<!-- README files in markdown format -->
<exclude>**/*.md</exclude>
<exclude>wiki/*.md</exclude>
<!-- ignore node and npm install directories -->
<exclude>src/main/javascript/node/**</exclude>
<exclude>**/node_modules/**</exclude>
<exclude>**/npm-debug.log</exclude>
<!-- ignore the swagger doc template -->
<exclude>src/main/resources/template/*</exclude>
<!-- ignore package.json -->
<exclude>**/package.json</exclude>
<exclude>**/package-lock.json</exclude>
<exclude>**/models-package.json</exclude>
<!-- Generated nginx gateway config -->
<exclude>**/nginx-config.txt</exclude>
<exclude>src/main/javascript/src/nginx/config.hbs</exclude>
<!-- swagger docs -->
<exclude>docs/**</exclude>
<exclude>src/main/resources/generated/swagger/*</exclude>
<exclude>src/main/resources/swagger/*</exclude>
<exclude>**/schema.graphql</exclude>
<exclude>**/swagger.json</exclude>
<!-- JSON examples -->
<exclude>src/test/resources/*</exclude>
<!-- CircleCI -->
<exclude>.circleci/*</exclude>
<exclude>ci/node_modules/**</exclude>
<exclude>ci/package-lock.json</exclude>
<!-- ignore project files-->
<exclude>**/*.iml</exclude>
</excludes>
</configuration>
<executions>
<execution>
<phase>compile</phase>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>3.0.2</version>
</plugin>
<!-- Maven release plugins -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>2.5.1</version>
<configuration>
<scmCommentPrefix>@releng [maven-scm] :</scmCommentPrefix>
<preparationGoals>clean install</preparationGoals>
<goals>deploy</goals>
<checkModificationExcludes>
<!-- Generated files are ignored when the plugin checks for local modifications -->
<checkModificationExclude>api-model/src/main/resources/javascript/*
</checkModificationExclude>
<checkModificationExclude>api-model/src/main/resources/swagger/*
</checkModificationExclude>
</checkModificationExcludes>
<preparationGoals>clean compile scm:add scm:checkin</preparationGoals>
</configuration>
</plugin>
<plugin>
<artifactId>maven-scm-plugin</artifactId>
<version>1.10.0</version>
<configuration>
<message>@releng [maven-scm] :prepare release ${project.artifactId}-${project.version}</message>
</configuration>
<executions>
<execution>
<id>default-cli</id>
<goals>
<goal>add</goal>
</goals>
<configuration>
<baseDir>${basedir}</baseDir>
<includes>pom.xml,src/main/resources/javascript/*,src/main/resources/graphql/*,src/main/resources/swagger/*,src/main/resources/nginx/*,docs/graphql/**</includes>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.6.7</version>
<extensions>true</extensions>
<configuration>
<serverId>ossrh</serverId>
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>true</autoReleaseAfterClose>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<version>2.8.2</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.9</version>
<configuration>
<quiet>true</quiet>
</configuration>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>2.4</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- Coverage -->
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.7.9</version>
<executions>
<execution>
<goals>
<goal>prepare-agent</goal>
</goals>
</execution>
<execution>
<id>report</id>
<phase>test</phase>
<goals>
<goal>report</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- Enforce semantic versioning -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<version>3.0.0-M2</version>
<dependencies>
<dependency>
<groupId>org.semver</groupId>
<artifactId>enforcer-rule</artifactId>
<version>0.9.33</version>
</dependency>
</dependencies>
<executions>
<execution>
<id>check</id>
<phase>package</phase>
<goals>
<goal>enforce</goal>
</goals>
<configuration>
<rules>
<requireSemanticVersioningConformance implementation="org.semver.enforcer.RequireSemanticVersioningConformance">
<dumpDetails>true</dumpDetails>
</requireSemanticVersioningConformance>
</rules>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
<profiles>
<!-- GPG Signature on release -->
<profile>
<id>release-sign-artifacts</id>
<activation>
<property>
<name>performRelease</name>
<value>true</value>
</property>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.6</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
<configuration>
<gpgArguments>
<arg>--pinentry-mode</arg>
<arg>loopback</arg>
</gpgArguments>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<dependencies>
<dependency>
<groupId>io.swagger</groupId>
<artifactId>swagger-core</artifactId>
<version>1.5.14</version>
</dependency>
<dependency>
<groupId>org.apache.servicemix.specs</groupId>
<artifactId>org.apache.servicemix.specs.jsr311-api-1.1</artifactId>
<version>2.9.0</version>
</dependency>
<!-- Unit tests dependencies -->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.12</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-core</artifactId>
<version>2.8.4</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>2.8.4</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-simple</artifactId>
<version>1.7.25</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>24.1-jre</version>
<scope>test</scope>
</dependency>
</dependencies>
<distributionManagement>
<snapshotRepository>
<id>ossrh</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
<repository>
<id>ossrh</id>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
</distributionManagement>
<developers>
<developer>
<name>Mark J. Becker</name>
<email>mabecker@adobe.com</email>
<organization>Adobe</organization>
<organizationUrl>https://www.adobe.com</organizationUrl>
</developer>
<developer>
<name>Markus Haack</name>
<email>mhaack@adobe.com</email>
<organization>Adobe</organization>
<organizationUrl>https://www.adobe.com</organizationUrl>
</developer>
<developer>
<name>Robert Hasna</name>
<email>rhasna@adobe.com</email>
<organization>Adobe</organization>
<organizationUrl>https://www.adobe.com</organizationUrl>
</developer>
<developer>
<name>Christophe Jelger</name>
<email>jelger@adobe.com</email>
<organization>Adobe</organization>
<organizationUrl>https://www.adobe.com</organizationUrl>
</developer>
<developer>
<name>Sorin Maftei</name>
<email>smaftei@adobe.com</email>
<organization>Adobe</organization>
<organizationUrl>https://www.adobe.com</organizationUrl>
</developer>
<developer>
<name>Daniel Platon</name>
<email>platon@adobe.com</email>
<organization>Adobe</organization>
<organizationUrl>https://www.adobe.com</organizationUrl>
</developer>
<developer>
<name>Levente Santha</name>
<email>sntha@adobe.com</email>
<organization>Adobe</organization>
<organizationUrl>https://www.adobe.com</organizationUrl>
</developer>
</developers>
</project>