[
https://issues.apache.org/jira/browse/SQOOP-1963?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14263780#comment-14263780
]
Jerry Chen commented on SQOOP-1963:
-----------------------------------
The fix should be simple, in pom.xml file under dist:
Change:
<exclude name=".project" />
<exclude name=".classpath" />
to:
<exclude name="**/.project" />
<exclude name="**/.classpath" />
<exclude name="**/.settings/**" />
> Generated files such as .project and .classpath files are included in source
> distribution
> ------------------------------------------------------------------------------------------
>
> Key: SQOOP-1963
> URL: https://issues.apache.org/jira/browse/SQOOP-1963
> Project: Sqoop
> Issue Type: Bug
> Components: sqoop2-build
> Affects Versions: 2.0.0
> Reporter: Jerry Chen
>
> If we run mvn eclipse:eclipse before mvn package, the generated files such as
> .project, .classpath, .settings files are included in source distribution
> under dist/target/sqoop-2.0.0-SNAPSHOT folders.
> The generated files should not be included in the source distribution. One of
> direct impact caused by this bug is when import Sqoop2 projects into eclipse,
> eclipse will list duplicated project names search from the root directory if
> we run mvn package after mvn eclipse:eclipse. This will cause project import
> to fail.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)