You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by "Qiang Zhang (JIRA)" <ji...@apache.org> on 2017/03/09 02:31:37 UTC

[jira] [Created] (RANGER-1438) Useless configuration in unixauthservice pom.xml lead to project compiler error in eclipse

Qiang Zhang created RANGER-1438:
-----------------------------------

             Summary: Useless configuration in unixauthservice pom.xml lead to project compiler error in eclipse 
                 Key: RANGER-1438
                 URL: https://issues.apache.org/jira/browse/RANGER-1438
             Project: Ranger
          Issue Type: Bug
          Components: usersync
         Environment: windows environment
            Reporter: Qiang Zhang
            Assignee: Qiang Zhang
            Priority: Minor


Steps
In windows environment, enter into ranger project root directory
1.Execute : mvn clean compile package install assembly:assembly -DskipTests -X 
2.Execute :mvn eclipse:eclipse -X
When the maven project convert into eclipse project occurred error:
[[ERROR] Failed to execute goal org.apache.maven.plugins:maven-eclipse-plugin:2.10:eclipse (default-cli) on project unixauthservice: Cant canonicalize system path: {0}:文件名、目录名或卷标语法不正确。 -> [Help 1]
Caused by: org.apache.maven.plugin.MojoExecutionException: Cant canonicalize system path: {0}]
3.Remove unless code in unixauthservice  pom.xml
<build>
        <resources>
            <resource>
                <targetPath>${project.build.outputDirectory}</targetPath>
                <directory>conf.dist</directory>
                <includes>
                    <include>log4j.properties</include>
                </includes>
            </resource>
        </resources>
    </build>
4.Rerun : mvn clean compile package install assembly:assembly -DskipTests -X 
5.Rerun :mvn eclipse:eclipse -X        result:sucessed
6.Check whether to affect the Components work
  1).Install the user synchronization module  in a new machine
  2).and Reinstall the user synchronization module in original machine
  3)result:both work well   ( Log  upload in the attachment)



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)