forked from community/device-mgt-core
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
255 lines
10 KiB
255 lines
10 KiB
<!-- ~ Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
|
|
~ ~ WSO2 Inc. licenses this file 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 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">
|
|
|
|
<parent>
|
|
<artifactId>apimgt-extensions</artifactId>
|
|
<groupId>org.wso2.carbon.devicemgt</groupId>
|
|
<version>4.1.16-SNAPSHOT</version>
|
|
<relativePath>../pom.xml</relativePath>
|
|
</parent>
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<artifactId>org.wso2.carbon.apimgt.integration.generated.client</artifactId>
|
|
<version>4.1.16-SNAPSHOT</version>
|
|
<packaging>bundle</packaging>
|
|
<name>WSO2 Carbon - API Management Integration Generated Client</name>
|
|
<description>WSO2 Carbon - API Management Integration Client</description>
|
|
<url>http://wso2.org</url>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.openapitools</groupId>
|
|
<artifactId>openapi-generator-maven-plugin</artifactId>
|
|
<version>5.0.0</version>
|
|
<executions>
|
|
<execution>
|
|
<phase>process-resources</phase>
|
|
<id>publisher</id>
|
|
<goals>
|
|
<goal>generate</goal>
|
|
</goals>
|
|
<configuration>
|
|
<inputSpec>${project.basedir}/src/main/resources/publisher-api.yaml</inputSpec>
|
|
<generatorName>java</generatorName>
|
|
<configOptions>
|
|
<apiPackage>${project.artifactId}.publisher.api</apiPackage>
|
|
<modelPackage>${project.artifactId}.publisher.model</modelPackage>
|
|
</configOptions>
|
|
</configuration>
|
|
</execution>
|
|
<execution>
|
|
<phase>process-resources</phase>
|
|
<id>store</id>
|
|
<goals>
|
|
<goal>generate</goal>
|
|
</goals>
|
|
<configuration>
|
|
<inputSpec>${project.basedir}/src/main/resources/devportal-api.yaml</inputSpec>
|
|
<generatorName>java</generatorName>
|
|
<configOptions>
|
|
<apiPackage>${project.artifactId}.store.api</apiPackage>
|
|
<modelPackage>${project.artifactId}.store.model</modelPackage>
|
|
</configOptions>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>com.google.code.maven-replacer-plugin</groupId>
|
|
<artifactId>replacer</artifactId>
|
|
<version>1.5.2</version>
|
|
<executions>
|
|
<!--Replace java code that is generated from swagger to fix swagger client generation issues.-->
|
|
<execution>
|
|
<phase>process-resources</phase>
|
|
<id>replace-for-openapi-genenerated-code-publisher</id>
|
|
<goals>
|
|
<goal>replace</goal>
|
|
</goals>
|
|
<configuration>
|
|
<file>${project.basedir}/target/generated-sources/openapi/src/main/java/org/wso2/carbon/apimgt/integration/generated/client/publisher/model/API.java</file>
|
|
<replacements>
|
|
<replacement>
|
|
<token>CURRENT_TENANT</token>
|
|
<value>current_tenant</value>
|
|
</replacement>
|
|
<replacement>
|
|
<token>ALL_TENANTS</token>
|
|
<value>all_tenants</value>
|
|
</replacement>
|
|
<replacement>
|
|
<token>SPECIFIC_TENANTS</token>
|
|
<value>specific_tenants</value>
|
|
</replacement>
|
|
</replacements>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.felix</groupId>
|
|
<artifactId>maven-bundle-plugin</artifactId>
|
|
<extensions>true</extensions>
|
|
<configuration>
|
|
<instructions>
|
|
<Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
|
|
<Bundle-Name>${project.artifactId}</Bundle-Name>
|
|
<Bundle-Version>${project.version}</Bundle-Version>
|
|
<Bundle-Description>APIM Integration</Bundle-Description>
|
|
<Export-Package>
|
|
org.wso2.carbon.apimgt.integration.generated.client.publisher.api.*,
|
|
org.wso2.carbon.apimgt.integration.generated.client.publisher.model.*,
|
|
org.wso2.carbon.apimgt.integration.generated.client.store.api.*,
|
|
org.wso2.carbon.apimgt.integration.generated.client.store.model.*
|
|
</Export-Package>
|
|
<Import-Package>
|
|
com.google.gson;version="[2.8,3)",
|
|
com.google.gson.annotations;version="[2.8,3)",
|
|
com.google.gson.internal.bind.util,
|
|
com.google.gson.reflect;version="[2.8,3)",
|
|
com.google.gson.stream;version="[2.8,3)",
|
|
io.gsonfire;version="[1.8,2)",
|
|
io.swagger.annotations;version="[1.5,2)",
|
|
javax.annotation;version="[3.0,4)",
|
|
javax.net.ssl,
|
|
okhttp3,
|
|
okhttp3.internal.http,
|
|
okhttp3.internal.tls,
|
|
okhttp3.logging,
|
|
okio,
|
|
org.apache.oltu.oauth2.client;version="[1.0,2)",
|
|
org.apache.oltu.oauth2.client.request;version="[1.0,2)",
|
|
org.apache.oltu.oauth2.client.response;version="[1.0,2)",
|
|
org.apache.oltu.oauth2.common.exception;version="[1.0,2)",
|
|
org.apache.oltu.oauth2.common.message.types;version="[1.0,2)",
|
|
org.threeten.bp;version="[1.5,2)",
|
|
org.threeten.bp.format;version="[1.5,2)",
|
|
org.threeten.bp.temporal;version="[1.5,2)",
|
|
org.wso2.carbon.apimgt.integration.generated.client.publisher.model,
|
|
org.wso2.carbon.apimgt.integration.generated.client.store.model
|
|
</Import-Package>
|
|
|
|
</instructions>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
</plugins>
|
|
</build>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
<groupId>io.swagger.core.v3</groupId>
|
|
<artifactId>swagger-annotations</artifactId>
|
|
<version>2.1.7</version>
|
|
</dependency>
|
|
|
|
<!---->
|
|
<dependency>
|
|
<groupId>com.google.code.gson</groupId>
|
|
<artifactId>gson</artifactId>
|
|
<version>2.8.5</version>
|
|
</dependency>
|
|
<!--<dependency>-->
|
|
<!--<groupId>javax.ws.rs</groupId>-->
|
|
<!--<artifactId>jsr311-api</artifactId>-->
|
|
<!--</dependency>-->
|
|
|
|
<dependency>
|
|
<groupId>io.swagger</groupId>
|
|
<artifactId>swagger-annotations</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.squareup.okhttp3</groupId>
|
|
<artifactId>okhttp</artifactId>
|
|
<version>4.9.1</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.apache.oltu.oauth2</groupId>
|
|
<artifactId>org.apache.oltu.oauth2.client</artifactId>
|
|
<version>1.0.1</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.squareup.okhttp3</groupId>
|
|
<artifactId>logging-interceptor</artifactId>
|
|
<version>4.9.1</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.threeten</groupId>
|
|
<artifactId>threetenbp</artifactId>
|
|
<version>1.5.0</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>io.gsonfire</groupId>
|
|
<artifactId>gson-fire</artifactId>
|
|
<version>1.8.5</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.swagger.parser.v3</groupId>
|
|
<artifactId>swagger-parser</artifactId>
|
|
<version>2.0.25</version>
|
|
</dependency>
|
|
|
|
|
|
<!--<dependency>-->
|
|
<!--<groupId>junit</groupId>-->
|
|
<!--<artifactId>junit</artifactId>-->
|
|
<!--</dependency>-->
|
|
<!--<dependency>-->
|
|
<!--<groupId>io.github.openfeign</groupId>-->
|
|
<!--<artifactId>feign-core</artifactId>-->
|
|
<!--</dependency>-->
|
|
<!--<dependency>-->
|
|
<!--<groupId>io.github.openfeign</groupId>-->
|
|
<!--<artifactId>feign-jackson</artifactId>-->
|
|
<!--</dependency>-->
|
|
<!--<dependency>-->
|
|
<!--<groupId>io.github.openfeign</groupId>-->
|
|
<!--<artifactId>feign-jaxrs</artifactId>-->
|
|
<!--</dependency>-->
|
|
<!--<dependency>-->
|
|
<!--<groupId>io.github.openfeign</groupId>-->
|
|
<!--<artifactId>feign-gson</artifactId>-->
|
|
<!--</dependency>-->
|
|
<!--<dependency>-->
|
|
<!--<groupId>org.testng</groupId>-->
|
|
<!--<artifactId>testng</artifactId>-->
|
|
<!--</dependency>-->
|
|
<!--<dependency>-->
|
|
<!--<groupId>org.apache.oltu.oauth2</groupId>-->
|
|
<!--<artifactId>org.apache.oltu.oauth2.client</artifactId>-->
|
|
<!--</dependency>-->
|
|
<!--<dependency>-->
|
|
<!--<groupId>io.github.openfeign</groupId>-->
|
|
<!--<artifactId>feign-slf4j</artifactId>-->
|
|
<!--</dependency>-->
|
|
<!--<dependency>-->
|
|
<!--<groupId>org.wso2.orbit.com.fasterxml.jackson.core</groupId>-->
|
|
<!--<artifactId>jackson-databind</artifactId>-->
|
|
<!--<version>${jackson-databind.version}</version>-->
|
|
<!--</dependency>-->
|
|
<!--<dependency>-->
|
|
<!--<groupId>com.fasterxml.jackson.datatype</groupId>-->
|
|
<!--<artifactId>jackson-datatype-joda</artifactId>-->
|
|
<!--</dependency>-->
|
|
</dependencies>
|
|
<properties>
|
|
<maven.javadoc.skip>true</maven.javadoc.skip>
|
|
</properties>
|
|
</project>
|