Skip to content

Commit

Permalink
Move maven-enforce-plugin to plugins
Browse files Browse the repository at this point in the history
* Move maven-enforce-plugin to plugins
* Fenced license text
  • Loading branch information
vitalijr2 authored Nov 24, 2024
1 parent 6d92b6a commit 25e9684
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 33 deletions.
62 changes: 32 additions & 30 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -161,36 +161,6 @@
<groupId>org.apache.maven.plugins</groupId>
<version>3.13.0</version>
</plugin>
<plugin>
<artifactId>maven-enforcer-plugin</artifactId>
<configuration>
<rules>
<requireJavaVersion>
<version>[${java.version},)</version>
</requireJavaVersion>
<requireMavenVersion>
<version>[3.9.0,)</version>
</requireMavenVersion>
</rules>
</configuration>
<executions>
<execution>
<goals>
<goal>enforce</goal>
</goals>
<id>enforce-maven</id>
</execution>
<execution>
<goals>
<goal>enforce</goal>
</goals>
<id>enforce-clean</id>
<phase>pre-clean</phase>
</execution>
</executions>
<groupId>org.apache.maven.plugins</groupId>
<version>3.5.0</version>
</plugin>
<plugin>
<artifactId>maven-failsafe-plugin</artifactId>
<configuration>
Expand Down Expand Up @@ -319,6 +289,38 @@
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<artifactId>maven-enforcer-plugin</artifactId>
<configuration>
<rules>
<requireJavaVersion>
<version>[${java.version},)</version>
</requireJavaVersion>
<requireMavenVersion>
<version>[3.9.0,)</version>
</requireMavenVersion>
</rules>
</configuration>
<executions>
<execution>
<goals>
<goal>enforce</goal>
</goals>
<id>enforce-maven</id>
</execution>
<execution>
<goals>
<goal>enforce</goal>
</goals>
<id>enforce-clean</id>
<phase>pre-clean</phase>
</execution>
</executions>
<groupId>org.apache.maven.plugins</groupId>
<version>3.5.0</version>
</plugin>
</plugins>
</build>
<ciManagement>
<system>GitHub Actions</system>
Expand Down
6 changes: 3 additions & 3 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,21 +60,21 @@ See [Changelog](changelog.md)

## License

```
Copyright 2024 Vitalij Berdinskih
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
<https://www.apache.org/licenses/LICENSE-2.0>
<https://www.apache.org/licenses/LICENSE-2.0>
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

[Apache License v2.0](LICENSE)
```

[Mockito]: https://site.mockito.org

Expand Down

0 comments on commit 25e9684

Please sign in to comment.