the standard java way to solve this is the service loader pattern.
java 6 has explicit support in the serviceloader class, but it is easy to
use classloader.getResources(...) note that's a plural, to roll your own if
you need to support java 5 or earlier.
basically the factory looks for files
Specify the packaging of your project by setting it to war.[1]
-Robert
[1] http://maven.apache.org/plugins/maven-war-plugin/usage.html
On Sat, 07 Jan 2012 07:42:06 +0100, Rahman USTA rahman.usta...@gmail.com
wrote:
Hi, Can maven copy the dependencies to web-inf/lib directory ? How
my projec's packaging type is anyway war. im trying a project on google
app engine. then some jars must be in web-inf/lib directory but jars
already in pom.xml dependency declaration. my goal is, save this
dependencies directly to this directory.
2012/1/7 Robert Scholte apa...@sourcegrounds.com
i solved it by using mvn war:inplace
2012/1/7 Rahman USTA rahman.usta...@gmail.com
my projec's packaging type is anyway war. im trying a project on google
app engine. then some jars must be in web-inf/lib directory but jars
already in pom.xml dependency declaration. my goal is, save this
The maven-wagon-plugin, in my experience, is not useful for moving
arbitrary files from place to place. It expects a file structure like
that of a maven repository, and, when it doesn't find one, it doesn't
do the job. I recommend that people use the antrun plugin and the ant
scp tasks instead.
I used wadl2java.sh available in wadl-dist-1.1 which is downloaded
from http://repo1.maven.org/maven2/org/jvnet/ws/wadl/wadl-dist/1.1/;.
...
If you have any example or any guide to use the Stubes generated from
wadl2java.sh please share it with me.
This question should be sent to the wadl