我尝试将jgit-flow集成到我的Maven项目中,但在运行feature-start
或release-start
目标时遇到了问题。我看到的错误是:
[ERROR] Failed to execute goal external.atlassian.jgitflow:jgitflow-maven-
plugin:1.0-m5.1:feature-start (default-cli) on project recommendation-api:Execution default-cli of goal external.atlassian.jgitflow:jgitflow-maven-
plugin:1.0-m5.1:feature-start failed: An API incompatibility was encountered while executing external.atlassian.jgitflow:jgitflow-maven-
plugin:1.0-m5.1:feature-start: java.lang.UnsatisfiedLinkError: Unable to load library 'c': The specified module could not be found.
还有其他人如何解决这个问题吗?我无法在其他地方找到很多相关内容,说实话,我的Maven知识存在差距。显然问题是它无法找到' c'图书馆,但问题是它希望找到它的原因以及为什么这对我开箱即用?
我是从gitbash在Windows 7上运行它,我的配置如下:
<plugin>
<groupId>external.atlassian.jgitflow</groupId>
<artifactId>jgitflow-maven-plugin</artifactId>
<version>1.0-m5.1</version>
<configuration>
<flowInitContext>
<masterBranchName>master</masterBranchName>
<developBranchName>develop</developBranchName>
<featureBranchPrefix>dev/</featureBranchPrefix>
<releaseBranchPrefix>rc/</releaseBranchPrefix>
<hotfixBranchPrefix>fix/-</hotfixBranchPrefix>
<versionTagPrefix>${project.artifactId}-</versionTagPrefix>
</flowInitContext>
<enableSshAgent>true</enableSshAgent>
<noDeploy>true</noDeploy>
<squash>true</squash>
<scmCommentPrefix>[RELEASE]</scmCommentPrefix>
</configuration>
</plugin>