diff --git a/build.gradle b/build.gradle index de25608b5..b0944e4c6 100644 --- a/build.gradle +++ b/build.gradle @@ -19,6 +19,7 @@ allprojects { sonatypeStagingUrl = 'https://oss.sonatype.org/service/local/staging/deploy/maven2' buildDate = (new java.text.SimpleDateFormat("yyyy-MM-dd")).format(new Date()) oneLineDesc = 'An Open Source XMPP (Jabber) client library' + jxmppVersion = "0.1.0" } group = 'org.igniterealtime.smack' sourceCompatibility = 1.7 @@ -35,7 +36,12 @@ allprojects { // first occurence of an dash with a dot. // For example 4.0.0-rc1 becomes 4.0.0.rc1, but // 4.0.0-SNAPSHOT-2014-05-01 becomes 4.0.0.SNAPSHOT-2014-05-01 - 'Bundle-Version': version.replaceFirst("-", ".")) + 'Bundle-Version': version.replaceFirst("-", "."), + 'Built-Date': new Date(), + 'Built-JDK': System.getProperty('java.version'), + 'Built-Gradle': gradle.gradleVersion, + 'Built-By': System.getProperty('user.name') + ) } eclipse { @@ -73,6 +79,9 @@ task javadocAll(type: Javadoc) { // Might need a classpath classpath = files(subprojects.collect {project -> project.sourceSets.main.compileClasspath}) + options.linkSource = true + options.use = true + options.links = ["http://docs.oracle.com/javase/$sourceCompatibility/docs/api/"] as String[] } import org.apache.tools.ant.filters.ReplaceTokens @@ -100,6 +109,9 @@ jar { enabled = false } +// Disable upload archives for the root project +uploadArchives.enabled = false + description = """\ Smack ${version} ${oneLineDesc}.""" @@ -157,7 +169,7 @@ subprojects { issueManagement { system 'JIRA' - url 'http://issues.igniterealtime.org/browse/SMACK' + url 'https://igniterealtime.org/issues/browse/SMACK' } distributionManagement { @@ -195,7 +207,9 @@ subprojects { rootProject.distributionZip { dependsOn build from(buildDir) { - include "$libsDirName/**" + include "$libsDirName/*${version}.jar" + include "$libsDirName/*${version}-javadoc.jar" + include "$libsDirName/*${version}-sources.jar" } } signing { @@ -204,7 +218,7 @@ subprojects { } } -['smack-extensions', 'smack-experimental', 'smack-legacy'].each { name -> +['smack-resolver-javax', 'smack-extensions', 'smack-experimental', 'smack-legacy'].each { name -> project(":$name") { jar { manifest { diff --git a/documentation/debugging.html b/documentation/debugging.html index c91d4b7a5..e2d1b126a 100644 --- a/documentation/debugging.html +++ b/documentation/debugging.html @@ -16,8 +16,8 @@ Debugging with Smack

Smack includes two built-in debugging consoles that will let you track all XML traffic between -the client and server. A lite debugger which is part of the smack.jar -and an enhanced debugger contained in smackx-debug.jar. +the client and server. A lite debugger which is part of the smack-core.jar +and an enhanced debugger contained in smack-debug.jar.

@@ -56,7 +56,7 @@ Smack uses the following logic to decide the debugger console to use:

  • If step 1 fails then Smack will try to use the enhanced debugger. The file smackx-debug.jar contains the enhanced debugger. Therefore you will need to place the jar file in the classpath. For situations where space is an issue you - may want to only deploy smack.jar in which case the enhanced debugger won't be + may want to only deploy smack-core.jar in which case the enhanced debugger won't be available.

  • The last option if the previous two steps fail is to use the lite debugger. The lite diff --git a/documentation/extensions/dataforms.html b/documentation/extensions/dataforms.html index 1c2aee457..cfc5b1f78 100644 --- a/documentation/extensions/dataforms.html +++ b/documentation/extensions/dataforms.html @@ -15,7 +15,7 @@ tasks such as registration and searching using Forms.
  • Create a Form to fill out
  • Answer a Form
  • -JEP related: JEP-4 +XEP related: XEP-4
    diff --git a/documentation/extensions/disco.html b/documentation/extensions/disco.html index 40a612bcb..1af4a5298 100644 --- a/documentation/extensions/disco.html +++ b/documentation/extensions/disco.html @@ -18,7 +18,7 @@ entities. Follow these links to learn how to use this extension.
  • Discover information about an XMPP entity
  • Publish publicly available items
  • -JEP related: JEP-30 +XEP related: XEP-30
    diff --git a/documentation/extensions/filetransfer.html b/documentation/extensions/filetransfer.html index ce84bd79d..8211b27b4 100644 --- a/documentation/extensions/filetransfer.html +++ b/documentation/extensions/filetransfer.html @@ -17,10 +17,10 @@ The file transfer extension allows the user to transmit and receive files.
  • Recieving a file from another user
  • Monitoring the progress of a file transfer
  • -JEP related: JEP-95 -JEP-96 -JEP-65 -JEP-47 +XEP related: XEP-95 +XEP-96 +XEP-65 +XEP-47
    Send a file to another user

    diff --git a/documentation/extensions/intro.html b/documentation/extensions/intro.html index 811ba9174..244edb334 100644 --- a/documentation/extensions/intro.html +++ b/documentation/extensions/intro.html @@ -32,17 +32,17 @@ Message Events - JEP-0022 + XEP-0022 Requests and responds to message events. Data Forms - JEP-0004 + XEP-0004 Allows to gather data using Forms. Multi User Chat - JEP-0045 + XEP-0045 Allows configuration of, participation in, and administration of individual text-based conference rooms. diff --git a/documentation/extensions/invitation.html b/documentation/extensions/invitation.html index c15b15824..6fbbf892c 100644 --- a/documentation/extensions/invitation.html +++ b/documentation/extensions/invitation.html @@ -17,8 +17,8 @@ users to a group chat room.

    -JEP related: N/A -- this protocol is outdated now that the Multi-User Chat (MUC) JEP is available -(JEP-45). However, most +XEP related: N/A -- this protocol is outdated now that the Multi-User Chat (MUC) XEP is available +(XEP-45). However, most existing clients still use this older protocol. Once MUC support becomes more widespread, this API may be deprecated. diff --git a/documentation/extensions/messageevents.html b/documentation/extensions/messageevents.html index fd64fc2fe..4f03c7a6b 100644 --- a/documentation/extensions/messageevents.html +++ b/documentation/extensions/messageevents.html @@ -19,7 +19,7 @@ display, and composition of messages. There are three stages in this extension:<

  • Reacting to Event Notification Requests
  • Reacting to Event Notifications
  • -JEP related: JEP-22 +XEP related: XEP-22
    Requesting Event Notifications

    Description

    diff --git a/documentation/extensions/muc.html b/documentation/extensions/muc.html index f4e4877c8..54ce72fb0 100644 --- a/documentation/extensions/muc.html +++ b/documentation/extensions/muc.html @@ -22,7 +22,7 @@ Allows configuration of, participation in, and administration of individual text

  • Manage role modifications
  • Manage affiliation modifications
  • -JEP related: JEP-45 +XEP related: XEP-45
    diff --git a/documentation/extensions/privatedata.html b/documentation/extensions/privatedata.html index 4d0f65887..c90dff29f 100644 --- a/documentation/extensions/privatedata.html +++ b/documentation/extensions/privatedata.html @@ -19,7 +19,7 @@ XML namespace. Example private data: </color>

    -JEP related: JEP-49 +XEP related: XEP-49


    diff --git a/documentation/extensions/rosterexchange.html b/documentation/extensions/rosterexchange.html index 0a3fa9ffb..5831ed638 100644 --- a/documentation/extensions/rosterexchange.html +++ b/documentation/extensions/rosterexchange.html @@ -17,7 +17,7 @@ are received from other XMPP clients.
  • Send a roster's entry
  • Receive roster entries
  • -JEP related: JEP-93 +XEP related: XEP-93
    diff --git a/documentation/extensions/time.html b/documentation/extensions/time.html index 7c00efa77..800a26169 100644 --- a/documentation/extensions/time.html +++ b/documentation/extensions/time.html @@ -11,7 +11,7 @@ Supports a protocol that XMPP clients use to exchange their respective local times and time zones.

    -JEP related: JEP-90 +XEP related: XEP-90


    diff --git a/documentation/extensions/xhtml.html b/documentation/extensions/xhtml.html index f283f57ba..8cdee0d8d 100644 --- a/documentation/extensions/xhtml.html +++ b/documentation/extensions/xhtml.html @@ -18,7 +18,7 @@ XHTML messages:

  • Receive an XHTML Message
  • Discover support for XHTML Messages
  • -JEP related: JEP-71 +XEP related: XEP-71
    diff --git a/documentation/gettingstarted.html b/documentation/gettingstarted.html index f13c2b75f..3c44682fe 100644 --- a/documentation/gettingstarted.html +++ b/documentation/gettingstarted.html @@ -29,8 +29,8 @@ to be as small as possible. The library ships as several JAR files to provide mo over which features applications require: -

    Configuration

    Smack has an initialization process that involves 2 phases.