File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -29,9 +29,10 @@ phases:
2929 build :
3030 commands :
3131 # Verify that the package can be found in the snapshot repo
32- # note that this uses an ancient version of maven and the maven dependency plugin because we're on trusty
33- # http://maven.apache.org/plugins-archives/maven-dependency-plugin-2.1/get-mojo.html
34- - mvn -B dependency:get -DrepoUrl=https://aws.oss.sonatype.org/content/repositories/snapshots -Dartifact=software.amazon.awssdk.iotdevicesdk:aws-iot-device-sdk:${PKG_VERSION}-SNAPSHOT -Dtransitive=false
32+ # https://maven.apache.org/plugins/maven-dependency-plugin/get-mojo.html
33+ # The version of maven-dependency-plugin depends on the Codebuild environment.
34+ # Codebuild is using maven-dependency-plugin:3.6.0 with image aws/codebuild/standard:6.0.
35+ - mvn -B dependency:get -DremoteRepositories=https://aws.oss.sonatype.org/content/repositories/snapshots -Dartifact=software.amazon.awssdk.iotdevicesdk:aws-iot-device-sdk:${PKG_VERSION}-SNAPSHOT -Dtransitive=false
3536
3637 # Run PubSub sample
3738 - mvn install -Dmaven.test.skip=true
You can’t perform that action at this time.
0 commit comments