[
https://issues.apache.org/jira/browse/HBASE-14806?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15005116#comment-15005116
]
Duo Zhang commented on HBASE-14806:
-----------------------------------
The META-INF directory contained in the generated sources.jar contains the
following files. Enough? [~busbey]
{noformat}
" zip.vim version v27
" Browsing zipfile
/home/zhangduo/hbase/code/hbase-common/target/hbase-common-2.0.0-SNAPSHOT-sources.jar
" Select a file with cursor and press ENTER
META-INF/
META-INF/MANIFEST.MF
META-INF/LICENSE
META-INF/NOTICE
META-INF/DEPENDENCIES
" zip.vim version v27
" Browsing zipfile
/home/zhangduo/hbase/code/hbase-external-blockcache/target/hbase-external-blockcache-2.0.0-SNAPSHOT-sources.jar
" Select a file with cursor and press ENTER
META-INF/
META-INF/MANIFEST.MF
META-INF/LICENSE
META-INF/NOTICE
META-INF/DEPENDENCIES
{noformat}
> Missing sources.jar for several modules when building HBase
> -----------------------------------------------------------
>
> Key: HBASE-14806
> URL: https://issues.apache.org/jira/browse/HBASE-14806
> Project: HBase
> Issue Type: Bug
> Affects Versions: 2.0.0
> Reporter: Duo Zhang
> Assignee: Duo Zhang
> Attachments: HBASE-14806.patch
>
>
> Introduced by HBASE-14085. The problem is, for example, in
> hbase-common/pom.xml, we have
> {code:title=pom.xml}
> <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>
> {code}
> But in fact, the path inside {{<include>}} tag is relative to source
> directories, not the project directory. So the maven-source-plugin always end
> with
> {noformat}
> No sources in project. Archive not created.
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)