Skip to content

Commit

Permalink
Expunge the javadoc invocation when building from the command line. (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
mrinaudo-aws authored Sep 20, 2023
1 parent 2c94420 commit 46b977f
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion hooks/alpha-buildspec-java.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 &
Expand Down
2 changes: 1 addition & 1 deletion hooks/beta-buildspec-java.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion hooks/prod-buildspec-java.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion resources/alpha-buildspec-java.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion resources/beta-buildspec-java.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion resources/prod-buildspec-java.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 46b977f

Please sign in to comment.