Skip to content

Commit

Permalink
[MPLUGIN-397] Upgrade Parent to 36
Browse files Browse the repository at this point in the history
- fix javadocs
- remove l10n-maven-plugin from reports
- use plugins version from parent
- exclude maven-wrapper.properties from rat
  • Loading branch information
slawekjaranowski committed May 15, 2022
1 parent 09be846 commit 35b8cdd
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 85 deletions.
24 changes: 0 additions & 24 deletions maven-plugin-plugin/pom.xml
Expand Up @@ -270,21 +270,12 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-plugin-plugin</artifactId>
<version>3.6.0</version>
<!-- will use previous maven-plugin-plugin release to build current maven-plugin-plugin as configured in parent -->
<executions>
<execution>
<id>default-descriptor</id>
<phase>process-classes</phase>
</execution>
<execution>
<id>generated-helpmojo</id>
<goals>
<goal>helpmojo</goal>
</goals>
<configuration>
<skipErrorNoDescriptorsFound>true</skipErrorNoDescriptorsFound>
</configuration>
</execution>
</executions>
</plugin>
Expand All @@ -296,7 +287,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-plugin-plugin</artifactId>
<version>3.6.0</version><!-- cannot use ${mavenPluginToolsVersion} property because release plugin would try to update -->
<reportSets>
<reportSet>
<reports>
Expand All @@ -316,19 +306,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-invoker-plugin</artifactId>
<version>${mavenInvokerPluginVersion}</version>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>l10n-maven-plugin</artifactId>
<version>1.0-alpha-2</version>
<configuration>
<locales>
<locale>de</locale>
<locale>fr</locale>
<locale>sv</locale>
</locales>
</configuration>
</plugin>
</plugins>
</reporting>
Expand All @@ -340,7 +317,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-invoker-plugin</artifactId>
<version>${mavenInvokerPluginVersion}</version>
<configuration>
<projectsDirectory>src/it</projectsDirectory>
<cloneProjectsTo>${project.build.directory}/it</cloneProjectsTo>
Expand Down
Expand Up @@ -28,8 +28,6 @@

/**
* Dummy Mojo.
*
* @goal dummy
*/
public class MojoStub
extends AbstractMojo
Expand Down
20 changes: 0 additions & 20 deletions maven-plugin-tools-generators/pom.xml
Expand Up @@ -111,24 +111,4 @@
</dependency>
</dependencies>

<profiles>
<profile>
<id>reporting</id>
<reporting>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>l10n-maven-plugin</artifactId>
<version>1.0-alpha-2</version>
<configuration>
<locales>
<locale>de</locale>
<locale>fr</locale>
</locales>
</configuration>
</plugin>
</plugins>
</reporting>
</profile>
</profiles>
</project>
Expand Up @@ -28,8 +28,6 @@

/**
* Dummy report.
*
* @goal dummyReport
*/
public class MavenReportStub
extends AbstractMavenReport
Expand Down
49 changes: 12 additions & 37 deletions pom.xml
Expand Up @@ -23,8 +23,8 @@
<parent>
<artifactId>maven-parent</artifactId>
<groupId>org.apache.maven</groupId>
<version>34</version>
<relativePath>../pom/maven/pom.xml</relativePath>
<version>36</version>
<relativePath/>
</parent>

<groupId>org.apache.maven.plugin-tools</groupId>
Expand Down Expand Up @@ -80,7 +80,7 @@
</issueManagement>
<ciManagement>
<system>Jenkins</system>
<url>https://ci-builds.apache.org/job/Maven/job/maven-box/job/maven-plugin-tools/</url>
<url>https://ci-maven.apache.org/job/Maven/job/maven-box/job/maven-plugin-tools/</url>
</ciManagement>
<distributionManagement>
<site>
Expand All @@ -95,8 +95,6 @@
<pluginTestingHarnessVersion>3.3.0</pluginTestingHarnessVersion>
<mavenVersion>3.2.5</mavenVersion>
<antVersion>1.9.16</antVersion>
<sisuVersion>0.3.5</sisuVersion>
<mavenInvokerPluginVersion>3.2.2</mavenInvokerPluginVersion>
<maven.site.path>plugin-tools-archives/plugin-tools-LATEST</maven.site.path>
<asmVersion>9.2</asmVersion>
<project.build.outputTimestamp>2022-01-10T23:05:38Z</project.build.outputTimestamp>
Expand Down Expand Up @@ -172,11 +170,6 @@
</dependency>

<!-- plexus -->
<dependency>
<groupId>org.eclipse.sisu</groupId>
<artifactId>org.eclipse.sisu.plexus</artifactId>
<version>${sisuVersion}</version>
</dependency>
<dependency>
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-utils</artifactId>
Expand Down Expand Up @@ -256,19 +249,6 @@
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
<!-- modello generate java sources with errors so do not fail -->
<failOnError>false</failOnError>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
<version>3.11.0</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
Expand All @@ -290,21 +270,17 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.rat</groupId>
<artifactId>apache-rat-plugin</artifactId>
<configuration>
<excludes combine.children="append">
<exclude>.mvn/wrapper/maven-wrapper.properties</exclude>
</excludes>
</configuration>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<artifactId>maven-enforcer-plugin</artifactId>
<version>3.0.0-M3</version>
<dependencies>
<dependency>
<groupId>org.codehaus.mojo</groupId>
<artifactId>extra-enforcer-rules</artifactId>
<version>1.3</version>
</dependency>
</dependencies>
</plugin>
</plugins>
</build>

<profiles>
Expand Down Expand Up @@ -366,7 +342,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jxr-plugin</artifactId>
<version>3.1.1</version>
<reportSets>
<reportSet>
<id>non-aggregate</id>
Expand Down

0 comments on commit 35b8cdd

Please sign in to comment.