java - com.amazonaws.services.textract 的 Maven 依赖项是什么?
问题描述
AWS 最近发布了(2018 年 11 月 28 日)一些新的 API。Textract 就是其中之一,但仍然找不到合适的文档来解释它。参考此AWS 文档。对于 JAVA,有一些与 textract 相关的依赖项。搜索 jars 和 maven 依赖项,但找不到任何东西。对此有任何想法吗?
进口 com.amazonaws.services.textract.*
解决方案
这个pom.xml将帮助您获取 AWS 文本。
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>aws.example.textract</groupId>
<artifactId>aws-textract-examples</artifactId>
<packaging>jar</packaging>
<version>1.0</version>
<name>Amazon Textract Examples</name>
<url>http://maven.apache.org</url>
<properties>
<maven.compiler.source>1.7</maven.compiler.source>
<maven.compiler.target>1.7</maven.compiler.target>
</properties>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>com.amazonaws</groupId>
<artifactId>aws-java-sdk-bom</artifactId>
<version>1.11.534</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<dependency>
<groupId>com.amazonaws</groupId>
<artifactId>aws-java-sdk-textract</artifactId>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.1</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.amazonaws</groupId>
<artifactId>aws-java-sdk-s3</artifactId>
</dependency>
</dependencies>
</project>
推荐阅读
- flutter - 避免在 Switch.adaptive 上拖动开关
- http - 为什么我的网站收到很多“/favicon.icon”请求?
- c# - C# XML 从另一个 xml 编辑和添加
- react-native - Animated.FlatList 上的 disableIntervalMomentum 不起作用
- css - 如果容器为空,如何移动 div 容器
- angular - 从 Angular 7 升级到 Angular 8,为什么“ng update”告诉我 @angular/cli 没有安装?
- javascript - 在 Vue 中使用 requestAnimationFrame 观察滚动位置
- python-3.x - 需要更好的方法来使用 Gridfs 将 oracle blob 数据加载到 Mongodb 集合中
- python-3.x - 在包含匹配元素的数据框或矩阵中生成行列表
- junit - 为多个用户运行 Junit Test jar 时 Jmeter 执行失败