URL format [a3 and m2a3]

2005-08-12 Thread Sidart Kurias
Reading the posts I still cannot seem to get my url format correct...Keep getting the message you must provide a valid url. My url is scm:cvs:pserver:[EMAIL PROTECTED]:/cvsroot:projectname/pom.xml I have tried both with the pom.xml and dropping the pom.xml at the end. I can only assume this is no

Re: [m1.1] ant-optional classes not found

2005-08-12 Thread dan tran
in 1.1 you need to load the optional jars yourself http://maven.apache.org/reference/backwards-compatibility.html -D On 8/12/05, Lukas Theussl <[EMAIL PROTECTED]> wrote: > > I just noticed that in 1.1-beta-1 running 'maven -X' with any goal > produces a bunch of debug warnings: > > [DEBUG] Add

[m1.1] ant-optional classes not found

2005-08-12 Thread Lukas Theussl
I just noticed that in 1.1-beta-1 running 'maven -X' with any goal produces a bunch of debug warnings: [DEBUG] Adding reference: maven.dependency.classpath Caching Taglib Uri --> deploy running script null [DEBUG] Could not load class (org.apache.tools.ant.taskdefs.optional.PropertyFile) for

Re: jellybean awaits setter with File instead of String argument

2005-08-12 Thread Dion Gillard
What are the other methods on that class? And how do you know its passing in a File or expecting one to go to the class? On 8/12/05, Martin Burger <[EMAIL PROTECTED]> wrote: > Martin Burger schrieb am 12.08.2005 14:15: > > > Hello, > > > > I'm using a jellybean in my Maven Plugin to start the "e

RE: Maven2: Managing entire build process

2005-08-12 Thread Litton, Tom - CEPM
Let me prefix this by saying i'm rather new to maven2 myself. But here is what i know. First check out continuum or cruisecontrol. continuum is a subproject of maven and can be found at http://maven.apache.org/continuum/index.html. Cruisecontrol can be found at http://cruisecontrol.sourceforg

Re: Maven2: Managing entire build process

2005-08-12 Thread dan tran
You can write a script to : 1. backup build dir 2. call maven to checkout 3. call a script to setup env 4,5,6,7 call maven to build to do those step, you will need to write your own plugin to plugin into maven build lifecyle. you can use the standard life cycle or

Maven2: Managing entire build process

2005-08-12 Thread Rizwan Merchant
I am working on implementing a build process for our project. This process is required to be run as a cron job. The build process is going to do a number of things, such as: 1. Back up build directory 2. Check out source code 3. set up build environment 4. build the project 5. clean the database 6

JNLP plugin

2005-08-12 Thread Jorge Nicolás Mikitiuk
I need to specify the OS attribute in the JNLP descriptor for some resources, but I don't find the tag, attribute or property for the dependency tag to do it. Example: my.jnlp ... http://www.mysite.com/ext/coolaudio";> Thanks you very much, h

[m2] site documentation typo (with large consequences)

2005-08-12 Thread Julian Wood
On this page: http://maven.apache.org/maven2/site.html where it says to configure reports, the groupId is org.apache.maven.reports but I think it should be org.apache.maven.plugins The former generates an error (plugin not found) while the latter lets you generate a site. J -- J

Error in doc on website.

2005-08-12 Thread Hogeweg, Erwin \(GE Infrastructure\)
All, I believe there is an error in the "Configuring Reports" on the following site: http://maven.apache.org/maven2/site.html I think the complete tag should be as follows: org.apache.maven.plugins maven-project-info-reports-plugin 2.0-alpha-1

RE: [m2] Dependencies as resources

2005-08-12 Thread Bennett, Timothy (JIS - Applications)
> -Original Message- > From: Brett Porter [mailto:[EMAIL PROTECTED] > Sent: Friday, August 12, 2005 11:09 AM > To: Maven Users List > Subject: Re: [m2] Dependencies as resources > > I saw this going the other way - constructing > Bundle-ClassPath with the information from the POM that yo

AntHill versioning with Maven 1

2005-08-12 Thread Michael Owen
Hi, Anybody got Maven working with AntHill's versioning system? I'm thinking it may be possible to write a batch script that AntHill runs which gets the version number written to version.txt by AntHill, and writes that to the bottom of a Maven build.properties file, so it is like this: curre

Re: [m2] Dependencies as resources

2005-08-12 Thread Brett Porter
On 8/13/05, Bennett, Timothy (JIS - Applications) <[EMAIL PROTECTED]> wrote: > Ah, yes. Good idea. The full jar name would be included in the > Bundle-ClassPath manifest entry. Then, it's just a matter of parsing > the artifactId and version number from the filename(s) specified in the > manifes

Re: [m2] Mojo development: need ClassWorld

2005-08-12 Thread Trygve Laugstøl
Please to not top-post when replying to mails. On Fri, Aug 12, 2005 at 07:36:32PM +0400, Alexander Azarov wrote: > Yes, my problem is exactly that Mojo runs in its own ClassLoader while I > would like to get another, specified on top of embedded Maven2. As a Mojo you don't know anything about you

RE: [m2] Mojo development: need ClassWorld

2005-08-12 Thread Alexander Azarov
Yes, my problem is exactly that Mojo runs in its own ClassLoader while I would like to get another, specified on top of embedded Maven2. I.e. I am trying to embed Maven2 into another application and I would like to get access to that application's ClassLoader in my Mojo. Still cannot figure out ho

RE: [m2] Dependencies as resources

2005-08-12 Thread Bennett, Timothy (JIS - Applications)
> -Original Message- > From: Brett Porter [mailto:[EMAIL PROTECTED] > Sent: Friday, August 12, 2005 10:15 AM > To: Maven Users List > Subject: Re: [m2] Dependencies as resources > > There aren't custom scopes (the war plugin doesn't do > anything except use the standard ones). > > If yo

Re: [m2] Mojo development: need ClassWorld

2005-08-12 Thread Trygve Laugstøl
On Fri, Aug 12, 2005 at 07:17:47PM +0400, Alexander Azarov wrote: > How may I get a ClassWorld instance from Mojo execute method? There is no standard way of getting an instance of a ClassWorld. What are you trying to do? The Mojo itself should probably construct a new ClassLoader and use either t

[m2] Mojo development: need ClassWorld

2005-08-12 Thread Alexander Azarov
How may I get a ClassWorld instance from Mojo execute method? Regards, Alexander. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[m2] How to include web content from multiple modules into a single WAR

2005-08-12 Thread Andrius Karpavicius
HI, My web application is made up of several modules. Each module contains classes and web content (jsp and WEB-INF/conf configuration files) Question - how do I get web content from several projects assembled into one war file Here is the structure +- pom.xml +- app_1 +- pom.xml +- src

Re: [m2] Dependencies as resources

2005-08-12 Thread Brett Porter
There aren't custom scopes (the war plugin doesn't do anything except use the standard ones). If you only want to include a couple of them, you can specify their id's in your plugin's configuration. Wouldn't you be including everything that gets an appropriate manifest entry? So you should already

RE: [m2] Dependencies as resources

2005-08-12 Thread Bennett, Timothy (JIS - Applications)
> -Original Message- > From: Brett Porter [mailto:[EMAIL PROTECTED] > Sent: Friday, August 12, 2005 9:50 AM > To: Maven Users List > Subject: Re: [m2] Dependencies as resources > > On 8/13/05, Bennett, Timothy (JIS - Applications) > <[EMAIL PROTECTED]> wrote: > > Ok... So the steps are j

Thanks!

2005-08-12 Thread Hogeweg, Erwin \(GE Infrastructure\)
All, I want to thank the people on this mailing list for their prompt and patient replies to my newbie questions. In less than 24hr. after I learned about M2, I had it set up for my own project, multiple modules, JUnit tests, the support for non public libraries, and a firewall configuration.

Re: [m2] Dependencies as resources

2005-08-12 Thread Brett Porter
On 8/13/05, Bennett, Timothy (JIS - Applications) <[EMAIL PROTECTED]> wrote: > Ok... So the steps are jar:jar to jar my target, then assembly:assembly > to add a dependency jar file to that target archive? No, assembly is to distribute a jar differently, it would produce a different artifact. Is

RE: [m2] Reports

2005-08-12 Thread Hogeweg, Erwin \(GE Infrastructure\)
Thanks, This is a great overview. It also answered the question about the availability of the JUnit Report plugin that I was about the post. Thanks again, Erwin > -Original Message- > From: Brett Porter [mailto:[EMAIL PROTECTED] > Sent: Friday, August 12, 2005 9:31 AM > To: Maven Users

RE: [m2] Dependencies as resources

2005-08-12 Thread Bennett, Timothy (JIS - Applications)
> -Original Message- > From: Brett Porter [mailto:[EMAIL PROTECTED] > Sent: Friday, August 12, 2005 9:06 AM > To: Maven Users List > Subject: Re: [m2] Dependencies as resources > > The resources don't currently copy dependencies. > > This is something the assembly plugin does however (Cr

Re: [MULTIPROJECT]

2005-08-12 Thread Arnaud HERITIER
You should set this property in your root project : maven.multiproject.includes=**/project.xml Arnaud On 8/12/05, Faucher Aurélie <[EMAIL PROTECTED]> wrote: > > And when I execute maven multiproject:site, it doesn't generate any > report. > > > -Message d'origine- > De : Faucher Auré

RE: [MULTIPROJECT]

2005-08-12 Thread Faucher Aurélie
My question is : is it possible to run a goal which is in maven.xml file's children and not execute in the top-level project? Aurélie -Message d'origine- De : Faucher Aurélie Envoyé : vendredi 12 août 2005 16:14 À : Maven Users List Objet : RE: [MULTIPROJECT] And when I execute maven

RE: [MULTIPROJECT]

2005-08-12 Thread Faucher Aurélie
And when I execute maven multiproject:site, it doesn't generate any report. -Message d'origine- De : Faucher Aurélie Envoyé : vendredi 12 août 2005 16:13 À : Maven Users List Objet : [MULTIPROJECT] Hello, In my project PROJ, I've 2 modules P1 and P2. In each file "maven.xml" (in direco

[MULTIPROJECT]

2005-08-12 Thread Faucher Aurélie
Hello, In my project PROJ, I've 2 modules P1 and P2. In each file "maven.xml" (in direcoties P1 and P2), there is a goal named "serge:nightly". And I'd like to run these 2 goals (in each child) from the directory of PROJ. But in the maven.xml of PROJ, there isn't the goal "serge:nightly". How c

RE: InvocationTargetException on echo & ant:echo in maven.xml

2005-08-12 Thread Walsh, Richard \(Richard\)
Hi Vitaliy, I went back to the drawing board on this one and setup a new maven project and all is fine now. I will never really know what was wrong, must upgrade to maven 2 soon. Thanks, Richie. -Original Message- From: Vitaliy Geraymovych [mailto:[EMAIL PROTECTED] Sent: 11 August 2005

Re: [m2] Dependencies as resources

2005-08-12 Thread Brett Porter
The resources don't currently copy dependencies. This is something the assembly plugin does however (Creating a tar/zip/jar including certain files, dependencies, etc). - Brett On 8/12/05, Bennett, Timothy (JIS - Applications) <[EMAIL PROTECTED]> wrote: > I've got a jar dependency in my project

RE: [m2] Dependencies as resources

2005-08-12 Thread Bennett, Timothy (JIS - Applications)
> -Original Message- > From: Bennett, Timothy (JIS - Applications) > Sent: Thursday, August 11, 2005 5:13 PM > To: Maven Users List > Subject: [m2] Dependencies as resources > > I've got a jar dependency in my project that I also need to > bundle up in the jar archive like a resource. H

Re: external dependencies for maven2

2005-08-12 Thread Brett Porter
No, but it's not necessary with more recent m2 builds. - Brett On 8/12/05, Bennett, Timothy (JIS - Applications) <[EMAIL PROTECTED]> wrote: > > -Original Message- > > From: Allan Ramirez [mailto:[EMAIL PROTECTED] > > Sent: Thursday, August 11, 2005 7:28 PM > > To: Maven Users List > > Sub

RE: external dependencies for maven2

2005-08-12 Thread Bennett, Timothy (JIS - Applications)
> -Original Message- > From: Allan Ramirez [mailto:[EMAIL PROTECTED] > Sent: Thursday, August 11, 2005 7:28 PM > To: Maven Users List > Subject: Re: external dependencies for maven2 > > Hi, > > You can use the maven install plugin for this. > install:install-file goal will install your

Re: [m2] Reports

2005-08-12 Thread Brett Porter
That plugin (changes) is under development, and not released. A list of released plugins are here: http://www.ibiblio.org/maven2/plugins/org/apache/maven/plugins/ The development work is tracked here: http://docs.codehaus.org/display/MAVEN/Maven+Plugin+Matrix When the next Maven release is out,

RE: [m2] Reports

2005-08-12 Thread Hogeweg, Erwin \(GE Infrastructure\)
All, Just a question: Is the reporting example below supposed to work? If I add it literally to my pom.xml I get a: Thanks, Erwin [INFO] [site:site] Downloading: http://repo1.maven.org/maven2/plugins/org/apache/maven/plugins/maven-changes-plugin/1.0-SNAPSHOT/maven-changes-plugin-1.0-SNAPSHOT

RE: Remote-checkout

2005-08-12 Thread NIRMALA Manivasagam
Thankyou,it is working fine. Nirmala -Original Message- From: Brett Porter [mailto:[EMAIL PROTECTED] Sent: Friday, August 12, 2005 6:02 PM To: Maven Users List Subject: Re: Remote-checkout Maven doesn't use the password - you should remove that and do a manual "cvs login" first. - Bre

Re: jellybean awaits setter with File instead of String argument

2005-08-12 Thread Martin Burger
Martin Burger schrieb am 12.08.2005 14:15: Hello, I'm using a jellybean in my Maven Plugin to start the "entry point" of my plugin - a Java bean. The jellybean awaits for the attributes a setter that accepts a single String value. Now, I added an attribute "testClasses" and set it to "MAR

Re: Remote-checkout

2005-08-12 Thread Brett Porter
Maven doesn't use the password - you should remove that and do a manual "cvs login" first. - Brett On 8/12/05, NIRMALA Manivasagam <[EMAIL PROTECTED]> wrote: > Hi, > > When iam trying to run the checkout command from maven it gives the > following error:outside maven it is working fine. > > c

jellybean awaits setter with File instead of String argument

2005-08-12 Thread Martin Burger
Hello, I'm using a jellybean in my Maven Plugin to start the "entry point" of my plugin - a Java bean. The jellybean awaits for the attributes a setter that accepts a single String value. Now, I added an attribute "testClasses" and set it to "MARTIN". My Java bean class has a setter "setTe

Remote-checkout

2005-08-12 Thread NIRMALA Manivasagam
Hi, When iam trying to run the checkout command from maven it gives the following error:outside maven it is working fine. can anyone help me to solve this error. my settings in build .properties: maven.scm.url= scm:cvs:pserver:mselvan:[EMAIL PROTECTED]:/cvsnt/source:FirstImport maven.scm.tag

RE: [M1] Merge some web.xml deployment discriptor

2005-08-12 Thread Vincent Massol
Hi, There is a Cactus Ant task that can possibly help you: http://jakarta.apache.org/cactus/integration/ant/task_webxmlmerge.html -Vincent > -Original Message- > From: Keisuke Matsubara [mailto:[EMAIL PROTECTED] > Sent: vendredi 12 août 2005 11:44 > To: users@maven.apache.org > Subject:

[M1] Merge some web.xml deployment discriptor

2005-08-12 Thread Keisuke Matsubara
Hi, Is there plugin that merge some web.xml to one web.xml? I had reached following web site. http://java2.5341.com/msg/57779.html This page show me the method with xdoclet for merging ejb-jar.xml . I think it is good. Do you think I should newly create it for merging web.xml ? Thanks, Keisuke

java.lang.NoClassDefFoundError: org/apache/regexp/RESyntaxException

2005-08-12 Thread berndq
All, I am running maven-1.0.2 scm 1.5.1-snapshot on JDK 1.5. A "maven scm:update" on a svn repository gives me the named Root cause java.lang.NoClassDefFoundError: org/apache/regexp/RESyntaxException at org.apache.maven.scm.provider.svn.command.changelog.SvnChangeLogCommand.ex