GeezerVison is showing github.com — metadata, pom signing and catch-all java-sdk module · guillept/java-sdk@2fae707
File treeExpand file treeCollapse file tree Open diff view settings natural-language-classifier
Expand file treeCollapse file tree Open diff view settings Collapse file Copy file name to clipboardExpand all lines: alchemy/build.gradle +38-6Lines changed: 38 additions & 6 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -72,12 +72,44 @@ processResources { | 72 | 72 | } | 73 | 73 |
| 74 | 74 | uploadArchives { | 75 | | - repositories.mavenDeployer { | 76 | | - repository(url: "http://oss.sonatype.org/service/local/staging/deploy/maven2/") { | 77 | | - authentication(userName: System.env.CI_DEPLOY_USERNAME, password: System.env.CI_DEPLOY_PASSWORD) | 78 | | - } | 79 | | - snapshotRepository(url: "https://oss.sonatype.org/content/repositories/snapshots/"){ | 80 | | - authentication(userName: System.env.CI_DEPLOY_USERNAME, password: System.env.CI_DEPLOY_PASSWORD) | | 75 | + repositories { | | 76 | + mavenDeployer { | | 77 | + beforeDeployment { MavenDeployment deployment -> signing.signPom(deployment) } | | 78 | + | | 79 | + repository(url: "http://oss.sonatype.org/service/local/staging/deploy/maven2/") { | | 80 | + authentication(userName: System.env.CI_DEPLOY_USERNAME, password: System.env.CI_DEPLOY_PASSWORD) | | 81 | + } | | 82 | + snapshotRepository(url: "https://oss.sonatype.org/content/repositories/snapshots/"){ | | 83 | + authentication(userName: System.env.CI_DEPLOY_USERNAME, password: System.env.CI_DEPLOY_PASSWORD) | | 84 | + } | | 85 | + pom.project { | | 86 | + name 'Watson Developer Cloud Java SDK' | | 87 | + packaging 'jar' | | 88 | + // optionally artifactId can be defined here | | 89 | + description 'Client library to use the IBM Watson Services and AlchemyAPI' | | 90 | + url 'http://www.example.com/example-application' | | 91 | + | | 92 | + scm { | | 93 | + | | 94 | + | | 95 | + url 'https://github.com/watson-developer-cloud/java-sdk' | | 96 | + } | | 97 | + | | 98 | + licenses { | | 99 | + license { | | 100 | + name 'The Apache License, Version 2.0' | | 101 | + url 'http://www.apache.org/licenses/LICENSE-2.0.txt' | | 102 | + } | | 103 | + } | | 104 | + | | 105 | + developers { | | 106 | + developer { | | 107 | + id 'german' | | 108 | + name 'German Attanasio' | | 109 | + | | 110 | + } | | 111 | + } | | 112 | + } | 81 | 113 | } | 82 | 114 | } | 83 | 115 | } |
Collapse file Copy file name to clipboardExpand all lines: conversation/build.gradle +38-6Lines changed: 38 additions & 6 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -72,12 +72,44 @@ processResources { | 72 | 72 | } | 73 | 73 |
| 74 | 74 | uploadArchives { | 75 | | - repositories.mavenDeployer { | 76 | | - repository(url: "http://oss.sonatype.org/service/local/staging/deploy/maven2/") { | 77 | | - authentication(userName: System.env.CI_DEPLOY_USERNAME, password: System.env.CI_DEPLOY_PASSWORD) | 78 | | - } | 79 | | - snapshotRepository(url: "https://oss.sonatype.org/content/repositories/snapshots/"){ | 80 | | - authentication(userName: System.env.CI_DEPLOY_USERNAME, password: System.env.CI_DEPLOY_PASSWORD) | | 75 | + repositories { | | 76 | + mavenDeployer { | | 77 | + beforeDeployment { MavenDeployment deployment -> signing.signPom(deployment) } | | 78 | + | | 79 | + repository(url: "http://oss.sonatype.org/service/local/staging/deploy/maven2/") { | | 80 | + authentication(userName: System.env.CI_DEPLOY_USERNAME, password: System.env.CI_DEPLOY_PASSWORD) | | 81 | + } | | 82 | + snapshotRepository(url: "https://oss.sonatype.org/content/repositories/snapshots/"){ | | 83 | + authentication(userName: System.env.CI_DEPLOY_USERNAME, password: System.env.CI_DEPLOY_PASSWORD) | | 84 | + } | | 85 | + pom.project { | | 86 | + name 'Watson Developer Cloud Java SDK' | | 87 | + packaging 'jar' | | 88 | + // optionally artifactId can be defined here | | 89 | + description 'Client library to use the IBM Watson Services and AlchemyAPI' | | 90 | + url 'http://www.example.com/example-application' | | 91 | + | | 92 | + scm { | | 93 | + | | 94 | + | | 95 | + url 'https://github.com/watson-developer-cloud/java-sdk' | | 96 | + } | | 97 | + | | 98 | + licenses { | | 99 | + license { | | 100 | + name 'The Apache License, Version 2.0' | | 101 | + url 'http://www.apache.org/licenses/LICENSE-2.0.txt' | | 102 | + } | | 103 | + } | | 104 | + | | 105 | + developers { | | 106 | + developer { | | 107 | + id 'german' | | 108 | + name 'German Attanasio' | | 109 | + | | 110 | + } | | 111 | + } | | 112 | + } | 81 | 113 | } | 82 | 114 | } | 83 | 115 | } |
Collapse file Copy file name to clipboardExpand all lines: core/build.gradle +38-6Lines changed: 38 additions & 6 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -95,12 +95,44 @@ processResources { | 95 | 95 | } | 96 | 96 |
| 97 | 97 | uploadArchives { | 98 | | - repositories.mavenDeployer { | 99 | | - repository(url: "http://oss.sonatype.org/service/local/staging/deploy/maven2/") { | 100 | | - authentication(userName: System.env.CI_DEPLOY_USERNAME, password: System.env.CI_DEPLOY_PASSWORD) | 101 | | - } | 102 | | - snapshotRepository(url: "https://oss.sonatype.org/content/repositories/snapshots/"){ | 103 | | - authentication(userName: System.env.CI_DEPLOY_USERNAME, password: System.env.CI_DEPLOY_PASSWORD) | | 98 | + repositories { | | 99 | + mavenDeployer { | | 100 | + beforeDeployment { MavenDeployment deployment -> signing.signPom(deployment) } | | 101 | + | | 102 | + repository(url: "http://oss.sonatype.org/service/local/staging/deploy/maven2/") { | | 103 | + authentication(userName: System.env.CI_DEPLOY_USERNAME, password: System.env.CI_DEPLOY_PASSWORD) | | 104 | + } | | 105 | + snapshotRepository(url: "https://oss.sonatype.org/content/repositories/snapshots/"){ | | 106 | + authentication(userName: System.env.CI_DEPLOY_USERNAME, password: System.env.CI_DEPLOY_PASSWORD) | | 107 | + } | | 108 | + pom.project { | | 109 | + name 'Watson Developer Cloud Java SDK' | | 110 | + packaging 'jar' | | 111 | + // optionally artifactId can be defined here | | 112 | + description 'Client library to use the IBM Watson Services and AlchemyAPI' | | 113 | + url 'http://www.example.com/example-application' | | 114 | + | | 115 | + scm { | | 116 | + | | 117 | + | | 118 | + url 'https://github.com/watson-developer-cloud/java-sdk' | | 119 | + } | | 120 | + | | 121 | + licenses { | | 122 | + license { | | 123 | + name 'The Apache License, Version 2.0' | | 124 | + url 'http://www.apache.org/licenses/LICENSE-2.0.txt' | | 125 | + } | | 126 | + } | | 127 | + | | 128 | + developers { | | 129 | + developer { | | 130 | + id 'german' | | 131 | + name 'German Attanasio' | | 132 | + | | 133 | + } | | 134 | + } | | 135 | + } | 104 | 136 | } | 105 | 137 | } | 106 | 138 | } |
Collapse file Copy file name to clipboardExpand all lines: dialog/build.gradle +38-6Lines changed: 38 additions & 6 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -105,12 +105,44 @@ processResources { | 105 | 105 | } | 106 | 106 |
| 107 | 107 | uploadArchives { | 108 | | - repositories.mavenDeployer { | 109 | | - repository(url: "http://oss.sonatype.org/service/local/staging/deploy/maven2/") { | 110 | | - authentication(userName: System.env.CI_DEPLOY_USERNAME, password: System.env.CI_DEPLOY_PASSWORD) | 111 | | - } | 112 | | - snapshotRepository(url: "https://oss.sonatype.org/content/repositories/snapshots/"){ | 113 | | - authentication(userName: System.env.CI_DEPLOY_USERNAME, password: System.env.CI_DEPLOY_PASSWORD) | | 108 | + repositories { | | 109 | + mavenDeployer { | | 110 | + beforeDeployment { MavenDeployment deployment -> signing.signPom(deployment) } | | 111 | + | | 112 | + repository(url: "http://oss.sonatype.org/service/local/staging/deploy/maven2/") { | | 113 | + authentication(userName: System.env.CI_DEPLOY_USERNAME, password: System.env.CI_DEPLOY_PASSWORD) | | 114 | + } | | 115 | + snapshotRepository(url: "https://oss.sonatype.org/content/repositories/snapshots/"){ | | 116 | + authentication(userName: System.env.CI_DEPLOY_USERNAME, password: System.env.CI_DEPLOY_PASSWORD) | | 117 | + } | | 118 | + pom.project { | | 119 | + name 'Watson Developer Cloud Java SDK' | | 120 | + packaging 'jar' | | 121 | + // optionally artifactId can be defined here | | 122 | + description 'Client library to use the IBM Watson Services and AlchemyAPI' | | 123 | + url 'http://www.example.com/example-application' | | 124 | + | | 125 | + scm { | | 126 | + | | 127 | + | | 128 | + url 'https://github.com/watson-developer-cloud/java-sdk' | | 129 | + } | | 130 | + | | 131 | + licenses { | | 132 | + license { | | 133 | + name 'The Apache License, Version 2.0' | | 134 | + url 'http://www.apache.org/licenses/LICENSE-2.0.txt' | | 135 | + } | | 136 | + } | | 137 | + | | 138 | + developers { | | 139 | + developer { | | 140 | + id 'german' | | 141 | + name 'German Attanasio' | | 142 | + | | 143 | + } | | 144 | + } | | 145 | + } | 114 | 146 | } | 115 | 147 | } | 116 | 148 | } |
Collapse file Copy file name to clipboardExpand all lines: discovery/build.gradle +39-7Lines changed: 39 additions & 7 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -77,12 +77,44 @@ processResources { | 77 | 77 | } | 78 | 78 |
| 79 | 79 | uploadArchives { | 80 | | - repositories.mavenDeployer { | 81 | | - repository(url: "http://oss.sonatype.org/service/local/staging/deploy/maven2/") { | 82 | | - authentication(userName: System.env.CI_DEPLOY_USERNAME, password: System.env.CI_DEPLOY_PASSWORD) | 83 | | - } | 84 | | - snapshotRepository(url: "https://oss.sonatype.org/content/repositories/snapshots/"){ | 85 | | - authentication(userName: System.env.CI_DEPLOY_USERNAME, password: System.env.CI_DEPLOY_PASSWORD) | | 80 | + repositories { | | 81 | + mavenDeployer { | | 82 | + beforeDeployment { MavenDeployment deployment -> signing.signPom(deployment) } | | 83 | + | | 84 | + repository(url: "http://oss.sonatype.org/service/local/staging/deploy/maven2/") { | | 85 | + authentication(userName: System.env.CI_DEPLOY_USERNAME, password: System.env.CI_DEPLOY_PASSWORD) | | 86 | + } | | 87 | + snapshotRepository(url: "https://oss.sonatype.org/content/repositories/snapshots/"){ | | 88 | + authentication(userName: System.env.CI_DEPLOY_USERNAME, password: System.env.CI_DEPLOY_PASSWORD) | | 89 | + } | | 90 | + pom.project { | | 91 | + name 'Watson Developer Cloud Java SDK' | | 92 | + packaging 'jar' | | 93 | + // optionally artifactId can be defined here | | 94 | + description 'Client library to use the IBM Watson Services and AlchemyAPI' | | 95 | + url 'http://www.example.com/example-application' | | 96 | + | | 97 | + scm { | | 98 | + | | 99 | + | | 100 | + url 'https://github.com/watson-developer-cloud/java-sdk' | | 101 | + } | | 102 | + | | 103 | + licenses { | | 104 | + license { | | 105 | + name 'The Apache License, Version 2.0' | | 106 | + url 'http://www.apache.org/licenses/LICENSE-2.0.txt' | | 107 | + } | | 108 | + } | | 109 | + | | 110 | + developers { | | 111 | + developer { | | 112 | + id 'german' | | 113 | + name 'German Attanasio' | | 114 | + | | 115 | + } | | 116 | + } | | 117 | + } | 86 | 118 | } | 87 | 119 | } | 88 | | -} | | 120 | +} |
Collapse file Copy file name to clipboardExpand all lines: document-conversion/build.gradle +38-6Lines changed: 38 additions & 6 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -73,12 +73,44 @@ processResources { | 73 | 73 | } | 74 | 74 |
| 75 | 75 | uploadArchives { | 76 | | - repositories.mavenDeployer { | 77 | | - repository(url: "http://oss.sonatype.org/service/local/staging/deploy/maven2/") { | 78 | | - authentication(userName: System.env.CI_DEPLOY_USERNAME, password: System.env.CI_DEPLOY_PASSWORD) | 79 | | - } | 80 | | - snapshotRepository(url: "https://oss.sonatype.org/content/repositories/snapshots/"){ | 81 | | - authentication(userName: System.env.CI_DEPLOY_USERNAME, password: System.env.CI_DEPLOY_PASSWORD) | | 76 | + repositories { | | 77 | + mavenDeployer { | | 78 | + beforeDeployment { MavenDeployment deployment -> signing.signPom(deployment) } | | 79 | + | | 80 | + repository(url: "http://oss.sonatype.org/service/local/staging/deploy/maven2/") { | | 81 | + authentication(userName: System.env.CI_DEPLOY_USERNAME, password: System.env.CI_DEPLOY_PASSWORD) | | 82 | + } | | 83 | + snapshotRepository(url: "https://oss.sonatype.org/content/repositories/snapshots/"){ | | 84 | + authentication(userName: System.env.CI_DEPLOY_USERNAME, password: System.env.CI_DEPLOY_PASSWORD) | | 85 | + } | | 86 | + pom.project { | | 87 | + name 'Watson Developer Cloud Java SDK' | | 88 | + packaging 'jar' | | 89 | + // optionally artifactId can be defined here | | 90 | + description 'Client library to use the IBM Watson Services and AlchemyAPI' | | 91 | + url 'http://www.example.com/example-application' | | 92 | + | | 93 | + scm { | | 94 | + | | 95 | + | | 96 | + url 'https://github.com/watson-developer-cloud/java-sdk' | | 97 | + } | | 98 | + | | 99 | + licenses { | | 100 | + license { | | 101 | + name 'The Apache License, Version 2.0' | | 102 | + url 'http://www.apache.org/licenses/LICENSE-2.0.txt' | | 103 | + } | | 104 | + } | | 105 | + | | 106 | + developers { | | 107 | + developer { | | 108 | + id 'german' | | 109 | + name 'German Attanasio' | | 110 | + | | 111 | + } | | 112 | + } | | 113 | + } | 82 | 114 | } | 83 | 115 | } | 84 | 116 | } |
Collapse file Copy file name to clipboardExpand all lines: language-translation/build.gradle +39-7Lines changed: 39 additions & 7 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -72,12 +72,44 @@ processResources { | 72 | 72 | } | 73 | 73 |
| 74 | 74 | uploadArchives { | 75 | | - repositories.mavenDeployer { | 76 | | - repository(url: "http://oss.sonatype.org/service/local/staging/deploy/maven2/") { | 77 | | - authentication(userName: System.env.CI_DEPLOY_USERNAME, password: System.env.CI_DEPLOY_PASSWORD) | 78 | | - } | 79 | | - snapshotRepository(url: "https://oss.sonatype.org/content/repositories/snapshots/"){ | 80 | | - authentication(userName: System.env.CI_DEPLOY_USERNAME, password: System.env.CI_DEPLOY_PASSWORD) | | 75 | + repositories { | | 76 | + mavenDeployer { | | 77 | + beforeDeployment { MavenDeployment deployment -> signing.signPom(deployment) } | | 78 | + | | 79 | + repository(url: "http://oss.sonatype.org/service/local/staging/deploy/maven2/") { | | 80 | + authentication(userName: System.env.CI_DEPLOY_USERNAME, password: System.env.CI_DEPLOY_PASSWORD) | | 81 | + } | | 82 | + snapshotRepository(url: "https://oss.sonatype.org/content/repositories/snapshots/"){ | | 83 | + authentication(userName: System.env.CI_DEPLOY_USERNAME, password: System.env.CI_DEPLOY_PASSWORD) | | 84 | + } | | 85 | + pom.project { | | 86 | + name 'Watson Developer Cloud Java SDK' | | 87 | + packaging 'jar' | | 88 | + // optionally artifactId can be defined here | | 89 | + description 'Client library to use the IBM Watson Services and AlchemyAPI' | | 90 | + url 'http://www.example.com/example-application' | | 91 | + | | 92 | + scm { | | 93 | + | | 94 | + | | 95 | + url 'https://github.com/watson-developer-cloud/java-sdk' | | 96 | + } | | 97 | + | | 98 | + licenses { | | 99 | + license { | | 100 | + name 'The Apache License, Version 2.0' | | 101 | + url 'http://www.apache.org/licenses/LICENSE-2.0.txt' | | 102 | + } | | 103 | + } | | 104 | + | | 105 | + developers { | | 106 | + developer { | | 107 | + id 'german' | | 108 | + name 'German Attanasio' | | 109 | + | | 110 | + } | | 111 | + } | | 112 | + } | 81 | 113 | } | 82 | 114 | } | 83 | | -} | | 115 | +} |
|