Skip to content
Permalink
Browse files

Added the rest of PR #236

  • Loading branch information
ndw committed Aug 14, 2016
1 parent 0056eda commit 67681dcbe0c59f605f1a579888fedf6c650ba508
Showing with 49 additions and 40 deletions.
  1. +49 −40 build.gradle
@@ -427,6 +427,54 @@ gradle.taskGraph.whenReady { taskGraph ->
}
}

def mavenPom = {
name 'XML Calabash'
packaging 'jar'
description 'An XProc 1.0 processor'
url 'https://github.com/ndw/xmlcalabash1'

scm {
url 'scm:git@github.com:ndw/xmlcalabash1.git'
connection 'scm:git@github.com:ndw/xmlcalabash1.git'
developerConnection 'scm:git@github.com:ndw/xmlcalabash1.git'
}

licenses {
license {
name 'Common Development and Distribution License (CDDL) version 1.0'
url 'http://www.opensource.org/licenses/cddl1.txt'
distribution 'repo'
}
license {
name 'GNU General Public License version 2'
url 'http://www.gnu.org/licenses/gpl-2.0.txt'
distribution 'repo'
}
}

developers {
developer {
id 'ndw'
name 'Norman Walsh'
}
}

repositories {
repository {
id 'restlet'
url 'http://maven.restlet.org'
}
}
}

install {
repositories {
mavenInstaller {
pom.project(mavenPom)
}
}
}

uploadArchives {
repositories {
mavenDeployer {
@@ -442,46 +490,7 @@ uploadArchives {
authentication(userName: sonatypeUsername, password: sonatypePassword)
}

pom.project {
name 'XML Calabash'
packaging 'jar'
description 'An XProc 1.0 processor'
url 'https://github.com/ndw/xmlcalabash1'

scm {
url 'scm:git@github.com:ndw/xmlcalabash1.git'
connection 'scm:git@github.com:ndw/xmlcalabash1.git'
developerConnection 'scm:git@github.com:ndw/xmlcalabash1.git'
}

licenses {
license {
name 'Common Development and Distribution License (CDDL) version 1.0'
url 'http://www.opensource.org/licenses/cddl1.txt'
distribution 'repo'
}
license {
name 'GNU General Public License version 2'
url 'http://www.gnu.org/licenses/gpl-2.0.txt'
distribution 'repo'
}
}

repositories {
repository {
id 'maven-restlet'
name 'Public online Restlet repository'
url 'http://maven.restlet.org'
}
}

developers {
developer {
id 'ndw'
name 'Norman Walsh'
}
}
}
pom.project(mavenPom)
}
}
}

0 comments on commit 67681dc

Please sign in to comment.
You can’t perform that action at this time.