Hi,

I have a project which includes the enforcer plugin with a rule to check if
some file exist. With the version 3.0.0-M3 this works fine but with version
3.0.0 I get the error message:
Some required files are missing:
/Users/xxx/workspace/mywork/project/../scripts/mykey.secure

configuration in the pom.xml

<requireFilesExist>
  <files>
    <file>${project.basedir}/../scripts/mykey.secure</file>
  </files>
</requireFilesExist>


If I replace the path in the pom with:
/Users/xxx/workspace/mywork/project/../scripts/mykey.secure
it still isn't working.

If I replace the path in the pom with:
/Users/xxx/workspace/mywork/scripts/mykey.secure
Then it works fine.

I see that the content of RequireFilesExists.java has been changed between
version 3.0.0-M3 en 3.0.0 and a check osIndependentNameMatch is added. I'm
executing my maven build on a MacBook.

Is this a bug or a mistake of the configuration of mine.

With regards,

Rogier

Reply via email to