Skip to content

Commit

Permalink
Switch to released versions
Browse files Browse the repository at this point in the history
  • Loading branch information
gnodet committed Oct 25, 2023
1 parent 4a33e32 commit ea4a23a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@
*/
package org.mvndaemon.mvnd.it;

import javax.xml.stream.XMLStreamException;

import java.io.IOException;
import java.io.Reader;
import java.nio.charset.StandardCharsets;
Expand All @@ -28,6 +26,7 @@
import java.util.Properties;

import org.apache.maven.model.io.xpp3.MavenXpp3Reader;
import org.codehaus.plexus.util.xml.pull.XmlPullParserException;

public class MvndTestUtil {

Expand All @@ -37,7 +36,7 @@ public static Properties properties(Path pomXmlPath) {
try (Reader runtimeReader = Files.newBufferedReader(pomXmlPath, StandardCharsets.UTF_8)) {
final MavenXpp3Reader rxppReader = new MavenXpp3Reader();
return rxppReader.read(runtimeReader).getProperties();
} catch (IOException | XMLStreamException e) {
} catch (IOException | XmlPullParserException e) {
throw new RuntimeException("Could not read or parse " + pomXmlPath);
}
}
Expand All @@ -46,7 +45,7 @@ public static String version(Path pomXmlPath) {
try (Reader runtimeReader = Files.newBufferedReader(pomXmlPath, StandardCharsets.UTF_8)) {
final MavenXpp3Reader rxppReader = new MavenXpp3Reader();
return rxppReader.read(runtimeReader).getVersion();
} catch (IOException | XMLStreamException e) {
} catch (IOException | XmlPullParserException e) {
throw new RuntimeException("Could not read or parse " + pomXmlPath);
}
}
Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
<jansi.version>2.4.0</jansi.version>
<jline.version>3.23.0</jline.version>
<junit.jupiter.version>5.9.2</junit.jupiter.version>
<maven.version>4.0.0-alpha-8-SNAPSHOT</maven.version>
<maven.version>4.0.0-alpha-8</maven.version>
<maven3.version>3.9.5</maven3.version>
<maven4.version>${maven.version}</maven4.version>
<!-- Keep in sync with Maven -->
Expand All @@ -113,7 +113,7 @@
<maven-assembly-plugin.version>3.6.0</maven-assembly-plugin.version>
<xstream.version>1.4.20</xstream.version>
<plexus-interactivity-api.version>1.0</plexus-interactivity-api.version>
<takari-smart-builder.version>0.6.4-SNAPSHOT</takari-smart-builder.version>
<takari-smart-builder.version>0.6.4</takari-smart-builder.version>
</properties>

<dependencyManagement>
Expand Down

0 comments on commit ea4a23a

Please sign in to comment.