azure-autorest-parent
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>com.azure.tools</groupId>
<artifactId>azure-autorest-parent</artifactId>
<version>1.0.0-beta.5</version>
</dependency><?xml version="1.0" encoding="UTF-8"?>
<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>
<groupId>com.azure.tools</groupId>
<artifactId>azure-autorest-parent</artifactId>
<version>1.0.0-beta.5</version>
<packaging>pom</packaging>
<name>Microsoft Azure AutoRest for Java</name>
<description>This is the parent pom for Microsoft Azure AutoRest for Java.</description>
<url>https://github.com/Azure/autorest.java</url>
<licenses>
<license>
<name>The MIT License (MIT)</name>
<url>https://opensource.org/licenses/MIT</url>
<distribution>repo</distribution>
</license>
</licenses>
<organization>
<name>Microsoft Corporation</name>
<url>https://microsoft.com</url>
</organization>
<developers>
<developer>
<id>microsoft</id>
<name>Microsoft Corporation</name>
</developer>
</developers>
<scm>
<url>https://github.com/Azure/autorest.java</url>
<connection>scm:git:https://github.com/Azure/autorest.java.git</connection>
<developerConnection/>
<tag>HEAD</tag>
</scm>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<packageOutputDirectory>${project.build.directory}</packageOutputDirectory>
<checkstyle.skip>false</checkstyle.skip>
<codesnippet.skip>true</codesnippet.skip>
<!-- This property configures whether PLAYBACK tests are ran in parallel. Default is true. -->
<parallelizeTests>true</parallelizeTests>
</properties>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-core</artifactId>
<version>1.44.1</version>
</dependency>
</dependencies>
</dependencyManagement>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-clean-plugin</artifactId>
<version>3.3.2</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>3.3.0</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>3.3.1</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-install-plugin</artifactId>
<version>3.1.1</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<version>3.6.0</version>
</plugin>
<!-- This plugin runs tests -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.2.1</version>
<configuration>
<includes>
<include>**/*Test.java</include>
<include>**/*Tests.java</include>
</includes>
<runOrder>alphabetical</runOrder>
<useSystemClassLoader>false</useSystemClassLoader>
<systemPropertyVariables combine.children="append">
<junit.jupiter.extensions.autodetection.enabled>true</junit.jupiter.extensions.autodetection.enabled>
<junit.jupiter.execution.parallel.mode.default>concurrent</junit.jupiter.execution.parallel.mode.default>
<junit.jupiter.execution.parallel.enabled>${parallelizeTests}</junit.jupiter.execution.parallel.enabled>
</systemPropertyVariables>
<forkCount>1</forkCount>
<testFailureIgnore>false</testFailureIgnore>
</configuration>
<dependencies>
<!-- This dependency is required until maven-surefire-plugin updates the version they use. -->
<!-- The current dependency version doesn't support Java 17. -->
<dependency>
<groupId>org.ow2.asm</groupId>
<artifactId>asm</artifactId>
<version>9.3</version> <!-- {x-version-update;org.ow2.asm:asm;external_dependency} -->
</dependency>
</dependencies>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.11.0</version>
<configuration>
<source>11</source>
<target>11</target>
</configuration>
</plugin>
<plugin>
<groupId>com.azure.tools</groupId>
<artifactId>codesnippet-maven-plugin</artifactId>
<version>1.0.0-beta.8</version>
<configuration>
<skip>${codesnippet.skip}</skip>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.6.0</version>
<configuration>
<source>1.8</source>
<detectJavaApiLink>false</detectJavaApiLink>
<quiet>true</quiet>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>3.3.1</version>
<dependencies>
<dependency>
<groupId>com.puppycrawl.tools</groupId>
<artifactId>checkstyle</artifactId>
<version>9.2</version>
</dependency>
</dependencies>
<configuration>
<skip>${checkstyle.skip}</skip>
<configLocation>checkstyle.xml</configLocation>
<suppressionsLocation>checkstyle-suppressions.xml</suppressionsLocation>
<propertyExpansion>samedir=</propertyExpansion>
<encoding>UTF-8</encoding>
<consoleOutput>true</consoleOutput>
<includeTestSourceDirectory>true</includeTestSourceDirectory>
<linkXRef>true</linkXRef>
<failsOnError>true</failsOnError>
<failOnViolation>true</failOnViolation>
</configuration>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<systemPropertyVariables combine.children="append">
<jacoco-agent.destfile>${project.build.directory}/jacoco.exec</jacoco-agent.destfile>
</systemPropertyVariables>
</configuration>
</plugin>
<plugin>
<groupId>com.azure.tools</groupId>
<artifactId>codesnippet-maven-plugin</artifactId>
<executions>
<execution>
<id>update-codesnippets</id>
<goals>
<goal>update-codesnippet</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<executions>
<execution>
<phase>verify</phase>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.3.0</version>
<configuration>
<outputDirectory>${packageOutputDirectory}</outputDirectory>
</configuration>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar</goal>
</goals>
<phase>package</phase>
</execution>
</executions>
</plugin>
<!-- Copy the pom file to output -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<version>3.1.0</version>
<executions>
<execution>
<id>copy</id>
<phase>package</phase>
<configuration>
<target>
<copy file="${project.pomFile}" tofile="${packageOutputDirectory}/${project.build.finalName}.pom"/>
</target>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- This plugin adds sample code as tests for easier editing in IDEs -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>3.4.0</version>
<executions>
<execution>
<id>compile-samples-source</id>
<phase>generate-test-sources</phase>
<goals>
<goal>add-test-source</goal>
</goals>
<configuration>
<sources>
<source>src/samples/java</source>
</sources>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>testProtocol</id>
<activation>
<property>
<name>testProtocol</name>
</property>
</activation>
<modules>
<module>./protocol-tests</module>
<module>./protocol-resilience-test</module>
<module>./partial-update-tests</module>
</modules>
</profile>
<profile>
<id>testVanilla</id>
<activation>
<property>
<name>testVanilla</name>
</property>
</activation>
<modules>
<module>./vanilla-tests</module>
<module>./azure-dataplane-tests</module>
</modules>
</profile>
<profile>
<id>testAzure</id>
<activation>
<property>
<name>testAzure</name>
</property>
</activation>
<modules>
<module>./azure-tests</module>
</modules>
</profile>
<profile>
<id>testFluent</id>
<activation>
<property>
<name>testFluent</name>
</property>
</activation>
<modules>
<module>./fluent-tests</module>
</modules>
</profile>
<profile>
<id>tsp</id>
<activation>
<property>
<name>tsp</name>
</property>
</activation>
<modules>
<module>./javagen</module>
<module>./preprocessor</module>
<module>./partial-update</module>
<module>./extension-base</module>
<module>./typespec-extension</module>
</modules>
</profile>
<profile>
<id>testTsp</id>
<activation>
<property>
<name>testTsp</name>
</property>
</activation>
<modules>
<module>./typespec-tests</module>
</modules>
</profile>
</profiles>
<modules>
<module>./javagen</module>
<module>./preprocessor</module>
<module>./postprocessor</module>
<module>./customization-base</module>
<module>./customization-tests</module>
<module>./extension-base</module>
<module>./fluentgen</module>
<module>./fluentnamer</module>
<module>./androidgen</module>
<module>./partial-update</module>
</modules>
</project>