Skip to content

Commit 1a161f8

Browse files
committed
- Updated version to 0.4.1
- Downgraded org.eclipse.jgit to Java 7 compatible version - Raised target from Java 6 to Java 7
1 parent f09c76e commit 1a161f8

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

pom.xml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
<groupId>org.digitalmediaserver</groupId>
66
<artifactId>crowdin-maven-plugin</artifactId>
7-
<version>0.4</version>
7+
<version>0.4.1</version>
88
<packaging>maven-plugin</packaging>
99

1010
<name>Crowdin Maven Plugin</name>
@@ -94,8 +94,8 @@
9494
</dependency>
9595
<dependency>
9696
<groupId>org.eclipse.jgit</groupId>
97-
<artifactId>org.eclipse.jgit</artifactId>
98-
<version>4.8.0.201706111038-r</version>
97+
<artifactId>org.eclipse.jgit.java7</artifactId>
98+
<version>3.7.1.201504261725-r</version>
9999
</dependency>
100100
<dependency>
101101
<groupId>com.google.code.findbugs</groupId>
@@ -156,8 +156,8 @@
156156
<artifactId>maven-compiler-plugin</artifactId>
157157
<version>${pluginPluginVersion}</version>
158158
<configuration>
159-
<source>1.6</source>
160-
<target>1.6</target>
159+
<source>1.7</source>
160+
<target>1.7</target>
161161
</configuration>
162162
</plugin>
163163
<plugin>

src/main/java/com/digitalmediaserver/crowdin/tool/GitUtil.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ private GitUtil() {
2626
* @param projectBasedir the project "root" folder.
2727
* @param log the {@link Log} to use for logging.
2828
* @return The name of the current Git branch or {@code null} if it couldn't
29-
* be estabilished.
29+
* be established.
3030
*/
3131
public static String getBranch(File projectBasedir, Log log) {
3232
if (!projectBasedir.exists()) {
@@ -44,7 +44,7 @@ public static String getBranch(File projectBasedir, Log log) {
4444
Repository repo = git.getRepository();
4545
try {
4646
String branch = repo.getBranch();
47-
if (repo.findRef(Constants.HEAD).getTarget().getName().endsWith(branch)) {
47+
if (repo.getRef(Constants.HEAD).getTarget().getName().endsWith(branch)) {
4848
log.debug("Git branch determined to be \"" + branch + "\"");
4949
return branch;
5050
}

0 commit comments

Comments
 (0)