Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Maven2 plugin - poDirectory defaults to wrong value #54

Open
GoogleCodeExporter opened this issue Jan 10, 2016 · 0 comments
Open

Maven2 plugin - poDirectory defaults to wrong value #54

GoogleCodeExporter opened this issue Jan 10, 2016 · 0 comments

Comments

@GoogleCodeExporter
Copy link

*What steps will reproduce the problem?*
1. Create a POM file that references maven-gettext-plugin and omit poDirectory 
from its configuration section
2. Create an empty directory src/main/po
3. Invoke gettext:gettext goal

*What is the expected output?*

The goal should succeed and generate src/po/keys.pot file

*What do you see instead?*

[WARNING] xgettext: cannot create output file 
"/some/path/src/main/java/main/po/keys.pot": No such file or directory

*What version of the product are you using?*

maven-gettext-plugin 1.2.3
maven 2.2.1
Oracle JDK 1.6.0_27

*On what operating system?*

RedHat Enterprise Linux 5


*Please provide any additional information below.*
The plugin behaves as documented, but I think this behavior is wrong. 
poDirectory defaults to "${project.build.sourceDirectory}/main/po" , which in 
Maven2 expands to "src/main/java/main/po" . I think poDirectory should default 
to "${project.basedir}/src/main/po".

Original issue reported on code.google.com by [email protected] on 12 Mar 2012 at 4:25

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant