Skip to content

Commit

Permalink
Fixed Maven test jars warnings (apache#678)
Browse files Browse the repository at this point in the history
  • Loading branch information
merlimat authored Aug 12, 2017
1 parent 79f8bf0 commit 89a80f6
Show file tree
Hide file tree
Showing 5 changed files with 44 additions and 18 deletions.
16 changes: 16 additions & 0 deletions managed-ledger/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,22 @@
<scope>test</scope>
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>test-jar</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>

<profiles>
<profile>
Expand Down
16 changes: 0 additions & 16 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -573,22 +573,6 @@ flexible messaging model and an intuitive client API.</description>
<optimize>true</optimize>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>test-jar</goal>
</goals>
</execution>
</executions>
<configuration>
<archive>
<addMavenDescriptor>false</addMavenDescriptor>
</archive>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
Expand Down
11 changes: 11 additions & 0 deletions pulsar-broker/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,17 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>test-jar</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
<resources>
<resource>
Expand Down
3 changes: 1 addition & 2 deletions pulsar-checksum/src/main/assembly/assembly.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
<excludes>
<exclude>org.slf4j:slf4j-api</exclude>
<exclude>io.netty</exclude>
<exclude>com.scurrilous</exclude>
<exclude>*:nar:*</exclude>
</excludes>
</dependencySet>
Expand Down Expand Up @@ -69,4 +68,4 @@
</includes>
</fileSet>
</fileSets>
</assembly>
</assembly>
16 changes: 16 additions & 0 deletions pulsar-zookeeper-utils/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -84,4 +84,20 @@

</dependencies>

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>test-jar</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>

</project>

0 comments on commit 89a80f6

Please sign in to comment.