-
Notifications
You must be signed in to change notification settings - Fork 102
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #35 from ibm-messaging/timeout
Timeout
- Loading branch information
Showing
8 changed files
with
285 additions
and
111 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
# Building the library from source | ||
|
||
The library can be built directly using Gradle from the build.gradle control | ||
file. The output can be copied to a local directory or pushed to a Maven repository. | ||
|
||
Make sure the VERSION is correctly set for the output jar file, and that versions | ||
of the dependencies in the build.gradle file are also those desired. | ||
|
||
Then run gradlew to compile: | ||
|
||
``` | ||
export PushToMaven=true # if we want to push to a Maven repository | ||
./gradlew -i --rerun-tasks uploadArchives | ||
``` | ||
|
||
## Building for a Maven repository | ||
|
||
The VERSION file in this directory contains the version number associated with the build. | ||
For example, "0.1.2-SNAPSHOT". | ||
|
||
Output from the build can be uploaded to a Maven repository. | ||
|
||
The uploadArchives task controls publishing of the output. It uses the VERSION number to | ||
determine what to do, along with an environment variable. | ||
This means that we can build a non-SNAPSHOT version while still not pushing it out and | ||
the github version of the file can match exactly what was built. | ||
|
||
- If the version contains 'SNAPSHOT' that we will use that temporary repo in the Central Repository. | ||
else we push to the RELEASE repository | ||
- If the version contains 'LOCAL' or the environment variable "PushToMaven" is not set | ||
** then the output will be copied to a local Maven repository | ||
under the user's home directory (~/.m2/repository). | ||
** otherwise we attempt to push the jar files to the Nexus Central Repository. | ||
|
||
|
||
## Releasing from Nexus | ||
If pushing to the Nexus Release area, then once the build has been successfully transferred | ||
you must log into Nexus to do the final promotion (CLOSE/RELEASE) of the artifact. Although it is | ||
possible to automate that process, I am not doing it in this build file so we do a manual check | ||
that the build has been successful and to check validity before freezing a version number. | ||
|
||
Using Nexus Central Repository requires authentication and authorisation. The userid and password | ||
associated with the account are held in a local file (gradle.properties) that is not part | ||
of this public repository. That properties file also holds information about the signing key that Nexus | ||
requires. | ||
|
||
---- Example gradle.properties file -------- | ||
# These access the GPG key and certificate | ||
signing.keyId=AAA111BB | ||
signing.password=MyPassw0rd | ||
signing.secretKeyRingFile=/home/user/.gnupg/secring.gpg | ||
# This is the authentication to Nexus | ||
ossrhUsername=myNexusId | ||
ossrhPassword=MyOtherPassw0rd | ||
-------------------------------------------- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,55 +1,61 @@ | ||
# 0.0.1 (2018-01-18) | ||
- [NEW] Initial skeleton release. | ||
# Changelog | ||
Newest updates are at the top of this file | ||
|
||
# 0.0.2 (2018-01-22) | ||
- Modify default config to match MQ Docker container image defaults | ||
- add TLS related properties | ||
## 2.2.0 (2019-10-17) | ||
- Update dependencies to spring boot 2.2.0 | ||
- Override for polling listener default timeout | ||
|
||
# 0.0.3 (2018-03-08) | ||
- Change configuration prefix to "ibm.mq" to reduce ambiguities if you have other messaging attributes in the same application | ||
- Modify build.gradle to make pushing to Maven a more explicit operation | ||
## 2.1.4 (2019-10-10) | ||
- Replace the short-lived 2.1.3 that was corrupted by OSSRH problems | ||
- Update dependencies to Spring Boot 2.1.9 | ||
- Update dependencies to MQ 9.1.3 | ||
- Update dependencies to PooledJMS 1.0.6 | ||
|
||
# 0.0.4 (2018-04-02) | ||
- Allow USER_AUTHENTICATION_MQCSP to be configured from properties | ||
## 2.1.2 | ||
- Add bean instantiation conditions keeping the correct order - XAConnectionFactoryWrapper and after this IBM connection factory | ||
- Add XA wrapper functionality for external JTA providers and assign the nonXA connection factory | ||
- Update dependencies to spring boot 2.1.4 | ||
|
||
# 2.0.0 (2018-05-27) | ||
- Upgrade the spring boot dependency to spring boot 2.0.2 | ||
- Upgrade plugin version to 2.0.0 (according to spring boot version 2.x) | ||
## 2.1.1 | ||
- Update dependencies to MQ 9.1.2 | ||
- Update dependencies to spring boot 2.1.3 | ||
- Add applicationName configuration property (#20) | ||
|
||
# 2.0.1 (2018-09-14) | ||
- Added ability to set a client id on the connection | ||
## 2.1.0 | ||
- Simplify connection pool creation using spring boot 2.1.0 resources | ||
- Update dependencies to MQ 9.1.1 | ||
|
||
# 2.0.5 (2018-10-03) | ||
- Update dependencies to spring boot 2.0.5 | ||
- Add CCDTUrl and SSLPeer to configurable properties | ||
- Make MQConnectionFactoryFactory a public class (see issue #7) | ||
## 2.0.9 | ||
- Update dependencies to spring boot 2.1.0 | ||
|
||
## 2.0.8 | ||
- Add pooled connection factory option | ||
|
||
# 2.0.7 (2018-10-19) | ||
## 2.0.7 (2018-10-19) | ||
- Replace a broken 2.0.6 | ||
|
||
# 2.0.8 | ||
- Add pooled connection factory option | ||
## 2.0.5 (2018-10-03) | ||
- Update dependencies to spring boot 2.0.5 | ||
- Add CCDTUrl and SSLPeer to configurable properties | ||
- Make MQConnectionFactoryFactory a public class (see issue #7) | ||
|
||
# 2.0.9 | ||
- Update dependencies to spring boot 2.1.0 | ||
## 2.0.1 (2018-09-14) | ||
- Added ability to set a client id on the connection | ||
|
||
# 2.1.0 | ||
- Simplify connection pool creation using spring boot 2.1.0 resources | ||
- Update dependencies to MQ 9.1.1 | ||
## 2.0.0 (2018-05-27) | ||
- Upgrade the spring boot dependency to spring boot 2.0.2 | ||
- Upgrade plugin version to 2.0.0 (according to spring boot version 2.x) | ||
|
||
# 2.1.1 | ||
- Update dependencies to MQ 9.1.2 | ||
- Update dependencies to spring boot 2.1.3 | ||
- Add applicationName configuration property (#20) | ||
## 0.0.4 (2018-04-02) | ||
- Allow USER_AUTHENTICATION_MQCSP to be configured from properties | ||
|
||
# 2.1.2 | ||
- Add bean instantiation conditions keeping the correct order - XAConnectionFactoryWrapper and after this IBM connection factory | ||
- Add XA wrapper functionality for external JTA providers and assign the nonXA connection factory | ||
- Update dependencies to spring boot 2.1.4 | ||
## 0.0.3 (2018-03-08) | ||
- Change configuration prefix to "ibm.mq" to reduce ambiguities if you have other messaging attributes in the same application | ||
- Modify build.gradle to make pushing to Maven a more explicit operation | ||
|
||
# 2.1.4 | ||
Version 2.1.3 was corrupted because of OSSRH failures at Sonatype | ||
- Update dependencies to Spring Boot 2.1.9 | ||
- Update dependencies to MQ 9.1.3 | ||
- Update dependencies to PooledJMS 1.0.6 | ||
## 0.0.2 (2018-01-22) | ||
- Modify default config to match MQ Docker container image defaults | ||
- add TLS related properties | ||
|
||
## 0.0.1 (2018-01-18) | ||
- [NEW] Initial skeleton release. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
2.1.4 | ||
2.2.0 |
Oops, something went wrong.