Skip to content

Commit a5071ca

Browse files
committed
Don't explicitly execute assembly:single goal anymore during apply
All repositories in graylog-project are now executing the assembly:single goal during the package maven phase so we don't have to execute it explicitly anymore. Refs: Graylog2/graylog2-server#4644 Refs: Graylog2/graylog-project#12
1 parent 1350f49 commit a5071ca

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

cmd/apply_manifest.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -130,9 +130,9 @@ func applyManifestCommand(cmd *cobra.Command, args []string) {
130130
pom.WriteTemplates(config, proj)
131131

132132
// Run tests via package to also test the jar creation
133-
msg("Running tests and assembly:single")
133+
msg("Running tests and build artifacts")
134134
logger.ColorInfo(color.FgMagenta, "[%s]", utils.GetCwd())
135-
applier.MavenRun("clean", "package", "assembly:single")
135+
applier.MavenRun("clean", "package")
136136

137137
// Commit and push new versions and create and push tag
138138
msg("Committing and pushing new versions and tags")
@@ -143,10 +143,10 @@ func applyManifestCommand(cmd *cobra.Command, args []string) {
143143
})
144144
})
145145

146-
// Run deploy & assembly
147-
msg("Running deploy and assembly:single")
146+
// Run deploy & build artifacts
147+
msg("Running deploy and build artifacts")
148148
logger.ColorInfo(color.FgMagenta, "[%s]", utils.GetCwd())
149-
applier.MavenRunWithProfiles([]string{"release"}, "-DskipTests", "clean", "deploy", "assembly:single")
149+
applier.MavenRunWithProfiles([]string{"release"}, "-DskipTests", "clean", "deploy")
150150

151151
// Set development version
152152
msg("Set development versions")

0 commit comments

Comments
 (0)