Navigation Menu

Skip to content

Commit

Permalink
0002175: Package jt400 ibm as400/iSeries jar file with SymmetricDS
Browse files Browse the repository at this point in the history
  • Loading branch information
chenson42 committed Feb 3, 2015
1 parent c60928b commit b9c1127
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 2 deletions.
6 changes: 4 additions & 2 deletions symmetric-assemble/common.gradle
Expand Up @@ -129,6 +129,7 @@ subprojects { subproject ->
hsqldbVersion = '2.3.2'
sqliteVersion = '3.8.7'
firebirdVersion = '2.1.6'
jt400Version = '8.4'
javaMailVersion = '1.4.7'
jdomVersion = '2.0.5'
junitVersion = '4.11'
Expand All @@ -142,8 +143,8 @@ subprojects { subproject ->
jtdsVersion = '1.2.8'
bouncyCastleVersion = '140'
animalSnifferVersion = '1.10'
jnaVersion = "4.1.0"
jettyVersion = "7.6.3.v20120416"
jnaVersion = '4.1.0'
jettyVersion = '7.6.3.v20120416'

env = System.getenv()
}
Expand All @@ -170,6 +171,7 @@ subprojects { subproject ->
exclude group: 'log4j'
exclude group: 'junit'
}
provided ("net.sf.jt400:jt400:$jt400Version")
// javax.resource needed by jaybird
provided "org.apache.geronimo.specs:geronimo-j2ee-connector_1.6_spec:1.0"

Expand Down
36 changes: 36 additions & 0 deletions symmetric-assemble/standalone.publish.gradle
@@ -0,0 +1,36 @@
/*
* This gradle script publishes jar files to a maven repository.
* Modify file path and pom info: ./gradlew -b standalone.publish.gradle uploadAllJars
*/

apply plugin:'maven'

configurations{ allJars }

artifacts{ allJars file("/Users/cshenso/Dropbox/Jdbc/jt400.jar") }

configurations { deployerJars }

repositories {
mavenCentral()
}

uploadAllJars {
repositories {
mavenDeployer {
configuration = configurations.deployerJars
repository(url: deployUploadUrl) {
authentication(userName: deployUser, password: deployPassword)
}
pom.version = "8.4"
pom.artifactId = "jt400"
pom.groupId = "net.sf.jt400"
}
}

}

dependencies {
deployerJars "org.apache.maven.wagon:wagon-ssh:2.2"

}

0 comments on commit b9c1127

Please sign in to comment.