The plugin 'org.apache.maven.plugins:maven-jgitflow-plugin' does not exist or no valid version could

255 views
Skip to first unread message

J Kinable

unread,
Jun 8, 2015, 4:33:06 PM6/8/15
to maven-jgit...@googlegroups.com
I've copied the following into my pom.xml:

<plugin>
    <groupId>external.atlassian.jgitflow</groupId>
    <artifactId>jgitflow-maven-plugin</artifactId>
    <version>1.0-m5.1</version>
    <configuration>
<noDeploy>true</noDeploy>
<flowInitContext>
 <developBranchName>development</developBranchName>
</flowInitContext>
    </configuration>
</plugin>

When I run: mvn jgitflow:release-start
I get the following error: 
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] The plugin 'org.apache.maven.plugins:maven-jgitflow-plugin' does not exist or no valid version could be found

Any suggestions on how to fix this? Thank you :)

J Kinable

unread,
Jun 8, 2015, 4:43:58 PM6/8/15
to maven-jgit...@googlegroups.com
It turns out that you need to add:
 <pluginGroup>external.atlassian.jgitflow</pluginGroup>
to ~/.m2/settings.xml
If this file does not exist, you can create it:

  <localRepository/>
  <interactiveMode/>
  <usePluginRegistry/>
  <offline/>
  <pluginGroups>
    <pluginGroup>external.atlassian.jgitflow</pluginGroup>
  </pluginGroups>
  <servers/>
  <mirrors/>
  <proxies/>
  <profiles/>
  <activeProfiles/>
</settings>

br,

Joris Kinable
Reply all
Reply to author
Forward
0 new messages