Re: downloading resources
What phase should I be doing this in to insure that they make it into the bundle? On Wed, Jan 19, 2011 at 9:52 PM, Wayne Fay wrote: > >> 3) Uncompress it to my projects src/main/resources folder > > Oh and btw you should probably not be uncompressing to > src/main/resources but rather to /target. > > Wayne > > - > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > For additional commands, e-mail: users-h...@maven.apache.org > >
downloading resources
Hi, There are several external shared libraries available via http in tar.gz files that I want to include in a jar. I do not want to check these files into my scm. How do I get maven to 1) Check if they are already present, and if not 2) Download the tarball 3) Uncompress it to my projects src/main/resources folder (I'm distributing shared libraries this way because it's an OSGi bundle that uses JNI libraries) Any advice on combinations of plugins to use? -Adam
dynamic properties and lifecycle question
Hi, I'm new to maven plugins/lifecycle issues. I have a dependency that has a classifier that depends on the platform it is running on (jar contains .so or .dll). I am using a plugin I write to set a property for the classifier (by asking for OS/architecture/etc). The plugin works, but it's not running before the classifier is resolved in the dependency list. The phase "initialize" is described as the time to: "initialize build state, e.g. set properties or create directories." What am I missing? It's not really doing anything different then the "maven-properties-plugin" that loads properties from a file. Here's a neutralized version of my POM with relevant sections: PLUGIN_GROUP_ID PLUGIN_ARTIFACT_ID 0.9-SNAPSHOT initialize properties ART_GROUP_ID ART_ID 0.9.2 ${platform.id} thanks! Adam