Merge branch 'stable-3.0' into stable-3.1 * origin/stable-3.0: Remove unused properties example-webLinkProject: Remove unused dependencies Refactor poms and build parent pom Update bazlets to latest 3.0 and maven build to 3.0.13 Update bazlets to latest 2.16 and maven build to 2.16.22 Change-Id: Ic159038c8113720f1499e9598646498a3a68978e
diff --git a/example-adminSshCommand/pom.xml b/example-adminSshCommand/pom.xml index ea0c38f..5c13154 100644 --- a/example-adminSshCommand/pom.xml +++ b/example-adminSshCommand/pom.xml
@@ -15,14 +15,18 @@ limitations under the 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/maven-v4_0_0.xsd"> + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> - <groupId>com.googlesource.gerrit.plugins</groupId> + <parent> + <groupId>com.googlesource.gerrit.plugins</groupId> + <artifactId>examples-all</artifactId> + <version>3.1.8</version> + </parent> + <artifactId>example-adminSshCommand</artifactId> <packaging>jar</packaging> - <version>3.1.8</version> <properties> <Gerrit-ApiType>plugin</Gerrit-ApiType> <Gerrit-ApiVersion>${project.version}</Gerrit-ApiVersion> @@ -64,7 +68,6 @@ </configuration> </plugin> </plugins> - </build> <dependencies> @@ -75,11 +78,4 @@ <scope>provided</scope> </dependency> </dependencies> - - <repositories> - <repository> - <id>maven.org</id> - <url>http://repo1.maven.org/maven2</url> - </repository> - </repositories> </project>
diff --git a/example-changeHasOperator/pom.xml b/example-changeHasOperator/pom.xml index 604ee1c..17b09c6 100644 --- a/example-changeHasOperator/pom.xml +++ b/example-changeHasOperator/pom.xml
@@ -15,14 +15,18 @@ limitations under the 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/maven-v4_0_0.xsd"> + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> - <groupId>com.googlesource.gerrit.plugins</groupId> + <parent> + <groupId>com.googlesource.gerrit.plugins</groupId> + <artifactId>examples-all</artifactId> + <version>3.1.8</version> + </parent> + <artifactId>example-changeHasOperator</artifactId> <packaging>jar</packaging> - <version>3.1.8</version> <properties> <Gerrit-ApiType>plugin</Gerrit-ApiType> <Gerrit-ApiVersion>${project.version}</Gerrit-ApiVersion> @@ -64,7 +68,6 @@ </configuration> </plugin> </plugins> - </build> <dependencies> @@ -75,11 +78,4 @@ <scope>provided</scope> </dependency> </dependencies> - - <repositories> - <repository> - <id>maven.org</id> - <url>http://repo1.maven.org/maven2</url> - </repository> - </repositories> </project>
diff --git a/example-changeOperator/pom.xml b/example-changeOperator/pom.xml index 6bba2f4..fe91635 100644 --- a/example-changeOperator/pom.xml +++ b/example-changeOperator/pom.xml
@@ -15,14 +15,18 @@ limitations under the 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/maven-v4_0_0.xsd"> + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> - <groupId>com.googlesource.gerrit.plugins</groupId> + <parent> + <groupId>com.googlesource.gerrit.plugins</groupId> + <artifactId>examples-all</artifactId> + <version>3.1.8</version> + </parent> + <artifactId>example-changeOperator</artifactId> <packaging>jar</packaging> - <version>3.1.8</version> <properties> <Gerrit-ApiType>plugin</Gerrit-ApiType> <Gerrit-ApiVersion>${project.version}</Gerrit-ApiVersion> @@ -64,7 +68,6 @@ </configuration> </plugin> </plugins> - </build> <dependencies> @@ -75,11 +78,4 @@ <scope>provided</scope> </dependency> </dependencies> - - <repositories> - <repository> - <id>maven.org</id> - <url>http://repo1.maven.org/maven2</url> - </repository> - </repositories> </project>
diff --git a/example-changeQueryAttributes/pom.xml b/example-changeQueryAttributes/pom.xml index b255242..4d01b21 100644 --- a/example-changeQueryAttributes/pom.xml +++ b/example-changeQueryAttributes/pom.xml
@@ -15,14 +15,18 @@ limitations under the 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/maven-v4_0_0.xsd"> + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> - <groupId>com.googlesource.gerrit.plugins</groupId> + <parent> + <groupId>com.googlesource.gerrit.plugins</groupId> + <artifactId>examples-all</artifactId> + <version>3.1.8</version> + </parent> + <artifactId>example-changeQueryAttributes</artifactId> <packaging>jar</packaging> - <version>3.1.8</version> <properties> <Gerrit-ApiType>plugin</Gerrit-ApiType> <Gerrit-ApiVersion>${project.version}</Gerrit-ApiVersion> @@ -43,7 +47,8 @@ <Implementation-Vendor>Gerrit Code Review</Implementation-Vendor> <Implementation-URL>https://gerrit-review.googlesource.com/#/admin/projects/plugins/examples</Implementation-URL> - <Implementation-Title>Example Simple Change Query Attribute</Implementation-Title> + <Implementation-Title>Example Simple Change Query + Attribute</Implementation-Title> <Implementation-Version>${project.version}</Implementation-Version> <Gerrit-ApiType>${Gerrit-ApiType}</Gerrit-ApiType> @@ -64,7 +69,6 @@ </configuration> </plugin> </plugins> - </build> <dependencies> @@ -75,11 +79,4 @@ <scope>provided</scope> </dependency> </dependencies> - - <repositories> - <repository> - <id>maven.org</id> - <url>http://repo1.maven.org/maven2</url> - </repository> - </repositories> </project>
diff --git a/example-commitValidator/pom.xml b/example-commitValidator/pom.xml index 3edbfaa..c2441ad 100644 --- a/example-commitValidator/pom.xml +++ b/example-commitValidator/pom.xml
@@ -15,14 +15,18 @@ limitations under the 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/maven-v4_0_0.xsd"> + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> - <groupId>com.googlesource.gerrit.plugins</groupId> + <parent> + <groupId>com.googlesource.gerrit.plugins</groupId> + <artifactId>examples-all</artifactId> + <version>3.1.8</version> + </parent> + <artifactId>example-commitValidator</artifactId> <packaging>jar</packaging> - <version>3.1.8</version> <properties> <Gerrit-ApiType>plugin</Gerrit-ApiType> <Gerrit-ApiVersion>${project.version}</Gerrit-ApiVersion> @@ -64,7 +68,6 @@ </configuration> </plugin> </plugins> - </build> <dependencies> @@ -75,11 +78,4 @@ <scope>provided</scope> </dependency> </dependencies> - - <repositories> - <repository> - <id>maven.org</id> - <url>http://repo1.maven.org/maven2</url> - </repository> - </repositories> </project>
diff --git a/example-consoleMetricReporter/pom.xml b/example-consoleMetricReporter/pom.xml index 1655868..5079bbb 100644 --- a/example-consoleMetricReporter/pom.xml +++ b/example-consoleMetricReporter/pom.xml
@@ -15,14 +15,18 @@ limitations under the 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/maven-v4_0_0.xsd"> + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> - <groupId>com.googlesource.gerrit.plugins</groupId> + <parent> + <groupId>com.googlesource.gerrit.plugins</groupId> + <artifactId>examples-all</artifactId> + <version>3.1.8</version> + </parent> + <artifactId>example-consoleMetricReporter</artifactId> <packaging>jar</packaging> - <version>3.1.8</version> <properties> <Gerrit-ApiType>plugin</Gerrit-ApiType> <Gerrit-ApiVersion>${project.version}</Gerrit-ApiVersion> @@ -64,7 +68,6 @@ </configuration> </plugin> </plugins> - </build> <dependencies> @@ -75,11 +78,4 @@ <scope>provided</scope> </dependency> </dependencies> - - <repositories> - <repository> - <id>maven.org</id> - <url>http://repo1.maven.org/maven2</url> - </repository> - </repositories> </project>
diff --git a/example-deployedOnIncludedInExtension/pom.xml b/example-deployedOnIncludedInExtension/pom.xml index c929d56..f68c614 100644 --- a/example-deployedOnIncludedInExtension/pom.xml +++ b/example-deployedOnIncludedInExtension/pom.xml
@@ -15,14 +15,18 @@ limitations under the 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/maven-v4_0_0.xsd"> + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> - <groupId>com.googlesource.gerrit.plugins</groupId> + <parent> + <groupId>com.googlesource.gerrit.plugins</groupId> + <artifactId>examples-all</artifactId> + <version>3.1.8</version> + </parent> + <artifactId>example-deployedOnIncludedInExtension</artifactId> <packaging>jar</packaging> - <version>3.1.8</version> <properties> <Gerrit-ApiType>plugin</Gerrit-ApiType> <Gerrit-ApiVersion>${project.version}</Gerrit-ApiVersion> @@ -43,7 +47,8 @@ <Implementation-Vendor>Gerrit Code Review</Implementation-Vendor> <Implementation-URL>https://gerrit-review.googlesource.com/#/admin/projects/plugins/examples</Implementation-URL> - <Implementation-Title>Example Deployed On Included-In Extension</Implementation-Title> + <Implementation-Title>Example Deployed On Included-In + Extension</Implementation-Title> <Implementation-Version>${project.version}</Implementation-Version> <Gerrit-ApiType>${Gerrit-ApiType}</Gerrit-ApiType> @@ -64,7 +69,6 @@ </configuration> </plugin> </plugins> - </build> <dependencies> @@ -75,11 +79,4 @@ <scope>provided</scope> </dependency> </dependencies> - - <repositories> - <repository> - <id>maven.org</id> - <url>http://repo1.maven.org/maven2</url> - </repository> - </repositories> </project>
diff --git a/example-restApiCommandOption/pom.xml b/example-restApiCommandOption/pom.xml index e4f60c6..4fadfbf 100644 --- a/example-restApiCommandOption/pom.xml +++ b/example-restApiCommandOption/pom.xml
@@ -15,14 +15,18 @@ limitations under the 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/maven-v4_0_0.xsd"> + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> - <groupId>com.googlesource.gerrit.plugins</groupId> + <parent> + <groupId>com.googlesource.gerrit.plugins</groupId> + <artifactId>examples-all</artifactId> + <version>3.1.8</version> + </parent> + <artifactId>example-restApiCommandOption</artifactId> <packaging>jar</packaging> - <version>3.1.8</version> <properties> <Gerrit-ApiType>plugin</Gerrit-ApiType> <Gerrit-ApiVersion>${project.version}</Gerrit-ApiVersion> @@ -64,7 +68,6 @@ </configuration> </plugin> </plugins> - </build> <dependencies> @@ -75,11 +78,4 @@ <scope>provided</scope> </dependency> </dependencies> - - <repositories> - <repository> - <id>maven.org</id> - <url>http://repo1.maven.org/maven2</url> - </repository> - </repositories> </project>
diff --git a/example-restApiGetRevision/pom.xml b/example-restApiGetRevision/pom.xml index 5d8131a..759ec17 100644 --- a/example-restApiGetRevision/pom.xml +++ b/example-restApiGetRevision/pom.xml
@@ -15,14 +15,18 @@ limitations under the 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/maven-v4_0_0.xsd"> + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> - <groupId>com.googlesource.gerrit.plugins</groupId> + <parent> + <groupId>com.googlesource.gerrit.plugins</groupId> + <artifactId>examples-all</artifactId> + <version>3.1.8</version> + </parent> + <artifactId>example-restApiGetRevision</artifactId> <packaging>jar</packaging> - <version>3.1.8</version> <properties> <Gerrit-ApiType>plugin</Gerrit-ApiType> <Gerrit-ApiVersion>${project.version}</Gerrit-ApiVersion> @@ -64,7 +68,6 @@ </configuration> </plugin> </plugins> - </build> <dependencies> @@ -75,11 +78,4 @@ <scope>provided</scope> </dependency> </dependencies> - - <repositories> - <repository> - <id>maven.org</id> - <url>http://repo1.maven.org/maven2</url> - </repository> - </repositories> </project>
diff --git a/example-restApiPostProject/pom.xml b/example-restApiPostProject/pom.xml index a424e3c..2e51b5c 100644 --- a/example-restApiPostProject/pom.xml +++ b/example-restApiPostProject/pom.xml
@@ -15,14 +15,18 @@ limitations under the 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/maven-v4_0_0.xsd"> + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> - <groupId>com.googlesource.gerrit.plugins</groupId> + <parent> + <groupId>com.googlesource.gerrit.plugins</groupId> + <artifactId>examples-all</artifactId> + <version>3.1.8</version> + </parent> + <artifactId>example-restApiPostProject</artifactId> <packaging>jar</packaging> - <version>3.1.8</version> <properties> <Gerrit-ApiType>plugin</Gerrit-ApiType> <Gerrit-ApiVersion>${project.version}</Gerrit-ApiVersion> @@ -64,7 +68,6 @@ </configuration> </plugin> </plugins> - </build> <dependencies> @@ -75,11 +78,4 @@ <scope>provided</scope> </dependency> </dependencies> - - <repositories> - <repository> - <id>maven.org</id> - <url>http://repo1.maven.org/maven2</url> - </repository> - </repositories> -</project> +</project> \ No newline at end of file
diff --git a/example-restApiPostRevision/pom.xml b/example-restApiPostRevision/pom.xml index d1d1800..335baeb 100644 --- a/example-restApiPostRevision/pom.xml +++ b/example-restApiPostRevision/pom.xml
@@ -15,14 +15,18 @@ limitations under the 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/maven-v4_0_0.xsd"> + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> - <groupId>com.googlesource.gerrit.plugins</groupId> + <parent> + <groupId>com.googlesource.gerrit.plugins</groupId> + <artifactId>examples-all</artifactId> + <version>3.1.8</version> + </parent> + <artifactId>example-restApiPostRevision</artifactId> <packaging>jar</packaging> - <version>3.1.8</version> <properties> <Gerrit-ApiType>plugin</Gerrit-ApiType> <Gerrit-ApiVersion>${project.version}</Gerrit-ApiVersion> @@ -64,7 +68,6 @@ </configuration> </plugin> </plugins> - </build> <dependencies> @@ -75,11 +78,4 @@ <scope>provided</scope> </dependency> </dependencies> - - <repositories> - <repository> - <id>maven.org</id> - <url>http://repo1.maven.org/maven2</url> - </repository> - </repositories> </project>
diff --git a/example-servlet/pom.xml b/example-servlet/pom.xml index acec609..c1e3f85 100644 --- a/example-servlet/pom.xml +++ b/example-servlet/pom.xml
@@ -15,14 +15,18 @@ limitations under the 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/maven-v4_0_0.xsd"> + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> - <groupId>com.googlesource.gerrit.plugins</groupId> + <parent> + <groupId>com.googlesource.gerrit.plugins</groupId> + <artifactId>examples-all</artifactId> + <version>3.1.8</version> + </parent> + <artifactId>example-servlet</artifactId> <packaging>jar</packaging> - <version>3.1.8</version> <properties> <Gerrit-ApiType>plugin</Gerrit-ApiType> <Gerrit-ApiVersion>${project.version}</Gerrit-ApiVersion> @@ -64,7 +68,6 @@ </configuration> </plugin> </plugins> - </build> <dependencies> @@ -75,11 +78,4 @@ <scope>provided</scope> </dependency> </dependencies> - - <repositories> - <repository> - <id>maven.org</id> - <url>http://repo1.maven.org/maven2</url> - </repository> - </repositories> </project>
diff --git a/example-simpleSshCommand/pom.xml b/example-simpleSshCommand/pom.xml index 9625697..c8399d6 100644 --- a/example-simpleSshCommand/pom.xml +++ b/example-simpleSshCommand/pom.xml
@@ -15,14 +15,18 @@ limitations under the 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/maven-v4_0_0.xsd"> + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> - <groupId>com.googlesource.gerrit.plugins</groupId> + <parent> + <groupId>com.googlesource.gerrit.plugins</groupId> + <artifactId>examples-all</artifactId> + <version>3.1.8</version> + </parent> + <artifactId>example-simpleSshCommand</artifactId> <packaging>jar</packaging> - <version>3.1.8</version> <properties> <Gerrit-ApiType>plugin</Gerrit-ApiType> <Gerrit-ApiVersion>${project.version}</Gerrit-ApiVersion> @@ -64,7 +68,6 @@ </configuration> </plugin> </plugins> - </build> <dependencies> @@ -75,11 +78,4 @@ <scope>provided</scope> </dependency> </dependencies> - - <repositories> - <repository> - <id>maven.org</id> - <url>http://repo1.maven.org/maven2</url> - </repository> - </repositories> </project>
diff --git a/example-sshAndRestCommandOptionBeanParseListener/pom.xml b/example-sshAndRestCommandOptionBeanParseListener/pom.xml index feca49b..6d20c83 100644 --- a/example-sshAndRestCommandOptionBeanParseListener/pom.xml +++ b/example-sshAndRestCommandOptionBeanParseListener/pom.xml
@@ -15,14 +15,18 @@ limitations under the 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/maven-v4_0_0.xsd"> + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> - <groupId>com.googlesource.gerrit.plugins</groupId> + <parent> + <groupId>com.googlesource.gerrit.plugins</groupId> + <artifactId>examples-all</artifactId> + <version>3.1.8</version> + </parent> + <artifactId>example-sshAndRestCommandOptionBeanParseListener</artifactId> <packaging>jar</packaging> - <version>3.1.8</version> <properties> <Gerrit-ApiType>plugin</Gerrit-ApiType> <Gerrit-ApiVersion>${project.version}</Gerrit-ApiVersion> @@ -44,7 +48,8 @@ <Implementation-Vendor>Gerrit Code Review</Implementation-Vendor> <Implementation-URL>https://gerrit-review.googlesource.com/#/admin/projects/plugins/examples</Implementation-URL> - <Implementation-Title>Example Simple SSH and REST Command Option Bean Parse Listener</Implementation-Title> + <Implementation-Title>Example Simple SSH and REST Command + Option Bean Parse Listener</Implementation-Title> <Implementation-Version>${project.version}</Implementation-Version> <Gerrit-ApiType>${Gerrit-ApiType}</Gerrit-ApiType> @@ -65,7 +70,6 @@ </configuration> </plugin> </plugins> - </build> <dependencies> @@ -76,11 +80,4 @@ <scope>provided</scope> </dependency> </dependencies> - - <repositories> - <repository> - <id>maven.org</id> - <url>http://repo1.maven.org/maven2</url> - </repository> - </repositories> </project>
diff --git a/example-sshCommandAlias/pom.xml b/example-sshCommandAlias/pom.xml index 3ddea85..7e175fa 100644 --- a/example-sshCommandAlias/pom.xml +++ b/example-sshCommandAlias/pom.xml
@@ -15,14 +15,18 @@ limitations under the 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/maven-v4_0_0.xsd"> + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> - <groupId>com.googlesource.gerrit.plugins</groupId> + <parent> + <groupId>com.googlesource.gerrit.plugins</groupId> + <artifactId>examples-all</artifactId> + <version>3.1.8</version> + </parent> + <artifactId>example-sshCommandAlias</artifactId> <packaging>jar</packaging> - <version>3.1.8</version> <properties> <Gerrit-ApiType>plugin</Gerrit-ApiType> <Gerrit-ApiVersion>${project.version}</Gerrit-ApiVersion> @@ -64,7 +68,6 @@ </configuration> </plugin> </plugins> - </build> <dependencies> @@ -75,11 +78,4 @@ <scope>provided</scope> </dependency> </dependencies> - - <repositories> - <repository> - <id>maven.org</id> - <url>http://repo1.maven.org/maven2</url> - </repository> - </repositories> </project>
diff --git a/example-sshCommandDelegateDynamicBean/pom.xml b/example-sshCommandDelegateDynamicBean/pom.xml index ba9caba..58f1a09 100644 --- a/example-sshCommandDelegateDynamicBean/pom.xml +++ b/example-sshCommandDelegateDynamicBean/pom.xml
@@ -15,14 +15,18 @@ limitations under the 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/maven-v4_0_0.xsd"> + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> - <groupId>com.googlesource.gerrit.plugins</groupId> + <parent> + <groupId>com.googlesource.gerrit.plugins</groupId> + <artifactId>examples-all</artifactId> + <version>3.1.8</version> + </parent> + <artifactId>example-sshCommandDelegateDynamicBean</artifactId> <packaging>jar</packaging> - <version>3.1.8</version> <properties> <Gerrit-ApiType>plugin</Gerrit-ApiType> <Gerrit-ApiVersion>${project.version}</Gerrit-ApiVersion> @@ -43,7 +47,8 @@ <Implementation-Vendor>Gerrit Code Review</Implementation-Vendor> <Implementation-URL>https://gerrit-review.googlesource.com/#/admin/projects/plugins/examples</Implementation-URL> - <Implementation-Title>Example SSH Command Delegate Dynamic Bean</Implementation-Title> + <Implementation-Title>Example SSH Command Delegate Dynamic + Bean</Implementation-Title> <Implementation-Version>${project.version}</Implementation-Version> <Gerrit-ApiType>${Gerrit-ApiType}</Gerrit-ApiType> @@ -64,7 +69,6 @@ </configuration> </plugin> </plugins> - </build> <dependencies> @@ -75,11 +79,4 @@ <scope>provided</scope> </dependency> </dependencies> - - <repositories> - <repository> - <id>maven.org</id> - <url>http://repo1.maven.org/maven2</url> - </repository> - </repositories> </project>
diff --git a/example-sshCommandOption/pom.xml b/example-sshCommandOption/pom.xml index 370bd86..8ad5c22 100644 --- a/example-sshCommandOption/pom.xml +++ b/example-sshCommandOption/pom.xml
@@ -15,14 +15,18 @@ limitations under the 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/maven-v4_0_0.xsd"> + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> - <groupId>com.googlesource.gerrit.plugins</groupId> + <parent> + <groupId>com.googlesource.gerrit.plugins</groupId> + <artifactId>examples-all</artifactId> + <version>3.1.8</version> + </parent> + <artifactId>example-sshCommandOption</artifactId> <packaging>jar</packaging> - <version>3.1.8</version> <properties> <Gerrit-ApiType>plugin</Gerrit-ApiType> <Gerrit-ApiVersion>${project.version}</Gerrit-ApiVersion> @@ -64,7 +68,6 @@ </configuration> </plugin> </plugins> - </build> <dependencies> @@ -75,11 +78,4 @@ <scope>provided</scope> </dependency> </dependencies> - - <repositories> - <repository> - <id>maven.org</id> - <url>http://repo1.maven.org/maven2</url> - </repository> - </repositories> </project>
diff --git a/example-topMenu/pom.xml b/example-topMenu/pom.xml index f4a6426..0674054 100644 --- a/example-topMenu/pom.xml +++ b/example-topMenu/pom.xml
@@ -15,14 +15,18 @@ limitations under the 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/maven-v4_0_0.xsd"> + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> - <groupId>com.googlesource.gerrit.plugins</groupId> + <parent> + <groupId>com.googlesource.gerrit.plugins</groupId> + <artifactId>examples-all</artifactId> + <version>3.1.8</version> + </parent> + <artifactId>example-topMenu</artifactId> <packaging>jar</packaging> - <version>3.1.8</version> <properties> <Gerrit-ApiType>plugin</Gerrit-ApiType> <Gerrit-ApiVersion>${project.version}</Gerrit-ApiVersion> @@ -64,7 +68,6 @@ </configuration> </plugin> </plugins> - </build> <dependencies> @@ -75,11 +78,4 @@ <scope>provided</scope> </dependency> </dependencies> - - <repositories> - <repository> - <id>maven.org</id> - <url>http://repo1.maven.org/maven2</url> - </repository> - </repositories> </project>
diff --git a/example-usageDataLogger/pom.xml b/example-usageDataLogger/pom.xml index fa0caa1..8d019f8 100644 --- a/example-usageDataLogger/pom.xml +++ b/example-usageDataLogger/pom.xml
@@ -15,14 +15,18 @@ limitations under the 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/maven-v4_0_0.xsd"> + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> - <groupId>com.googlesource.gerrit.plugins</groupId> + <parent> + <groupId>com.googlesource.gerrit.plugins</groupId> + <artifactId>examples-all</artifactId> + <version>3.1.8</version> + </parent> + <artifactId>example-usageDataLogger</artifactId> <packaging>jar</packaging> - <version>3.1.8</version> <properties> <Gerrit-ApiType>plugin</Gerrit-ApiType> <Gerrit-ApiVersion>${project.version}</Gerrit-ApiVersion> @@ -64,7 +68,6 @@ </configuration> </plugin> </plugins> - </build> <dependencies> @@ -75,11 +78,4 @@ <scope>provided</scope> </dependency> </dependencies> - - <repositories> - <repository> - <id>maven.org</id> - <url>http://repo1.maven.org/maven2</url> - </repository> - </repositories> </project>
diff --git a/example-validationListenerAssignee/pom.xml b/example-validationListenerAssignee/pom.xml index 4ae3f65..7d55425 100644 --- a/example-validationListenerAssignee/pom.xml +++ b/example-validationListenerAssignee/pom.xml
@@ -15,14 +15,18 @@ limitations under the 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/maven-v4_0_0.xsd"> + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> - <groupId>com.googlesource.gerrit.plugins</groupId> + <parent> + <groupId>com.googlesource.gerrit.plugins</groupId> + <artifactId>examples-all</artifactId> + <version>3.1.8</version> + </parent> + <artifactId>example-validationListenerAssignee</artifactId> <packaging>jar</packaging> - <version>3.1.8</version> <properties> <Gerrit-ApiType>plugin</Gerrit-ApiType> <Gerrit-ApiVersion>${project.version}</Gerrit-ApiVersion> @@ -64,7 +68,6 @@ </configuration> </plugin> </plugins> - </build> <dependencies> @@ -75,11 +78,4 @@ <scope>provided</scope> </dependency> </dependencies> - - <repositories> - <repository> - <id>maven.org</id> - <url>http://repo1.maven.org/maven2</url> - </repository> - </repositories> </project>
diff --git a/example-validationListenerCommit/pom.xml b/example-validationListenerCommit/pom.xml index d5769a9..22928ed 100644 --- a/example-validationListenerCommit/pom.xml +++ b/example-validationListenerCommit/pom.xml
@@ -15,14 +15,18 @@ limitations under the 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/maven-v4_0_0.xsd"> + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> - <groupId>com.googlesource.gerrit.plugins</groupId> + <parent> + <groupId>com.googlesource.gerrit.plugins</groupId> + <artifactId>examples-all</artifactId> + <version>3.1.8</version> + </parent> + <artifactId>example-validationListenerCommit</artifactId> <packaging>jar</packaging> - <version>3.1.8</version> <properties> <Gerrit-ApiType>plugin</Gerrit-ApiType> <Gerrit-ApiVersion>${project.version}</Gerrit-ApiVersion> @@ -64,7 +68,6 @@ </configuration> </plugin> </plugins> - </build> <dependencies> @@ -75,11 +78,4 @@ <scope>provided</scope> </dependency> </dependencies> - - <repositories> - <repository> - <id>maven.org</id> - <url>http://repo1.maven.org/maven2</url> - </repository> - </repositories> </project>
diff --git a/example-validationListenerHashtag/pom.xml b/example-validationListenerHashtag/pom.xml index 53a46cd..692d642 100644 --- a/example-validationListenerHashtag/pom.xml +++ b/example-validationListenerHashtag/pom.xml
@@ -15,14 +15,18 @@ limitations under the 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/maven-v4_0_0.xsd"> + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> - <groupId>com.googlesource.gerrit.plugins</groupId> + <parent> + <groupId>com.googlesource.gerrit.plugins</groupId> + <artifactId>examples-all</artifactId> + <version>3.1.8</version> + </parent> + <artifactId>example-validationListenerHashtag</artifactId> <packaging>jar</packaging> - <version>3.1.8</version> <properties> <Gerrit-ApiType>plugin</Gerrit-ApiType> <Gerrit-ApiVersion>${project.version}</Gerrit-ApiVersion> @@ -64,7 +68,6 @@ </configuration> </plugin> </plugins> - </build> <dependencies> @@ -75,11 +78,4 @@ <scope>provided</scope> </dependency> </dependencies> - - <repositories> - <repository> - <id>maven.org</id> - <url>http://repo1.maven.org/maven2</url> - </repository> - </repositories> </project>
diff --git a/example-validationListenerMerge/pom.xml b/example-validationListenerMerge/pom.xml index 0cfaabd..2919a6d 100644 --- a/example-validationListenerMerge/pom.xml +++ b/example-validationListenerMerge/pom.xml
@@ -15,14 +15,18 @@ limitations under the 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/maven-v4_0_0.xsd"> + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> - <groupId>com.googlesource.gerrit.plugins</groupId> + <parent> + <groupId>com.googlesource.gerrit.plugins</groupId> + <artifactId>examples-all</artifactId> + <version>3.1.8</version> + </parent> + <artifactId>example-validationListenerMerge</artifactId> <packaging>jar</packaging> - <version>3.1.8</version> <properties> <Gerrit-ApiType>plugin</Gerrit-ApiType> <Gerrit-ApiVersion>${project.version}</Gerrit-ApiVersion> @@ -64,7 +68,6 @@ </configuration> </plugin> </plugins> - </build> <dependencies> @@ -75,11 +78,4 @@ <scope>provided</scope> </dependency> </dependencies> - - <repositories> - <repository> - <id>maven.org</id> - <url>http://repo1.maven.org/maven2</url> - </repository> - </repositories> -</project> +</project> \ No newline at end of file
diff --git a/example-validationListenerNewProjectCreated/pom.xml b/example-validationListenerNewProjectCreated/pom.xml index e08c46f..8bf666e 100644 --- a/example-validationListenerNewProjectCreated/pom.xml +++ b/example-validationListenerNewProjectCreated/pom.xml
@@ -15,14 +15,18 @@ limitations under the 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/maven-v4_0_0.xsd"> + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> - <groupId>com.googlesource.gerrit.plugins</groupId> + <parent> + <groupId>com.googlesource.gerrit.plugins</groupId> + <artifactId>examples-all</artifactId> + <version>3.1.8</version> + </parent> + <artifactId>example-validationListenerNewProjectCreated</artifactId> <packaging>jar</packaging> - <version>3.1.8</version> <properties> <Gerrit-ApiType>plugin</Gerrit-ApiType> <Gerrit-ApiVersion>${project.version}</Gerrit-ApiVersion> @@ -43,7 +47,8 @@ <Implementation-Vendor>Gerrit Code Review</Implementation-Vendor> <Implementation-URL>https://gerrit-review.googlesource.com/#/admin/projects/plugins/examples</Implementation-URL> - <Implementation-Title>Example Validation Listener NewProjectCreated</Implementation-Title> + <Implementation-Title>Example Validation Listener + NewProjectCreated</Implementation-Title> <Implementation-Version>${project.version}</Implementation-Version> <Gerrit-ApiType>${Gerrit-ApiType}</Gerrit-ApiType> @@ -64,7 +69,6 @@ </configuration> </plugin> </plugins> - </build> <dependencies> @@ -75,11 +79,4 @@ <scope>provided</scope> </dependency> </dependencies> - - <repositories> - <repository> - <id>maven.org</id> - <url>http://repo1.maven.org/maven2</url> - </repository> - </repositories> </project>
diff --git a/example-validationListenerRefOperation/pom.xml b/example-validationListenerRefOperation/pom.xml index 3347e7f..ce7ba8b 100644 --- a/example-validationListenerRefOperation/pom.xml +++ b/example-validationListenerRefOperation/pom.xml
@@ -15,14 +15,18 @@ limitations under the 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/maven-v4_0_0.xsd"> + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> - <groupId>com.googlesource.gerrit.plugins</groupId> + <parent> + <groupId>com.googlesource.gerrit.plugins</groupId> + <artifactId>examples-all</artifactId> + <version>3.1.8</version> + </parent> + <artifactId>example-validationListenerRefOperation</artifactId> <packaging>jar</packaging> - <version>3.1.8</version> <properties> <Gerrit-ApiType>plugin</Gerrit-ApiType> <Gerrit-ApiVersion>${project.version}</Gerrit-ApiVersion> @@ -43,7 +47,8 @@ <Implementation-Vendor>Gerrit Code Review</Implementation-Vendor> <Implementation-URL>https://gerrit-review.googlesource.com/#/admin/projects/plugins/examples</Implementation-URL> - <Implementation-Title>Example Validation Listener RefOperation</Implementation-Title> + <Implementation-Title>Example Validation Listener + RefOperation</Implementation-Title> <Implementation-Version>${project.version}</Implementation-Version> <Gerrit-ApiType>${Gerrit-ApiType}</Gerrit-ApiType> @@ -64,7 +69,6 @@ </configuration> </plugin> </plugins> - </build> <dependencies> @@ -75,11 +79,4 @@ <scope>provided</scope> </dependency> </dependencies> - - <repositories> - <repository> - <id>maven.org</id> - <url>http://repo1.maven.org/maven2</url> - </repository> - </repositories> </project>
diff --git a/example-validationListenerUpload/pom.xml b/example-validationListenerUpload/pom.xml index 3f44588..9b89075 100644 --- a/example-validationListenerUpload/pom.xml +++ b/example-validationListenerUpload/pom.xml
@@ -15,14 +15,18 @@ limitations under the 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/maven-v4_0_0.xsd"> + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> - <groupId>com.googlesource.gerrit.plugins</groupId> + <parent> + <groupId>com.googlesource.gerrit.plugins</groupId> + <artifactId>examples-all</artifactId> + <version>3.1.8</version> + </parent> + <artifactId>example-validationListenerUpload</artifactId> <packaging>jar</packaging> - <version>3.1.8</version> <properties> <Gerrit-ApiType>plugin</Gerrit-ApiType> <Gerrit-ApiVersion>${project.version}</Gerrit-ApiVersion> @@ -64,7 +68,6 @@ </configuration> </plugin> </plugins> - </build> <dependencies> @@ -75,11 +78,4 @@ <scope>provided</scope> </dependency> </dependencies> - - <repositories> - <repository> - <id>maven.org</id> - <url>http://repo1.maven.org/maven2</url> - </repository> - </repositories> </project>
diff --git a/example-webLinkBranch/pom.xml b/example-webLinkBranch/pom.xml index c6b361d..9989913 100644 --- a/example-webLinkBranch/pom.xml +++ b/example-webLinkBranch/pom.xml
@@ -15,14 +15,18 @@ limitations under the 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/maven-v4_0_0.xsd"> + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> - <groupId>com.googlesource.gerrit.plugins</groupId> + <parent> + <groupId>com.googlesource.gerrit.plugins</groupId> + <artifactId>examples-all</artifactId> + <version>3.1.8</version> + </parent> + <artifactId>example-webLinkBranch</artifactId> <packaging>jar</packaging> - <version>3.1.8</version> <properties> <Gerrit-ApiType>plugin</Gerrit-ApiType> <Gerrit-ApiVersion>${project.version}</Gerrit-ApiVersion> @@ -64,7 +68,6 @@ </configuration> </plugin> </plugins> - </build> <dependencies> @@ -75,11 +78,4 @@ <scope>provided</scope> </dependency> </dependencies> - - <repositories> - <repository> - <id>maven.org</id> - <url>http://repo1.maven.org/maven2</url> - </repository> - </repositories> </project>
diff --git a/example-webLinkFileHistory/pom.xml b/example-webLinkFileHistory/pom.xml index b641310..1863d81 100644 --- a/example-webLinkFileHistory/pom.xml +++ b/example-webLinkFileHistory/pom.xml
@@ -15,14 +15,18 @@ limitations under the 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/maven-v4_0_0.xsd"> + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> - <groupId>com.googlesource.gerrit.plugins</groupId> + <parent> + <groupId>com.googlesource.gerrit.plugins</groupId> + <artifactId>examples-all</artifactId> + <version>3.1.8</version> + </parent> + <artifactId>example-webLinkFileHistory</artifactId> <packaging>jar</packaging> - <version>3.1.8</version> <properties> <Gerrit-ApiType>plugin</Gerrit-ApiType> <Gerrit-ApiVersion>${project.version}</Gerrit-ApiVersion> @@ -64,7 +68,6 @@ </configuration> </plugin> </plugins> - </build> <dependencies> @@ -75,11 +78,4 @@ <scope>provided</scope> </dependency> </dependencies> - - <repositories> - <repository> - <id>maven.org</id> - <url>http://repo1.maven.org/maven2</url> - </repository> - </repositories> </project>
diff --git a/example-webLinkPatchSet/pom.xml b/example-webLinkPatchSet/pom.xml index e28b091..e126e0a 100644 --- a/example-webLinkPatchSet/pom.xml +++ b/example-webLinkPatchSet/pom.xml
@@ -15,18 +15,21 @@ limitations under the 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/maven-v4_0_0.xsd"> + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> - <groupId>com.googlesource.gerrit.plugins</groupId> + <parent> + <groupId>com.googlesource.gerrit.plugins</groupId> + <artifactId>examples-all</artifactId> + <version>3.1.8</version> + </parent> + <artifactId>example-webLinkPatchSet</artifactId> <packaging>jar</packaging> - <version>3.1.8</version> <properties> <Gerrit-ApiType>plugin</Gerrit-ApiType> <Gerrit-ApiVersion>${project.version}</Gerrit-ApiVersion> - <GWT-Version>2.8.2</GWT-Version> </properties> <build> @@ -65,7 +68,6 @@ </configuration> </plugin> </plugins> - </build> <dependencies> @@ -76,11 +78,4 @@ <scope>provided</scope> </dependency> </dependencies> - - <repositories> - <repository> - <id>maven.org</id> - <url>http://repo1.maven.org/maven2</url> - </repository> - </repositories> </project>
diff --git a/example-webLinkProject/pom.xml b/example-webLinkProject/pom.xml index 8892cd4..1642f55 100644 --- a/example-webLinkProject/pom.xml +++ b/example-webLinkProject/pom.xml
@@ -15,18 +15,21 @@ limitations under the 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/maven-v4_0_0.xsd"> + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> - <groupId>com.googlesource.gerrit.plugins</groupId> + <parent> + <groupId>com.googlesource.gerrit.plugins</groupId> + <artifactId>examples-all</artifactId> + <version>3.1.8</version> + </parent> + <artifactId>example-webLinkProject</artifactId> <packaging>jar</packaging> - <version>3.1.8</version> <properties> <Gerrit-ApiType>plugin</Gerrit-ApiType> <Gerrit-ApiVersion>${project.version}</Gerrit-ApiVersion> - <GWT-Version>2.8.2</GWT-Version> </properties> <build> @@ -65,7 +68,6 @@ </configuration> </plugin> </plugins> - </build> <dependencies> @@ -75,24 +77,5 @@ <version>${Gerrit-ApiVersion}</version> <scope>provided</scope> </dependency> - <dependency> - <groupId>junit</groupId> - <artifactId>junit</artifactId> - <version>4.11</version> - <scope>test</scope> - </dependency> - <dependency> - <groupId>com.google.gerrit</groupId> - <artifactId>gerrit-acceptance-framework</artifactId> - <version>${Gerrit-ApiVersion}</version> - <scope>test</scope> - </dependency> </dependencies> - - <repositories> - <repository> - <id>maven.org</id> - <url>http://repo1.maven.org/maven2</url> - </repository> - </repositories> </project>
diff --git a/pom.xml b/pom.xml new file mode 100644 index 0000000..af4f885 --- /dev/null +++ b/pom.xml
@@ -0,0 +1,60 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- +Copyright (C) 2013 The Android Open Source Project + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the 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/maven-v4_0_0.xsd"> + <modelVersion>4.0.0</modelVersion> + + <groupId>com.googlesource.gerrit.plugins</groupId> + <artifactId>examples-all</artifactId> + <packaging>pom</packaging> + <version>3.1.8</version> + + <modules> + <module>example-adminSshCommand</module> + <module>example-changeHasOperator</module> + <module>example-changeOperator</module> + <module>example-changeQueryAttributes</module> + <module>example-commitValidator</module> + <module>example-consoleMetricReporter</module> + <module>example-deployedOnIncludedInExtension</module> + <module>example-restApiCommandOption</module> + <module>example-restApiGetRevision</module> + <module>example-restApiPostProject</module> + <module>example-restApiPostRevision</module> + <module>example-servlet</module> + <module>example-simpleSshCommand</module> + <module>example-sshAndRestCommandOptionBeanParseListener</module> + <module>example-sshCommandAlias</module> + <module>example-sshCommandDelegateDynamicBean</module> + <module>example-sshCommandOption</module> + <module>example-topMenu</module> + <module>example-usageDataLogger</module> + <module>example-validationListenerAssignee</module> + <module>example-validationListenerCommit</module> + <module>example-validationListenerHashtag</module> + <module>example-validationListenerMerge</module> + <module>example-validationListenerNewProjectCreated</module> + <module>example-validationListenerRefOperation</module> + <module>example-validationListenerUpload</module> + <module>example-webLinkBranch</module> + <module>example-webLinkFileHistory</module> + <module>example-webLinkPatchSet</module> + <module>example-webLinkProject</module> + </modules> +</project> +