azure-ai-personalizer
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>com.azure</groupId> <artifactId>azure-ai-personalizer</artifactId> <version>1.0.0-beta.1</version> </dependency>
<!-- Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License. --> <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/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>com.azure</groupId> <artifactId>azure-client-sdk-parent</artifactId> <version>1.7.0</version> <!-- {x-version-update;com.azure:azure-client-sdk-parent;current} --> <relativePath>../../parents/azure-client-sdk-parent</relativePath> </parent> <groupId>com.azure</groupId> <artifactId>azure-ai-personalizer</artifactId> <version>1.0.0-beta.1</version> <!-- {x-version-update;com.azure:azure-ai-personalizer;current} --> <name>Microsoft Azure client library for Personalizer</name> <description>This package contains the Microsoft Azure Cognitive Services Personalizer SDK.</description> <url>https://github.com/Azure/azure-sdk-for-java</url> <distributionManagement> <site> <id>azure-java-build-docs</id> <url>${site.url}/site/${project.artifactId}</url> </site> </distributionManagement> <scm> <url>scm:git:https://github.com/Azure/azure-sdk-for-java</url> <connection>scm:git:git@github.com:Azure/azure-sdk-for-java.git</connection> <tag>HEAD</tag> </scm> <properties> <!-- Configures the Java 9+ run to perform the required module exports, opens, and reads that are necessary for testing but shouldn't be part of the module-info. --> <javaModulesSurefireArgLine> --add-exports com.azure.core/com.azure.core.implementation.http=ALL-UNNAMED --add-opens com.azure.ai.personalizer/com.azure.ai.personalizer=ALL-UNNAMED --add-exports com.azure.core/com.azure.core.implementation.util=ALL-UNNAMED --add-opens com.azure.core/com.azure.core.implementation.util=ALL-UNNAMED </javaModulesSurefireArgLine> </properties> <dependencies> <dependency> <groupId>com.azure</groupId> <artifactId>azure-core</artifactId> <version>1.32.0</version> <!-- {x-version-update;com.azure:azure-core;dependency} --> </dependency> <dependency> <groupId>com.azure</groupId> <artifactId>azure-core-http-netty</artifactId> <version>1.12.5</version> <!-- {x-version-update;com.azure:azure-core-http-netty;dependency} --> </dependency> <!-- Test Dependencies --> <dependency> <groupId>com.azure</groupId> <artifactId>azure-core-test</artifactId> <version>1.12.0</version> <!-- {x-version-update;com.azure:azure-core-test;dependency} --> <scope>test</scope> </dependency> <dependency> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter-api</artifactId> <version>5.8.2</version> <!-- {x-version-update;org.junit.jupiter:junit-jupiter-api;external_dependency} --> <scope>test</scope> </dependency> <dependency> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter-engine</artifactId> <version>5.8.2</version> <!-- {x-version-update;org.junit.jupiter:junit-jupiter-engine;external_dependency} --> <scope>test</scope> </dependency> <dependency> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter-params</artifactId> <version>5.8.2</version> <!-- {x-version-update;org.junit.jupiter:junit-jupiter-params;external_dependency} --> <scope>test</scope> </dependency> <dependency> <groupId>com.azure</groupId> <artifactId>azure-identity</artifactId> <version>1.5.5</version> <!-- {x-version-update;com.azure:azure-identity;dependency} --> <scope>test</scope> </dependency> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.13.2</version> <!-- {x-version-update;junit:junit;external_dependency} --> <scope>test</scope> </dependency> </dependencies> <build> <plugins> <!-- START: Empty Java Doc --> <!-- The following code will generate an empty javadoc with just a README.md. This is necessary to pass the required checks on Maven. The way this works is by setting the classesDirectory to a directory that only contains the README.md, which we need to copy. If the classesDirectory is set to the root, where the README.md lives, it still won't have javadocs but the jar file will contain a bunch of files that shouldn't be there. The faux sources directory is deleted and recreated with the README.md being copied every time to guarantee that, when building locally, it'll have the latest copy of the README.md file. --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>3.3.1</version> <!-- {x-version-update;org.apache.maven.plugins:maven-javadoc-plugin;external_dependency} --> <executions> <execution> <id>attach-javadocs</id> <goals> <goal>jar</goal> </goals> <configuration> <skip>true</skip> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> <version>3.1.2</version> <!-- {x-version-update;org.apache.maven.plugins:maven-jar-plugin;external_dependency} --> <executions> <execution> <id>empty-javadoc-jar-with-readme</id> <phase>package</phase> <goals> <goal>jar</goal> </goals> <configuration> <classifier>javadoc</classifier> <classesDirectory>${project.basedir}/javadocTemp</classesDirectory> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-antrun-plugin</artifactId> <version>1.8</version> <!-- {x-version-update;org.apache.maven.plugins:maven-antrun-plugin;external_dependency} --> <executions> <execution> <id>copy-readme-to-javadocTemp</id> <phase>prepare-package</phase> <configuration> <target> <echo>Deleting existing ${project.basedir}/javadocTemp</echo> <delete includeEmptyDirs="true" quiet="true"> <fileset dir="${project.basedir}/javadocTemp"/> </delete> <echo>Copying ${project.basedir}/README.md to ${project.basedir}/javadocTemp/README.md </echo> <copy file="${project.basedir}/README.md" tofile="${project.basedir}/javadocTemp/README.md"/> </target> </configuration> <goals> <goal>run</goal> </goals> </execution> </executions> </plugin> <!-- END: Empty Java Doc --> </plugins> </build> </project>