Skip to content

Commit

Permalink
apache#5922 - Update poms to use project.groupId instead of org.apach…
Browse files Browse the repository at this point in the history
…e.pulsar where applicable (apache#7548)
  • Loading branch information
vcottagiri authored Jul 16, 2020
1 parent 224f2f5 commit 4acf775
Show file tree
Hide file tree
Showing 62 changed files with 119 additions and 123 deletions.
5 changes: 2 additions & 3 deletions bouncy-castle/bc-shaded/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,12 @@
<artifactId>bouncy-castle-bc-shaded</artifactId>
<packaging>jar</packaging>
<name>Apache Pulsar :: Bouncy Castle :: BC Shaded</name>
<version>2.7.0-SNAPSHOT</version>

<dependencies>
<dependency>
<groupId>org.apache.pulsar</groupId>
<groupId>${project.groupId}</groupId>
<artifactId>bouncy-castle-bc</artifactId>
<version>2.7.0-SNAPSHOT</version>
<version>${project.version}</version>
<optional>true</optional>
</dependency>
</dependencies>
Expand Down
2 changes: 1 addition & 1 deletion bouncy-castle/bc/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>pulsar-common</artifactId>
<version>${project.parent.version}</version>
<version>${project.version}</version>
<scope>provided</scope>
</dependency>

Expand Down
2 changes: 1 addition & 1 deletion bouncy-castle/bcfips-include-test/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@

<dependencies>
<dependency>
<groupId>org.apache.pulsar</groupId>
<groupId>${project.groupId}</groupId>
<artifactId>testmocks</artifactId>
<version>${project.version}</version>
<scope>test</scope>
Expand Down
2 changes: 1 addition & 1 deletion bouncy-castle/bcfips-nar-test/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@

<dependencies>
<dependency>
<groupId>org.apache.pulsar</groupId>
<groupId>${project.groupId}</groupId>
<artifactId>testmocks</artifactId>
<version>${project.version}</version>
<scope>test</scope>
Expand Down
2 changes: 1 addition & 1 deletion bouncy-castle/bcfips/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>pulsar-common</artifactId>
<version>${project.parent.version}</version>
<version>${project.version}</version>
<scope>provided</scope>
</dependency>

Expand Down
1 change: 0 additions & 1 deletion dashboard/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
<relativePath>../docker</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.apache.pulsar</groupId>
<artifactId>dashboard-docker-image</artifactId>
<name>Apache Pulsar :: Docker Images :: Pulsar Dashboard</name>
<packaging>pom</packaging>
Expand Down
4 changes: 2 additions & 2 deletions distribution/io/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,12 @@

<dependencies>
<dependency>
<groupId>org.apache.pulsar</groupId>
<groupId>${project.groupId}</groupId>
<artifactId>pulsar-io-core</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.apache.pulsar</groupId>
<groupId>${project.groupId}</groupId>
<artifactId>pulsar-io-docs</artifactId>
<version>${project.version}</version>
<scope>provided</scope>
Expand Down
2 changes: 1 addition & 1 deletion distribution/offloaders/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@

<dependencies>
<dependency>
<groupId>org.apache.pulsar</groupId>
<groupId>${project.groupId}</groupId>
<artifactId>managed-ledger</artifactId>
<version>${project.version}</version>
</dependency>
Expand Down
22 changes: 11 additions & 11 deletions distribution/server/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -35,37 +35,37 @@

<dependencies>
<dependency>
<groupId>org.apache.pulsar</groupId>
<groupId>${project.groupId}</groupId>
<artifactId>pulsar-broker</artifactId>
<version>${project.version}</version>
</dependency>

<dependency>
<groupId>org.apache.pulsar</groupId>
<groupId>${project.groupId}</groupId>
<artifactId>pulsar-discovery-service</artifactId>
<version>${project.version}</version>
</dependency>

<dependency>
<groupId>org.apache.pulsar</groupId>
<groupId>${project.groupId}</groupId>
<artifactId>pulsar-proxy</artifactId>
<version>${project.version}</version>
</dependency>

<dependency>
<groupId>org.apache.pulsar</groupId>
<groupId>${project.groupId}</groupId>
<artifactId>pulsar-broker-auth-sasl</artifactId>
<version>${project.version}</version>
</dependency>

<dependency>
<groupId>org.apache.pulsar</groupId>
<groupId>${project.groupId}</groupId>
<artifactId>pulsar-client-auth-sasl</artifactId>
<version>${project.version}</version>
</dependency>

<dependency>
<groupId>org.apache.pulsar</groupId>
<groupId>${project.groupId}</groupId>
<artifactId>pulsar-client-tools</artifactId>
<version>${project.version}</version>
<exclusions>
Expand All @@ -77,7 +77,7 @@
</dependency>

<dependency>
<groupId>org.apache.pulsar</groupId>
<groupId>${project.groupId}</groupId>
<artifactId>pulsar-testclient</artifactId>
<version>${project.version}</version>
</dependency>
Expand Down Expand Up @@ -130,15 +130,15 @@

<!-- function examples -->
<dependency>
<groupId>org.apache.pulsar</groupId>
<groupId>${project.groupId}</groupId>
<artifactId>pulsar-functions-api-examples</artifactId>
<version>${project.version}</version>
<!-- make sure the api examples are compiled before assembly -->
<scope>provided</scope>
</dependency>

<dependency>
<groupId>org.apache.pulsar</groupId>
<groupId>${project.groupId}</groupId>
<artifactId>pulsar-functions-worker</artifactId>
<version>${project.version}</version>
<exclusions>
Expand All @@ -156,7 +156,7 @@

<!-- runtime-all -->
<dependency>
<groupId>org.apache.pulsar</groupId>
<groupId>${project.groupId}</groupId>
<artifactId>pulsar-functions-runtime-all</artifactId>
<version>${project.version}</version>
<!-- make sure the api examples are compiled before assembly -->
Expand All @@ -165,7 +165,7 @@

<!-- local-runner -->
<dependency>
<groupId>org.apache.pulsar</groupId>
<groupId>${project.groupId}</groupId>
<artifactId>pulsar-functions-local-runner-original</artifactId>
<version>${project.version}</version>
<exclusions>
Expand Down
1 change: 0 additions & 1 deletion docker/grafana/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
<version>2.7.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.apache.pulsar</groupId>
<artifactId>grafana-docker-image</artifactId>
<name>Apache Pulsar :: Docker Images :: Grafana</name>
<packaging>pom</packaging>
Expand Down
1 change: 0 additions & 1 deletion docker/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
<artifactId>pulsar</artifactId>
<version>2.7.0-SNAPSHOT</version>
</parent>
<groupId>org.apache.pulsar</groupId>
<artifactId>docker-images</artifactId>
<name>Apache Pulsar :: Docker Images</name>
<modules>
Expand Down
8 changes: 4 additions & 4 deletions docker/pulsar-all/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,14 @@

<dependencies>
<dependency>
<groupId>org.apache.pulsar</groupId>
<groupId>${project.groupId}</groupId>
<artifactId>pulsar-io-distribution</artifactId>
<version>${project.parent.version}</version>
<type>pom</type>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.pulsar</groupId>
<groupId>${project.groupId}</groupId>
<artifactId>pulsar-offloader-distribution</artifactId>
<version>${project.parent.version}</version>
<classifier>bin</classifier>
Expand All @@ -54,9 +54,9 @@
<!-- include the docker image only when docker profile is active -->
<dependencies>
<dependency>
<groupId>org.apache.pulsar</groupId>
<groupId>${project.groupId}</groupId>
<artifactId>pulsar-docker-image</artifactId>
<version>${project.parent.version}</version>
<version>${project.version}</version>
<classifier>docker-info</classifier>
</dependency>
</dependencies>
Expand Down
5 changes: 2 additions & 3 deletions docker/pulsar-standalone/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
<version>2.7.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.apache.pulsar</groupId>
<artifactId>pulsar-standalone-docker-image</artifactId>
<name>Apache Pulsar :: Docker Images :: Pulsar Standalone</name>
<packaging>pom</packaging>
Expand All @@ -37,9 +36,9 @@
<!-- include the docker image only when docker profile is active -->
<dependencies>
<dependency>
<groupId>org.apache.pulsar</groupId>
<groupId>${project.groupId}</groupId>
<artifactId>pulsar-all-docker-image</artifactId>
<version>${project.parent.version}</version>
<version>${project.version}</version>
<classifier>docker-info</classifier>
</dependency>
</dependencies>
Expand Down
5 changes: 2 additions & 3 deletions docker/pulsar/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,15 @@
<version>2.7.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.apache.pulsar</groupId>
<artifactId>pulsar-docker-image</artifactId>
<name>Apache Pulsar :: Docker Images :: Pulsar Latest Version</name>
<packaging>pom</packaging>

<dependencies>
<dependency>
<groupId>org.apache.pulsar</groupId>
<groupId>${project.groupId}</groupId>
<artifactId>pulsar-server-distribution</artifactId>
<version>${project.parent.version}</version>
<version>${project.version}</version>
<classifier>bin</classifier>
<type>tar.gz</type>
<scope>provided</scope>
Expand Down
8 changes: 6 additions & 2 deletions examples/flink/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,12 @@
<version>2.7.0-SNAPSHOT</version>
</parent>

<groupId>org.apache.pulsar.examples</groupId>
<artifactId>flink</artifactId>
<name>Pulsar Examples :: Flink</name>

<properties>
<maven.compiler.target>1.8</maven.compiler.target>
<maven.compiler.source>1.8</maven.compiler.source>
<log4j2.version>2.10.0</log4j2.version>
</properties>

<dependencies>
Expand Down Expand Up @@ -74,6 +72,12 @@
<version>${project.version}</version>
</dependency>

<dependency>
<groupId>org.apache.pulsar</groupId>
<artifactId>buildtools</artifactId>
<version>${project.version}</version>
</dependency>

</dependencies>

<build>
Expand Down
2 changes: 1 addition & 1 deletion examples/spark/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
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>
<artifactId>pulsar-examples</artifactId>
<groupId>org.apache.pulsar.examples</groupId>
<artifactId>pulsar-examples</artifactId>
<version>2.7.0-SNAPSHOT</version>
</parent>

Expand Down
6 changes: 3 additions & 3 deletions managed-ledger/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -56,13 +56,13 @@
</dependency>

<dependency>
<groupId>org.apache.pulsar</groupId>
<groupId>${project.groupId}</groupId>
<artifactId>pulsar-common</artifactId>
<version>${project.version}</version>
</dependency>

<dependency>
<groupId>org.apache.pulsar</groupId>
<groupId>${project.groupId}</groupId>
<artifactId>pulsar-metadata</artifactId>
<version>${project.version}</version>
</dependency>
Expand All @@ -73,7 +73,7 @@
</dependency>

<dependency>
<groupId>org.apache.pulsar</groupId>
<groupId>${project.groupId}</groupId>
<artifactId>testmocks</artifactId>
<version>${project.version}</version>
<scope>test</scope>
Expand Down
1 change: 0 additions & 1 deletion protobuf-shaded/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@

<artifactId>protobuf-shaded</artifactId>
<name>Apache Pulsar :: Protobuf shaded</name>
<version>2.7.0-SNAPSHOT</version>

<dependencies>
<dependency>
Expand Down
2 changes: 1 addition & 1 deletion pulsar-broker-auth-athenz/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
</dependency>

<dependency>
<groupId>org.apache.pulsar</groupId>
<groupId>${project.groupId}</groupId>
<artifactId>testmocks</artifactId>
<version>${project.version}</version>
<scope>test</scope>
Expand Down
2 changes: 1 addition & 1 deletion pulsar-broker-auth-sasl/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
</dependency>

<dependency>
<groupId>org.apache.pulsar</groupId>
<groupId>${project.groupId}</groupId>
<artifactId>testmocks</artifactId>
<version>${project.version}</version>
<scope>test</scope>
Expand Down
10 changes: 5 additions & 5 deletions pulsar-broker/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
</dependency>

<dependency>
<groupId>org.apache.pulsar</groupId>
<groupId>${project.groupId}</groupId>
<artifactId>protobuf-shaded</artifactId>
<version>${pulsar.protobuf.shaded.version}</version>
</dependency>
Expand All @@ -72,7 +72,7 @@
</dependency>

<dependency>
<groupId>org.apache.pulsar</groupId>
<groupId>${project.groupId}</groupId>
<artifactId>pulsar-client-original</artifactId>
<version>${project.version}</version>
</dependency>
Expand Down Expand Up @@ -120,7 +120,7 @@
</dependency>

<dependency>
<groupId>org.apache.pulsar</groupId>
<groupId>${project.groupId}</groupId>
<artifactId>testmocks</artifactId>
<version>${project.version}</version>
<scope>test</scope>
Expand Down Expand Up @@ -157,14 +157,14 @@
</dependency>

<dependency>
<groupId>org.apache.pulsar</groupId>
<groupId>${project.groupId}</groupId>
<artifactId>pulsar-functions-local-runner-original</artifactId>
<version>${project.version}</version>
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.apache.pulsar</groupId>
<groupId>${project.groupId}</groupId>
<artifactId>pulsar-client-messagecrypto-bc</artifactId>
<version>${project.version}</version>
<scope>test</scope>
Expand Down
Loading

0 comments on commit 4acf775

Please sign in to comment.