From 1d3967525ebb2a36e051aa0b4bc09f8c3c951ac4 Mon Sep 17 00:00:00 2001 From: Matteo Rinaudo Date: Wed, 20 Sep 2023 10:29:28 -0400 Subject: [PATCH] Expunge the javadoc invocation when building from the command line. --- hooks/alpha-buildspec-java.yml | 2 +- hooks/beta-buildspec-java.yml | 2 +- hooks/prod-buildspec-java.yml | 2 +- resources/alpha-buildspec-java.yml | 2 +- resources/beta-buildspec-java.yml | 2 +- resources/prod-buildspec-java.yml | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/hooks/alpha-buildspec-java.yml b/hooks/alpha-buildspec-java.yml index 9bd28dd1..d06b04dc 100644 --- a/hooks/alpha-buildspec-java.yml +++ b/hooks/alpha-buildspec-java.yml @@ -31,7 +31,7 @@ phases: - cfn generate - SETUP_STACK_NAME="setup-$(echo $TYPE_CLEAN_NAME | sed s/_/-/g)" - if [ -f test/setup.yml ]; then rain deploy test/setup.yml $SETUP_STACK_NAME -y; fi - - mvn clean verify javadoc:javadoc -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn + - mvn clean verify -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn - cfn submit --dry-run - ls -ltra - nohup sam local start-lambda & diff --git a/hooks/beta-buildspec-java.yml b/hooks/beta-buildspec-java.yml index 0c9e29a8..e1c3d1c0 100644 --- a/hooks/beta-buildspec-java.yml +++ b/hooks/beta-buildspec-java.yml @@ -24,7 +24,7 @@ phases: - echo Entered the build phase... - cfn validate - cfn generate - - mvn clean verify javadoc:javadoc -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn + - mvn clean verify -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn - cfn submit --set-default - HOOK_TYPE_ARN=$(aws cloudformation list-types --visibility PRIVATE --type HOOK --filters TypeNamePrefix=$TYPE_NAME --output json | jq -r '.TypeSummaries[0].TypeArn') - aws cloudformation set-type-configuration --configuration file://test/configuration.json --type-arn $HOOK_TYPE_ARN diff --git a/hooks/prod-buildspec-java.yml b/hooks/prod-buildspec-java.yml index 4d467c63..d819075f 100644 --- a/hooks/prod-buildspec-java.yml +++ b/hooks/prod-buildspec-java.yml @@ -22,7 +22,7 @@ phases: build: commands: - echo Entered the build phase... - - mvn clean verify javadoc:javadoc -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn + - mvn clean verify -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn - ls -l ../../release - ../../release/publish-regions.sh finally: diff --git a/resources/alpha-buildspec-java.yml b/resources/alpha-buildspec-java.yml index 44565e28..8d82619e 100644 --- a/resources/alpha-buildspec-java.yml +++ b/resources/alpha-buildspec-java.yml @@ -31,7 +31,7 @@ phases: - cfn generate - SETUP_STACK_NAME="setup-$(echo $TYPE_CLEAN_NAME | sed s/_/-/g)" - if [ -f test/setup.yml ]; then rain deploy test/setup.yml $SETUP_STACK_NAME -y; fi - - mvn clean verify javadoc:javadoc -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn + - mvn clean verify -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn - ls -ltra - nohup sam local start-lambda & - sleep 10 diff --git a/resources/beta-buildspec-java.yml b/resources/beta-buildspec-java.yml index d710dc81..169625dc 100644 --- a/resources/beta-buildspec-java.yml +++ b/resources/beta-buildspec-java.yml @@ -26,7 +26,7 @@ phases: - cfn validate - cfn generate - ../../release/deregister-all.sh us-east-1 RESOURCE - - mvn clean verify javadoc:javadoc -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn + - mvn clean verify -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn - cfn submit --set-default - INTEG_STACK_NAME="integ-$(echo $TYPE_CLEAN_NAME | sed s/_/-/g)" - rain deploy test/integ.yml $INTEG_STACK_NAME -y diff --git a/resources/prod-buildspec-java.yml b/resources/prod-buildspec-java.yml index 89d1439f..e6e7b4b1 100644 --- a/resources/prod-buildspec-java.yml +++ b/resources/prod-buildspec-java.yml @@ -22,7 +22,7 @@ phases: build: commands: - echo Entered the build phase... - - mvn clean verify javadoc:javadoc -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn + - mvn clean verify -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn - ls -l ../../release - ../../release/publish-regions.sh finally: