Skip to content

Commit

Permalink
Correct java examples (#498)
Browse files Browse the repository at this point in the history
  • Loading branch information
RomainMuller authored and Elad Ben-Israel committed Aug 3, 2018
1 parent b43c0d5 commit b449171
Show file tree
Hide file tree
Showing 7 changed files with 2 additions and 13 deletions.
13 changes: 1 addition & 12 deletions examples/cdk-examples-java/pom.xml.t.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const mavenFromNpm = name => ({
repo: path.join(path.dirname(require.resolve(name)), 'maven-repo'),
});

const cdk = mavenFromNpm('aws-cdk-java');
const cdk = mavenFromNpm('aws-cdk');
const jsii = mavenFromNpm('jsii-java-runtime');

process.stdout.write(`
Expand All @@ -16,17 +16,6 @@ process.stdout.write(`
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<repositories>
<repository>
<id>cdk</id>
<url>file://${cdk.repo}</url>
</repository>
<repository>
<id>jsii</id>
<url>file://${jsii.repo}</url>
</repository>
</repositories>
<groupId>com.amazonaws.cdk</groupId>
<artifactId>cdk-examples-java</artifactId>
<version>${version}</version>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import software.amazon.awscdk.services.sqs.QueueProps;
import com.fasterxml.jackson.databind.JsonNode;
import com.fasterxml.jackson.databind.ObjectMapper;
import org.jsii.JsiiException;
import software.amazon.jsii.JsiiException;
import org.junit.Test;

import java.io.IOException;
Expand Down

0 comments on commit b449171

Please sign in to comment.