Skip to content

Commit 16d9b60

Browse files
committed
Changed JaCoCo plugin location
1 parent 50dd31f commit 16d9b60

4 files changed

Lines changed: 30 additions & 186 deletions

File tree

libraries/bot-connector/pom.xml

Lines changed: 8 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,7 @@
118118
</resource>
119119
</resources>
120120
<plugins>
121+
121122
<plugin>
122123
<groupId>org.apache.maven.plugins</groupId>
123124
<artifactId>maven-jar-plugin</artifactId>
@@ -141,6 +142,13 @@
141142
<target>1.8</target>
142143
</configuration>
143144
</plugin>
145+
146+
<plugin>
147+
<groupId>org.jacoco</groupId>
148+
<artifactId>jacoco-maven-plugin</artifactId>
149+
<version>0.8.2</version>
150+
</plugin>
151+
144152
</plugins>
145153
</build>
146154
</profile>
@@ -227,54 +235,6 @@
227235
</configuration>
228236
</plugin>
229237

230-
<plugin>
231-
<groupId>org.codehaus.mojo</groupId>
232-
<artifactId>cobertura-maven-plugin</artifactId>
233-
<version>2.7</version>
234-
</plugin>
235-
236-
<plugin>
237-
<groupId>org.jacoco</groupId>
238-
<artifactId>jacoco-maven-plugin</artifactId>
239-
<version>0.8.3-SNAPSHOT</version>
240-
<executions>
241-
<execution>
242-
<id>default-prepare-agent</id>
243-
<goals>
244-
<goal>prepare-agent</goal>
245-
</goals>
246-
</execution>
247-
<execution>
248-
<id>default-report</id>
249-
<goals>
250-
<goal>report</goal>
251-
</goals>
252-
</execution>
253-
<execution>
254-
<id>default-check</id>
255-
<goals>
256-
<goal>check</goal>
257-
</goals>
258-
<configuration>
259-
<rules>
260-
<!-- implementation is needed only for Maven 2 -->
261-
<rule implementation="org.jacoco.maven.RuleConfiguration">
262-
<element>BUNDLE</element>
263-
<limits>
264-
<!-- implementation is needed only for Maven 2 -->
265-
<limit implementation="org.jacoco.report.check.Limit">
266-
<counter>COMPLEXITY</counter>
267-
<value>COVEREDRATIO</value>
268-
<minimum>0.60</minimum>
269-
</limit>
270-
</limits>
271-
</rule>
272-
</rules>
273-
</configuration>
274-
</execution>
275-
</executions>
276-
</plugin>
277-
278238
</plugins>
279239
</build>
280240
</profile>

libraries/botbuilder-schema/pom.xml

Lines changed: 7 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,13 @@
9090
<target>1.8</target>
9191
</configuration>
9292
</plugin>
93+
94+
<plugin>
95+
<groupId>org.jacoco</groupId>
96+
<artifactId>jacoco-maven-plugin</artifactId>
97+
<version>0.8.2</version>
98+
</plugin>
99+
93100
</plugins>
94101
</build>
95102
</profile>
@@ -162,54 +169,6 @@
162169
</executions>
163170
</plugin>
164171

165-
<plugin>
166-
<groupId>org.codehaus.mojo</groupId>
167-
<artifactId>cobertura-maven-plugin</artifactId>
168-
<version>2.7</version>
169-
</plugin>
170-
171-
<plugin>
172-
<groupId>org.jacoco</groupId>
173-
<artifactId>jacoco-maven-plugin</artifactId>
174-
<version>0.8.3-SNAPSHOT</version>
175-
<executions>
176-
<execution>
177-
<id>default-prepare-agent</id>
178-
<goals>
179-
<goal>prepare-agent</goal>
180-
</goals>
181-
</execution>
182-
<execution>
183-
<id>default-report</id>
184-
<goals>
185-
<goal>report</goal>
186-
</goals>
187-
</execution>
188-
<execution>
189-
<id>default-check</id>
190-
<goals>
191-
<goal>check</goal>
192-
</goals>
193-
<configuration>
194-
<rules>
195-
<!-- implementation is needed only for Maven 2 -->
196-
<rule implementation="org.jacoco.maven.RuleConfiguration">
197-
<element>BUNDLE</element>
198-
<limits>
199-
<!-- implementation is needed only for Maven 2 -->
200-
<limit implementation="org.jacoco.report.check.Limit">
201-
<counter>COMPLEXITY</counter>
202-
<value>COVEREDRATIO</value>
203-
<minimum>0.60</minimum>
204-
</limit>
205-
</limits>
206-
</rule>
207-
</rules>
208-
</configuration>
209-
</execution>
210-
</executions>
211-
</plugin>
212-
213172
</plugins>
214173
</build>
215174
</profile>

libraries/botbuilder/pom.xml

Lines changed: 10 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,7 @@
136136
</activation>
137137
<build>
138138
<plugins>
139+
139140
<plugin>
140141
<groupId>org.apache.maven.plugins</groupId>
141142
<artifactId>maven-compiler-plugin</artifactId>
@@ -145,6 +146,7 @@
145146
<target>1.8</target>
146147
</configuration>
147148
</plugin>
149+
148150
<plugin>
149151
<groupId>org.apache.maven.plugins</groupId>
150152
<artifactId>maven-jar-plugin</artifactId>
@@ -158,6 +160,13 @@
158160
</archive>
159161
</configuration>
160162
</plugin>
163+
164+
<plugin>
165+
<groupId>org.jacoco</groupId>
166+
<artifactId>jacoco-maven-plugin</artifactId>
167+
<version>0.8.2</version>
168+
</plugin>
169+
161170
</plugins>
162171
</build>
163172
</profile>
@@ -229,6 +238,7 @@
229238
</execution>
230239
</executions>
231240
</plugin>
241+
232242
<plugin>
233243
<groupId>org.apache.maven.plugins</groupId>
234244
<artifactId>maven-jar-plugin</artifactId>
@@ -243,54 +253,6 @@
243253
</configuration>
244254
</plugin>
245255

246-
<plugin>
247-
<groupId>org.codehaus.mojo</groupId>
248-
<artifactId>cobertura-maven-plugin</artifactId>
249-
<version>2.7</version>
250-
</plugin>
251-
252-
<plugin>
253-
<groupId>org.jacoco</groupId>
254-
<artifactId>jacoco-maven-plugin</artifactId>
255-
<version>0.8.3-SNAPSHOT</version>
256-
<executions>
257-
<execution>
258-
<id>default-prepare-agent</id>
259-
<goals>
260-
<goal>prepare-agent</goal>
261-
</goals>
262-
</execution>
263-
<execution>
264-
<id>default-report</id>
265-
<goals>
266-
<goal>report</goal>
267-
</goals>
268-
</execution>
269-
<execution>
270-
<id>default-check</id>
271-
<goals>
272-
<goal>check</goal>
273-
</goals>
274-
<configuration>
275-
<rules>
276-
<!-- implementation is needed only for Maven 2 -->
277-
<rule implementation="org.jacoco.maven.RuleConfiguration">
278-
<element>BUNDLE</element>
279-
<limits>
280-
<!-- implementation is needed only for Maven 2 -->
281-
<limit implementation="org.jacoco.report.check.Limit">
282-
<counter>COMPLEXITY</counter>
283-
<value>COVEREDRATIO</value>
284-
<minimum>0.60</minimum>
285-
</limit>
286-
</limits>
287-
</rule>
288-
</rules>
289-
</configuration>
290-
</execution>
291-
</executions>
292-
</plugin>
293-
294256
</plugins>
295257
</build>
296258
</profile>

samples/bot-connector-sample/pom.xml

Lines changed: 5 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@
7070
<target>1.8</target>
7171
</configuration>
7272
</plugin>
73+
7374
<plugin>
7475
<groupId>org.codehaus.mojo</groupId>
7576
<artifactId>exec-maven-plugin</artifactId>
@@ -78,6 +79,7 @@
7879
<mainClass>com.microsoft.bot.connector.sample.App</mainClass>
7980
</configuration>
8081
</plugin>
82+
8183
<plugin>
8284
<groupId>org.apache.maven.plugins</groupId>
8385
<artifactId>maven-jar-plugin</artifactId>
@@ -90,52 +92,13 @@
9092
</archive>
9193
</configuration>
9294
</plugin>
93-
<plugin>
94-
<groupId>org.codehaus.mojo</groupId>
95-
<artifactId>cobertura-maven-plugin</artifactId>
96-
<version>2.7</version>
97-
</plugin>
95+
9896
<plugin>
9997
<groupId>org.jacoco</groupId>
10098
<artifactId>jacoco-maven-plugin</artifactId>
101-
<version>0.8.3-SNAPSHOT</version>
102-
<executions>
103-
<execution>
104-
<id>default-prepare-agent</id>
105-
<goals>
106-
<goal>prepare-agent</goal>
107-
</goals>
108-
</execution>
109-
<execution>
110-
<id>default-report</id>
111-
<goals>
112-
<goal>report</goal>
113-
</goals>
114-
</execution>
115-
<execution>
116-
<id>default-check</id>
117-
<goals>
118-
<goal>check</goal>
119-
</goals>
120-
<configuration>
121-
<rules>
122-
<!-- implementation is needed only for Maven 2 -->
123-
<rule implementation="org.jacoco.maven.RuleConfiguration">
124-
<element>BUNDLE</element>
125-
<limits>
126-
<!-- implementation is needed only for Maven 2 -->
127-
<limit implementation="org.jacoco.report.check.Limit">
128-
<counter>COMPLEXITY</counter>
129-
<value>COVEREDRATIO</value>
130-
<minimum>0.60</minimum>
131-
</limit>
132-
</limits>
133-
</rule>
134-
</rules>
135-
</configuration>
136-
</execution>
137-
</executions>
99+
<version>0.8.2</version>
138100
</plugin>
101+
139102
</plugins>
140103
</build>
141104
</project>

0 commit comments

Comments
 (0)