Skip to content

Commit a6f6617

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 <[email protected]> This closes #312
1 parent e36f367 commit a6f6617

File tree

23 files changed

+816
-187
lines changed

23 files changed

+816
-187
lines changed

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

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,13 @@
8585
<groupId>org.apache.maven.plugins</groupId>
8686
<artifactId>maven-plugin-report-plugin</artifactId>
8787
<version>@project.version@</version>
88+
<reportSets>
89+
<reportSet>
90+
<reports>
91+
<report>report</report>
92+
</reports>
93+
</reportSet>
94+
</reportSets>
8895
</plugin>
8996
</plugins>
9097
</reporting>
Lines changed: 92 additions & 86 deletions
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>
Lines changed: 104 additions & 97 deletions
Original file line numberDiff line numberDiff line change
@@ -1,97 +1,104 @@
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-
<dependency>
43-
<groupId>org.apache.maven.plugin-tools</groupId>
44-
<artifactId>maven-plugin-annotations</artifactId>
45-
<version>@project.version@</version>
46-
<scope>compile</scope>
47-
</dependency>
48-
</dependencies>
49-
50-
<build>
51-
<pluginManagement>
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-
<goalPrefix>prefix</goalPrefix>
64-
</configuration>
65-
</plugin>
66-
<plugin>
67-
<groupId>org.apache.maven.plugins</groupId>
68-
<artifactId>maven-site-plugin</artifactId>
69-
<version>@sitePluginVersion@</version>
70-
</plugin>
71-
</plugins>
72-
</pluginManagement>
73-
</build>
74-
75-
<reporting>
76-
<excludeDefaults>true</excludeDefaults>
77-
<plugins>
78-
<plugin>
79-
<groupId>org.apache.maven.plugins</groupId>
80-
<artifactId>maven-project-info-reports-plugin</artifactId>
81-
<version>@projectInfoReportsPlugin@</version>
82-
<reportSets>
83-
<reportSet>
84-
<reports>
85-
<report>index</report>
86-
</reports>
87-
</reportSet>
88-
</reportSets>
89-
</plugin>
90-
<plugin>
91-
<groupId>org.apache.maven.plugins</groupId>
92-
<artifactId>maven-plugin-report-plugin</artifactId>
93-
<version>@project.version@</version>
94-
</plugin>
95-
</plugins>
96-
</reporting>
97-
</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+
<dependency>
43+
<groupId>org.apache.maven.plugin-tools</groupId>
44+
<artifactId>maven-plugin-annotations</artifactId>
45+
<version>@project.version@</version>
46+
<scope>compile</scope>
47+
</dependency>
48+
</dependencies>
49+
50+
<build>
51+
<pluginManagement>
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+
<goalPrefix>prefix</goalPrefix>
64+
</configuration>
65+
</plugin>
66+
<plugin>
67+
<groupId>org.apache.maven.plugins</groupId>
68+
<artifactId>maven-site-plugin</artifactId>
69+
<version>@sitePluginVersion@</version>
70+
</plugin>
71+
</plugins>
72+
</pluginManagement>
73+
</build>
74+
75+
<reporting>
76+
<excludeDefaults>true</excludeDefaults>
77+
<plugins>
78+
<plugin>
79+
<groupId>org.apache.maven.plugins</groupId>
80+
<artifactId>maven-project-info-reports-plugin</artifactId>
81+
<version>@projectInfoReportsPlugin@</version>
82+
<reportSets>
83+
<reportSet>
84+
<reports>
85+
<report>index</report>
86+
</reports>
87+
</reportSet>
88+
</reportSets>
89+
</plugin>
90+
<plugin>
91+
<groupId>org.apache.maven.plugins</groupId>
92+
<artifactId>maven-plugin-report-plugin</artifactId>
93+
<version>@project.version@</version>
94+
<reportSets>
95+
<reportSet>
96+
<reports>
97+
<report>report</report>
98+
</reports>
99+
</reportSet>
100+
</reportSets>
101+
</plugin>
102+
</plugins>
103+
</reporting>
104+
</project>

0 commit comments

Comments
 (0)