|
|
|
@ -22,124 +22,286 @@
|
|
|
|
|
<parent>
|
|
|
|
|
<groupId>org.wso2.carbon.devicemgt-plugins</groupId>
|
|
|
|
|
<artifactId>mb-extensions</artifactId>
|
|
|
|
|
<version>3.0.22-SNAPSHOT</version>
|
|
|
|
|
<version>3.0.25-SNAPSHOT</version>
|
|
|
|
|
<relativePath>../pom.xml</relativePath>
|
|
|
|
|
</parent>
|
|
|
|
|
|
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
|
<artifactId>org.wso2.carbon.andes.extensions.device.mgt.mqtt.authorization</artifactId>
|
|
|
|
|
<packaging>bundle</packaging>
|
|
|
|
|
<name>WSO2 Carbon - Component - MQTT - Authorization Manager</name>
|
|
|
|
|
<description>MQTT authorization manager based on Carbon device manager</description>
|
|
|
|
|
<artifactId>org.wso2.carbon.andes.extensions.device.mgt.api</artifactId>
|
|
|
|
|
<packaging>war</packaging>
|
|
|
|
|
<name>WSO2 Carbon - MQTT Topics Management API</name>
|
|
|
|
|
<description>WSO2 Carbon - MQTT Topics Management API</description>
|
|
|
|
|
<url>http://wso2.org</url>
|
|
|
|
|
|
|
|
|
|
<build>
|
|
|
|
|
<plugins>
|
|
|
|
|
<plugin>
|
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
|
<configuration>
|
|
|
|
|
<source>1.7</source>
|
|
|
|
|
<target>1.7</target>
|
|
|
|
|
</configuration>
|
|
|
|
|
</plugin>
|
|
|
|
|
<plugin>
|
|
|
|
|
<artifactId>maven-war-plugin</artifactId>
|
|
|
|
|
<configuration>
|
|
|
|
|
<packagingExcludes>WEB-INF/lib/*cxf*.jar</packagingExcludes>
|
|
|
|
|
<warName>api#mqtt-topics#v1.0</warName>
|
|
|
|
|
</configuration>
|
|
|
|
|
</plugin>
|
|
|
|
|
</plugins>
|
|
|
|
|
</build>
|
|
|
|
|
|
|
|
|
|
<profiles>
|
|
|
|
|
<profile>
|
|
|
|
|
<id>deploy</id>
|
|
|
|
|
<build>
|
|
|
|
|
<defaultGoal>compile</defaultGoal>
|
|
|
|
|
<plugins>
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
<artifactId>maven-antrun-plugin</artifactId>
|
|
|
|
|
<version>1.7</version>
|
|
|
|
|
<executions>
|
|
|
|
|
<execution>
|
|
|
|
|
<phase>compile</phase>
|
|
|
|
|
<goals>
|
|
|
|
|
<goal>run</goal>
|
|
|
|
|
</goals>
|
|
|
|
|
<configuration>
|
|
|
|
|
<tasks>
|
|
|
|
|
<copy todir="${basedir}/../../../repository/deployment/server/webapps"
|
|
|
|
|
overwrite="true">
|
|
|
|
|
<fileset dir="${basedir}/target">
|
|
|
|
|
<include name="api#mqtt-topics#v1.0"/>
|
|
|
|
|
</fileset>
|
|
|
|
|
</copy>
|
|
|
|
|
</tasks>
|
|
|
|
|
</configuration>
|
|
|
|
|
</execution>
|
|
|
|
|
</executions>
|
|
|
|
|
</plugin>
|
|
|
|
|
</plugins>
|
|
|
|
|
</build>
|
|
|
|
|
</profile>
|
|
|
|
|
<profile>
|
|
|
|
|
<id>client</id>
|
|
|
|
|
<build>
|
|
|
|
|
<defaultGoal>test</defaultGoal>
|
|
|
|
|
<plugins>
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
|
<artifactId>exec-maven-plugin</artifactId>
|
|
|
|
|
<version>1.2.1</version>
|
|
|
|
|
<executions>
|
|
|
|
|
<execution>
|
|
|
|
|
<phase>test</phase>
|
|
|
|
|
<goals>
|
|
|
|
|
<goal>java</goal>
|
|
|
|
|
</goals>
|
|
|
|
|
</execution>
|
|
|
|
|
</executions>
|
|
|
|
|
</plugin>
|
|
|
|
|
</plugins>
|
|
|
|
|
</build>
|
|
|
|
|
</profile>
|
|
|
|
|
</profiles>
|
|
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.cxf</groupId>
|
|
|
|
|
<artifactId>cxf-rt-frontend-jaxws</artifactId>
|
|
|
|
|
<scope>provided</scope>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.cxf</groupId>
|
|
|
|
|
<artifactId>cxf-rt-frontend-jaxrs</artifactId>
|
|
|
|
|
<scope>provided</scope>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.cxf</groupId>
|
|
|
|
|
<artifactId>cxf-rt-transports-http</artifactId>
|
|
|
|
|
<scope>provided</scope>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>junit</groupId>
|
|
|
|
|
<artifactId>junit</artifactId>
|
|
|
|
|
<scope>test</scope>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>commons-httpclient.wso2</groupId>
|
|
|
|
|
<artifactId>commons-httpclient</artifactId>
|
|
|
|
|
<scope>provided</scope>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>javax.ws.rs</groupId>
|
|
|
|
|
<artifactId>jsr311-api</artifactId>
|
|
|
|
|
<!--<scope>provided</scope>-->
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.wso2.carbon</groupId>
|
|
|
|
|
<artifactId>org.wso2.carbon.utils</artifactId>
|
|
|
|
|
<scope>provided</scope>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.wso2.carbon</groupId>
|
|
|
|
|
<artifactId>org.wso2.carbon.core</artifactId>
|
|
|
|
|
<artifactId>org.wso2.carbon.logging</artifactId>
|
|
|
|
|
<scope>provided</scope>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.wso2.andes.wso2</groupId>
|
|
|
|
|
<artifactId>andes</artifactId>
|
|
|
|
|
<groupId>org.wso2.carbon.devicemgt</groupId>
|
|
|
|
|
<artifactId>org.wso2.carbon.device.mgt.common</artifactId>
|
|
|
|
|
<scope>provided</scope>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.wso2.carbon</groupId>
|
|
|
|
|
<artifactId>org.wso2.carbon.user.api</artifactId>
|
|
|
|
|
<groupId>org.wso2.carbon.devicemgt</groupId>
|
|
|
|
|
<artifactId>org.wso2.carbon.device.mgt.core</artifactId>
|
|
|
|
|
<scope>provided</scope>
|
|
|
|
|
<exclusions>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>org.apache.axis2.wso2</groupId>
|
|
|
|
|
<artifactId>axis2</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>org.apache.axis2.transport</groupId>
|
|
|
|
|
<artifactId>axis2-transport-mail</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>org.apache.ws.commons.axiom.wso2</groupId>
|
|
|
|
|
<artifactId>axiom</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
</exclusions>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.wso2.carbon</groupId>
|
|
|
|
|
<artifactId>org.wso2.carbon.user.core</artifactId>
|
|
|
|
|
<groupId>org.wso2.carbon.devicemgt</groupId>
|
|
|
|
|
<artifactId>org.wso2.carbon.policy.mgt.core</artifactId>
|
|
|
|
|
<scope>provided</scope>
|
|
|
|
|
<exclusions>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>org.apache.axis2.wso2</groupId>
|
|
|
|
|
<artifactId>axis2-client</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
</exclusions>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>commons-lang</groupId>
|
|
|
|
|
<artifactId>commons-lang</artifactId>
|
|
|
|
|
<groupId>org.wso2.carbon.identity.inbound.auth.oauth2</groupId>
|
|
|
|
|
<artifactId>org.wso2.carbon.identity.oauth.stub</artifactId>
|
|
|
|
|
<scope>provided</scope>
|
|
|
|
|
<exclusions>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>org.apache.axis2.wso2</groupId>
|
|
|
|
|
<artifactId>axis2</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>org.apache.axis2.wso2</groupId>
|
|
|
|
|
<artifactId>axis2-client</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>org.apache.axis2.transport</groupId>
|
|
|
|
|
<artifactId>axis2-transport-mail</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
</exclusions>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>io.github.openfeign</groupId>
|
|
|
|
|
<artifactId>feign-core</artifactId>
|
|
|
|
|
<groupId>org.json.wso2</groupId>
|
|
|
|
|
<artifactId>json</artifactId>
|
|
|
|
|
<scope>provided</scope>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>io.github.openfeign</groupId>
|
|
|
|
|
<artifactId>feign-jaxrs</artifactId>
|
|
|
|
|
<groupId>org.wso2.carbon.devicemgt</groupId>
|
|
|
|
|
<artifactId>org.wso2.carbon.certificate.mgt.core</artifactId>
|
|
|
|
|
<scope>provided</scope>
|
|
|
|
|
<exclusions>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>org.apache.axis2.wso2</groupId>
|
|
|
|
|
<artifactId>axis2</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
</exclusions>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>io.github.openfeign</groupId>
|
|
|
|
|
<artifactId>feign-gson</artifactId>
|
|
|
|
|
<groupId>io.swagger</groupId>
|
|
|
|
|
<artifactId>swagger-annotations</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>javax.ws.rs</groupId>
|
|
|
|
|
<artifactId>jsr311-api</artifactId>
|
|
|
|
|
<groupId>io.swagger</groupId>
|
|
|
|
|
<artifactId>swagger-core</artifactId>
|
|
|
|
|
<exclusions>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>com.fasterxml.jackson.module</groupId>
|
|
|
|
|
<artifactId>jackson-module-jaxb-annotations</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
|
<artifactId>slf4j-api</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>org.wso2.orbit.com.fasterxml.jackson.core</groupId>
|
|
|
|
|
<artifactId>jackson-core</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
</exclusions>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.wso2.carbon</groupId>
|
|
|
|
|
<artifactId>javax.cache.wso2</artifactId>
|
|
|
|
|
<groupId>io.swagger</groupId>
|
|
|
|
|
<artifactId>swagger-jaxrs</artifactId>
|
|
|
|
|
<exclusions>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>com.fasterxml.jackson.module</groupId>
|
|
|
|
|
<artifactId>jackson-module-jaxb-annotations</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
|
<artifactId>slf4j-api</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>org.wso2.orbit.com.fasterxml.jackson.core</groupId>
|
|
|
|
|
<artifactId>jackson-core</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
</exclusions>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>javax.servlet</groupId>
|
|
|
|
|
<artifactId>servlet-api</artifactId>
|
|
|
|
|
<!--<scope>provided</scope>-->
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.wso2.carbon.devicemgt</groupId>
|
|
|
|
|
<artifactId>org.wso2.carbon.apimgt.annotations</artifactId>
|
|
|
|
|
<scope>provided</scope>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.wso2.orbit.com.fasterxml.jackson.core</groupId>
|
|
|
|
|
<artifactId>jackson-annotations</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>io.github.openfeign</groupId>
|
|
|
|
|
<artifactId>feign-slf4j</artifactId>
|
|
|
|
|
<groupId>org.hibernate</groupId>
|
|
|
|
|
<artifactId>hibernate-validator</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>javax.ws.rs</groupId>
|
|
|
|
|
<artifactId>javax.ws.rs-api</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.wso2.carbon.messaging</groupId>
|
|
|
|
|
<artifactId>org.wso2.carbon.andes.mqtt.stub</artifactId>
|
|
|
|
|
<exclusions>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>org.apache.axis2.wso2</groupId>
|
|
|
|
|
<artifactId>axis2</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>org.apache.axis2.wso2</groupId>
|
|
|
|
|
<artifactId>axis2-client</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>org.apache.axis2.transport</groupId>
|
|
|
|
|
<artifactId>axis2-transport-mail</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>org.apache.ws.commons.axiom.wso2</groupId>
|
|
|
|
|
<artifactId>axiom</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
</exclusions>
|
|
|
|
|
</dependency>
|
|
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
|
|
<build>
|
|
|
|
|
<plugins>
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.apache.felix</groupId>
|
|
|
|
|
<artifactId>maven-scr-plugin</artifactId>
|
|
|
|
|
</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>
|
|
|
|
|
<Private-Package>
|
|
|
|
|
org.wso2.carbon.andes.extensions.device.mgt.mqtt.authorization.internal
|
|
|
|
|
</Private-Package>
|
|
|
|
|
<Export-Package>
|
|
|
|
|
!org.wso2.carbon.andes.extensions.device.mgt.mqtt.authorization.internal,
|
|
|
|
|
org.wso2.carbon.andes.extensions.device.mgt.mqtt.authorization.*
|
|
|
|
|
</Export-Package>
|
|
|
|
|
<Import-Package>
|
|
|
|
|
org.apache.log4j,
|
|
|
|
|
org.dna.mqtt.moquette.server,
|
|
|
|
|
org.wso2.andes.configuration.enums,
|
|
|
|
|
org.wso2.andes.mqtt,
|
|
|
|
|
org.wso2.carbon.context,
|
|
|
|
|
org.jaxen,
|
|
|
|
|
org.apache.axiom.*,
|
|
|
|
|
org.wso2.securevault,
|
|
|
|
|
org.apache.commons.*,
|
|
|
|
|
org.osgi.service.component,
|
|
|
|
|
org.wso2.carbon.user.core.service,
|
|
|
|
|
org.wso2.carbon.user.core.tenant,
|
|
|
|
|
org.wso2.carbon.user.api,
|
|
|
|
|
feign,
|
|
|
|
|
feign.auth,
|
|
|
|
|
feign.codec,
|
|
|
|
|
feign.gson,
|
|
|
|
|
javax.cache,
|
|
|
|
|
javax.xml.namespace,
|
|
|
|
|
javax.xml.stream,
|
|
|
|
|
org.wso2.carbon.base,
|
|
|
|
|
org.wso2.carbon.utils,
|
|
|
|
|
javax.net.ssl,
|
|
|
|
|
feign.slf4j
|
|
|
|
|
</Import-Package>
|
|
|
|
|
<Embed-Dependency>
|
|
|
|
|
jsr311-api,
|
|
|
|
|
feign-jaxrs
|
|
|
|
|
</Embed-Dependency>
|
|
|
|
|
</instructions>
|
|
|
|
|
</configuration>
|
|
|
|
|
</plugin>
|
|
|
|
|
</plugins>
|
|
|
|
|
</build>
|
|
|
|
|
|
|
|
|
|
</project>
|
|
|
|
|
|
|
|
|
|