Skip to content

Commit

Permalink
2021.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
BuildTools committed Mar 30, 2021
1 parent 0a64905 commit be43117
Show file tree
Hide file tree
Showing 11 changed files with 54 additions and 24 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
# Project exclude paths
/*/target/
/target/
/**/target/
/**/*.versionsBackup
1 change: 1 addition & 0 deletions .idea/compiler.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions .idea/encodings.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 0 additions & 8 deletions .idea/modules.xml

This file was deleted.

39 changes: 39 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
#!/usr/bin/env bash
bDATE=$(date '+%Y%m%d%H%M%S')
bDIR=$(dirname $0)
bDIR=$(cd $bDIR && pwd)

#OPTS="-DskipTests=true -DproxySet=true -DproxyHost=127.0.0.1 -DproxyPort=3128 -Dhttps.nonProxyHosts=127.0.0.1"
OPTS="-DskipTests=true"

while test ! -z "$1" ; do
case "$1" in
-major*)
(cd $bDIR && mvn build-helper:parse-version versions:set \
-DnewVersion="\${parsedVersion.nextMajorVersion}.1.\${parsedVersion.nextIncrementalVersion}" ) || exit 1
;;
-minor*)
(cd $bDIR && mvn build-helper:parse-version versions:set \
-DnewVersion="\${parsedVersion.majorVersion}.\${parsedVersion.nextMinorVersion}.\${parsedVersion.nextIncrementalVersion}" ) || exit 1
;;
-release*)
(cd $bDIR && mvn -X build-helper:parse-version versions:set \
-DnewVersion="\${parsedVersion.majorVersion}.\${parsedVersion.minorVersion}.\${parsedVersion.nextIncrementalVersion}" ) || exit 1
;;
-clean*)
(cd $bDIR && mvn clean $OPTS -U) || exit 1
;;
-pack*)
(cd $bDIR && mvn clean package $OPTS -U) || exit 1
;;
-fix*)
(cd $bDIR && mvn -N versions:update-child-modules) || exit 1
;;
-install*)
(cd $bDIR && mvn install $OPTS) || exit 1
;;
*) echo "unknow option ..."
;;
esac
shift
done
2 changes: 1 addition & 1 deletion commons-jmelange/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>com.github.terefang.jmelange</groupId>
<artifactId>jmelange</artifactId>
<version>2021.1.0</version>
<version>2021.1.1</version>
</parent>
<artifactId>commons-jmelange</artifactId>

Expand Down
9 changes: 1 addition & 8 deletions dao-jmelange/dao-jmelange.iml
Original file line number Diff line number Diff line change
@@ -1,9 +1,2 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="JAVA_MODULE" version="4">
<component name="NewModuleRootManager" inherit-compiler-output="true">
<exclude-output />
<content url="file://$MODULE_DIR$" />
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>
<module type="JAVA_MODULE" version="4" />
2 changes: 1 addition & 1 deletion dao-jmelange/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>com.github.terefang.jmelange</groupId>
<artifactId>jmelange</artifactId>
<version>2021.1.0</version>
<version>2021.1.1</version>
</parent>
<artifactId>dao-jmelange</artifactId>

Expand Down
3 changes: 2 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,14 @@

<groupId>com.github.terefang.jmelange</groupId>
<artifactId>jmelange</artifactId>
<version>2021.1.0</version>
<version>2021.1.1</version>

<packaging>pom</packaging>
<modules>
<module>commons-jmelange</module>
<module>utils-jmelange</module>
<module>scripted-jmelange</module>
<module>dao-jmelange</module>
</modules>

<properties>
Expand Down
6 changes: 3 additions & 3 deletions scripted-jmelange/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,20 @@
<parent>
<groupId>com.github.terefang.jmelange</groupId>
<artifactId>jmelange</artifactId>
<version>2021.1.0</version>
<version>2021.1.1</version>
</parent>
<artifactId>scripted-jmelange</artifactId>

<dependencies>
<dependency>
<groupId>com.github.terefang.jmelange</groupId>
<artifactId>commons-jmelange</artifactId>
<version>2021.1.0</version>
<version>2021.1.1</version>
</dependency>
<dependency>
<groupId>com.github.terefang.jmelange</groupId>
<artifactId>utils-jmelange</artifactId>
<version>2021.1.0</version>
<version>2021.1.1</version>
</dependency>
</dependencies>

Expand Down
2 changes: 1 addition & 1 deletion utils-jmelange/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>com.github.terefang.jmelange</groupId>
<artifactId>jmelange</artifactId>
<version>2021.1.0</version>
<version>2021.1.1</version>
</parent>
<artifactId>utils-jmelange</artifactId>

Expand Down

0 comments on commit be43117

Please sign in to comment.