maven compiler issues

2006-06-15 Thread Sachin Patel
Two days in a row, i've randomly run into this... Has anyone seen such an error or know what the problem could be? I'm on a Mac [INFO] Compilation failure Failure executing javac, but could not parse the error: An exception has occurred in the compiler (1.4.2_09). Please file a bug at th

assemblies... unpacking dependencies issue

2006-05-23 Thread Sachin Patel
Hi, I have the following configuration in an assembly.xml. I need to unpack the dependency but somehow into a directory indicated by the outputFileNameMapping. Is this possible? It seems as if if unpack is set to true, outputFileNameMapping has no bearing. So how can I accomplish depend

m2 velocity plugin?

2006-03-24 Thread Sachin Patel
Is there a m2 velocity plugin anywhere? - sachin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Handling Eclipse plugin development in Maven?

2006-03-23 Thread Sachin Patel
No not yet, but I plan to. - sachin On Mar 23, 2006, at 6:10 AM, [EMAIL PROTECTED] wrote: This looks very interesting. Thanks! Is the M2 headless eclipse plugin also available in some source repository? /Henrik Sachin Patel <[EMAIL PROTECTED]> 2006-03-22 16:02 Please r

Re: Handling Eclipse plugin development in Maven?

2006-03-22 Thread Sachin Patel
I've have built a custom solution for the Geronimo eclipse plugin using M1 and almost done with migrating it over to M2. I wouldn't say the project structure is necessarily the issue. The issue is encapsulating the function of the PDE builder in a reusable way. The other issue is handlin

Re: maven jar plugin: Manifest Entries?

2006-03-17 Thread Sachin Patel
:31 AM, Sachin Patel wrote: I've opened MNG-2156 on this. - sachin On Mar 16, 2006, at 8:02 PM, Sachin Patel wrote: Yes, this is exactly what I have. I took a quick peak at the plugin code and I didn't see any reference to specifying a manifestF

Re: maven jar plugin: Manifest Entries?

2006-03-17 Thread Sachin Patel
I've opened MNG-2156 on this. - sachin On Mar 16, 2006, at 8:02 PM, Sachin Patel wrote: Yes, this is exactly what I have. I took a quick peak at the plugin code and I didn't see any reference to specifying a manifestFile either. ... org.apache.maven.plugins

Re: maven jar plugin: Manifest Entries?

2006-03-16 Thread Sachin Patel
o the documentation, this should work. Is it what you have in your pom.xml file? On 3/16/06, Sachin Patel <[EMAIL PROTECTED]> wrote: Adding the following manifestFile element failed to work for me as I get the following error.. [INFO] Failed to configure plugin par

Re: maven jar plugin: Manifest Entries?

2006-03-16 Thread Sachin Patel
Adding the following manifestFile element failed to work for me as I get the following error.. [INFO] Failed to configure plugin parameters for: org.apache.maven.plugins:maven-jar-plugin:2.1-SNAPSHOT Cause: Cannot find setter nor field in org.apache.maven.archiver.ManifestConfiguration for

getDependencyArtifacts returning null

2006-03-08 Thread Sachin Patel
Could someone explain why in my mojo project.getDependencies() returns back the correct list of dependencies defined in my pom, but project.getDependencyArtifacts() returns null? How can I fix this? - sachin - To unsub

[m2] preventing repo download attempts for specific groupIds?

2006-03-06 Thread Sachin Patel
Is there way to prevent maven from attempting to download snapshots for dependencies that fall under a certain groupId? For example eclipse plugin dependencies are not available in remote repo and therefore I'd like to prevent it from going out to fetch it. - sachin

Re: Plugin configuration for Map objects

2006-03-03 Thread Sachin Patel
Nevermind I've found my answer in a previous post. :) - sachin On Mar 3, 2006, at 10:20 AM, Sachin Patel wrote: Hi, I need to configure a plugin that contains a Map parameter. Is there example of how this would be configured? The section "Mapping maps" in the plugi

Plugin configuration for Map objects

2006-03-03 Thread Sachin Patel
Hi, I need to configure a plugin that contains a Map parameter. Is there example of how this would be configured? The section "Mapping maps" in the plugin configuration guide is currently empty. Thx in advance. - sachin -

Re: Setting pom properties in mojo

2006-02-22 Thread Sachin Patel
Nope that didn't work. - sachin On Feb 22, 2006, at 6:27 PM, Alexandre Poitras wrote: I have no idea if it has something to do with it but have you tried to get ride of the @readonly annotations on the project property? On 2/22/06, Sachin Patel <[EMAIL PROTECTED]> wrote: How

Setting pom properties in mojo

2006-02-22 Thread Sachin Patel
How can I set a property in a mojo so that it is accessible in a pom? For example I have a dependency... eclipse org.eclipse.wst.server.core ${version} I have a mojo that needs to dynamically set the versions of my dependencies so I tried adding... /** * @para

Re: optional ant replaceregexp task

2005-11-21 Thread Sachin Patel
I too am seeing the same problem. Nathan Coast wrote: Hi, having recently upgraded to maven 1.1-b2, I have been unable to get ant replaceregexp tasks working I have tried adding the dependencies to the oro regexp jars (I couldn't find the org.apache.tools.ant.util.regexp.Jdk14RegexpRegexp

Re: [m2] eclipse integration pitch

2005-09-19 Thread Sachin Patel
Has there been any thought to talking to the eclipse team to perhaps for them to integrate Maven support within the eclipse platform? Kenney Westerhof wrote: On Mon, 19 Sep 2005, Ashley Williams wrote: Hi, Jumping the gun in assuming that no such project yet exists (google research), I'd

Re: [m1] setting system property

2005-09-13 Thread Sachin Patel
oject.xml is parsed first and fails since the property has not been set yet. Is there a way around this? Sachin Patel wrote: How can I set a system property using jelly in a parent maven.xml so that the project.properties can reference it? I tried the following setting the ant property as well

[m1] setting system property

2005-09-13 Thread Sachin Patel
How can I set a system property using jelly in a parent maven.xml so that the project.properties can reference it? I tried the following setting the ant property as well as var, but neither of them were picked up by the project.properties. Thanks. Sachin --

Re: [M2] - The value of ${basedir} has changed?

2005-08-29 Thread Sachin Patel
Yes, I'm am seeing a similar issue but on the Alpha 3 version and its causing build failures when invoking a build from the parent POM. My Child POM's have plugin configuration info relative to that project, but when invoked from the parent POM, those goals fail as it looks for resources relat

Re: M1 dependency

2005-08-29 Thread Sachin Patel
Nevermind. User error. Sachin Patel wrote: In M1, I'm having a basic problem just trying to add a dependency to another projects artifact. In debug mode as you can see the blah-1.0-SNAPSHOT.jar gets picked up, but then the build fails because of an unsatisfied dependency. What cou

M1 dependency

2005-08-29 Thread Sachin Patel
In M1, I'm having a basic problem just trying to add a dependency to another projects artifact. In debug mode as you can see the blah-1.0-SNAPSHOT.jar gets picked up, but then the build fails because of an unsatisfied dependency. What could be wrong? [DEBUG] Adding reference: maven.dependen

Re: maven.jar.override

2005-08-29 Thread Sachin Patel
Error: Unable to read the metadata file eclipse-plugins:org.eclipse.core.resources:3.1.0:jar from the specified remote repositories: http://repo1.maven.org/maven2 Path to dependency: 1) org.apache.geronimo:org.apache.geronimo.test2:jar:1.0-SNAPSHOT Sachin Patel wrote: Well as long as

Re: maven.jar.override

2005-08-29 Thread Sachin Patel
'm interested to hear your thoughts. - Brett On 8/29/05, Sachin Patel <[EMAIL PROTECTED]> wrote: So basically for M2 you are saying there is no way to specify a dependency on a jar outside of the repo? In which case, all the eclipse plugins I depend on must be copied from an eclipse

POM inheritence in M2

2005-08-29 Thread Sachin Patel
I'm looking at POM inheritence in M2.. If I specify a parent POM what gets included in the child POM, only elements in the Parent POM that specify ? In M1, everything was pushed down, so how do things like organization, url, etc.. get inherited? Or is it the opposite where everything gets incl

Re: maven.jar.override

2005-08-28 Thread Sachin Patel
"-". Are there any other alternatives? Thanks again for all your help. Brett Porter wrote: No, m2 does not allow jar overrides. Version based overrides can be achived by plugin , and file based overrides should be put into the repository. - Brett On 8/29/05, Sachin Patel <[EMAIL PROT

maven.jar.override

2005-08-28 Thread Sachin Patel
Is the property maven.jar.override applicable for M2? If so how is it specified? Through ? If so, it wasn't clear to me in the documentation, nor could I find examples of being defined in M2 POMs. Is this the correct way to define them? value Thanks.

Re: M2 generating manifest

2005-08-28 Thread Sachin Patel
s/META-INF/MANIFEST.MF), this should be used. If not, it is a bug. You can also pass the following configuration to the JAR plugin as a complete alternative: ... Cheers, Brett On 8/29/05, Sachin Patel <[EMAIL PROTECTED]> wrote: I am running M2 and when running m2 install to build my

M2 generating manifest

2005-08-28 Thread Sachin Patel
I am running M2 and when running m2 install to build my jar, a manifest file is included in the snapshot.jar. How do I prevent this, as I already have a MANIFEST in my project that I want to include and it seems as if the Maven one always overwrites it. Thanks. --