Skip to content

Commit

Permalink
Correctly parent azure-test-watcher (#10638)
Browse files Browse the repository at this point in the history
  • Loading branch information
JimSuplizio authored Apr 30, 2020
1 parent 252366a commit 0b8e1f5
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions common/azure-test-watcher/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@
<artifactId>azure-test-watcher</artifactId>
<version>1.0.0-beta.1</version> <!-- {x-version-update;com.azure:azure-test-watcher;current} -->

<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>../../sdk/parents/azure-client-sdk-parent</relativePath>
</parent>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>

Expand All @@ -17,6 +24,29 @@
<maven.compiler.target>1.8</maven.compiler.target>
</properties>

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<version>3.0.0-M3</version> <!-- {x-version-update;org.apache.maven.plugins:maven-enforcer-plugin;external_dependency} -->
<configuration>
<rules>
<bannedDependencies>
<includes>
<include>com.azure:*</include>

<!-- special allowance for azure-test-watcher as it is not a shipping library: -->
<include>org.junit.jupiter:junit-jupiter:[5.4.2]</include> <!-- {x-include-update;org.junit.jupiter:junit-jupiter;external_dependency} -->
<include>org.junit.jupiter:junit-jupiter-api:[5.4.2]</include> <!-- {x-include-update;org.junit.jupiter:junit-jupiter-api;external_dependency} -->
</includes>
</bannedDependencies>
</rules>
</configuration>
</plugin>
</plugins>
</build>

<dependencies>
<dependency>
<groupId>org.junit.jupiter</groupId>
Expand Down

0 comments on commit 0b8e1f5

Please sign in to comment.