Bob Arnott wrote:
Hello, I've got a bit of a situation where development will be
happening across
two sites that wont be able to share local repositories. From looking
at the
documentation I see I can filter values in resource files -
# application.properties
application.name=${pom.name}
application.version=${pom.version}
message=${my.filter.value}
However, I want to do something similar but with the pom.xml, so I can
filter
for the local repository, i.e.
<repositories>
<repository>
<id>local-repo</id>
<url>${local.repo.url}</url>
</repository>
</repositories>
Is this possible...? If so, where do I specify local.repo.url...?
Cheers,
Have you tried passing it via command line? For example, mvn package
-Dlocal.repo.url=your_local_repo
I haven't actually tried this so let me know if it works. :-)
- Henry
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]