kansifang / moquette-mqtt

Automatically exported from code.google.com/p/moquette-mqtt
Apache License 2.0
0 stars 0 forks source link

Unable to launch in OSGi container #39

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Following the instructions:

mvn clean install
cd bundle
mvn install pax:provision

[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for 
org.dna.mqtt:moquette-bundle:bundle:0.5
[WARNING] 'build.plugins.plugin.version' for 
org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 162, column 21
[WARNING] 'build.plugins.plugin.version' for 
org.apache.maven.plugins:maven-surefire-plugin is missing. @ line 171, column 21
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten 
the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support 
building such malformed projects.
[WARNING]
Downloading: 
http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-compiler-plug
in/maven-metadata.xml
Downloaded: 
http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-compiler-plug
in/maven-metadata.xml (740 B at 4.3 KB/sec)
Downloading: 
http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-surefire-plug
in/maven-metadata.xml
Downloaded: 
http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-surefire-plug
in/maven-metadata.xml (2 KB at 26.5 KB/sec)
Downloading: 
http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-surefire-plug
in/2.17/maven-surefire-plugin-2.17.pom
Downloaded: 
http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-surefire-plug
in/2.17/maven-surefire-plugin-2.17.pom (5 KB at 90.4 KB/sec)
Downloading: 
http://repo.maven.apache.org/maven2/org/apache/maven/surefire/surefire/2.17/sure
fire-2.17.pom
Downloaded: 
http://repo.maven.apache.org/maven2/org/apache/maven/surefire/surefire/2.17/sure
fire-2.17.pom (17 KB at 252.3 KB/sec)
Downloading: 
http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-surefire-plug
in/2.17/maven-surefire-plugin-2.17.jar
Downloaded: 
http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-surefire-plug
in/2.17/maven-surefire-plugin-2.17.jar (34 KB at 491.6 KB/sec)
Downloading: 
http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-install-plugi
n/maven-metadata.xml
Downloaded: 
http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-install-plugi
n/maven-metadata.xml (592 B at 12.6 KB/sec)
Downloading: 
http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-install-plugi
n/2.5.1/maven-install-plugin-2.5.1.pom
Downloaded: 
http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-install-plugi
n/2.5.1/maven-install-plugin-2.5.1.pom (8 KB at 129.4 KB/sec)
Downloading: 
http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-install-plugi
n/2.5.1/maven-install-plugin-2.5.1.jar
Downloaded: 
http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-install-plugi
n/2.5.1/maven-install-plugin-2.5.1.jar (33 KB at 494.1 KB/sec)
Downloading: 
http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-resources-plu
gin/maven-metadata.xml
Downloaded: 
http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-resources-plu
gin/maven-metadata.xml (686 B at 13.7 KB/sec)
Downloading: 
http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-deploy-plugin
/maven-metadata.xml
Downloaded: 
http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-deploy-plugin
/maven-metadata.xml (678 B at 7.4 KB/sec)
Downloading: 
http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-deploy-plugin
/2.8.1/maven-deploy-plugin-2.8.1.pom
Downloaded: 
http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-deploy-plugin
/2.8.1/maven-deploy-plugin-2.8.1.pom (8 KB at 123.2 KB/sec)
Downloading: 
http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-deploy-plugin
/2.8.1/maven-deploy-plugin-2.8.1.jar
Downloaded: 
http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-deploy-plugin
/2.8.1/maven-deploy-plugin-2.8.1.jar (34 KB at 533.8 KB/sec)
Downloading: 
http://repo.maven.apache.org/maven2/org/ops4j/maven-pax-plugin/1.4/maven-pax-plu
gin-1.4.pom
Downloaded: 
http://repo.maven.apache.org/maven2/org/ops4j/maven-pax-plugin/1.4/maven-pax-plu
gin-1.4.pom (6 KB at 116.6 KB/sec)
Downloading: 
http://repo.maven.apache.org/maven2/org/ops4j/pax/construct/1.0/construct-1.0.po
m
Downloaded: 
http://repo.maven.apache.org/maven2/org/ops4j/pax/construct/1.0/construct-1.0.po
m (8 KB at 41.8 KB/sec)
Downloading: 
http://repo.maven.apache.org/maven2/org/ops4j/maven-pax-plugin/1.4/maven-pax-plu
gin-1.4.jar
Downloaded: 
http://repo.maven.apache.org/maven2/org/ops4j/maven-pax-plugin/1.4/maven-pax-plu
gin-1.4.jar (147 KB at 872.0 KB/sec)
[INFO]
[INFO] Using the builder 
org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder
 with a thread count of 1
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Moquette - OSGi bundle 0.5
[INFO] ------------------------------------------------------------------------
Downloading: 
https://repo.eclipse.org/content/repositories/paho-releases/org/dna/mqtt/moquett
e-broker/0.5/moquette-broker-0.5.pom
Downloading: 
http://repo.maven.apache.org/maven2/org/dna/mqtt/moquette-broker/0.5/moquette-br
oker-0.5.pom
[WARNING] The POM for org.dna.mqtt:moquette-broker:jar:0.5 is missing, no 
dependency information available
Downloading: 
https://repo.eclipse.org/content/repositories/paho-releases/org/dna/mqtt/moquett
e-broker/0.5/moquette-broker-0.5.jar
Downloading: 
http://repo.maven.apache.org/maven2/org/dna/mqtt/moquette-broker/0.5/moquette-br
oker-0.5.jar
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Skipping Moquette - OSGi bundle
[INFO] This project has been banned from the build due to previous failures.
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4.833 s
[INFO] Finished at: 2014-03-19T11:24:07-08:00
[INFO] Final Memory: 7M/81M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project moquette-bundle: Could not resolve 
dependencies for project org.dna.mqtt:moquette-bundle:bundle:0.5: Could not 
find artifact org.dna.mqtt:moquette-broker:jar:0.5 in Paho Releases 
(https://repo.eclipse.org/content/repositories/paho-releases/) -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please 
read the following articles:
[ERROR] [Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException

Original issue reported on code.google.com by andypiperuk on 19 Mar 2014 at 6:29

GoogleCodeExporter commented 9 years ago
My mistake - there was a network issue during the Maven build.

Original comment by andypiperuk on 19 Mar 2014 at 8:20

GoogleCodeExporter commented 9 years ago

Original comment by selva.an...@gmail.com on 20 Mar 2014 at 11:28