在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):git-commit-id/git-commit-id-maven-plugin开源软件地址(OpenSource Url):https://github.com/git-commit-id/git-commit-id-maven-plugin开源编程语言(OpenSource Language):Java 52.8%开源软件介绍(OpenSource Introduction):maven git commit id plugingit-commit-id-maven-plugin is a plugin quite similar to Build Number Maven Plugin for example but as the Build Number plugin at the time when I started this plugin only supported CVS and SVN, something had to be done. I had to quickly develop a Git version of such a plugin. For those who don't know the plugin, it basically helps you with the following tasks and answers related questions
If you are more interested in the different use-cases, feel free to read about them in more detail. Quicklinks (all relevant documentation)
Getting the pluginThe plugin is available from Maven Central (see here), so you don't have to configure any additional repositories to use this plugin. A detailed description of using the plugin is available in the Using the plugin document. All you need to do in the basic setup is to include that plugin definition in your Relocation of the ProjectNewer version (5.x.x or more recent) are available via <groupId>io.github.git-commit-id</groupId>
<artifactId>git-commit-id-maven-plugin</artifactId> older version (4.x.x or older) are available via: <groupId>pl.project13.maven</groupId>
<artifactId>git-commit-id-plugin</artifactId> VersionsThe current version is 5.0.0 (changelist). You can check the available versions by visiting search.maven.org, though using the newest is obviously the best choice. Plugin compatibility with JavaHere is an overview of the current plugin compatibility with Java
Plugin compatibility with MavenEven though this plugin tries to be compatible with every Maven version there are some known limitations with specific versions. Here is a list that tries to outline the current state of the art:
Note:
As an example -- this table should be read as: For Plugin compatibility with EOL Maven versionEnd of life (EOL) Maven versions are no longer supported by Maven, nor this plugin. The following information is made available for reference.
Getting SNAPSHOT versions of the pluginIf you really want to use snapshots, here's the repository they are deployed to. But I highly recommend using only stable versions, from Maven Central... :-) <pluginRepositories>
<pluginRepository>
<id>sonatype-snapshots</id>
<name>Sonatype Snapshots</name>
<url>https://s01.oss.sonatype.org/content/repositories/snapshots/</url>
</pluginRepository>
</pluginRepositories> Older Snapshots (prior version 5.X) are available via If you just would like to see what the plugin can do, you can clone the repository and run
MaintainersThis project is currently maintained thanks to: @ktoso (founder), @TheSnoozer Notable contributionsI'd like to give a big thanks to some of these folks, for their suggestions and / or pull requests that helped make this plugin as popular as it is today:
Notable happy users
LicenseI'm releasing this plugin under the GNU Lesser General Public License 3.0. You're free to use it as you wish, the full license text is attached in the LICENSE file. Feature requestsThe best way to ask for features / improvements is via the Issues section on GitHub - it's better than email because I won't loose when I have a "million emails inbox" day, and maybe someone else has some idea or would like to upvote your issue. That's all folks! Happy hacking! |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论