I don't have a specific answer to your question but I do something similar by 
creating a Maven project out of my configuration files and adding that to the 
plugin dependencies. So I have a section:

<dependencies>
            <dependency>
              <groupId>org.mygroupid</groupId>
              <artifactId>config</artifactId>
              <version>${project.version}</version>
            </dependency>
</dependencies>

in my Jetty plugin configuration. I think it would just come down to getting 
your path added as a 'resource' path to the Maven POM which the Jetty plugin 
uses to construct the classpath. So this might be a better question for the 
Maven mailing list than the Jetty list.

-mike


 | Mike Pilone | Software Architect, Distribution | [email protected] | o: 
202-513-2679  m: 703-969-7493


-----Original Message-----
From: [email protected] [mailto:[email protected]] 
On Behalf Of Ari King
Sent: Wednesday, November 23, 2011 6:10 PM
To: [email protected]
Subject: [jetty-users] How to Use Properties Files with Jetty Maven Plugin?

I've configured my application to search for configuration details in
properties files located on the classpath. Does anyone know how to
configure the jetty-maven plugin so that when "jetty:run" is executed
it looks for properties files in
"${user.home}/${project.artifactId}/"?

Thanks.

-Ari
_______________________________________________
jetty-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/jetty-users


_______________________________________________
jetty-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/jetty-users

Reply via email to