diff --git a/broker/pom.xml b/broker/pom.xml index dd547ca0..836769ca 100644 --- a/broker/pom.xml +++ b/broker/pom.xml @@ -11,7 +11,7 @@ moquette-broker - jar + bundle Moquette - broker @@ -41,20 +41,84 @@ org.slf4j - slf4j-log4j12 + slf4j-api 1.7.5 + provided - org.fusesource.hawtdb - hawtdb - 1.6 + org.slf4j + slf4j-log4j12 + 1.7.5 + provided + + + + org.apache.felix + org.osgi.core + 1.0.0 + + + + org.apache.felix + org.osgi.compendium + 1.0.0 + + + + + commons-logging + commons-logging + 1.1.3 + + + + io.netty + netty-common + 4.0.8.Final + provided + + + + io.netty + netty-buffer + 4.0.8.Final + provided + + + + io.netty + netty-transport + 4.0.8.Final + provided + + + + io.netty + netty-handler + 4.0.8.Final + provided + + + + io.netty + netty-codec + 4.0.8.Final + provided org.fusesource.hawtbuf hawtbuf 1.9 + provided + + + + org.fusesource.hawtdb + hawtdb + 1.6 + provided @@ -107,6 +171,46 @@ + + + org.apache.felix + maven-bundle-plugin + 2.1.0 + true + + + org.dna.mqtt.commons, + org.apache.commons.logging, + org.dna.mqtt.moquette.messaging.spi.impl.storage, + org.dna.mqtt.moquette.messaging.spi.impl.subscriptions, + org.dna.mqtt.moquette.proto.messages, + org.dna.mqtt.moquette.server.netty.metrics + + org.dna.mqtt.moquette.bundle, + ${project.groupId}.*, + com.lmax.* + + * + ${project.groupId}.moquette.bundle.Activator + + + + + + org.ops4j + maven-pax-plugin + 1.4 + + + 1.4.0 + + equinox + + + + + diff --git a/bundle/src/main/java/org/dna/mqtt/moquette/bundle/Activator.java b/broker/src/main/java/org/dna/mqtt/moquette/bundle/Activator.java similarity index 100% rename from bundle/src/main/java/org/dna/mqtt/moquette/bundle/Activator.java rename to broker/src/main/java/org/dna/mqtt/moquette/bundle/Activator.java diff --git a/bundle/pom.xml b/bundle/pom.xml deleted file mode 100644 index d46988ef..00000000 --- a/bundle/pom.xml +++ /dev/null @@ -1,157 +0,0 @@ - - - - 4.0.0 - - - ../ - - moquette-parent - org.dna.mqtt - 0.5-SNAPSHOT - - moquette-bundle - - bundle - - - - Moquette - bundle - - - UTF-8 - - - - - org.slf4j - slf4j-api - 1.7.5 - provided - - - org.slf4j - slf4j-log4j12 - 1.7.5 - provided - - - org.apache.felix - org.osgi.core - 1.0.0 - - - org.apache.felix - org.osgi.compendium - 1.0.0 - - - org.dna.mqtt - moquette-broker - 0.5-SNAPSHOT - provided - - - - commons-logging - commons-logging - 1.1.3 - - - io.netty - netty-common - 4.0.8.Final - provided - - - io.netty - netty-buffer - 4.0.8.Final - provided - - - io.netty - netty-transport - 4.0.8.Final - provided - - - io.netty - netty-handler - 4.0.8.Final - provided - - - io.netty - netty-codec - 4.0.8.Final - provided - - - org.fusesource.hawtbuf - hawtbuf - 1.9 - provided - - - org.fusesource.hawtdb - hawtdb - 1.6 - provided - - - - - - - org.apache.maven.plugins - maven-compiler-plugin - - 1.5 - 1.5 - - - - - org.apache.felix - maven-bundle-plugin - 2.1.0 - true - - - org.dna.mqtt.commons, - org.apache.commons.logging, - org.dna.mqtt.moquette.messaging.spi.impl.storage, - org.dna.mqtt.moquette.messaging.spi.impl.subscriptions, - org.dna.mqtt.moquette.proto.messages, - org.dna.mqtt.moquette.server.netty.metrics - - org.dna.mqtt.moquette.bundle, - ${project.groupId}.*, - com.lmax.* - - * - ${project.groupId}.moquette.bundle.Activator - - - - - - org.ops4j - maven-pax-plugin - 1.4 - - - 1.4.0 - - equinox - - - - - - - - - \ No newline at end of file diff --git a/pom.xml b/pom.xml index cd1a1d1c..44c5b19b 100644 --- a/pom.xml +++ b/pom.xml @@ -20,7 +20,6 @@ netty_parser broker distribution - bundle