Re: Disable usage of snapshot version of plugin

2010-07-01 Thread chetan mehrotra
Maven Chetan Mehrotra On Thu, Jul 1, 2010 at 6:58 PM, Nick Stolwijk wrote: > Put it in your pluginmanagement with a fixed version. Or if you don't > have a pom, specify the GAV of the plugin: > > mvn > org.apache.maven.plugins:maven-archetype-plugin:maven-plugin:2.0-a

Disable usage of snapshot version of plugin

2010-07-01 Thread chetan mehrotra
w I already have alpha-5 in my local repo. So can I force the Mevn to not look and use a snapshot version for such plugins. Chetan Mehrotra

Re: Is there a way to disable transitive dependencies?

2010-05-20 Thread chetan mehrotra
There is a bug logged for it. Vote for it at http://jira.codehaus.org/browse/MNG-2315 Chetan Mehrotra On Tue, May 18, 2010 at 7:48 PM, AVSUNIL wrote: > > Hi Ron, > > I want to do something similar.. but I want to tell maven to exclude all > dependencies instead of listing 9 to 1

Artifact type getting changed

2010-04-14 Thread chetan mehrotra
? Chetan Mehrotra PS: As the project structure is a bit complex one so cannot attach a project which reproduces the issue.

Query related to multi module web project

2010-03-17 Thread chetan mehrotra
f jar dependency. This makes the dev effort very simple as change in one module is simultaneously visible in the other module without an explicit install steps. The war plugin has support for overlays but I believe its only for war dependency and not for jar dep Chetan Mehrotra

Plugin classloader and classpath

2007-03-07 Thread chetan mehrotra
MavenProject.getRuntimeClasspathElements() would return me dependencies which vary according to plugin use(ie executed directly vs lifecycle phase) . Or is there any other way to get the project dependencies in my plugin -- Regards Chetan Mehrotra http://www.jroller.com/page/techkriti

Ant Target

2006-03-09 Thread chetan mehrotra
Is there any way in maven to explicitly invoke the ant plugin target instead of tieing it to any lifecycle phase. Just like idea:idea if we execute our ant target. I tried to figure it out but was not able to find any way to do that -- Chetan Mehrotra

Re: Exploded EAR structure

2006-03-08 Thread chetan mehrotra
bly) but there's no particular > reason why you must do it in Maven, so I'd just do it in plain old Ant > as it is simpler. > > Point your app server at the exploded directory and run the webapp > from there, jsps will be automatically picked up, etc. > > Wayne > > -- Chetan Mehrotra

Exploded EAR structure

2006-03-08 Thread chetan mehrotra
would be helpful. -- Chetan Mehrotra

Exploded directory Structure

2006-03-07 Thread chetan mehrotra
refreshing on the browser. But in the Maven structure everything is copied to the "target". So for seeing the changes in jsp the person has to copy the changed jsp every time. Can this be achieved in a better way!!!. -- Chetan Mehrotra