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

View File

@ -40,25 +40,11 @@
</description> </description>
<build> <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> <plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-remote-resources-plugin</artifactId>
</plugin>
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId> <artifactId>maven-site-plugin</artifactId>
@ -121,13 +107,6 @@
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId> <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> </plugin>
</plugins> </plugins>
<pluginManagement> <pluginManagement>