Skip to content

Commit 1e4f5c0

Browse files
committed
Add JaCoCo reports to site generation
- Use @{argLine} with Surefire - Add jacoco.profile files to code modules
1 parent ce99aac commit 1e4f5c0

File tree

8 files changed

+56
-4
lines changed

8 files changed

+56
-4
lines changed

commons-vfs2-hdfs/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@
192192
<groupId>org.apache.maven.plugins</groupId>
193193
<artifactId>maven-surefire-plugin</artifactId>
194194
<configuration>
195-
<argLine>-Djava.security.manager=allow</argLine>
195+
<argLine>@{argLine} -Djava.security.manager=allow</argLine>
196196
</configuration>
197197
</plugin>
198198
</plugins>
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
// Licensed to the Apache Software Foundation (ASF) under one
2+
// or more contributor license agreements. See the NOTICE file
3+
// distributed with this work for additional information
4+
// regarding copyright ownership. The ASF licenses this file
5+
// to you under the Apache License, Version 2.0 (the
6+
// "License"); you may not use this file except in compliance
7+
// with the License. You may obtain a copy of the License at
8+
//
9+
// https://www.apache.org/licenses/LICENSE-2.0
10+
//
11+
// Unless required by applicable law or agreed to in writing,
12+
// software distributed under the License is distributed on an
13+
// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14+
// KIND, either express or implied. See the License for the
15+
// specific language governing permissions and limitations
16+
// under the License.
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
// Licensed to the Apache Software Foundation (ASF) under one
2+
// or more contributor license agreements. See the NOTICE file
3+
// distributed with this work for additional information
4+
// regarding copyright ownership. The ASF licenses this file
5+
// to you under the Apache License, Version 2.0 (the
6+
// "License"); you may not use this file except in compliance
7+
// with the License. You may obtain a copy of the License at
8+
//
9+
// https://www.apache.org/licenses/LICENSE-2.0
10+
//
11+
// Unless required by applicable law or agreed to in writing,
12+
// software distributed under the License is distributed on an
13+
// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14+
// KIND, either express or implied. See the License for the
15+
// specific language governing permissions and limitations
16+
// under the License.
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
// Licensed to the Apache Software Foundation (ASF) under one
2+
// or more contributor license agreements. See the NOTICE file
3+
// distributed with this work for additional information
4+
// regarding copyright ownership. The ASF licenses this file
5+
// to you under the Apache License, Version 2.0 (the
6+
// "License"); you may not use this file except in compliance
7+
// with the License. You may obtain a copy of the License at
8+
//
9+
// https://www.apache.org/licenses/LICENSE-2.0
10+
//
11+
// Unless required by applicable law or agreed to in writing,
12+
// software distributed under the License is distributed on an
13+
// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14+
// KIND, either express or implied. See the License for the
15+
// specific language governing permissions and limitations
16+
// under the License.
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/sh
2+
# Just call the standard mirrors.cgi script. It will use download.html
3+
# as the input template.
4+
exec /www/www.apache.org/dyn/mirrors/mirrors.cgi $*
11.4 KB
Loading

pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@
232232
<groupId>org.apache.maven.plugins</groupId>
233233
<artifactId>maven-surefire-plugin</artifactId>
234234
<configuration>
235-
<argLine>-Xmx64m</argLine>
235+
<argLine>@{argLine} -Xmx64m</argLine>
236236
</configuration>
237237
</plugin>
238238
<plugin>
@@ -630,8 +630,8 @@
630630
<artifactId>maven-surefire-plugin</artifactId>
631631
<configuration>
632632
<!-- For AbstractTestSuite output of debug information. -->
633-
<!-- ${argLine} must be there for JaCoCo. -->
634-
<argLine>${argLine} --add-opens java.base/java.lang=ALL-UNNAMED</argLine>
633+
<!-- @{argLine} must be there for JaCoCo. -->
634+
<argLine>@{argLine} --add-opens java.base/java.lang=ALL-UNNAMED</argLine>
635635
</configuration>
636636
</plugin>
637637
</plugins>

0 commit comments

Comments
 (0)