Skip to content

Commit ec31634

Browse files
committed
build: Build and package tests along with source code
1 parent 7ec4e3e commit ec31634

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
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"

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)