Skip to content

Commit 117f61a

Browse files
mattnelsonmichael-o
authored andcommitted
[MPLUGIN-529] Add new report goal 'report-no-fork' which will not invoke process-classes
Co-authored-by: Michael Osipov <michaelo@apache.org> This closes #310
1 parent a557837 commit 117f61a

File tree

20 files changed

+823
-180
lines changed

20 files changed

+823
-180
lines changed

maven-plugin-report-plugin/src/it/fix-maven-since-3.x/pom.xml

+7
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,13 @@
9393
<groupId>org.apache.maven.plugins</groupId>
9494
<artifactId>maven-plugin-report-plugin</artifactId>
9595
<version>@project.version@</version>
96+
<reportSets>
97+
<reportSet>
98+
<reports>
99+
<report>report</report>
100+
</reports>
101+
</reportSet>
102+
</reportSets>
96103
</plugin>
97104
</plugins>
98105
</reporting>
Original file line numberDiff line numberDiff line change
@@ -1,86 +1,92 @@
1-
<?xml version="1.0" encoding="UTF-8"?>
2-
3-
<!--
4-
Licensed to the Apache Software Foundation (ASF) under one
5-
or more contributor license agreements. See the NOTICE file
6-
distributed with this work for additional information
7-
regarding copyright ownership. The ASF licenses this file
8-
to you under the Apache License, Version 2.0 (the
9-
"License"); you may not use this file except in compliance
10-
with the License. You may obtain a copy of the License at
11-
12-
http://www.apache.org/licenses/LICENSE-2.0
13-
14-
Unless required by applicable law or agreed to in writing,
15-
software distributed under the License is distributed on an
16-
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
17-
KIND, either express or implied. See the License for the
18-
specific language governing permissions and limitations
19-
under the License.
20-
-->
21-
22-
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
23-
<modelVersion>4.0.0</modelVersion>
24-
25-
<groupId>org.apache.maven.plugins.plugin.its</groupId>
26-
<artifactId>mplugin-191</artifactId>
27-
<version>1.0-SNAPSHOT</version>
28-
<packaging>maven-plugin</packaging>
29-
30-
<description>Verify that plugin-info.html and mojo pages are generated in the correct folder</description>
31-
32-
<properties>
33-
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
34-
</properties>
35-
36-
<dependencies>
37-
<dependency>
38-
<groupId>org.apache.maven.plugin-tools</groupId>
39-
<artifactId>maven-plugin-annotations</artifactId>
40-
<version>@project.version@</version>
41-
<scope>provided</scope>
42-
</dependency>
43-
<dependency>
44-
<groupId>org.apache.maven</groupId>
45-
<artifactId>maven-plugin-api</artifactId>
46-
<version>@maven3Version@</version>
47-
<scope>provided</scope>
48-
</dependency>
49-
</dependencies>
50-
51-
<build>
52-
<plugins>
53-
<plugin>
54-
<groupId>org.apache.maven.plugins</groupId>
55-
<artifactId>maven-compiler-plugin</artifactId>
56-
<version>@compilerPluginVersion@</version>
57-
</plugin>
58-
<plugin>
59-
<groupId>org.apache.maven.plugins</groupId>
60-
<artifactId>maven-plugin-plugin</artifactId>
61-
<version>@project.version@</version>
62-
<configuration>
63-
<skipErrorNoDescriptorsFound>true</skipErrorNoDescriptorsFound>
64-
<goalPrefix>prefix</goalPrefix>
65-
</configuration>
66-
</plugin>
67-
<plugin>
68-
<groupId>org.apache.maven.plugins</groupId>
69-
<artifactId>maven-site-plugin</artifactId>
70-
<version>@sitePluginVersion@</version>
71-
</plugin>
72-
</plugins>
73-
</build>
74-
75-
<reporting>
76-
<excludeDefaults>true</excludeDefaults>
77-
<plugins>
78-
<plugin>
79-
<groupId>org.apache.maven.plugins</groupId>
80-
<artifactId>maven-plugin-report-plugin</artifactId>
81-
<version>@project.version@</version>
82-
</plugin>
83-
</plugins>
84-
</reporting>
85-
86-
</project>
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
3+
<!--
4+
Licensed to the Apache Software Foundation (ASF) under one
5+
or more contributor license agreements. See the NOTICE file
6+
distributed with this work for additional information
7+
regarding copyright ownership. The ASF licenses this file
8+
to you under the Apache License, Version 2.0 (the
9+
"License"); you may not use this file except in compliance
10+
with the License. You may obtain a copy of the License at
11+
12+
http://www.apache.org/licenses/LICENSE-2.0
13+
14+
Unless required by applicable law or agreed to in writing,
15+
software distributed under the License is distributed on an
16+
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
17+
KIND, either express or implied. See the License for the
18+
specific language governing permissions and limitations
19+
under the License.
20+
-->
21+
22+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
23+
<modelVersion>4.0.0</modelVersion>
24+
25+
<groupId>org.apache.maven.plugins.plugin.its</groupId>
26+
<artifactId>mplugin-191</artifactId>
27+
<version>1.0-SNAPSHOT</version>
28+
<packaging>maven-plugin</packaging>
29+
30+
<description>Verify that plugin-info.html and mojo pages are generated in the correct folder</description>
31+
32+
<properties>
33+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
34+
</properties>
35+
36+
<dependencies>
37+
<dependency>
38+
<groupId>org.apache.maven.plugin-tools</groupId>
39+
<artifactId>maven-plugin-annotations</artifactId>
40+
<version>@project.version@</version>
41+
<scope>provided</scope>
42+
</dependency>
43+
<dependency>
44+
<groupId>org.apache.maven</groupId>
45+
<artifactId>maven-plugin-api</artifactId>
46+
<version>@maven3Version@</version>
47+
<scope>provided</scope>
48+
</dependency>
49+
</dependencies>
50+
51+
<build>
52+
<plugins>
53+
<plugin>
54+
<groupId>org.apache.maven.plugins</groupId>
55+
<artifactId>maven-compiler-plugin</artifactId>
56+
<version>@compilerPluginVersion@</version>
57+
</plugin>
58+
<plugin>
59+
<groupId>org.apache.maven.plugins</groupId>
60+
<artifactId>maven-plugin-plugin</artifactId>
61+
<version>@project.version@</version>
62+
<configuration>
63+
<skipErrorNoDescriptorsFound>true</skipErrorNoDescriptorsFound>
64+
<goalPrefix>prefix</goalPrefix>
65+
</configuration>
66+
</plugin>
67+
<plugin>
68+
<groupId>org.apache.maven.plugins</groupId>
69+
<artifactId>maven-site-plugin</artifactId>
70+
<version>@sitePluginVersion@</version>
71+
</plugin>
72+
</plugins>
73+
</build>
74+
75+
<reporting>
76+
<excludeDefaults>true</excludeDefaults>
77+
<plugins>
78+
<plugin>
79+
<groupId>org.apache.maven.plugins</groupId>
80+
<artifactId>maven-plugin-report-plugin</artifactId>
81+
<version>@project.version@</version>
82+
<reportSets>
83+
<reportSet>
84+
<reports>
85+
<report>report</report>
86+
</reports>
87+
</reportSet>
88+
</reportSets>
89+
</plugin>
90+
</plugins>
91+
</reporting>
92+
</project>
Original file line numberDiff line numberDiff line change
@@ -1,91 +1,98 @@
1-
<?xml version="1.0" encoding="UTF-8"?>
2-
3-
<!--
4-
Licensed to the Apache Software Foundation (ASF) under one
5-
or more contributor license agreements. See the NOTICE file
6-
distributed with this work for additional information
7-
regarding copyright ownership. The ASF licenses this file
8-
to you under the Apache License, Version 2.0 (the
9-
"License"); you may not use this file except in compliance
10-
with the License. You may obtain a copy of the License at
11-
12-
http://www.apache.org/licenses/LICENSE-2.0
13-
14-
Unless required by applicable law or agreed to in writing,
15-
software distributed under the License is distributed on an
16-
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
17-
KIND, either express or implied. See the License for the
18-
specific language governing permissions and limitations
19-
under the License.
20-
-->
21-
22-
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
23-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
24-
<modelVersion>4.0.0</modelVersion>
25-
26-
<groupId>org.apache.maven.plugins.its.plugin</groupId>
27-
<artifactId>report-since</artifactId>
28-
<version>1.0-SNAPSHOT</version>
29-
<packaging>maven-plugin</packaging>
30-
31-
<properties>
32-
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
33-
</properties>
34-
35-
<dependencies>
36-
<dependency>
37-
<groupId>org.apache.maven</groupId>
38-
<artifactId>maven-plugin-api</artifactId>
39-
<version>@maven3Version@</version>
40-
<scope>provided</scope>
41-
</dependency>
42-
</dependencies>
43-
44-
<build>
45-
<pluginManagement>
46-
<plugins>
47-
<plugin>
48-
<groupId>org.apache.maven.plugins</groupId>
49-
<artifactId>maven-compiler-plugin</artifactId>
50-
<version>@compilerPluginVersion@</version>
51-
</plugin>
52-
<plugin>
53-
<groupId>org.apache.maven.plugins</groupId>
54-
<artifactId>maven-plugin-plugin</artifactId>
55-
<version>@project.version@</version>
56-
<configuration>
57-
<goalPrefix>prefix</goalPrefix>
58-
</configuration>
59-
</plugin>
60-
<plugin>
61-
<groupId>org.apache.maven.plugins</groupId>
62-
<artifactId>maven-site-plugin</artifactId>
63-
<version>@sitePluginVersion@</version>
64-
</plugin>
65-
</plugins>
66-
</pluginManagement>
67-
</build>
68-
69-
<reporting>
70-
<excludeDefaults>true</excludeDefaults>
71-
<plugins>
72-
<plugin>
73-
<groupId>org.apache.maven.plugins</groupId>
74-
<artifactId>maven-project-info-reports-plugin</artifactId>
75-
<version>@projectInfoReportsPlugin@</version>
76-
<reportSets>
77-
<reportSet>
78-
<reports>
79-
<report>index</report>
80-
</reports>
81-
</reportSet>
82-
</reportSets>
83-
</plugin>
84-
<plugin>
85-
<groupId>org.apache.maven.plugins</groupId>
86-
<artifactId>maven-plugin-report-plugin</artifactId>
87-
<version>@project.version@</version>
88-
</plugin>
89-
</plugins>
90-
</reporting>
91-
</project>
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
3+
<!--
4+
Licensed to the Apache Software Foundation (ASF) under one
5+
or more contributor license agreements. See the NOTICE file
6+
distributed with this work for additional information
7+
regarding copyright ownership. The ASF licenses this file
8+
to you under the Apache License, Version 2.0 (the
9+
"License"); you may not use this file except in compliance
10+
with the License. You may obtain a copy of the License at
11+
12+
http://www.apache.org/licenses/LICENSE-2.0
13+
14+
Unless required by applicable law or agreed to in writing,
15+
software distributed under the License is distributed on an
16+
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
17+
KIND, either express or implied. See the License for the
18+
specific language governing permissions and limitations
19+
under the License.
20+
-->
21+
22+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
23+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
24+
<modelVersion>4.0.0</modelVersion>
25+
26+
<groupId>org.apache.maven.plugins.its.plugin</groupId>
27+
<artifactId>report-since</artifactId>
28+
<version>1.0-SNAPSHOT</version>
29+
<packaging>maven-plugin</packaging>
30+
31+
<properties>
32+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
33+
</properties>
34+
35+
<dependencies>
36+
<dependency>
37+
<groupId>org.apache.maven</groupId>
38+
<artifactId>maven-plugin-api</artifactId>
39+
<version>@maven3Version@</version>
40+
<scope>provided</scope>
41+
</dependency>
42+
</dependencies>
43+
44+
<build>
45+
<pluginManagement>
46+
<plugins>
47+
<plugin>
48+
<groupId>org.apache.maven.plugins</groupId>
49+
<artifactId>maven-compiler-plugin</artifactId>
50+
<version>@compilerPluginVersion@</version>
51+
</plugin>
52+
<plugin>
53+
<groupId>org.apache.maven.plugins</groupId>
54+
<artifactId>maven-plugin-plugin</artifactId>
55+
<version>@project.version@</version>
56+
<configuration>
57+
<goalPrefix>prefix</goalPrefix>
58+
</configuration>
59+
</plugin>
60+
<plugin>
61+
<groupId>org.apache.maven.plugins</groupId>
62+
<artifactId>maven-site-plugin</artifactId>
63+
<version>@sitePluginVersion@</version>
64+
</plugin>
65+
</plugins>
66+
</pluginManagement>
67+
</build>
68+
69+
<reporting>
70+
<excludeDefaults>true</excludeDefaults>
71+
<plugins>
72+
<plugin>
73+
<groupId>org.apache.maven.plugins</groupId>
74+
<artifactId>maven-project-info-reports-plugin</artifactId>
75+
<version>@projectInfoReportsPlugin@</version>
76+
<reportSets>
77+
<reportSet>
78+
<reports>
79+
<report>index</report>
80+
</reports>
81+
</reportSet>
82+
</reportSets>
83+
</plugin>
84+
<plugin>
85+
<groupId>org.apache.maven.plugins</groupId>
86+
<artifactId>maven-plugin-report-plugin</artifactId>
87+
<version>@project.version@</version>
88+
<reportSets>
89+
<reportSet>
90+
<reports>
91+
<report>report</report>
92+
</reports>
93+
</reportSet>
94+
</reportSets>
95+
</plugin>
96+
</plugins>
97+
</reporting>
98+
</project>

maven-plugin-report-plugin/src/it/mplugin-394_report-encoding/pom.xml

+7
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,13 @@ under the License.
8484
<groupId>org.apache.maven.plugins</groupId>
8585
<artifactId>maven-plugin-report-plugin</artifactId>
8686
<version>@project.version@</version>
87+
<reportSets>
88+
<reportSet>
89+
<reports>
90+
<report>report</report>
91+
</reports>
92+
</reportSet>
93+
</reportSets>
8794
</plugin>
8895
</plugins>
8996
</reporting>

0 commit comments

Comments
 (0)