m202 How to package ear with our version numbers for the included artifiacts

2006-03-05 Thread Gautham Pamu
Hi Everyone, Currently when I package my ear, it is include the ejb jars and wars files in the ear but the jars names include the version number. I would have package the jars in the ear without the version numbers. For example: in my ear.. i have following dependency so it is packaging the

Re: maven multiproject compiling in wrong order

2006-03-05 Thread David Delbecq
I checked a lot, dependency looks correct to me. If i clean all project and clean my local repository, then do jar:install on shark-common shark-struts shark-taglib shark-JNDI-users then the target 'war' on shark-demoSite will fail telling it couldn't download shark-viewer If i go in shark-vie

m202 Question on ${project.scm.developerConnection}

2006-03-05 Thread Gautham Pamu
Hi Everyone, I have following directory structure com.company.compA/compA.main (parent project) com.company.compA/compA.Module1 com.company.compA/compA.Module2 and I have developer connection defined only in parent project and when I run the validate phase it is printing following value for the

Re: pom settings vs. settings.xml, the eclipse plugin, and maven-proxy

2006-03-05 Thread Kathryn Huxtable
The problem isn't with the plugin, but with the embedder, which the plugin uses. If the embedder would get fixed, then we'd have support for settings.xml, or such is my understanding. -- Kathryn Huxtable Middleware Architect Core Middleware Information Technology, a division of Information Service

Re: [M2] JDeveloper plugin

2006-03-05 Thread Steven Coco
This was good information! Thanks. I have been looking at JDeveloper; and I was very impressed with how well the NetBeans Maven plugin worked -- that made me take a step back to look for a good Maven tool. I'll give this a try myself. I was also dismayed by how hard it seems to be to handle

Re: [M2] Deploying jar with classifier fails...

2006-03-05 Thread Carlos Sanchez
You need to run mvn with -X and paste the output. Accès refusé looks like you don't have permissions in the remote server On 3/1/06, jean-laurent de morlhon <[EMAIL PROTECTED]> wrote: > Hi all, > > In order to produce a single artifact with a classifier, I configured > the jar plugin as follow in

Re: [M2] Deploying jar with classifier fails...

2006-03-05 Thread Allan Ramirez
I think this is a bug. Please file an issue in jira. Thanks, allan jean-laurent de morlhon wrote: Hi all, In order to produce a single artifact with a classifier, I configured the jar plugin as follow in my pom. org.apache.maven.plugins maven-jar-plugin someclassifier however any

Re: [m2] The packaging for this project did not assign a file to the build artifact

2006-03-05 Thread Adrian Herscu
SOLVED --- I made one mistake in the components.xml -- the packaging element should match the role-hint element. The ANT script task (apparently) must be used to access Maven's object model -- I have used the following code in my.build.xml file:

Re: pom settings vs. settings.xml, the eclipse plugin, and maven-proxy

2006-03-05 Thread Barrie Treloar
On 3/6/06, Brad O'Hearne <[EMAIL PROTECTED]> wrote: > I have run into a problem -- at least I think its a problem, in using > maven2, the eclipse plugin, and maven-proxy. I have maven-proxy > configured and proxying external repositories (ibiblio and codehaus) for > dependencies, and I am bypassing

Cactus plugin - how to

2006-03-05 Thread Bertrand Tignon
Hi ! I'm trying to use the maven plugin for cactus, but I don't manage to make it work. I've got a maven project containing cactus ServletTestCase and ServletTestSuite classes that test classes packaged in the artifact application.ear. And these tests depend on other things that need the appli

pom settings vs. settings.xml, the eclipse plugin, and maven-proxy

2006-03-05 Thread Brad O'Hearne
I have run into a problem -- at least I think its a problem, in using maven2, the eclipse plugin, and maven-proxy. I have maven-proxy configured and proxying external repositories (ibiblio and codehaus) for dependencies, and I am bypassing local checking of these external repositories by config

Re: Re: Repository specifying

2006-03-05 Thread Miguel Griffa
sorry, I don't know if there is a simple way of doing that. Something I think that could work is defining a local repo for a given profile. making the profile activated by a property, and setting the property in the pom. I don't know if that works, but you may want to try. I hope this helps you On

RE: Re: Repository specifying

2006-03-05 Thread Artamonov, Juri
Miguel, thank you for reply, but look at my previous e-mail. > home/.m2 and specify this in pom.xml not in settings.xml? Not in settings.xml. The goal to have specifyed local reposiory in pom.xml. Is it possible? -Original Message- From: Miguel Griffa [mailto:[EMAIL PROTECTED] Sent: Su

Re: how do you wrap a plugin?

2006-03-05 Thread Miguel Griffa
I'd suggest you to grab a simple pllugin and use that as codebase. it is really simple to develop m2 plugins with m2 and the mojo api is quite simple writing a plugin that simply attaches to a phase is almost trivial, so the most important point, IMHO, is to select the right plugin to use as codeb

Re: Re: Repository specifying

2006-03-05 Thread Miguel Griffa
yes, change the location of your local repository in settings.xml On 3/4/06, Artamonov, Juri <[EMAIL PROTECTED]> wrote: > > >but all resources go to your local repository: home/.m2 unless > overriden in settings.xml. > > Is there any way to tell maven to download jars to folder I want, not > home/