Skip to content

Commit

Permalink
chore: add version suffixes to Java & .NET init templates (aws#3185)
Browse files Browse the repository at this point in the history
Follow up on aws#3162
  • Loading branch information
RomainMuller authored and Kaixiang-AWS committed Jul 3, 2019
1 parent 4f2d5b4 commit c3f5398
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Amazon.CDK" Version="%cdk-version%" />
<PackageReference Include="Amazon.CDK.AWS.IAM" Version="%cdk-version%" />
<PackageReference Include="Amazon.CDK.AWS.SNS" Version="%cdk-version%" />
<PackageReference Include="Amazon.CDK.AWS.SNS.Subscriptions" Version="%cdk-version%" />
<PackageReference Include="Amazon.CDK.AWS.SQS" Version="%cdk-version%" />
<PackageReference Include="Amazon.CDK" Version="%cdk-version%-devpreview" />
<PackageReference Include="Amazon.CDK.AWS.IAM" Version="%cdk-version%-devpreview" />
<PackageReference Include="Amazon.CDK.AWS.SNS" Version="%cdk-version%-devpreview" />
<PackageReference Include="Amazon.CDK.AWS.SNS.Subscriptions" Version="%cdk-version%-devpreview" />
<PackageReference Include="Amazon.CDK.AWS.SQS" Version="%cdk-version%-devpreview" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>netcoreapp2.1</TargetFramework>
Expand All @@ -12,10 +12,10 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Amazon.CDK" Version="%cdk-version%" />
<PackageReference Include="Amazon.CDK.AWS.IAM" Version="%cdk-version%" />
<PackageReference Include="Amazon.CDK.AWS.SNS" Version="%cdk-version%" />
<PackageReference Include="Amazon.CDK.AWS.SQS" Version="%cdk-version%" />
<PackageReference Include="Amazon.CDK" Version="%cdk-version%-devpreview" />
<PackageReference Include="Amazon.CDK.AWS.IAM" Version="%cdk-version%-devpreview" />
<PackageReference Include="Amazon.CDK.AWS.SNS" Version="%cdk-version%-devpreview" />
<PackageReference Include="Amazon.CDK.AWS.SQS" Version="%cdk-version%-devpreview" />
</ItemGroup>

</Project>
</Project>
12 changes: 6 additions & 6 deletions packages/aws-cdk/lib/init-templates/app/java/pom.template.xml
Original file line number Diff line number Diff line change
Expand Up @@ -39,34 +39,34 @@
<dependency>
<groupId>software.amazon.awscdk</groupId>
<artifactId>core</artifactId>
<version>%cdk-version%</version>
<version>%cdk-version%.DEVPREVIEW</version>
</dependency>

<!-- Respective AWS Construct Libraries -->
<dependency>
<groupId>software.amazon.awscdk</groupId>
<artifactId>iam</artifactId>
<version>%cdk-version%</version>
<version>%cdk-version%.DEVPREVIEW</version>
</dependency>
<dependency>
<groupId>software.amazon.awscdk</groupId>
<artifactId>s3</artifactId>
<version>%cdk-version%</version>
<version>%cdk-version%.DEVPREVIEW</version>
</dependency>
<dependency>
<groupId>software.amazon.awscdk</groupId>
<artifactId>sns</artifactId>
<version>%cdk-version%</version>
<version>%cdk-version%.DEVPREVIEW</version>
</dependency>
<dependency>
<groupId>software.amazon.awscdk</groupId>
<artifactId>sns-subscriptions</artifactId>
<version>%cdk-version%</version>
<version>%cdk-version%.DEVPREVIEW</version>
</dependency>
<dependency>
<groupId>software.amazon.awscdk</groupId>
<artifactId>sqs</artifactId>
<version>%cdk-version%</version>
<version>%cdk-version%.DEVPREVIEW</version>
</dependency>

<!-- https://mvnrepository.com/artifact/junit/junit -->
Expand Down

0 comments on commit c3f5398

Please sign in to comment.