I have two questions, answers to which were not obvious.
1- What is the current working directory (i.e.
System.getProperty("user.dir"))? Can this be printed
when one does "mvn -X ..."?
2- In our company we have resources (properties files for resource bundles)
along side the Java sources
because we have an ongoing strategy for Localized Strings where the
developers prefer to keep the
strings used by com.example.Foo at the same location in a file named
"LocalStrings.properties".
I added:
<build>
<resources>
<resource directory="src/main/java"/>
</resources>
</build>
for my resources to get copied into target folder upon "mvn package". But
I get:
Project ID: org.bykedar:learnmvn
POM Location: /Users/kedar/Personal/bnevins/projects/learnmvn/pom.xml
Validation Messages:
[0] 'build.resources.resource.directory' is missing.
Reason: Failed to validate POM for project org.bykedar:learnmvn at
/Users/kedar/Personal/bnevins/projects/learnmvn/pom.xml
Is there an example somewhere of how to do this?
Thanks,
Kedar
--
View this message in context:
http://www.nabble.com/Maven%27s-current-working-directory-and-changing-resources-location-...-tf4752607s177.html#a13589892
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]