Need help in organizing a maven project

2006-01-03 Thread Karthik V
Hi All, I'm new to maven and xdoclet and I have a confusion in organizing my project. I need to run ejbdoclet and hibernatedoclet on my source, then compile. After this, I need to create 2 jar files, each of them containing some files from the previous steps' output. By default, one jar is cre

[m2] auto completion using BASH does not work on MacOSX

2006-01-03 Thread Man-Chi Leung
hi I followed the following instruction, but it does not work on my MacOSX 's bash shell. anyone has a better luck? Guide to Maven 2.x auto completion using BASH http://maven.apache.org/guides/mini/guide-bash-m2-completion.html Regards, manchi --

Re: Need help in organizing a maven project

2006-01-03 Thread Alexandre Poitras
First, from what I understand you want two jars for your ejb, ie. ejb-client.jar and ejb-impl.jar. If this is what you are looking for, this page might help : http://maven.apache.org/plugins/maven-ejb-plugin/howto.html *you should declare an "ejb" packaging in your ejb pom. **To include a dependen

Re: [m2] auto completion using BASH does not work on MacOSX

2006-01-03 Thread Ralph Pöllath
On 03.01.2006, at 16:44, Man-Chi Leung wrote: I followed the following instruction, but it does not work on my MacOSX 's bash shell. anyone has a better luck? Guide to Maven 2.x auto completion using BASH http://maven.apache.org/guides/mini/guide-bash-m2-completion.html Do you have bash's p

Re: Need help in organizing a maven project

2006-01-03 Thread Karthik V
Hi, Thanks a lot for the quick reply. I'm not sure if I explained properly. Below is my requirement: myproj.ear -- myproj-bean.jar -- myproj.war -- all jsps, css -- WEB-INF/lib/myproj-web.jar -- WEB-INF/lib/(other 3rd party jars) -- meta-inf -- application.xml -- some 3rd party jar f

[m2] war as a dependency

2006-01-03 Thread Richard Wallace
Hello all, I thought I saw on the list some time ago that a pom for a war could specify another war artifact as a dependency with the idea being that the depended war would be unzipped and then the webapp from the current project would be copied over it. Is this only available in a snapshot

Re: Basics Help: Resource File Name Filtering, Executing Java During Resource Copy

2006-01-03 Thread Alexandre Poitras
First read this to understand resources filtering : http://maven.apache.org/guides/getting-started/index.html#How%20do%20I%20filter%20resource%20files? Then just add an exclude element under resources to be able to filter the files themselves. See this document for a reference on the resource synt

Re: [m2] war as a dependency

2006-01-03 Thread Stephane Nicoll
On 1/3/06, Richard Wallace <[EMAIL PROTECTED]> wrote: > Hello all, > > I thought I saw on the list some time ago that a pom for a war could > specify another war artifact as a dependency with the idea being that > the depended war would be unzipped and then the webapp from the current > project wou

Re: Need help in organizing a maven project

2006-01-03 Thread Alexandre Poitras
First I suggest you yo read this : http://maven.apache.org/guides/getting-started/index.html#How%20do%20I%20build%20more%20than%20one%20project%20at%20once? So the idea now is to create a parent project using the structure explained in the document: +- pom.xml +-my-commons | +- pom.xml +- my-ejb

Re: Re: [m2] Package XSL file with plugin and use it for XSLT when executing the plugin

2006-01-03 Thread haginow2001-nabble
Dan, It would be helpful if you could post the code. I'm not sure how to load the file packaged inside the plugin (e.g. load it from classpath, or relative path, etc.). Thanks, Chris - To unsubscribe, e-mail: [EMAIL PROTECTED] F

Re: Need help in organizing a maven project

2006-01-03 Thread Karthik V
Thanks again. Your explanation is fine. I have a few questions specific to my case - 1) I use maven 1.0.2, since there doesnt seem to be a good netbeans mevenide plugin for maven 2. Many things explained in the link you gave dont seem to be present in maven 1.0.2. Do you think I can still go in

Re: Re: [m2] Package XSL file with plugin and use it for XSLT when executing the plugin

2006-01-03 Thread Jesse McConnell
if it is packaged in the same jar as the plugin when you can use in side the plugin code getClass().getResourceAsStream("path/to/file.xsl") jesse On 1/3/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Dan, > > It would be helpful if you could post the code. I'm > not sure how to load the fi

Re: [m2] war as a dependency

2006-01-03 Thread Richard Wallace
I checked out the source for the maven-war-plugin and installed it in my local repository. But when I try and do a 'mvn war:war' I'm still getting required artifacts missing: com.contentconnections.mpl:mpl-common-webapp:jar:0.1-SNAPSHOT So it looks like maven is still trying to download the a

Re: Maven evangelism - urgent

2006-01-03 Thread Eric Biesterfeld
I think the bigger question is... why? Why do they want to abandon Maven? What isn't your build system doing to meet your needs? Further, as more and more hacks are made to a build system over three years, any system can seem crufty and inappropriate, when the problem is that noone thought throug

Re: How to use continuum with Maven2? - Please Help

2006-01-03 Thread raghurajan . x . gurunathan
Hi dan, Now more confused. My pom.xml is in my clearcase view like ccview + MyModule + EJB +pom.xml + web +pom.xml + pom.xml and my pom.xml at Mymodule has the scm information. i'm giving this patch in continuum

[ANN] Mevenide for Netbeans Maven2 support initial release

2006-01-03 Thread Milos Kleint
Hello, I'd like to announce an initial release of Mevenide Netbeans 2.0. It's IDE integration for Maven2 project management and build tool. It allows to open Maven2 projects in the IDE directly, helps with writing the Maven project files etc. A Continuum integration server plugin is also included

Re: Need help in organizing a maven project

2006-01-03 Thread Alexandre Poitras
Oh sorry I have almost never used maven 1 so I can't help you there. On 1/3/06, Karthik V <[EMAIL PROTECTED]> wrote: > Thanks again. Your explanation is fine. I have a few questions specific to my > case - > > 1) I use maven 1.0.2, since there doesnt seem to be a good netbeans mevenide > plugin

RE: [m2] war as a dependency

2006-01-03 Thread Brian E. Fox
Set the to war I believe. -Original Message- From: Richard Wallace [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 03, 2006 12:03 PM To: Maven Users List Subject: Re: [m2] war as a dependency I checked out the source for the maven-war-plugin and installed it in my local repository.

Re: [m2] war as a dependency

2006-01-03 Thread Richard Wallace
Awesome! That did the trick. I had been trying to use before, didn't realize it should be . Thanks! Brian E. Fox wrote: Set the to war I believe. -Original Message- From: Richard Wallace [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 03, 2006 12:03 PM To: Maven Users List Sub

Dependency (jar) files in an output jar (but not an assembly)

2006-01-03 Thread John Wells
I want to put some dependent jar files into the jar file created during the install phase. These jar files are in the repo (so they are not found in the "resources" directory). What is the easy Maven 2 way to do this? John Wells (Aziz) [EMAIL PROTECTED]

Re: [m2] auto completion using BASH does not work on MacOSX

2006-01-03 Thread Man-Chi Leung
I go it from fink and put the bash script at /sw/etc/bash_completion.d/ it is so cool! thanks Ralph. On Jan 4, 2006, at 12:03 AM, Ralph Pöllath wrote: On 03.01.2006, at 16:44, Man-Chi Leung wrote: I followed the following instruction, but it does not work on my MacOSX 's bash shell. anyo

RE: [m2] war as a dependency

2006-01-03 Thread David Hawkins
When you specified the dependency, did you specify the "type"? Your dependency should look something like: com.contentconnections.mpl mpl-common-webapp 0.1-SNAPSHOT war --David -Original Message- From: Richard Wallace [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 03, 2006 1

Re: [m2] where to get sun.jdk:tools:jar:1.4.0 on MacOSX?

2006-01-03 Thread Man-Chi Leung
hi , as for aspectj-plugin I also encountered the following Message: is it alright to ignore it? anyway to solve this issue? [INFO] [aspectj:compile {execution: default}] [INFO] Starting compiling aspects [INFO] zipfile classpath entry does not exist: /System/Library/ Frameworks/JavaVM.fra

Re: Maven evangelism - urgent

2006-01-03 Thread Raphaël Piéroni
Thanks Georges Polyzois a écrit : http://maven.apache.org/maven-1.x/reference/articles.html - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --

Re: Dependency (jar) files in an output jar (but not an assembly)

2006-01-03 Thread dan tran
bind dependency-maven-plugin to any post compile phase and place your jars into a place that package phase can pickup this plugin is at http://mojo.codehaus.org -D On 1/3/06, John Wells <[EMAIL PROTECTED]> wrote: > > > I want to put some dependent jar files into the jar file created during > th

Problem with subversion

2006-01-03 Thread Denis Fuenzalida
Hi, I'm a new Maven2+Continuum user. I'm testing an environment with Maven 2.0.1, Continuum 1.0.2 with Eclipse 3.1 and Subversion on Windows XP. I created a simple application with "mvn archetype:create ...", created the eclipse workspace files with "mvn eclipse:eclipse", imported the project int

Re: [m2] where to get sun.jdk:tools:jar:1.4.0 on MacOSX?

2006-01-03 Thread Kaare Nilsen
just ignore it ;) it is a message from the ajc compiler, but will not cause anything not to work /Kaare On 03/01/06, Man-Chi Leung <[EMAIL PROTECTED]> wrote: > hi , > > as for aspectj-plugin > I also encountered the following Message: is it alright to ignore > it? anyway to solve this issue? > >

Continuum + Clearcae. [Was] Re: How to use continuum with Maven2? - Please Help

2006-01-03 Thread dan tran
Wim, Do you have a suggestion for this problem? Hope you are around ;-) -Dan On 1/3/06, [EMAIL PROTECTED] < [EMAIL PROTECTED]> wrote: > > Hi dan, > > Now more confused. > > My pom.xml is in my clearcase view like > > ccview > + MyModule > + EJB > +pom.xml

[m2] Deploying 3 Party Jar to Maven-Proxy

2006-01-03 Thread Man-Chi Leung
hi I have successfully setup maven-proxy, based on the following website. http://maven-proxy.codehaus.org/ Q1) now, the only problem is deploying 3rd Party jars from our deployment pc to maven-proxy I followed this instruction from maven's FAQ but with no luck. http://docs.codehaus.org/pages

[m2] examples of xdoclet generating hibernate mappings please?

2006-01-03 Thread Mick Knutson
I am new to generating hibernate mappings and want to get started with this in M2. Can anyone please help me with some examples? Thanks Mick Knutson http://www.BASELogic.com http://www.MickKnutson.com MSN Messenger

Re: Problem with subversion

2006-01-03 Thread Emmanuel Venisse
You can add target directory in subversion ignore list. Emmanuel Denis Fuenzalida a écrit : Hi, I'm a new Maven2+Continuum user. I'm testing an environment with Maven 2.0.1, Continuum 1.0.2 with Eclipse 3.1 and Subversion on Windows XP. I created a simple application with "mvn archetype:creat

Re: Continuum + Clearcae. [Was] Re: How to use continuum with Maven2? - Please Help

2006-01-03 Thread Wim Deblauwe
Hi Dan, I'm around :) Problem 1: I noticed this too. The way I understand that Continuum works is that it takes the pom.xml you give it (from any location) and uses that information to build up the configuration it needs to build a project. So I would suggest to create a view, give that pom.xml t

RE: [m2] examples of xdoclet generating hibernate mappings please?

2006-01-03 Thread Mike Perham
Mick, HTH: org.codehaus.mojo xdoclet-maven-plugin generate-sources xdoclet

Re: [m2] finalName ${version} being picked up from System properties?

2006-01-03 Thread Chad Brandon
I guess this was missed when I sent a couple weeks ago, does anyone have any thoughts on this? Should I file a JIRA issue? Thanks, Chad Chad Brandon wrote: Hi, I'm using maven 2.0.1 for AndroMDA's build (its a fairly large multiproject build). It appears that if I have a "version" prope

Re: [m2] where to get sun.jdk:tools:jar:1.4.0 on MacOSX?

2006-01-03 Thread Kaare Nilsen
Thanx carlos, i have added it to my pom /Kaare On 02/01/06, Carlos Sanchez <[EMAIL PROTECTED]> wrote: > You can use profiles to include it only in Sun JDK > > > > > default-tools.jar > > > java.vendor > Sun Microsystems Inc. > >

Re: Basics Help: Resource File Name Filtering, Executing Java During Resource Copy

2006-01-03 Thread Steven Coco
Thanks! Alexandre Poitras wrote: First read this to understand resources filtering : http://maven.apache.org/guides/getting-started/index.html#How%20do%20I%20filter%20resource%20files? Then just add an exclude element under resources to be able to filter the files themselves. See this documen

Re: [m2] Deploying 3 Party Jar to Maven-Proxy

2006-01-03 Thread dan tran
On 1/3/06, Man-Chi Leung <[EMAIL PROTECTED]> wrote: > > hi > > I have successfully setup maven-proxy, based on the following website. > http://maven-proxy.codehaus.org/ > > Q1) now, the only problem is deploying 3rd Party jars from our > deployment pc to maven-proxy > > I followed this instruction

Re: [m2] examples of xdoclet generating hibernate mappings please?

2006-01-03 Thread Mick Knutson
If I am splitting my project into sub-projects/modules, where would this go? into the main pom, or my db pom? Thanks Mick Knutson http://www.BASELogic.com http://www.MickKnutson.com MSN Messenger: [EMAIL PROTECTED

RE: [m2] examples of xdoclet generating hibernate mappings please?

2006-01-03 Thread Mike Perham
Your DB Pom. Only in the subproject POM that has the xdoclet markup. -Original Message- From: Mick Knutson [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 03, 2006 1:59 PM To: Maven Users List Subject: Re: [m2] examples of xdoclet generating hibernate mappings please? If I am splitting

Re: [m2] examples of xdoclet generating hibernate mappings please?

2006-01-03 Thread Mick Knutson
Thanks worked well. But I have another question. What is the best practice naming for these value object as I don't want to keep them in a beans package. Should I move everything to a beans package, or should I use a name like UserValueObject? --

Different manifest for test jar

2006-01-03 Thread John Wells
Multiple questions (I am a newbie with maven 2) 1. I want the tests to be jar'ed separately from the main files. I have been able to do this with: mvn jar:test-jar How can I get this to always run as part of the "packaging" phase? Right now I have to manually type mvn jar:test-jar 2. I need

Re: Continuum + Clearcae. [Was] Re: How to use continuum with Maven2? - Please Help

2006-01-03 Thread Emmanuel Venisse
Wim Deblauwe a écrit : Hi Dan, I'm around :) Problem 1: I noticed this too. The way I understand that Continuum works is that it takes the pom.xml you give it (from any location) and uses that information to build up the configuration it needs to build a project. So I would suggest to create

continuum Help

2006-01-03 Thread raghurajan . x . gurunathan
Hi All, I have multimodule project has ccview + MyModule + EJB +pom.xml + web +pom.xml + pom.xml and i used file protocol to point my parent pom.xml at continuum for pom url field as "file:/C:/ccview/MyModule/pom

Re: [m2] examples of xdoclet generating hibernate mappings please?

2006-01-03 Thread Mick Knutson
I am getting an error though: Generating mapping file for com.baselogic.yoursos.user.User. com.baselogic.yoursos.user.User Jan 3, 2006 12:42:56 PM xdoclet.XDocletMain start SEVERE: Running XDoclet failed. Jan 3, 2006 12:42:56 PM xdoclet.XDocletMain start SEVERE: <> XDoclet failed. at xdo

RE: [m2] examples of xdoclet generating hibernate mappings please?

2006-01-03 Thread Mike Perham
I don't see any Xdoclet tags in your java. -Original Message- From: Mick Knutson [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 03, 2006 2:48 PM To: Maven Users List Subject: Re: [m2] examples of xdoclet generating hibernate mappings please? I am getting an error though: Generating m

Re: [m2] examples of xdoclet generating hibernate mappings please?

2006-01-03 Thread Mick Knutson
Opps. Thanks Mick Knutson http://www.BASELogic.com http://www.MickKnutson.com MSN Messenger: [EMAIL PROTECTED] - Original Messag

RE: Different manifest for test jar

2006-01-03 Thread John Wells
To answer my own question: This worked for me: org.apache.maven.plugins maven-jar-plugin bundle-jar package WebLogic Work Manager com.bea.core.wm.WorkManager

Re: Continuum + Clearcae. [Was] Re: How to use continuum with Maven2? - Please Help

2006-01-03 Thread raghurajan . x . gurunathan
Hi Dan/Wim Thanks for your reply, but still my problem is not solved ccview + MyModule + EJB +pom.xml + web +pom.xml + pom.xml 1. I follwed instruction as Wim said like a.) In continuum pointed the pa

Re: [m2]Local repo problem

2006-01-03 Thread Brett Porter
That option was only introduced in recent development builds. I'll push for a release. - Brett On 1/3/06, Georges Polyzois <[EMAIL PROTECTED]> wrote: > Hi > > Is there a way to generate pom and checksum files also > When adding jar to local repository? > > The property -DgeneratePom=true does not

[m2] antrun build.xml

2006-01-03 Thread Sean Hennessy
basedir=E\:\\usr\\local\\share\\sdf\\exp\\m2.0.1\\shennessy SEE_SDF_BinFolder=E\:\\usr\\local\\share\\sdf\\exp\\m2.0.1\\shennessy/sr c/4.bin TODAY_UK=3-Jan-2006 ant.file.SCM-Test=E\:\\usr\\local\\share\\sdf\\exp\\m2.0.1\\shennessy\\s rc\\4.bin\\tst.mvn.build.xml SEE_SDF_DocFolder=E\:\\usr\\local\\share\\sdf\\exp\\m2.0.1\\shennessy/sr c/1.doc TSTAMP=1416 ant.file=E\:\\usr\\local\\share\\sdf\\exp\\m2.0.1\\shennessy\\src\\4.bin \\tst.mvn.build.xml TODAY=January 3 2006 maven.junit.fork=yes ant.java.version=1.4 ant.project.name=SCM-Test dotdir=E\:\\usr\\local\\share\\sdf\\exp\\m2.0.1 DSTAMP=20060103 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

M1 or M2?

2006-01-03 Thread Babak Farhang
I am new to maven and am attempting to start using it instead of ant as my primary build tool. But I'm finding little in the way of documentation/books about Maven2--which is a bit frustrating for a new user :-( Should new users start w/ Maven1? Or should I bravely press on w/ Maven2? Will I su

System-wide Plugin pre-configuration

2006-01-03 Thread haginow2001-nabble
I'd like to preconfigure a couple of plugins (e.g. javadoc, etc.), so that they don't have to be configured in each single project. But it should still be possible to overwrite those settings (e.g. if we deal with a customer project which has very specific requirements for Javadoc, etc.). I looke

Re: System-wide Plugin pre-configuration

2006-01-03 Thread haginow2001-nabble
I forgot to mention that this is related to Maven2 (2.0.1) --- [EMAIL PROTECTED] wrote: > I'd like to preconfigure a couple of plugins (e.g. > javadoc, etc.), so that they don't have to be > configured in each single project. But it should > still > be possible to overwrite those settings (e.g. i

Re: System-wide Plugin pre-configuration

2006-01-03 Thread haginow2001-nabble
I forgot to mention that this is related to Maven2 (2.0.1) --- [EMAIL PROTECTED] wrote: > I'd like to preconfigure a couple of plugins (e.g. > javadoc, etc.), so that they don't have to be > configured in each single project. But it should > still > be possible to overwrite those settings (e.g. i

[m2] best practice suggestions: archetype creation, version control, continuum

2006-01-03 Thread Valerio Schiavoni
Hello everyone i'm ready to setup my maven2 project, and I'm wondering if there's anything wrong with the following procedure: 1) ask maven to create a project archetype mvn archetype:create -DgroupId=com.mycompany.app -DartifactId=my-app 2) add the full project structure to my version control sy

Re: System-wide Plugin pre-configuration

2006-01-03 Thread dan tran
you can do that with build-->pluginManagement element -D On 1/3/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > I forgot to mention that this is related to Maven2 > (2.0.1) > > --- [EMAIL PROTECTED] wrote: > > > I'd like to preconfigure a couple of plugins (e.g. > > javadoc, etc.), so that

Re: System-wide Plugin pre-configuration

2006-01-03 Thread haginow2001-nabble
Your suggestion still requires me to edit pom.xml (and I don't even understand how that "pluginManagement" stuff works). What I'm really looking for is something which I can configure in MAVEN_HOME/conf/settings.xml or somewhere else. My goal is to avoid putting any settings into the POM, unless I

Re: System-wide Plugin pre-configuration

2006-01-03 Thread dan tran
No you can not do it from system wide settings.xml http://maven.apache.org/maven-settings/settings.html descriptor does not have pluginManagement How ever you can configure your project wide root pom as I have suggested. http://maven.apache.org/maven-model/maven.html#class_pluginManagement -Dan

Re: System-wide Plugin pre-configuration

2006-01-03 Thread haginow2001-nabble
I just got to the same conclusion, but now I'm a little confused how the POM inheritance works. How do I specify in my pom.xml what the parent POM is? Thanks, Chris --- dan tran <[EMAIL PROTECTED]> wrote: > No you can not do it from system wide settings.xml > > http://maven.apache.org/maven-set

Does the version range syntax support release numbers?

2006-01-03 Thread Roger Hoover
Hi, Is there support for release numbers like 2.0.1-1? Can they include alpha characters like 2.0.1-1foo? http://docs.codehuas.org seems to be down right now but I previously found some documentation of the version range syntax and I didn't see any mention of release numbers. http://docs.codeha

maven eclipse and wtp

2006-01-03 Thread Kevin Galligan
Does anybody know how to easily turn off the wtp output from maven eclipse? I tried by specifying the natures and builders in the pom, but my settings appear to have no effect... maven-eclipse-plugin org.eclipse.jdt.core.javabuilder org.eclip

Re: Does the version range syntax support release numbers?

2006-01-03 Thread Brett Porter
Yes to release numbers, however it is numeric. The current version form is: [major].[minor].[incremental]-[qualifier]-[build/release#] only qualifier is alphanumeric. If the format is not matched, then the whole version falls back to string comparison. In Maven 2.1, we plan to improve the versi

Re: Does the version range syntax support release numbers?

2006-01-03 Thread Roger Hoover
Thanks, Brett. What is the qualifier intended to denote? Can you give an example? RPM, for instance, supports Version and Release. I'm not familiar with what a qualifier would be. On 1/3/06, Brett Porter <[EMAIL PROTECTED]> wrote: > > Yes to release numbers, however it is numeric. The current

Re: Does the version range syntax support release numbers?

2006-01-03 Thread Brett Porter
qualifier indicates a type of pre-release. SNAPSHOT, alpha-1, etc. This still leaves us with some limitations, which we've started to gather preliminary feedback on. When confluence is revived, it can be found as a subpage of http://docs.codehaus.org/display/MAVEN/Maven+2.1+Design+Documents I'd be

RE: maven eclipse and wtp

2006-01-03 Thread Mike Perham
I submitted a patch with a true configuration element to the eclipse plugin. I believe it has been integrated but not released so you might try compiling the latest from SVN and seeing if that works for you. mike -Original Message- From: Kevin Galligan [mailto:[EMAIL PROTECTED] Sent: Tu

[ANN] dependency-maven-plugin 1.0

2006-01-03 Thread Brian E. Fox
The Mojo team would like to announce the 1.0 release of the dependency-maven-plugin: This plugin provides the capability to manipulate artifacts. It can copy and/or unpack artifacts from repositories (local and remote)to a specified location. The plugin has 4 goals: *copy: takes a list of artif

Re: System-wide Plugin pre-configuration

2006-01-03 Thread Rinku
You can specify a pom project (with pom) as your parent project and set up there. And then add the following, [parent-group-id] [parent-artifact-id] [parent-version] to you project's pom.xml to inherit the pom.xml. It might be a good idea to have a look at Maven2 sources fo

[m2] jcoverage at iBiblio - Transitive dependencies

2006-01-03 Thread haginow2001-nabble
It looks to me that the POM for jcoverage at iBiblio is wrong. Based on the jcoverage docs (and my experience), jcoverage has some dependencies: bcel5.1 http://jakarta.apache.org/bcel/ log4j 1.2.8 http://jakarta.apache.org/log4j/ getopt 1.0.9 http://gnu.org/ oro 2.0.7 http://j

RE: [m2] jcoverage at iBiblio - Transitive dependencies

2006-01-03 Thread Brian E. Fox
Take a look here: http://maven.apache.org/guides/mini/guide-maven-evangelism.html If you submit a patch, it usually gets applied pretty quickly. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 03, 2006 9:49 PM To: users@maven.apache.org Subjec

RE: [m2] war as a dependency

2006-01-03 Thread clark . rao
Dear all, Can manven2 support an ear as dependency? For application server,we should let class in one ear can access ejbs in another ear. thanks. Tel: (020)36315358-328 Fax: (020)36315170

RE: [m2] jcoverage at iBiblio - Transitive dependencies

2006-01-03 Thread haginow2001-nabble
Thanks, that helps. Filing done (MEV-278). --- "Brian E. Fox" <[EMAIL PROTECTED]> wrote: > Take a look here: > http://maven.apache.org/guides/mini/guide-maven-evangelism.html > If you submit a patch, it usually gets applied > pretty quickly. > > > -Original Message- > From: [EMAIL PROT

Re: [m2] Disabling tests in a profile

2006-01-03 Thread Lester Ecarma
Hi Wendy, You may configure your "db-live" profile in your pom as follows: [...] db-live org.apache.maven.plugins

Re: M1 or M2?

2006-01-03 Thread Timothy Bennett
Babak Farhang wrote: I am new to maven and am attempting to start using it instead of ant as my primary build tool. But I'm finding little in the way of documentation/books about Maven2--which is a bit frustrating for a new user :-( Should new users start w/ Maven1? Or should I bravely press

Re: [m2] Deploying 3 Party Jar to Maven-Proxy

2006-01-03 Thread Man-Chi Leung
On Jan 4, 2006, at 3:56 AM, dan tran wrote: On 1/3/06, Man-Chi Leung <[EMAIL PROTECTED]> wrote: hi I have successfully setup maven-proxy, based on the following website. http://maven-proxy.codehaus.org/ Q1) now, the only problem is deploying 3rd Party jars from our deployment pc to mave

Re: M1 or M2?

2006-01-03 Thread Man-Chi Leung
hi , more documentation can be found from here: http://cvs.peopleware.be/training/maven/maven2/index.html On Jan 4, 2006, at 11:50 AM, Timothy Bennett wrote: Babak Farhang wrote: I am new to maven and am attempting to start using it instead of ant as my primary build tool. But I'm finding

Re: [m2] war as a dependency

2006-01-03 Thread Richard Wallace
Does this new functionality require a snapshot version of maven as well? I checked out the source for the maven-war-plugin and did mvn install and then went back to my project and tried to run 'mvn war:war' but I still get required artifacts missing: com.contentconnections.mpl:mpl-common-web

Re: [m2] war as a dependency

2006-01-03 Thread Brett Porter
Have you tried mvn package instead of mvn war:war? mvn war:war is rarely what you want, it won't run any of the previous steps. - Brett On 1/4/06, Richard Wallace <[EMAIL PROTECTED]> wrote: > Does this new functionality require a snapshot version of maven as > well? I checked out the source for

Re: maven eclipse and wtp

2006-01-03 Thread Rinku
I think it might be the validators that take a long time to finish off their stuff. You might want to disable the validations or just have selective validations for your Eclipse project and then see if it make a difference. Was this the only reason why you did not want to have the WTP natures

Re: M1 or M2?

2006-01-03 Thread Babak Farhang
Thanks for encouraging Maven2! I must say, though, that you didn't address my "Will I suffer?" question :-) I just checked out *Maven: A Dev's Notebook* which is slightly dated and based on Maven1. Nice, fairly well-organized, spoon-fed info in that book which I hope is more or less applicable t

## Error explanation ##

2006-01-03 Thread Senthil kumar
I am mew to maven . using maven 1.0 When I tried to build our war, it is giving error like the below one. Can any one explain what the error means.. I know the error is not in the project. Because the we can able to build it in another machine. May be the problem with some setting in my syste

Re: [m2] Deploying 3 Party Jar to Maven-Proxy

2006-01-03 Thread Man-Chi Leung
since there is a problem doing remote jar deployment. now, what I can do is to login to my maven-proxy server, and perform jar installation locally ! Should I do this ON My Maven-Proxy there are 2 types of library that I need to p

Re: [m2] Deploying 3 Party Jar to Maven-Proxy

2006-01-03 Thread dan tran
You seem to have 2 separate problems maven-proxy's configuration and deploy:deploy-file. Let's try to get your deploy:deploy-file working first. What problem do you have right now? -D On 1/4/06, Man-Chi Leung <[EMAIL PROTECTED]> wrote: > > since there is a problem doing remote jar deployment.

Re: [m2] Deploying 3 Party Jar to Maven-Proxy

2006-01-03 Thread dan tran
you definitely want to use deploy:file-deploy to do it, using install:install-file your maven-proxy host does not deploy all meta data files. Also, you need to configure your maven-proxy as your mirrow. using http://maven.apache.org/guides/mini/guide-mirror-settings.html You also need to configu

Re: Continuum + Clearcae. [Was] Re: How to use continuum with Maven2? - Please Help

2006-01-03 Thread Wim Deblauwe
Could you post your scm url in your pom.xml? Does it point to a file containing the correct config spec to use? regards, Wim 2006/1/3, [EMAIL PROTECTED] <[EMAIL PROTECTED]>: > Hi Dan/Wim > > Thanks for your reply, > > but still my problem is not solved > > ccview > + MyModule >

Re: [ANN] dependency-maven-plugin 1.0

2006-01-03 Thread Wim Deblauwe
Cool, I can use that. Does "copy" only copy the direct dependencies and does copy-dependencies copy the direct and transitive dependencies? regards, Wim 2006/1/4, Brian E. Fox <[EMAIL PROTECTED]>: > > The Mojo team would like to announce the 1.0 release of the > dependency-maven-plugin: > > This

RE: M1 or M2?

2006-01-03 Thread Vincent Massol
Thanks Babak. WRT m2 documentation it's already better than m1. However we're also writing a m2 book. It'll be made available online. We should have a first release of it in Q1 2006. WRT migrating to m2 yes it's easy to do that from m1 provided you follow the best practices like having a minimal m

RE: How to specify external jars

2006-01-03 Thread Pagadala Baskar, Kiran Kumar \(Cognizant\)
Hi, I am still stuck with this issue. Could someone please let me know what could possibly be wrong? Regards, Kiran -Original Message- From: Pagadala Baskar, Kiran Kumar (Cognizant) [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 03, 2006 5:40 PM To: Maven Users List Subject: How to sp

RE: configure plugin (jboss-maven)

2006-01-03 Thread Edwin van der Elst
Ok, thank you for trying this out. It is probably something wrong in my configuration. If I have some time left I will try to reinstall the plugins and try again (cannot do this now, I need to get some work done first :-) Edwin -Oorspronkelijk bericht- Van: Edwin Punzalan [mailto:[EMAIL

Re: Copy Jar?

2006-01-03 Thread Man-Chi Leung
hi for m2 , I am doing this configuration to copy *.jar to my target directory as well as tar to my assembled file. /pom.xml org.codehaus.mojo dependency-maven-plugin copy-dependenci

Re: Copy Jar?

2006-01-03 Thread Arnaud HERITIER
If needed, to copy all the dependencies, in m1 there's a tag : maven:copy-deps Arnaud On 1/3/06, Man-Chi Leung <[EMAIL PROTECTED]> wrote: > > hi > > for m2 , I am doing this configuration to copy *.jar to my target > directory as well as tar to my assembled file. > > /pom.xml > > > >

Re: How to use M2 with AspectJ?

2006-01-03 Thread Man-Chi Leung
i got my aspectj plugin working fine: check out from svn://svn.codehaus.org/mojo/scm/trunk/mojo/mojo- sandbox/aspectj-maven-plugin anyway, from the spectj-maven-plugin/pom.xml I updated all 1.5.0_M5 to 1.5.0 (since 1.5.0 is the latest release on 20th Dec 05') -

[m2]Local repo problem

2006-01-03 Thread Abbs, David A
I have setup a local repository and dependencies are getting downloaded to it fine. I tried to put my own jar in their (an oracle db driver) I am running maven 2 of windows xp. Doing the following: Setup repository at location C:/mvnlocalrep Then add the following structure C: mvnlocalrep

problem with xsd files

2006-01-03 Thread mvn
Hi, I am na newbie to Maven and I have a following problem with my Maven 2.0.1. My POM.xml looks like this: 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";

problem with xsd files

2006-01-03 Thread mvn
Hi, I am na newbie to Maven and I have a following problem with my Maven 2.0.1. My POM.xml looks like this: 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";>

using a dependency path in an ant mojo

2006-01-03 Thread Tom Huybrechts
I've used ant to write a mojo with Maven 2.1-SNAPSHOT. This is working great, but now I'd like to reference the jars of some dependencies of my plugin. How would I do this ? Can I pass this in using some kind of parameter expression ? Tom

How to specify external jars

2006-01-03 Thread Pagadala Baskar, Kiran Kumar \(Cognizant\)
Hi, I have a couple of external jars that I need for my Project compilation. I have uploaded them to the local repository using: mvn install:install-file -Dfile=\JAR_NAME.jar -DgroupId=groupId -DartifactId=JAR_NAME -Dversion=1.0 -Dpackaging=jar I tried adding the jar as a dependency to my POM.

Maven evangelism - urgent

2006-01-03 Thread Piéroni Raphaël
Hello, after 3 years of using maven, there is a discussion here at work, that risk to come back to ant... please send me the pointers for using ant versus maven, i can't remember where to find them... (maven 1 or 2) In advance Thank you Raphaël

Re: Maven evangelism - urgent

2006-01-03 Thread Carlos Sanchez
http://www-128.ibm.com/developerworks/java/library/j-maven/ http://www.devx.com/java/Article/17204 On 1/3/06, Piéroni Raphaël <[EMAIL PROTECTED]> wrote: > Hello, > > after 3 years of using maven, > there is a discussion here at work, > that risk to come back to ant... > > please send me the point

Re: [m2]Local repo problem

2006-01-03 Thread Tim Davies
David, Im quite new myself but can try and give a couple of suggestions. One is your model version. I believe this refers to the pom so should probably be 4.0.0. Also you may be better to use the install command to upload your jar to the repository. I believe this command auto generates the

Re: [m2]Local repo problem

2006-01-03 Thread Bill Dudney
Hi David, Instead of manually installing the jar let maven do it for you; mvn -DartifactId=oraclejar -Dfile=./classes12.jar -DgroupId=oraclejar -Dpackaging=jar -Dversion=1.2 install:install-file Which will cause your jar file to be put into the repository properly. Also - you appear to be u

  1   2   >