Skip to content
This repository has been archived by the owner on Sep 16, 2023. It is now read-only.

Commit

Permalink
samples: fix install for snippets (#93)
Browse files Browse the repository at this point in the history
This library is not included in the libraries-bom so don't include those
instructions.
  • Loading branch information
chingor13 committed Jun 17, 2020
1 parent f185434 commit 19842ed
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 27 deletions.
23 changes: 1 addition & 22 deletions README.md
Expand Up @@ -13,29 +13,8 @@ Java idiomatic client for [Recommendations AI][product-docs].
## Quickstart

If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file
```xml
<dependencyManagement>
<dependencies>
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>libraries-bom</artifactId>
<version>5.7.0</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>

<dependencies>
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-recommendations-ai</artifactId>
</dependency>

```

If you are using Maven without BOM, add this to your dependencies:
If you are using Maven, add this to your pom.xml file:

```xml
<dependency>
Expand Down
3 changes: 1 addition & 2 deletions samples/snippets/pom.xml
Expand Up @@ -24,7 +24,6 @@
</properties>


<!-- [START recommendationengine_install_with_bom] -->
<dependencyManagement>
<dependencies>
<dependency>
Expand All @@ -41,8 +40,8 @@
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-recommendations-ai</artifactId>
<version>0.2.0</version>
</dependency>
<!-- [END recommendationengine_install_with_bom] -->

<dependency>
<groupId>junit</groupId>
Expand Down
6 changes: 3 additions & 3 deletions synth.metadata
Expand Up @@ -4,15 +4,15 @@
"git": {
"name": ".",
"remote": "https://github.com/googleapis/java-recommendations-ai.git",
"sha": "c5b045391842364f5c0c0c8ca862f4e58f9a1a28"
"sha": "5c8b6e34a4bcecc714b5ec8b3bdf1f9735cc7d03"
}
},
{
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
"sha": "864dfeafdd5429e20612d378169858d9fe08c9e8",
"internalRef": "316509011"
"sha": "c1ba5ba3f24307ca5a6df350d0137c29d69983d5",
"internalRef": "316715576"
}
},
{
Expand Down

0 comments on commit 19842ed

Please sign in to comment.