Skip to content

Commit

Permalink
Move maven-enforce-plugin to plugins; indentation of the license text…
Browse files Browse the repository at this point in the history
… in README
  • Loading branch information
vitalijr2 committed Nov 24, 2024
1 parent 6d92b6a commit 6c07aa6
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 45 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
28 changes: 13 additions & 15 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,21 +60,19 @@ 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>

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)
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>

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.

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

Expand Down

0 comments on commit 6c07aa6

Please sign in to comment.