HBASE-14806 Missing sources.jar for several modules when building HBase

This commit is contained in:
zhangduo 2015-11-17 08:54:13 +08:00
parent f218e499ae
commit db42fc64f1
2 changed files with 11 additions and 30 deletions

View File

@ -51,6 +51,10 @@
</testResource>
</testResources>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-remote-resources-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
@ -148,11 +152,9 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<configuration>
<excludeResources>true</excludeResources>
<includes>
<include>src/main/java</include>
<include>${project.build.outputDirectory}/META-INF</include>
</includes>
<excludes>
<exclude>hbase-default.xml</exclude>
</excludes>
</configuration>
</plugin>
</plugins>

View File

@ -40,25 +40,11 @@
</description>
<build>
<resources>
<resource>
<directory>src/main/resources/</directory>
<includes>
<include>hbase-default.xml</include>
</includes>
</resource>
</resources>
<testResources>
<testResource>
<directory>src/test/resources/META-INF/</directory>
<targetPath>META-INF/</targetPath>
<includes>
<include>NOTICE</include>
</includes>
<filtering>true</filtering>
</testResource>
</testResources>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-remote-resources-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
@ -121,13 +107,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<configuration>
<excludeResources>true</excludeResources>
<includes>
<include>src/main/java</include>
<include>${project.build.outputDirectory}/META-INF</include>
</includes>
</configuration>
</plugin>
</plugins>
<pluginManagement>