Skip to content

Commit 3e9e17e

Browse files
committed
Fixed a build error in PomUpdater that was missed after updating dependencies
1 parent 1055d09 commit 3e9e17e

2 files changed

Lines changed: 6 additions & 4 deletions

File tree

.github/workflows/maven.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,12 @@ name: Java CI with Maven
44

55
on:
66
push:
7-
branches: [ "main" ]
7+
branches:
8+
- main
89
pull_request:
9-
branches: [ "main" ]
10+
types:
11+
- opened
12+
- synchronize
1013

1114
jobs:
1215
build:

changesets-maven-plugin/src/main/java/se/fortnox/changesets/maven/PomUpdater.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
import org.slf4j.Logger;
66

77
import javax.xml.stream.XMLStreamException;
8-
import javax.xml.transform.TransformerException;
98
import java.io.File;
109
import java.io.IOException;
1110
import java.io.Writer;
@@ -66,7 +65,7 @@ private static void updatePom(File outFile, Consumer<MutableXMLStreamReader> upd
6665
writer.write(newPom.getSource());
6766
}
6867
}
69-
} catch (XMLStreamException | IOException | TransformerException e) {
68+
} catch (XMLStreamException | IOException e) {
7069
LOG.error("Failed to update {}", outFile, e);
7170
}
7271
}

0 commit comments

Comments
 (0)