Skip to content

Commit

Permalink
Improve after parent update
Browse files Browse the repository at this point in the history
- exclude provided o.a.maven from transitive dependencies
- remove execution for checkstyle - it is defined in parent
- remove profile for spotless
  • Loading branch information
slawekjaranowski committed Mar 19, 2024
1 parent f0e93b6 commit d92b20c
Showing 1 changed file with 11 additions and 24 deletions.
35 changes: 11 additions & 24 deletions pom.xml
Expand Up @@ -181,6 +181,7 @@
<groupId>org.apache.maven.resolver</groupId>
<artifactId>maven-resolver-api</artifactId>
<version>${maven-resolver.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.maven</groupId>
Expand All @@ -205,6 +206,10 @@
<artifactId>maven-reporting-impl</artifactId>
<version>3.2.0</version>
<exclusions>
<exclusion>
<groupId>org.apache.maven</groupId>
<artifactId>*</artifactId>
</exclusion>
<exclusion>
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-container-default</artifactId>
Expand Down Expand Up @@ -236,6 +241,10 @@
<artifactId>doxia-site-renderer</artifactId>
<version>${doxiaRendererVersion}</version>
<exclusions>
<exclusion>
<groupId>org.apache.maven</groupId>
<artifactId>*</artifactId>
</exclusion>
<exclusion>
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-container-default</artifactId>
Expand Down Expand Up @@ -392,18 +401,9 @@
<!-- TODO enable with spotless -->
<skip>true</skip>
<headerLocation>config/checkstyle-header.txt</headerLocation>
<excludes>**/HelpMojo.java,**/SpdxLicenseListData.java</excludes>
<!-- these are generated -->
<excludes>**/HelpMojo.java,**/SpdxLicenseListData.java</excludes>
</configuration>
<executions>
<execution>
<id>checkstyle-check</id>
<goals>
<goal>check</goal>
</goals>
<phase>verify</phase>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
Expand Down Expand Up @@ -530,6 +530,7 @@
<plugin>
<artifactId>maven-invoker-plugin</artifactId>
<configuration>
<debug>true</debug>
<cloneProjectsTo>${project.build.directory}/it</cloneProjectsTo>
<settingsFile>src/it/settings.xml</settingsFile>
<localRepositoryPath>${project.build.directory}/local-repo</localRepositoryPath>
Expand Down Expand Up @@ -628,19 +629,5 @@
</plugins>
</reporting>
</profile>
<profile>
<id>java11+</id>
<activation>
<jdk>[11,)</jdk>
</activation>
<build>
<plugins>
<plugin>
<groupId>com.diffplug.spotless</groupId>
<artifactId>spotless-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>

0 comments on commit d92b20c

Please sign in to comment.