diff --git a/cmd/ftl/cmd_build.go b/cmd/ftl/cmd_build.go index 5b43fac88a..02d9b3f406 100644 --- a/cmd/ftl/cmd_build.go +++ b/cmd/ftl/cmd_build.go @@ -83,9 +83,10 @@ func (b *buildCmd) setPomProperties(logger *log.Logger) error { endpoint := properties.SelectElement("ftlEndpoint") if endpoint == nil { - return fmt.Errorf("unable to find / in %s", pomFile) + logger.Warnf("unable to find / in %s", pomFile) + } else { + endpoint.SetText(ftlEndpoint) } - endpoint.SetText(ftlEndpoint) return tree.WriteToFile(pomFile) }