Skip to content

Commit

Permalink
aws-cdk-java: Normalize maven usage (#148)
Browse files Browse the repository at this point in the history
* Use a generated pom.xml to plug-in version numbers
* Emit a local maven repo directory structure to `maven-repo`
* Fix bundle-beta.sh to produce repo/maven from maven-repo dirs
* Update jsii to 5a79bce
* Align all versions to v0.7.2-beta
  • Loading branch information
Elad Ben-Israel authored Jun 21, 2018
1 parent a635523 commit 8c81c7d
Show file tree
Hide file tree
Showing 28 changed files with 248 additions and 390 deletions.
3 changes: 2 additions & 1 deletion bundle-beta.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ ${root}/tools/pkgtools/bin/publish-to-verdaccio \
# Create a local maven repository
echo "Preparing local MVN registry"
mkdir -p repo/maven
cp ${root}/packages/aws-cdk-java/target/*.jar repo/maven
rsync -av ${root}/packages/aws-cdk-java/maven-repo/ repo/maven/
rsync -av ${root}/node_modules/jsii-java-runtime/maven-repo/ repo/maven/

# Bootstrap a production-ready node_modules closure with all npm modules (jsii and CDK)
echo "Bootstrapping a production-ready npm closure"
Expand Down
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@
"typescript": "^2.8.3",
"tslint": "^5.10.0",
"nyc": "^11.8.0",
"jsii": "file:.local-npm/jsii-0.4.0-pre.tgz",
"jsii-java-runtime": "file:.local-npm/jsii-java-runtime-0.4.0-pre.tgz",
"jsii-pacmak": "file:.local-npm/jsii-pacmak-0.4.0-pre.tgz",
"jsii-runtime": "file:.local-npm/jsii-runtime-0.4.0-pre.tgz",
"jsii-spec": "file:.local-npm/jsii-spec-0.4.0-pre.tgz",
"jsii-kernel": "file:.local-npm/jsii-kernel-0.4.0-pre.tgz",
"codemaker": "file:.local-npm/codemaker-0.4.0-pre.tgz"
"jsii": "file:.local-npm/jsii-0.5.0-beta.tgz",
"jsii-java-runtime": "file:.local-npm/jsii-java-runtime-0.5.0-beta.tgz",
"jsii-pacmak": "file:.local-npm/jsii-pacmak-0.5.0-beta.tgz",
"jsii-runtime": "file:.local-npm/jsii-runtime-0.5.0-beta.tgz",
"jsii-spec": "file:.local-npm/jsii-spec-0.5.0-beta.tgz",
"jsii-kernel": "file:.local-npm/jsii-kernel-0.5.0-beta.tgz",
"codemaker": "file:.local-npm/codemaker-0.5.0-beta.tgz"
},
"repository": {
"type": "git",
Expand Down
39 changes: 11 additions & 28 deletions packages/@aws-cdk/acm/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

39 changes: 11 additions & 28 deletions packages/@aws-cdk/cloudfront/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 8c81c7d

Please sign in to comment.