Skip to content
This repository was archived by the owner on Dec 4, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
8dc166f
add coveralls-maven-plugin for coverage publishing to coveralls.io
Aug 7, 2019
d1f5aab
Add cobertura-maven-plugin
Aug 7, 2019
9f5279f
Add reporting section with cobertura-maven-plugin
Aug 7, 2019
d935162
Add cobertura-maven-plugin stuff to sample
Aug 8, 2019
1cf996e
cobertura plugins moved to the root pom.xml
Aug 8, 2019
16d4056
Plugins added back to the child projects, but without the configurati…
Aug 8, 2019
0246356
Revert "Plugins added back to the child projects, but without the con…
Aug 8, 2019
04cfe80
Revert "cobertura plugins moved to the root pom.xml"
Aug 8, 2019
bbb7f21
Add cobertura-maven-plugin back to rot pom.xml, including outputDirec…
Aug 8, 2019
68ecd17
Add <outputDirectory>../../cobertura-report</outputDirectory> to repo…
Aug 8, 2019
3ab124b
Add separate subfolders to outputDirectory
Aug 8, 2019
e0eb4db
Move outputDirectory spec to build plugin from reporting plugin
Aug 8, 2019
db0d1d1
Add coveralls-maven-plugin to parent pom
Aug 8, 2019
08045a7
Add coveralls-maven-plugin to build section of root pom
Aug 8, 2019
1bf5b85
Add <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding…
Aug 8, 2019
9d48af6
Add to root pom: <outputDirectory>./cobertura-report</outputDirectory>
Aug 8, 2019
8edcd75
Remove reporting section from root pom
Aug 8, 2019
53f0d8d
Fix incorrect outputDirectory in root pom
Aug 8, 2019
5296c74
Add configuration parameter coberturaReports to root pom cobertura-ma…
Aug 8, 2019
d863a70
Change format of coberturaReports list
Aug 8, 2019
d9249fc
Fix coberturaReports list format
Aug 8, 2019
87600e3
Strip coberturaReports, outputDirectory entries from all poms
Aug 8, 2019
779fadb
Revert "Strip coberturaReports, outputDirectory entries from all poms"
Aug 8, 2019
f187267
Revert the last stripping, move coverturaReports section to coveralls…
Aug 8, 2019
d19a175
Add serviceJobId to coveralls-maven-plugin
Aug 8, 2019
f18f107
Changed to <serviceJobId>${env.COVERALLS_SERVICE_JOB_ID}</serviceJobId>
Aug 8, 2019
823847c
Remove repoToken setting from plugin
Aug 8, 2019
568a018
Populate more coveralls variables.
Aug 8, 2019
faf146d
Add branch
Aug 9, 2019
a35b205
Remove reporting sections from pom files
Aug 9, 2019
ad7ed4b
Fix broken pom.xml
Aug 9, 2019
f88f75b
Remove coveralls-maven-plugin from child project poms
Aug 9, 2019
d4cfe0c
Revert "Remove coveralls-maven-plugin from child project poms"
Aug 9, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 21 additions & 1 deletion libraries/bot-connector/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,6 @@
</archive>
</configuration>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
Expand All @@ -145,8 +144,29 @@
<target>1.8</target>
</configuration>
</plugin>
<plugin>
<groupId>org.eluder.coveralls</groupId>
<artifactId>coveralls-maven-plugin</artifactId>
<version>4.3.0</version>
<configuration>
<repoToken>yourcoverallsprojectrepositorytoken</repoToken>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>cobertura-maven-plugin</artifactId>
<version>2.7</version>
<configuration>
<outputDirectory>../../cobertura-report/bot-connector</outputDirectory>
<format>xml</format>
<maxmem>256m</maxmem>
<!-- aggregated reports for multi-module projects -->
<aggregate>true</aggregate>
</configuration>
</plugin>
</plugins>
</build>

</profile>

<profile>
Expand Down
21 changes: 21 additions & 0 deletions libraries/botbuilder-schema/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,29 @@
<target>1.8</target>
</configuration>
</plugin>
<plugin>
<groupId>org.eluder.coveralls</groupId>
<artifactId>coveralls-maven-plugin</artifactId>
<version>4.3.0</version>
<configuration>
<repoToken>yourcoverallsprojectrepositorytoken</repoToken>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>cobertura-maven-plugin</artifactId>
<version>2.7</version>
<configuration>
<outputDirectory>../../cobertura-report/botbuilder-schema</outputDirectory>
<format>xml</format>
<maxmem>256m</maxmem>
<!-- aggregated reports for multi-module projects -->
<aggregate>true</aggregate>
</configuration>
</plugin>
</plugins>
</build>

</profile>

<profile>
Expand Down
21 changes: 20 additions & 1 deletion libraries/botbuilder/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -157,11 +157,30 @@
<archive>
<manifest>
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>

</manifest>
</archive>
</configuration>
</plugin>
<plugin>
<groupId>org.eluder.coveralls</groupId>
<artifactId>coveralls-maven-plugin</artifactId>
<version>4.3.0</version>
<configuration>
<repoToken>yourcoverallsprojectrepositorytoken</repoToken>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>cobertura-maven-plugin</artifactId>
<version>2.7</version>
<configuration>
<outputDirectory>../../cobertura-report/botbuilder</outputDirectory>
<format>xml</format>
<maxmem>256m</maxmem>
<!-- aggregated reports for multi-module projects -->
<aggregate>true</aggregate>
</configuration>
</plugin>
</plugins>
</build>
</profile>
Expand Down
48 changes: 48 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
<url>https://github.com/Microsoft/botbuilder-java</url>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.deploy.skip>true</maven.deploy.skip>
</properties>

Expand All @@ -21,4 +22,51 @@
<module>libraries/bot-connector</module>
<module>samples/bot-connector-sample</module>
</modules>

<build>
<plugins>
<plugin>
<groupId>org.eluder.coveralls</groupId>
<artifactId>coveralls-maven-plugin</artifactId>
<version>4.3.0</version>
<configuration>
<coberturaReports>
<coberturaReport>
./cobertura-report/botbuilder/coverage.xml
</coberturaReport>
<coberturaReport>
./cobertura-report/botbuilder-schema/coverage.xml
</coberturaReport>
<coberturaReport>
./cobertura-report/bot-connector/coverage.xml
</coberturaReport>
<coberturaReport>
./cobertura-report/bot-connector-sample/coverage.xml
</coberturaReport>
</coberturaReports>

<sourceEncoding>UTF-8</sourceEncoding>
<branch>${env.COVERALLS_GIT_BRANCH}</branch>
<pullRequest>${env.COVERALLS_PULL_REQUEST}</pullRequest>
<serviceBuildNumber>${env.COVERALLS_SERVICE_BUILD_NUMBER}</serviceBuildNumber>
<serviceBuildUrl>${env.COVERALLS_SERVICE_BUILD_URL}</serviceBuildUrl>
<serviceJobId>${env.COVERALLS_SERVICE_JOB_ID}</serviceJobId>
<serviceName>${env.COVERALLS_SERVICE_NAME}</serviceName>
</configuration>
</plugin>

<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>cobertura-maven-plugin</artifactId>
<version>2.7</version>
<configuration>
<formats>
<format>xml</format>
</formats>
<aggregate>true</aggregate>
</configuration>
</plugin>
</plugins>
</build>

</project>
21 changes: 21 additions & 0 deletions samples/bot-connector-sample/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,28 @@
</archive>
</configuration>
</plugin>
<plugin>
<groupId>org.eluder.coveralls</groupId>
<artifactId>coveralls-maven-plugin</artifactId>
<version>4.3.0</version>
<configuration>
<repoToken>yourcoverallsprojectrepositorytoken</repoToken>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>cobertura-maven-plugin</artifactId>
<version>2.7</version>
<configuration>
<outputDirectory>../../cobertura-report/bot-connector-sample</outputDirectory>
<format>xml</format>
<maxmem>256m</maxmem>
<!-- aggregated reports for multi-module projects -->
<aggregate>true</aggregate>
</configuration>
</plugin>

</plugins>
</build>

</project>