Skip to content

Commit 37f3efe

Browse files
lpatino10padamstx
authored andcommitted
Expose tests in library (#11)
* build: Build and package tests along with source code * fixed typo in sync2MC script
1 parent 7ec4e3e commit 37f3efe

File tree

3 files changed

+17
-1
lines changed

3 files changed

+17
-1
lines changed

build/bintray-config.template

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@
2525
"includePattern": "target/sdk-core-${TRAVIS_TAG}-javadoc.jar",
2626
"uploadPattern": "com/ibm/cloud/sdk-core/${TRAVIS_TAG}/sdk-core-${TRAVIS_TAG}-javadoc.jar"
2727
},
28+
{
29+
"includePattern": "target/sdk-core-${TRAVIS_TAG}-tests.jar",
30+
"uploadPattern": "com/ibm/cloud/sdk-core/${TRAVIS_TAG}/sdk-core-${TRAVIS_TAG}-tests.jar"
31+
},
2832
{
2933
"includePattern": "pom.xml",
3034
"uploadPattern": "com/ibm/cloud/sdk-core/${TRAVIS_TAG}/sdk-core-${TRAVIS_TAG}.pom"

build/sync2MC.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

3-
if [ $# -lt 5 ]
3+
if [ $# -lt 6 ]
44
then
55
echo "
66
Syntax:

pom.xml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,18 @@
257257
<!-- <configuration> <suiteXmlFiles> <suiteXmlFile>src/test/java/testng.xml</suiteXmlFile>
258258
</suiteXmlFiles> </configuration> -->
259259
</plugin>
260+
<plugin>
261+
<groupId>org.apache.maven.plugins</groupId>
262+
<artifactId>maven-jar-plugin</artifactId>
263+
<version>3.0.2</version>
264+
<executions>
265+
<execution>
266+
<goals>
267+
<goal>test-jar</goal>
268+
</goals>
269+
</execution>
270+
</executions>
271+
</plugin>
260272
</plugins>
261273
</build>
262274

0 commit comments

Comments
 (0)