Skip to content

Commit

Permalink
fix licence, fix error brings in apache#7640
Browse files Browse the repository at this point in the history
  • Loading branch information
jiazhai committed Oct 21, 2020
1 parent 9ced015 commit 264ac78
Show file tree
Hide file tree
Showing 10 changed files with 48 additions and 20 deletions.
8 changes: 8 additions & 0 deletions distribution/server/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,14 @@
<version>${project.version}</version>
</dependency>

<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>bouncy-castle-bc</artifactId>
<version>${project.version}</version>
<classifier>pkg</classifier>
<optional>true</optional>
</dependency>

<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>pulsar-discovery-service</artifactId>
Expand Down
6 changes: 3 additions & 3 deletions distribution/server/src/assemble/LICENSE.bin.txt
Original file line number Diff line number Diff line change
Expand Up @@ -585,9 +585,9 @@ Creative Commons Attribution License

Bouncy Castle License
* Bouncy Castle -- licenses/LICENSE-bouncycastle.txt
- org.bouncycastle-bcpkix-jdk15on-1.60.jar
- org.bouncycastle-bcprov-ext-jdk15on-1.60.jar
- org.bouncycastle-bcprov-jdk15on-1.60.jar
- org.bouncycastle-bcpkix-jdk15on-1.66.jar
- org.bouncycastle-bcprov-ext-jdk15on-1.66.jar
- org.bouncycastle-bcprov-jdk15on-1.66.jar

------------------------

Expand Down
15 changes: 8 additions & 7 deletions pulsar-broker/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,14 @@
<version>${project.version}</version>
</dependency>

<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>bouncy-castle-bc</artifactId>
<version>${project.version}</version>
<classifier>pkg</classifier>
<optional>true</optional>
</dependency>

<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>pulsar-discovery-service</artifactId>
Expand Down Expand Up @@ -333,13 +341,6 @@

<!-- transaction related dependencies (end) -->

<dependency>
<groupId>org.bouncycastle</groupId>
<artifactId>bc-fips</artifactId>
<version>${bouncycastlefips.version}</version>
<scope>test</scope>
</dependency>

</dependencies>

<build>
Expand Down
7 changes: 7 additions & 0 deletions pulsar-client-all/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,13 @@
<version>${project.parent.version}</version>
<optional>true</optional>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>bouncy-castle-bc</artifactId>
<version>${project.parent.version}</version>
<classifier>pkg</classifier>
<optional>true</optional>
</dependency>
</dependencies>

<build>
Expand Down
1 change: 1 addition & 0 deletions pulsar-client-messagecrypto-bc/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
<artifactId>bouncy-castle-bc</artifactId>
<version>${project.parent.version}</version>
<classifier>pkg</classifier>
<optional>true</optional>
</dependency>

</dependencies>
Expand Down
7 changes: 7 additions & 0 deletions pulsar-client-shaded/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,13 @@
<version>${project.version}</version>
<optional>true</optional>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>bouncy-castle-bc</artifactId>
<version>${project.version}</version>
<classifier>pkg</classifier>
<optional>true</optional>
</dependency>
</dependencies>

<build>
Expand Down
1 change: 1 addition & 0 deletions pulsar-client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@
<artifactId>bouncy-castle-bc</artifactId>
<version>${project.parent.version}</version>
<classifier>pkg</classifier>
<optional>true</optional>
</dependency>

<dependency>
Expand Down
8 changes: 1 addition & 7 deletions pulsar-discovery-service/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@
<artifactId>bouncy-castle-bc</artifactId>
<version>${project.version}</version>
<classifier>pkg</classifier>
<optional>true</optional>
</dependency>

<dependency>
Expand Down Expand Up @@ -134,13 +135,6 @@
<artifactId>javax.activation</artifactId>
</dependency>

<dependency>
<groupId>org.bouncycastle</groupId>
<artifactId>bc-fips</artifactId>
<version>${bouncycastlefips.version}</version>
<scope>test</scope>
</dependency>

<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>testmocks</artifactId>
Expand Down
6 changes: 3 additions & 3 deletions pulsar-sql/presto-distribution/LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -561,7 +561,7 @@ Creative Commons Attribution License

Bouncy Castle License
* Bouncy Castle -- licenses/LICENSE-bouncycastle.txt
- bcpkix-jdk15on-1.60.jar
- bcprov-ext-jdk15on-1.60.jar
- bcprov-jdk15on-1.60.jar
- bcpkix-jdk15on-1.66.jar
- bcprov-ext-jdk15on-1.66.jar
- bcprov-jdk15on-1.66.jar
- bouncy-castle-bc-2.7.0-SNAPSHOT-pkg.jar
9 changes: 9 additions & 0 deletions pulsar-testclient/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,15 @@
<groupId>${project.groupId}</groupId>
<artifactId>pulsar-client-messagecrypto-bc</artifactId>
<version>${project.version}</version>
<optional>true</optional>
</dependency>

<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>bouncy-castle-bc</artifactId>
<version>${project.version}</version>
<classifier>pkg</classifier>
<optional>true</optional>
</dependency>

<dependency>
Expand Down

0 comments on commit 264ac78

Please sign in to comment.