xref: /aosp_15_r20/external/TestParameterInjector/pom.xml (revision 0a615120fe93b5def6ccfd1a41a03fb032dc2074)
1<?xml version="1.0" encoding="UTF-8"?>
2<!--
3  ~ Copyright 2021 Google Inc.
4  ~
5  ~ Licensed under the Apache License, Version 2.0 (the "License");
6  ~ you may not use this file except in compliance with the License.
7  ~ You may obtain a copy of the License at
8  ~
9  ~     http://www.apache.org/licenses/LICENSE-2.0
10  ~
11  ~ Unless required by applicable law or agreed to in writing, software
12  ~ distributed under the License is distributed on an "AS IS" BASIS,
13  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  ~ See the License for the specific language governing permissions and
15  ~ limitations under the License.
16  -->
17
18<project xmlns="http://maven.apache.org/POM/4.0.0"
19         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
20         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
21  <modelVersion>4.0.0</modelVersion>
22
23  <groupId>com.google.testparameterinjector</groupId>
24  <artifactId>test-parameter-injector-parent</artifactId>
25  <version>HEAD-SNAPSHOT</version>
26
27  <packaging>pom</packaging>
28
29  <modules>
30    <module>junit4</module>
31    <module>junit5</module>
32  </modules>
33
34  <name>TestParameterInjector parent project for internal use</name>
35
36  <description>
37    A simple yet powerful parameterized test runner.
38  </description>
39
40  <url>https://github.com/google/testparameterinjector</url>
41
42  <inceptionYear>2021</inceptionYear>
43
44  <organization>
45    <name>Google Inc.</name>
46    <url>http://www.google.com/</url>
47  </organization>
48
49  <licenses>
50    <license>
51      <name>The Apache Software License, Version 2.0</name>
52      <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
53      <distribution>repo</distribution>
54    </license>
55  </licenses>
56
57  <developers>
58    <developer>
59      <id>nymanjens</id>
60      <name>Jens Nyman</name>
61      <email>[email protected]</email>
62      <organization>Google Inc.</organization>
63      <organizationUrl>http://www.google.com/</organizationUrl>
64      <roles>
65        <role>owner</role>
66        <role>developer</role>
67      </roles>
68      <timezone>+1</timezone>
69    </developer>
70    <developer>
71      <id>sergebeauchamp</id>
72      <name>Serge Beauchamp</name>
73      <email>[email protected]</email>
74      <organization>Google Inc.</organization>
75      <organizationUrl>http://www.google.com/</organizationUrl>
76      <roles>
77        <role>developer</role>
78      </roles>
79      <timezone>+0</timezone>
80    </developer>
81  </developers>
82
83  <scm>
84    <url>http://github.com/google/testparameterinjector/</url>
85    <connection>scm:git:git://github.com/google/testparameterinjector.git</connection>
86    <developerConnection>scm:git:ssh://[email protected]/google/testparameterinjector.git</developerConnection>
87  </scm>
88
89  <issueManagement>
90    <system>GitHub Issues</system>
91    <url>http://github.com/google/testparameterinjector/issues</url>
92  </issueManagement>
93  <distributionManagement>
94    <snapshotRepository>
95      <id>sonatype-nexus-snapshots</id>
96      <name>Sonatype Nexus Snapshots</name>
97      <url>https://oss.sonatype.org/content/repositories/snapshots/</url>
98    </snapshotRepository>
99    <repository>
100      <id>sonatype-nexus-staging</id>
101      <name>Nexus Release Repository</name>
102      <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
103    </repository>
104  </distributionManagement>
105
106  <prerequisites>
107    <maven>3.0.3</maven>
108  </prerequisites>
109
110  <properties>
111    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
112  </properties>
113
114  <dependencies>
115    <!-- Compile-time dependencies -->
116    <dependency>
117      <groupId>com.google.auto.value</groupId>
118      <artifactId>auto-value-annotations</artifactId>
119      <version>1.7.4</version>
120    </dependency>
121    <dependency>
122      <groupId>com.google.code.findbugs</groupId>
123      <artifactId>jsr305</artifactId>
124      <version>3.0.2</version>
125    </dependency>
126    <dependency>
127      <groupId>com.google.guava</groupId>
128      <artifactId>guava</artifactId>
129      <version>32.0.0-jre</version>
130    </dependency>
131    <dependency>
132      <groupId>org.yaml</groupId>
133      <artifactId>snakeyaml</artifactId>
134      <version>2.0</version>
135    </dependency>
136
137    <!-- Test dependencies -->
138    <dependency>
139      <groupId>com.google.truth</groupId>
140      <artifactId>truth</artifactId>
141      <version>1.1.2</version>
142      <scope>test</scope>
143    </dependency>
144    <dependency>
145      <groupId>com.google.protobuf</groupId>
146      <artifactId>protobuf-javalite</artifactId>
147      <version>3.20.3</version>
148      <scope>test</scope>
149    </dependency>
150  </dependencies>
151
152
153  <build>
154    <plugins>
155      <plugin>
156        <artifactId>maven-jar-plugin</artifactId>
157        <version>3.2.0</version>
158      </plugin>
159      <plugin>
160        <artifactId>maven-compiler-plugin</artifactId>
161        <version>3.8.1</version>
162        <configuration>
163          <source>1.8</source>
164          <target>1.8</target>
165          <testSource>1.8</testSource>
166          <testTarget>1.8</testTarget>
167          <parameters>true</parameters>
168          <compilerArgument>-Xlint:deprecation</compilerArgument>
169          <annotationProcessorPaths>
170            <path>
171              <groupId>com.google.auto.value</groupId>
172              <artifactId>auto-value</artifactId>
173              <version>1.7.4</version>
174            </path>
175          </annotationProcessorPaths>
176        </configuration>
177      </plugin>
178      <plugin>
179        <artifactId>maven-source-plugin</artifactId>
180        <version>3.2.1</version>
181      </plugin>
182      <plugin>
183        <artifactId>maven-surefire-plugin</artifactId>
184        <version>2.22.2</version>
185      </plugin>
186    </plugins>
187  </build>
188
189  <profiles>
190    <profile>
191      <id>sonatype-oss-release</id>
192      <build>
193        <plugins>
194          <plugin>
195            <groupId>org.apache.maven.plugins</groupId>
196            <artifactId>maven-source-plugin</artifactId>
197            <version>3.2.1</version>
198            <executions>
199              <execution>
200                <id>attach-sources</id>
201                <goals>
202                  <goal>jar-no-fork</goal>
203                </goals>
204              </execution>
205            </executions>
206          </plugin>
207          <plugin>
208            <groupId>org.apache.maven.plugins</groupId>
209            <artifactId>maven-javadoc-plugin</artifactId>
210            <configuration>
211              <source>8</source>
212            </configuration>
213            <version>3.2.0</version>
214            <executions>
215              <execution>
216                <id>attach-javadocs</id>
217                <goals>
218                  <goal>jar</goal>
219                </goals>
220              </execution>
221            </executions>
222          </plugin>
223          <plugin>
224            <groupId>org.apache.maven.plugins</groupId>
225            <artifactId>maven-gpg-plugin</artifactId>
226            <version>1.1</version>
227            <executions>
228              <execution>
229                <id>sign-artifacts</id>
230                <phase>verify</phase>
231                <goals>
232                  <goal>sign</goal>
233                </goals>
234              </execution>
235            </executions>
236          </plugin>
237        </plugins>
238      </build>
239    </profile>
240  </profiles>
241</project>
242