Re: Dependent jars not included in package

2009-01-24 Thread Morgovsky, Alexander (US - Glen Mills)
Neh, I'm just glad people are getting down to business instead of messing around like before. Regarding the jar packaging, if you are making a war or ear, you can use the maven dependency plugin. This message (including any attachments) contains confidential information intended for a specifi

RE: ${pom.version} without the SNAPSHOT part.

2009-01-24 Thread Edelson, Justin
Um, 1.2.3 is a String too. From: Thiago Moreira (timba) [mailto:tmoreira2...@gmail.com] Sent: Sat 1/24/2009 6:23 PM To: Maven Users List Subject: ${pom.version} without the SNAPSHOT part. Hi there, Is there a way to get only the numbers of the ${pom.versi

${pom.version} without the SNAPSHOT part.

2009-01-24 Thread Thiago Moreira (timba)
Hi there, Is there a way to get only the numbers of the ${pom.version} property?? Something like this: 1.2.3-SNAPSHOT, I want just the 1.2.3 part.I will use it to build a Eclipse plugin that don't accept Strings on the version property. Thanks Thiago Moreira

Re: Dependent jars not included in package

2009-01-24 Thread Wayne Fay
Alex, were you picked on as a child in elementary/primary school? ;-) Regarding your first query: The standard Java classloader does not have any ability to load class that are in Jars contained inside other Jars. So there is little point in building such a package unless you are using an alternat

RE: Dependent jars not included in package

2009-01-24 Thread Morgovsky, Alexander (US - Glen Mills)
I see another user has a similar signature to mine. When I posted messages to this board actively about a year ago, some people had a field day with me and made fun of my signature saying my messages should be confidential. Well, it's not just me anymore, so where are the all comedians out ther

Dependent jars not included in package

2009-01-24 Thread Morgovsky, Alexander (US - Glen Mills)
If you are creating a jar, are you trying to include jars in your jars, or are you creating a war or ear or other object? This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the inte

eliminating 'dependency not found' warnings

2009-01-24 Thread Morgovsky, Alexander (US - Glen Mills)
How can we eliminate warnings during the build of the form: [WARNING] Unable to get resource 'axis2:axis2-kernel:jar:1.2' from repository internal-snapshot (http://x.y.z.a:1234)? Thanks for your help. This message (including any attachments) contains confidential information intended for a

Re: Problem with WTP,Maven2 and Eclipse

2009-01-24 Thread Janne Rantala
Hi, Thanks for your reply. I'm already using M2Eclipse plugin and that's the plugin I created my project with. But the problem is that the jar my web app is dependent on doesn't show up in wep app project properties, only that project is visible but with the error I mentioned in my previous post.

Re: Getting log4j output from ANT tasks to maven output

2009-01-24 Thread ez
yep. this actually works :-) thanks Kent Narling wrote: > > I assume you mean to the console when you run maven on the command line, > or? > The default behaviour of maven is to just write to stdout, so if you > configure the log4j file to do so as well, then if you just configure a > CONSOLE ap

Re: Maven 2.0.9 NullpointerException when running tests

2009-01-24 Thread Geoffrey Wiseman
On Sat, Jan 24, 2009 at 10:51 AM, Amin Mohammed-Coleman wrote: > I have junit 4 tests which all run correctly in eclipse. However when I > try to run the tests in maven (mvn test) I get nullpointerexceptions (due to > classes not being instantiated properly. > > Any help would be appreciated. P

Maven 2.0.9 NullpointerException when running tests

2009-01-24 Thread Amin Mohammed-Coleman
Hi I have the following pom.xm file: http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance " xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd "> ami...@gmail.com

Re: dependency:analyze-only and pom-only dependencies

2009-01-24 Thread Brian E. Fox
This is because the analyze component is looking for classes in your dependency that are referenced in your classes. We should skip pom dependencies. On 9/21/08 8:16 PM, "Brett Porter" wrote: > This seems like a limitation in the plugin that you should file an issue for. > > Cheers, > Brett >

Re: public html index for the site repo of org.apache.maven.plugins?

2009-01-24 Thread Deron Eriksson
I've been working on a new repository search tool. If you do a project search for "org.apache.maven.plugins", it returns all the plugins in org.apache.maven.plugins. The results include links to all of the javadocs for the different versions of the plugins, if the javadocs are available in the rep

Re: How to import multi-module projects in Eclipse through mvn eclipse:eclipse

2009-01-24 Thread Jaikiran
Thanks everyone for the inputs. Let me give the Eclipse plugin a try :) Eugene Kuleshov wrote: > > Rusty, > > The startup issue been fixed while ago. The project import and updating > dependencies may take some time for large project, but nothing like that > is happening at Eclipse startup a

Re: [MAVEN RELEASE PLUGIN] NoSuchMethodError: org.apache.maven.settings.Settings.getRuntimeInfo() for goal prepare

2009-01-24 Thread Stephane Nicoll
Well it looks like an embedder issue. Install maven and run it on the command line (outside eclipse). If it is working, please file an issue in the m2eclipse project. S. On Fri, Jan 23, 2009 at 7:06 PM, Lesaint Sébastien < sebastien.lesa...@ginerativ.fr> wrote: > Hi Stephane, > > Thanks for the q

[ANN] Tomcat Maven Plugin 1.0-beta-1 Released

2009-01-24 Thread Olivier Lamy
Hi, The Mojo team is pleased to announce the release of the Tomcat Maven Plugin, version 1.0-beta-1 The Tomcat Maven Plugin provides goals to manipulate WAR projects within the Tomcat servlet container. http://mojo.codehaus.org/tomcat-maven-plugin/ You should specify the version in your project's