Skip to content

Commit

Permalink
OPENJDK-92: Remove old references to hawt-app
Browse files Browse the repository at this point in the history
Signed-off-by: Jonathan Dowland <[email protected]>
  • Loading branch information
jmtd authored and Jonathan Dowland committed Jun 18, 2020
1 parent 824d5a8 commit 8411125
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,7 @@ function maven_s2i_custom_binary_build() {
}

function maven_s2i_deploy_artifacts_override() {
if [ ${#MAVEN_S2I_ARTIFACT_DIRS} -eq 1 -a -d "${S2I_SOURCE_DIR}/${MAVEN_S2I_ARTIFACT_DIRS[0]}/hawt-app" ]; then
cp -r "${S2I_SOURCE_DIR}/${MAVEN_S2I_ARTIFACT_DIRS[0]}/hawt-app"/* "${S2I_TARGET_DEPLOYMENTS_DIR}"
return $?
elif [ -n "${ARTIFACT_COPY_ARGS}" ]; then
if [ -n "${ARTIFACT_COPY_ARGS}" ]; then
log_warning "ARTIFACT_COPY_ARGS is deprecated. Please use S2I_SOURCE_DEPLOYMENTS_FILTER to specify artifact types and MAVEN_S2I_ARTIFACT_DIRS to specify the build output directories to copy from."
if [ ! -d "${S2I_TARGET_DEPLOYMENTS_DIR}" ]; then
log_info "S2I_TARGET_DEPLOYMENTS_DIR does not exist, creating ${S2I_TARGET_DEPLOYMENTS_DIR}"
Expand Down
4 changes: 2 additions & 2 deletions jboss/container/maven/api/module.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ description: ^

envs:
- name: MAVEN_ARGS
description: Arguments to use when calling Maven, replacing the default `package hawt-app:build -DskipTests -e`. Please be sure to run the `hawt-app:build` goal (when not already bound to the `package` execution phase), otherwise the startup scripts won't work.
example: "-e -Popenshift -DskipTests -Dcom.redhat.xpaas.repo.redhatga package"
description: Arguments to use when calling Maven, replacing the default. To append additional arguments, see `MAVEN_ARGS_APPEND`.
example: "-e -Popenshift -DskipTests -Dcom.redhat.xpaas.repo.redhatga -Dfabric8.skip=true"
- name: MAVEN_ARGS_APPEND
description: Additional Maven arguments.
example: "-X -am -pl"
Expand Down

0 comments on commit 8411125

Please sign in to comment.