sed -z -i -e 's/org.usb4java<\/groupId>\nusb4java<\/artifactId>\n1.2.0<\/version>/org.usb4java<\/groupId>\nusb4java<\/artifactId>\n1.3.0<\/version>/g' pom.xml sed -z -i -e 's/mac<\/classifier>/mac-aarch64<\/classifier>/g' pom.xml sed -z -i -e 's/${project.artifactId}-${project.version}-legacy-${maven.build.timestamp}<\/finalName>/${project.artifactId}-${project.version}-m1-${maven.build.timestamp}<\/finalName>/g' pom.xml sed -i -e '/com.akathist.maven.plugins.launch4j/,/<\/executions>/d' pom.xml sed -z -i -e 's/\n\s*<\/plugin>//g' pom.xml