Re: Any interest in a maven-properties-plugin?

2006-10-26 Thread Zarar Siddiqi
It is going through the tedious process of being accepted as a plugin. Vote for it here: http://jira.codehaus.org/browse/MOJO-535 The source can also be found in JIRA. ertnutler wrote: > > i'm interested in using this plugin, but i can't checkout the source or > browse the repository from t

Re: Any interest in a maven-properties-plugin?

2006-10-17 Thread Zarar Siddiqi
> to build up properties files used by Spring etc. > > However, it should be named properties-maven-plugin, as it does not > originate from the Maven Dev team. > > Wayne > > On 10/16/06, Zarar Siddiqi <[EMAIL PROTECTED]> wrote: >> >> I've written a p

Re: Any interest in a maven-properties-plugin?

2006-10-16 Thread Zarar Siddiqi
ct-Parameter > > > > > On 10/16/06, Zarar Siddiqi <[EMAIL PROTECTED]> wrote: >> >> >> >> Here's a site for the plugin: >> >> http://individual.utoronto.ca/zarar/properties-maven-plugin/site/ >> >> >> >> >>

Re: Any interest in a maven-properties-plugin?

2006-10-16 Thread Zarar Siddiqi
Here's a site for the plugin: http://individual.utoronto.ca/zarar/properties-maven-plugin/site/ Zarar Siddiqi wrote: > > I've written a plugin that serves as a good utility in handling > properties. Given the many questions on this mailing list about handling > pr

Any interest in a maven-properties-plugin?

2006-10-16 Thread Zarar Siddiqi
I've written a plugin that serves as a good utility in handling properties. Given the many questions on this mailing list about handling properties for different environments and I/O'ing them from files, I think this would help in alleviating this problem. It has three goals (for now): 1. read-

Re: Transitive dependencies in war-plugin.

2006-10-16 Thread Zarar Siddiqi
you define ${app.name} at? > > On 10/16/06, Zarar Siddiqi <[EMAIL PROTECTED]> wrote: >> >> >> If you are using the maven-war-plugin, you can use the >> >> elements to exclude jars from your war. They will still appear in the >> work >> direc

Re: Transitive dependencies in war-plugin.

2006-10-16 Thread Zarar Siddiqi
ontext.xml ${war.dir}/WEB-INF/web.xml Zarar Dmystery wrote: > > IS there a way to turn off transitive dependencies while packaging a war > file? > I want my ejb-client in the war-packaging but it brings along all the > ejb-client dependencies. I've searched

Re: [m2] Compiling JSPs

2006-10-12 Thread zarar
What about the case where the web.xml and any .tld files are generated (via XDoclet). In that case the web.xml wouldn't be in the src/main/webapps folder but somewhere in target/gen. The jsp plugin expects a nice little directory structure where the web.xml, JSP's and .tld are rooted under the

Classloader issue with ant optional tasks in a hierarchical structure

2006-10-12 Thread Zarar Siddiqi
the dependencies as part of the pom rather than the plugin but with no success. I'm following the instructions here (Using optional ant tasks). http://maven.apache.org/plugins/maven-antrun-plugin/classpaths.html Any ideas what might be wrong? Thanks, Zarar

Re: Multiproject Rector

2006-10-01 Thread Zarar Siddiqi
Only one way to find out: try it out. I'm going to guess dependency but the bigger question might be why you are even using 1.0.2? On 9/30/06, Neeraj Bisht <[EMAIL PROTECTED]> wrote: hi all i am unable to get answer of my Question regarding maven 1.0.2 i want to k

Re: How to get external properties values to maven

2006-10-01 Thread Zarar Siddiqi
I had the same issue and wrote a simple plugin to actually read the file and make it part of a profile's properties using the Profile.setProperties(..) method. You can either do that or transfer the contents of the property file to your pom.xml using the syntax: Raghurajan Zarar Si

Re: Loading properties for different enviroments

2006-09-29 Thread zarar
Any ideas on how to accomplish this? torghal wrote: > > We have 3 different kind of enviroments to deploy applications: > - development > - acceptation > - production > > We would like to use 3 different propertie files, one for each enviroment: > - development.proper

Re: passing along maven built classpath to ant plugin

2006-09-26 Thread Zarar Siddiqi
Yup, you can use these classpaths: * maven.dependency.classpath * maven.compile.classpath * maven.runtime.classpath * maven.test.classpath * maven.plugin.classpath http://maven.apache.org/plugins/maven-antrun-plugin/classpaths.html Zarar On 9/26/06, EJ Ciramella <[EM

Dependency of test classes across sub-modules

2006-09-26 Thread Zarar Siddiqi
I have a scenario where a test class from one child module depends on a test class from another child module, say ModuleA and ModuleB. After some searching, I discovered this: http://maven.apache.org/guides/mini/guide-attached-tests.html But for ModuleB to even compile its tests, it needs the te

Re: [m2] Archetype/packageName/directory structure

2006-09-08 Thread zarar
Did you ever get this working? I'm getting this error: I'm trying to create/copy the directory structure form archetype-resources\business\core\src\main\java to business\core\src\main\java I've followed the directions here: http://maven.apache.org/guides/mini/guide-creating-archetypes.html