云服务包提供了对各种服务进行调用所需的API。应用必须引入服务包依赖才可以对服务进行调用。
<repositories> <repository> <id>taerepository</id> <url>http://mvnrepo.tae.taobao.com/content/groups/public/</url> <releases> <enabled>true</enabled> </releases> <snapshots> <enabled>false</enabled> </snapshots> </repository> <repository> <id>taesnapshots</id> <url>http://mvnrepo.tae.taobao.com/content/repositories/snapshots/</url> <releases> <enabled>false</enabled> </releases> <snapshots> <enabled>true</enabled> </snapshots> </repository> <repository> <id>taereleases</id> <url>http://mvnrepo.tae.taobao.com/content/repositories/releases/</url> <releases> <enabled>true</enabled> </releases> <snapshots> <enabled>false</enabled> </snapshots> </repository> </repositories>
<dependency> <groupId>com.alibaba.appengine</groupId> <artifactId>services-api</artifactId> <version>1.4.27-SNAPSHOT</version> <scope>provided</scope> </dependency>
<dependency> <groupId>com.alibaba.appengine</groupId> <artifactId>services-jae-api</artifactId> <version>1.0.8-SNAPSHOT</version> </dependency>