pgv-java build.buf.protoc-gen-validate VERSION 4.0.0 protoc-gen-validate pom PGV-Java Protoc Plugins org.codehaus.mojo exec-maven-plugin 3.1.1 osx-x86_64 exec compile go build -o ${project.build.directory}/protoc-gen-validate-${project.version}-osx-x86_64.exe ../.. darwin amd64 osx-aarch_64 exec compile go build -o ${project.build.directory}/protoc-gen-validate-${project.version}-osx-aarch_64.exe ../.. darwin arm64 linux_x86_32 exec compile go build -o ${project.build.directory}/protoc-gen-validate-${project.version}-linux-x86_32.exe ../.. linux 386 linux_x86_64 exec compile go build -o ${project.build.directory}/protoc-gen-validate-${project.version}-linux-x86_64.exe ../.. linux amd64 windows_x86_32 exec compile go build -o ${project.build.directory}/protoc-gen-validate-${project.version}-windows-x86_32.exe ../.. windows 386 windows_x86_64 exec compile go build -o ${project.build.directory}/protoc-gen-validate-${project.version}-windows-x86_64.exe ../.. windows amd64 linux-aarch_64 exec compile go build -o ${project.build.directory}/protoc-gen-validate-${project.version}-linux-aarch_64.exe ../.. linux arm64 org.codehaus.mojo build-helper-maven-plugin 3.5.0 attach-artifacts attach-artifact ${project.build.directory}/protoc-gen-validate-${project.version}-osx-x86_64.exe exe osx-x86_64 ${project.build.directory}/protoc-gen-validate-${project.version}-osx-aarch_64.exe exe osx-aarch_64 ${project.build.directory}/protoc-gen-validate-${project.version}-linux-aarch_64.exe exe linux-aarch_64 ${project.build.directory}/protoc-gen-validate-${project.version}-linux-x86_32.exe exe linux-x86_32 ${project.build.directory}/protoc-gen-validate-${project.version}-linux-x86_64.exe exe linux-x86_64 ${project.build.directory}/protoc-gen-validate-${project.version}-windows-x86_32.exe exe windows-x86_32 ${project.build.directory}/protoc-gen-validate-${project.version}-windows-x86_64.exe exe windows-x86_64