File tree Expand file tree Collapse file tree
src/main/java/com/digitalmediaserver/crowdin/tool Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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 >
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 >
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 >
Original file line number Diff line number Diff 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 }
You can’t perform that action at this time.
0 commit comments