Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
231ebb6
Update git submodules before commit - closes #348
aleksandr-m Oct 2, 2022
0d9f73c
1.19.0 release
aleksandr-m Oct 13, 2022
20c2530
next development version
aleksandr-m Oct 13, 2022
ff4a4b7
#364 drop or update alpha/beta depedencies, apearantly unused "maven-…
DRoppelt Nov 3, 2022
38de316
#364 update available dependency updates
DRoppelt Nov 3, 2022
4ed67da
Merge pull request #365 from DRoppelt/master
aleksandr-m Nov 16, 2022
2601085
Update copyright notice
aleksandr-m Jan 3, 2023
e0f5383
feature(#374) : release goal merge back to develop (#375)
alexist Feb 10, 2023
2d7a792
Add noBackMerge parameter to release goal - #375
aleksandr-m Feb 10, 2023
3327fb5
Add setup maven action, update github actions versions
aleksandr-m Feb 14, 2023
d64924f
Code cleanup
aleksandr-m Feb 22, 2023
c12df6f
Fixes dead link to JGit
yadler Apr 17, 2023
3a3c3dd
Merge pull request #385 from yadler/bugfix/dead-link-in-readme
aleksandr-m Apr 17, 2023
9d47a42
Throw both error and out streams outputs in case of error - closes #383
aleksandr-m Apr 17, 2023
dcebc2b
target latest maven in github actions & locally
DRoppelt May 3, 2023
d59ec67
make troubleshooting easier
DRoppelt May 3, 2023
16b2830
pull up pinned plugin versions that were pinned down for issue 330 fo…
DRoppelt May 3, 2023
c250f5a
plexus-utils 1.X -> 3.X changes
DRoppelt May 3, 2023
cde892e
plexus-utils 3.X does not like adding empty args and will throw "... …
DRoppelt May 3, 2023
022b9de
modernize junit 4 to 5
DRoppelt May 3, 2023
fa72893
latest maven-versions plugin
DRoppelt May 16, 2023
09346f6
Fix creating release branch in hotfix-finish goal - closes #391
aleksandr-m May 30, 2023
401c692
Add option to skip merging into development branch in release-finish …
aleksandr-m May 30, 2023
d0487e2
Better verify script in release finish test
aleksandr-m May 30, 2023
60d1f0d
1.20.0 release
aleksandr-m Jun 1, 2023
42fcd1e
Next development version
aleksandr-m Jun 1, 2023
4185827
Merge pull request #389 from DRoppelt/java8Baseline
aleksandr-m Aug 22, 2023
1841935
Update dependencies to latest versions
aleksandr-m Aug 22, 2023
b2b03e8
Update fluido site skin
aleksandr-m Aug 22, 2023
2821560
Fix versions plugin version
aleksandr-m Aug 22, 2023
99de0bb
Fix compiler warnings
aleksandr-m Aug 27, 2023
9d0db44
Fix site generation and some links
aleksandr-m Aug 29, 2023
7e2dc2b
Add prompter component
aleksandr-m Oct 5, 2023
35ada46
Fix running some tests
aleksandr-m Dec 25, 2023
b6c391f
1.21.0 release
aleksandr-m Dec 25, 2023
5b7af1a
Next development version
aleksandr-m Dec 25, 2023
444ac42
Update copyright notice
aleksandr-m Feb 10, 2024
514831f
Use developmentVersion parameter also in interactive mode - closes #404
aleksandr-m Jun 21, 2024
7dc9c5a
Update java version for workflow
aleksandr-m Jun 21, 2024
fd15d76
Merge upstream
Feb 18, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 0 additions & 32 deletions .github/workflows/verify.yml

This file was deleted.

Binary file modified .mvn/wrapper/maven-wrapper.jar
Binary file not shown.
8 changes: 4 additions & 4 deletions .mvn/wrapper/maven-wrapper.properties
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@
# to you 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
#
#
# http://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.
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.8.4/apache-maven-3.8.4-bin.zip
wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.1.0/maven-wrapper-3.1.0.jar
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.4/apache-maven-3.9.4-bin.zip
wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.2.0/maven-wrapper-3.2.0.jar
22 changes: 22 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,27 @@
# Changelog

## v1.21.0 (2023-12-25)

* Updated Java minimum version to 8 - [#369](https://github.com/aleksandr-m/gitflow-maven-plugin/issues/369)
* Added console prompter wrapper

## v1.20.0 (2023-06-01)

* Fixed creation of the release branch in `hotfix-finish` goal - [#391](https://github.com/aleksandr-m/gitflow-maven-plugin/issues/391)
* Improved console error logs - [#383](https://github.com/aleksandr-m/gitflow-maven-plugin/issues/383)
* Added option to skip merging into development branch in `release-finish` goal - [#237](https://github.com/aleksandr-m/gitflow-maven-plugin/issues/237)
* Added back merge to `release` goal - [#375](https://github.com/aleksandr-m/gitflow-maven-plugin/pull/375)
* Updated dependencies - [#365](https://github.com/aleksandr-m/gitflow-maven-plugin/pull/365)

## v1.19.0 (2022-10-13)

* Fixed snapshot checking with up-to-date project info - [#345](https://github.com/aleksandr-m/gitflow-maven-plugin/issues/345)
* Improved remote branch fetching comparing and checking out
* Added ability to update git submodules before commit - [#348](https://github.com/aleksandr-m/gitflow-maven-plugin/issues/348)
* Added tag push on hotfix if it isn't pushed with the branch - [#349](https://github.com/aleksandr-m/gitflow-maven-plugin/issues/349)
* Added fetching of remote release branch on hotfix-finish goal - [#318](https://github.com/aleksandr-m/gitflow-maven-plugin/issues/318)
* Added more logs for verbose mode - [#331](https://github.com/aleksandr-m/gitflow-maven-plugin/issues/331)

## v1.18.0 (2022-02-20)

### Breaking changes
Expand Down
396 changes: 0 additions & 396 deletions README.md

This file was deleted.

86 changes: 44 additions & 42 deletions pom.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!--
<!--
/*
* Copyright 2014-2022 Aleksandr Mashchenko.
* Copyright 2014-2024 Aleksandr Mashchenko.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand All @@ -21,7 +21,7 @@
<artifactId>gitflow-maven-plugin</artifactId>
<packaging>maven-plugin</packaging>
<name>gitflow-maven-plugin</name>
<version>1.18.1-SNAPSHOT</version>
<version>1.21.1-SNAPSHOT</version>

<description>The Git-Flow Maven Plugin supports various Git workflows, including Vincent Driessen's successful Git branching model and GitHub Flow. This plugin runs Git and Maven commands from the command line. Supports Eclipse Plugins build with Tycho.</description>

Expand All @@ -30,10 +30,10 @@
<licenses>
<license>
<name>The Apache Software License, Version 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
<url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
<distribution>repo</distribution>
</license>
</licenses>
</licenses>

<developers>
<developer>
Expand Down Expand Up @@ -63,26 +63,26 @@
</distributionManagement>

<properties>
<java.version>1.7</java.version>
<java.version>8</java.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven-plugin-plugin.version>3.6.0</maven-plugin-plugin.version>
<maven-plugin-plugin.version>3.9.0</maven-plugin-plugin.version>
</properties>

<reporting>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-plugin-plugin</artifactId>
<artifactId>maven-plugin-report-plugin</artifactId>
<version>${maven-plugin-plugin.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-project-info-reports-plugin</artifactId>
<version>2.9</version>
<version>3.4.5</version>
<reportSets>
<reportSet>
<reports>
<report>license</report>
<report>licenses</report>
<report>scm</report>
</reports>
</reportSet>
Expand All @@ -99,7 +99,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version>
<version>3.11.0</version>
<configuration>
<source>${java.version}</source>
<target>${java.version}</target>
Expand All @@ -109,15 +109,20 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.3.1</version>
<version>3.5.0</version>
<configuration>
<source>${java.version}</source>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
<version>3.7.1</version>
<version>3.12.1</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.2.3</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
Expand All @@ -142,6 +147,20 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.eclipse.sisu</groupId>
<artifactId>sisu-maven-plugin</artifactId>
<version>0.3.5</version>
<executions>
<execution>
<id>index-project</id>
<goals>
<goal>main-index</goal>
<goal>test-index</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>

Expand All @@ -153,7 +172,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.1.0</version>
<version>3.3.0</version>
<executions>
<execution>
<id>attach-sources</id>
Expand All @@ -178,7 +197,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.6</version>
<version>3.1.0</version>
<executions>
<execution>
<id>sign-artifacts</id>
Expand All @@ -198,7 +217,7 @@
<plugins>
<plugin>
<artifactId>maven-invoker-plugin</artifactId>
<version>3.2.2</version>
<version>3.6.0</version>
<configuration>
<cloneProjectsTo>${project.build.directory}/it</cloneProjectsTo>
<localRepositoryPath>${project.build.directory}/local-repo</localRepositoryPath>
Expand All @@ -224,53 +243,36 @@
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-core</artifactId>
<version>3.3.9</version>
<version>3.9.4</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-utils</artifactId>
<version>1.5.6</version>
<version>4.0.0</version>
</dependency>
<dependency>
<groupId>org.apache.maven.plugin-tools</groupId>
<artifactId>maven-plugin-annotations</artifactId>
<version>3.4</version>
<version>3.9.0</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-interactivity-api</artifactId>
<version>1.0-alpha-6</version>
<scope>compile</scope>
<exclusions>
<exclusion>
<artifactId>plexus-utils</artifactId>
<groupId>org.codehaus.plexus</groupId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-project</artifactId>
<version>3.0-alpha-2</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.apache.maven.release</groupId>
<artifactId>maven-release-manager</artifactId>
<version>2.5.3</version>
<version>3.0.1</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.apache.maven.release</groupId>
<artifactId>maven-release-oddeven-policy</artifactId>
<version>2.5.3</version>
<version>3.0.1</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.13.1</version>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter</artifactId>
<version>5.10.0</version>
<scope>test</scope>
</dependency>
</dependencies>
Expand Down
7 changes: 7 additions & 0 deletions src/it/release-finish-8-it/expected-development-pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.amashchenko.maven.plugin</groupId>
<artifactId>gitflow-maven-test</artifactId>
<packaging>pom</packaging>
<version>0.0.1</version>
</project>
7 changes: 7 additions & 0 deletions src/it/release-finish-8-it/expected-production-pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.amashchenko.maven.plugin</groupId>
<artifactId>gitflow-maven-test</artifactId>
<packaging>pom</packaging>
<version>0.0.3</version>
</project>
6 changes: 6 additions & 0 deletions src/it/release-finish-8-it/gitignorefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
build.log
expected-development-pom.xml
expected-production-pom.xml
invoker.properties
init.bsh
verify.bsh
41 changes: 41 additions & 0 deletions src/it/release-finish-8-it/init.bsh
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
import org.codehaus.plexus.util.FileUtils;

try {
new File(basedir, "gitignorefile").renameTo(new File(basedir, ".gitignore"));

Process p = Runtime.getRuntime().exec("git --git-dir=" + basedir + "/.git --work-tree=" + basedir + " init");
p.waitFor();

Process p = Runtime.getRuntime().exec("git --git-dir=" + basedir + "/.git --work-tree=" + basedir + " config user.email 'a@a.aa'");
p.waitFor();
Process p = Runtime.getRuntime().exec("git --git-dir=" + basedir + "/.git --work-tree=" + basedir + " config user.name 'a'");
p.waitFor();

p = Runtime.getRuntime().exec("git --git-dir=" + basedir + "/.git --work-tree=" + basedir + " add .");
p.waitFor();

p = Runtime.getRuntime().exec("git --git-dir=" + basedir + "/.git --work-tree=" + basedir + " commit -m init");
p.waitFor();

p = Runtime.getRuntime().exec("git --git-dir=" + basedir + "/.git --work-tree=" + basedir + " branch develop");
p.waitFor();

p = Runtime.getRuntime().exec("git --git-dir=" + basedir + "/.git --work-tree=" + basedir + " checkout -b release/0.0.3");
p.waitFor();

File pomfile = new File(basedir, "pom.xml");
String pomfilestr = FileUtils.fileRead(pomfile, "UTF-8");
pomfilestr = pomfilestr.replaceAll("0.0.1", "0.0.3");
FileUtils.fileWrite(basedir + "/pom.xml", "UTF-8", pomfilestr);

p = Runtime.getRuntime().exec("git --git-dir=" + basedir + "/.git --work-tree=" + basedir + " add .");
p.waitFor();

p = Runtime.getRuntime().exec("git --git-dir=" + basedir + "/.git --work-tree=" + basedir + " commit -m 0.0.3");
p.waitFor();

} catch (Exception e) {
e.printStackTrace();
return false;
}
return true;
3 changes: 3 additions & 0 deletions src/it/release-finish-8-it/invoker.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:release-finish -DpushRemote=false -DskipReleaseMergeDevBranch

invoker.description=Test release-finish with skipReleaseMergeDevBranch parameter.
7 changes: 7 additions & 0 deletions src/it/release-finish-8-it/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.amashchenko.maven.plugin</groupId>
<artifactId>gitflow-maven-test</artifactId>
<packaging>pom</packaging>
<version>0.0.1</version>
</project>
Loading