Skip to content

Commit 83159a2

Browse files
committed
add scm and developer in pom generation
Signed-off-by: Leo Ma <[email protected]>
1 parent 8c605cc commit 83159a2

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

build.gradle

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,13 +49,34 @@ task writePom {
4949
doLast {
5050
pom {
5151
project {
52+
name 'TRex Java Sdk'
53+
packaging 'jar'
5254
artifactId 'trex-java-sdk'
55+
description 'Java client SDK provides an implementation for TRex RPC APIs'
56+
url 'https://github.com/cisco-system-traffic-generator/trex-java-sdk'
5357
licenses {
5458
license {
5559
name 'The Apache Software License, Version 2.0'
5660
url 'http://www.apache.org/licenses/LICENSE-2.0.txt'
5761
}
5862
}
63+
64+
scm {
65+
connection 'scm:git:git://github.com/cisco-system-traffic-generator/trex-java-sdk.git'
66+
developerConnection 'scm:git:ssh://github.com:cisco-system-traffic-generator/trex-java-sdk.git'
67+
url 'https://github.com/cisco-system-traffic-generator/trex-java-sdk'
68+
}
69+
70+
developers {
71+
developer {
72+
name 'Leo Ma'
73+
74+
}
75+
developer {
76+
name 'Emil Gustafsson'
77+
78+
}
79+
}
5980
}
6081
}.writeTo("pom.xml")
6182
}

0 commit comments

Comments
 (0)