[ANN] Maven 1.1-RC1 Released

2007-05-11 Thread Arnaud HERITIER
Maven 1.1-RC1 Released The Apache Maven team is pleased to announce the release of Maven 1.1-RC1! Download[1] Maven 1.1-RC1 and read the Installation Instructions

Re: Question on applying Filters

2007-05-11 Thread Wayne Fay
Go back and read that page again, start from scratch. You've mixed up the examples. If your directory is named configurations, then the pom.xml config needs to say configurations, etc. In your example, you've got resource2. Wayne On 5/11/07, Bala Rajamani <[EMAIL PROTECTED]> wrote: I'm running

Question on applying Filters

2007-05-11 Thread Bala Rajamani
I'm running Maven the following example to understand Filtering http://maven.apache.org/plugins/maven-war-plugin/examples/adding-filtering-webresources.html -- [...] org.apache.maven.plugins maven-war-plugin 2.0

addClasspath does not add the classpath to Manifest

2007-05-11 Thread Tom Lambrechts
When enabling addClasspath the manifest does not contain classpath. Neither for runtime or compile scope: Main class and other parameters do work. Manifest: - Manifest-Version: 1.0 Archiver-Version: Plexus Archiver Created-By: Apache Maven Built-By: TOLA Build-Jdk: 1.5.0_07 POM:

RE: Extra directory level being created by Assembly in Maven 2.0.6, as compared with 2.0.4

2007-05-11 Thread Lacoste, Dana
I asked this a month ago (and was told the quick answer then) so I'll give the quick answer now. To avoid the "adding a level of directories when building an assembly" with unpack, add this to your assembly .xml (not the pom) when unpacking the dependency: this will say "unzip it into a directo

Error on changelog and subversion

2007-05-11 Thread Todd Nine
I'm receiving the following errors when I try to perform the "site:site" target and generate a changelog. I've tried deleting this from the directory then pulling the code down from svn and it does not seem to help. I only get this on a single sub project. Any ideas? [INFO] [site:site] [WARNIN

Re: [m2] Assembly Plugin

2007-05-11 Thread ben short
Thanks for the replies, I'll give it ago first thing Monday. On 5/11/07, Matt Brozowski <[EMAIL PROTECTED]> wrote: On May 11, 2007, at 12:54 PM, John Casey wrote: > Sorry it took me so long to respond, the email got buried... :( > 1. I added a "finalName" configuration, which should result in

Gatekeeper is the newest Apache Maven repository manager.

2007-05-11 Thread Aaron Metzger
Gatekeeper is the newest Apache Maven repository manager. Please throw us a bone ;) Days, weeks, months away ??? will it be open source? Will it be full featured right out of the gate? Will it support SSH and/or some other security mechanisms for distributed private enterprise use? -- S

Re: [m2] Assembly Plugin

2007-05-11 Thread Matt Brozowski
On May 11, 2007, at 12:54 PM, John Casey wrote: Sorry it took me so long to respond, the email got buried... :( 1. I added a "finalName" configuration, which should result in the target/debug.dir folder being created. Unfortunately, IIRC we cannot affect the ".dir" extension, since the assemb

Re: Extra directory level being created by Assembly in Maven 2.0.6, as compared with 2.0.4

2007-05-11 Thread Ravi Luthra
I reported this to Mevenide and should be fixed in future versions. A work around is to lock down the assembly version you are using: ... maven-assembly-plugin 2.1 ... Maven does not require all artifact-

Re: Extra directory level being created by Assembly in Maven 2.0.6, as compared with 2.0.4

2007-05-11 Thread Adam Lally
On 5/5/07, Marshall Schor <[EMAIL PROTECTED]> wrote: However, if the same XML is used with Maven 2.0.6, an "extra" directory is created having the name of the packed "zip" source: root / eclipsePlugins / uimaj-ep-debug-2.1.0-incubating.zip / org.apache.uima.debug.2.1.0.incubating / etc.

Re: Blacklisted repository

2007-05-11 Thread Victor Cardona
Victor Cardona <[EMAIL PROTECTED]> wrote: Hi everyone, I was playing around with mirrors and now my internal repository is blacklisted. When I try to build a project that uses jars contained in that repository, Maven is unable to find them. Running maven with -e -X flags shows that maven is

jar plugin: docs with error.

2007-05-11 Thread Marcos Silva Pereira
http://maven.apache.org/plugins/maven-jar-plugin/ There is an error in the main page for this plugin. The goals list show "test-jar:jar" instead of "jar:test-jar". Kind Regards, -- Marcos Silva Pereira recife - pe [EMAIL PROTECTED] skype: marcos.silva.pereira http://blastemica.blogspot.com

Blacklisted repository

2007-05-11 Thread Victor Cardona
Hi everyone, I was playing around with mirrors and now my internal repository is blacklisted. When I try to build a project that uses jars contained in that repository, Maven is unable to find them. Running maven with -e -X flags shows that maven is not even trying to download from there. Is

Re: [m2] Assembly Plugin

2007-05-11 Thread John Casey
Sorry it took me so long to respond, the email got buried... :( If you add something like the following to your assembly plugin config in your POM, you should be able to use target/debug.dir: maven-assembly-plugin src/assembly/debug.xml debug

Re: Confusion: maven[2]-xdoclet[2]-plugin

2007-05-11 Thread Mac Systems
It was an Typo of me. I am building with maven on an different maschine, so the correct out is Unable to download the artifact from any repository xdoclet:maven2-xdoclet2-plugin:pom2.0.5-SNAPSHOT Anyone has success with this Dokumentation ? http://xdoclet.codehaus.org/Maven2+plugin I installe

Re: System.in and release preparation goals

2007-05-11 Thread Grant Ingersoll
I think the main issue is it is running in a forked JVM, but I am not sure, since I haven't gotten to the low-level details. It runs fine if I call the goal from the command line (and not as part of a preparationGoal during release) My guess is that Plexus is somehow redirecting the owner

Re: org.codehaus.mojo:dependency-maven-plugin takes precedence over org.apache.maven.plugins:maven-dependency-plugin

2007-05-11 Thread Wayne Fay
You should fully specify the plugin... + in the pom, make sure you specify the artifactId and groupId + on the command line, use groupId:artifactId:version:mojo, ie mvn org.apache.maven.plugins:maven-dependency-plugin:2.0-alpha-4:unpack Wayne On 5/11/07, Graham Leggett <[EMAIL PROTECTED]> wrot

Re: System.in and release preparation goals

2007-05-11 Thread Grant Ingersoll
So, is this a bug? Or just lack of documentation on how it is done? -Grant On May 11, 2007, at 11:16 AM, Max Bowsher wrote: Grant Ingersoll wrote: From what I can tell, it uses the Prompter interface from the Plexus interactivity component, but how I would initialize it is beyond me. I'm gue

org.codehaus.mojo:dependency-maven-plugin takes precedence over org.apache.maven.plugins:maven-dependency-plugin

2007-05-11 Thread Graham Leggett
Hi all, I have been trying to configure the execution of the org.apache.maven.plugins:maven-dependency-plugin when the "dependency:unpack" goal is executed. According to the stacktrace I get, maven is trying to invoke the org.codehaus.mojo:dependency-maven-plugin instead - which has a completely

[REPOST] Any idea when a new Cobertura plugin will be released - Specifically one that fixes the 100% Coverage in 2.1 (MCOBERTURA-61)?

2007-05-11 Thread Paul Spencer
Any idea when a new Cobertura plugin will be released - Specifically one that fixes the 100% Coverage in 2.1 (MCOBERTURA-61)? Paul Spencer [1] http://jira.codehaus.org/browse/MCOBERTURA-61 - To unsubscribe, e-mail: [EMAIL PROTE

Re: System.in and release preparation goals

2007-05-11 Thread Max Bowsher
Grant Ingersoll wrote: > From what I can tell, it uses the Prompter interface from the Plexus > interactivity component, but how I would initialize it is beyond me. > I'm guessing it uses the IoC stuff, but I am not familiar w/ the setup > of all of that. Any pointers people have would be greatly

Re: Problem with parent Pom

2007-05-11 Thread alexsil
Hi jesse, your hint is good. I will do so if I'll not find nothing of better !!! Thanks, regards Alex. Jesse McConnell wrote: > > maybe setup each child as a different project group... > > another way to do this would be to have that parent pom not have the > children defined as modules in it.

Re: Problem with parent Pom

2007-05-11 Thread Jesse McConnell
maybe setup each child as a different project group... another way to do this would be to have that parent pom not have the children defined as modules in it... jesse On 5/11/07, alexsil <[EMAIL PROTECTED]> wrote: Hi Erik, thank you for your answer. The structure of the project is OK (as you

Re: mvn compile -- unsuccessfull, but maven package successfull, how it may be?

2007-05-11 Thread Alexander Zynevich
Looks like this happens when referenced project has nothing in src/* folder. And maven-archetype-j2ee-simple creates such *incomplete* project :) However because new j2ee-simple has a set of projects it is quite tricky to make it working :( I recreated everything from scratch and it behaves muchm

dependency plugin: One or more required plugin parameters are invalid/missing for 'dependency:unpack'

2007-05-11 Thread Graham Leggett
Hi all, I am getting the above error when attempting to use the dependency plugin to unpack an assembly to a directory on my machine. According to the FAQ here: http://maven.apache.org/plugins/maven-dependency-plugin/faq.html, you must configure your pom like here: http://maven.apache.org/plugins

Re: release rollback

2007-05-11 Thread Mark Hobson
On 11/05/07, Grant Ingersoll <[EMAIL PROTECTED]> wrote: Is it the intent that release:rollback will delete the tag in the SCM that was created? Yep, see http://jira.codehaus.org/browse/MRELEASE-229 Mark - To unsubscribe, e-ma

Re: maven-resources-plugin output directory problems

2007-05-11 Thread Ondřej Černoš
OK, thanks, it worked. Still i don't quite get why, but it worked... Ondrej On 5/11/07, Maria Odea Ching <[EMAIL PROTECTED]> wrote: You only have a configuration problem :) It should be: org.apache.maven.plugins maven-resources-plugin target/resources Since this goal is already bound to

Craig Dickson is out of the office.

2007-05-11 Thread CDickson
I will be out of the office starting 05/07/2007 and will not return until 05/14/2007. I will respond to your message when I return.

Craig Dickson is out of the office.

2007-05-11 Thread CDickson
I will be out of the office starting 05/07/2007 and will not return until 05/14/2007. I will respond to your message when I return.

release rollback

2007-05-11 Thread Grant Ingersoll
Is it the intent that release:rollback will delete the tag in the SCM that was created? Thanks, Grant -- Grant Ingersoll Center for Natural Language Processing http://www.cnlp.org/tech/lucene.asp Read the Lucene Java FAQ at http://wiki.apache.org/jakarta-lucene/ Lucen

Re: Problem with parent Pom

2007-05-11 Thread alexsil
Hi Erik, thank you for your answer. The structure of the project is OK (as you thought). Your workaround doesn't work. Continuum check out all at the next update. You have right, my use case is strange. I know, but I' m trying to solve another problem. The project is developed from 2 distinct gro

Re: Plugin for com.sun.enterprise.tools.verifier.Verifier?

2007-05-11 Thread Wayne Fay
Not that I'm aware of, but this sounds like a very useful plugin. Wayne On 5/11/07, Martin Bengl <[EMAIL PROTECTED]> wrote: Hello folks, is there a maven2 plugin which wraps the com.sun.enterprise.tools.verifier.Verifier to verify the correct packaging of ear, war, jar, etc. modules? if not,

Re: How to include Optional dependencies?

2007-05-11 Thread Wayne Fay
Currently, the answer to all of your questions is "no". However it seems like you have some not unreasonable ideas here, so it might be worth filing a JIRA Enhancement request so something along these lines could be included in M2.1.x if the Maven team decided to implement them. Wayne On 5/11/0

Re: System.in and release preparation goals

2007-05-11 Thread Daniel Kulp
On Thursday 10 May 2007 16:35, Wayne Fay wrote: > In M2, things like this are generally either passed as parameters > (-D...) or simply specified as configurations for the plugin in the > pom.xml configuration. > > Actually, I can't think of a single M2 plugin that prompts the user > for input whil

Re: System.in and release preparation goals

2007-05-11 Thread Grant Ingersoll
Also, by the looks of it, if it is using the DefaultInputHandler, etc. all it is doing is wrapping System.in much like I am, so I am not sure what the best way to go is. I really don't think what I am doing is appropriately handled by setting a sys. property, as those are likely forgotten.

How to include Optional dependencies?

2007-05-11 Thread Paul Spencer
How can I include a dependency's optional dependency without adding the optional dependency to the pom? As an example, shale-test has an optional dependency on commons-digester. Since my application does not use commons-digester, I do not have it defined as a dependency in the pom. When the tes

RE: how to run "svn propset" from maven ?

2007-05-11 Thread Trevor Spackman
This is probably off-topic for this particular forum, but all you should have to do is create a pre-commit hook for subversion that will prevent said files from being added. I think that should be much, much easier to enforce than using maven. Trevor Spackman -Original Message- From

how to run "svn propset" from maven ?

2007-05-11 Thread nicolas de loof
Hello, I'd like to include in my corporate POM the required configuration to set svn:ignore on maven projects when added to a svn repository. Lot's of svn newbee commit all the project, including eclipse conf and target content. Any suggestion ? Nico.

Re: System.in and release preparation goals

2007-05-11 Thread Grant Ingersoll
From what I can tell, it uses the Prompter interface from the Plexus interactivity component, but how I would initialize it is beyond me. I'm guessing it uses the IoC stuff, but I am not familiar w/ the setup of all of that. Any pointers people have would be greatly appreciated. -Grant

Continuum mail notification NPE

2007-05-11 Thread Christophe Hamerling - EBM WebSourcing
hi, I am using continuum and mail notification does not work. I have a NPE during mail sending. Can anyone help me? Thanks INFO | jvm 1| 2007/05/11 15:24:05 | 2007-05-11 15:24:05,344 [Thread-2] INFO ContinuumBuildExecutor:maven2 - Exit code: 0 INFO | jvm 1| 2007/05/11 15:24:05

Re: Confusion: maven[2]-xdoclet[2]-plugin

2007-05-11 Thread Graham Leggett
On Fri, May 11, 2007 2:10 pm, Mac Systems wrote: > i have some similar problem. Actually XDoclet2 cannot be found: > I always get the Error: > > Unable to download the artifact from any repository > > xdoclet:maven2-xdoclet2-plugin:pom20.0.5-SNAPSHOT ^^

Maven 2 plugin calling executable

2007-05-11 Thread maarten roosendaal
Hi, I've create a plugin which calls an executable and is packaged within the plugin. However the code does not seem to be able to find the .exe even when it is in the same package (error=2). When i place the exe in c: it does seem to be able to find it using "cmd c/ start c:/test.exe" but i w

DependencyFinder

2007-05-11 Thread cedseat
Hello, I want to use the plugin DependencyFinder with Maven 2. I went to site http://depfind.sourceforge.net/index.html and i dowload the concerned file (jar). Is it true that is not a plugin for Maven 2? And it's only possible to use it with the antrun plugin? So I test to use it with antrun w

Re: Confusion: maven[2]-xdoclet[2]-plugin

2007-05-11 Thread Mac Systems
Hello, i have some similar problem. Actually XDoclet2 cannot be found: I always get the Error: Unable to download the artifact from any repository xdoclet:maven2-xdoclet2-plugin:pom20.0.5-SNAPSHOT Anyone can tell me what i am doing wrong ? Regards, Jens Graham Leggett wrote on Thursday,

Plugin for com.sun.enterprise.tools.verifier.Verifier?

2007-05-11 Thread Martin Bengl
Hello folks, is there a maven2 plugin which wraps the com.sun.enterprise.tools.verifier.Verifier to verify the correct packaging of ear, war, jar, etc. modules? if not, i will write some plugin which calls the Verifier class like the ant task descripted here: http://java.sun.com/j2ee/verif

Transitive test-jar dependencies not followed

2007-05-11 Thread Stian Soiland
Hi! I'm using the test-jar mechanism to share common classes for tests, between different modules of a larger project. The main idea is to do database and server start-ups in the common classes, but avoid distributing them in the main JARs. To do this I have followed the guide at http:/

Executing same plugin more than once with different configuration at once.

2007-05-11 Thread Markku Saarela
Hi, Due to bug http://jira.codehaus.org/browse/MNG-2708 it is impossible to configure exec-maven-plugin in execution element and it seams to me that if you specify plugin twice in build it is not executed twice. So any suggestions for workaround or should I make my own version of that plugin

Re: How to install source jars

2007-05-11 Thread Stephane Nicoll
I already replied to this yesterday. Search the list please. On 5/11/07, Ståle Undheim <[EMAIL PROTECTED]> wrote: When I do maven install on a project, the jar for it is compiled and placed in my local repository, however the accompanying source jar is not created and added. Is there any way in

Re: How to install source jars

2007-05-11 Thread Maria Odea Ching
I think this was already discussed a few days ago, Pls. see the thread, "How to deploy source jar generated by source plug-in into repository when running mvn deploy?" :) -Deng Ståle Undheim wrote: When I do maven install on a project, the jar for it is compiled and placed in my local reposi

Re: How to install source jars

2007-05-11 Thread Roland Asmann
Run a 'mvn source:jar install', it should automatically find the source-jar and deploy it along with the real jar. On Friday 11 May 2007 10:07, Ståle Undheim wrote: > When I do maven install on a project, the jar for it is compiled and > placed in my local repository, however the accompanying so

Re: maven-resources-plugin output directory problems

2007-05-11 Thread Maria Odea Ching
You only have a configuration problem :) It should be: org.apache.maven.plugins maven-resources-plugin target/resources Since this goal is already bound to the "process-resources" phase, you need not set it in the executions tag if you're executing 'mvn process-resources' or 'mvn clean pa

How to install source jars

2007-05-11 Thread Ståle Undheim
When I do maven install on a project, the jar for it is compiled and placed in my local repository, however the accompanying source jar is not created and added. Is there any way in which I can easily install a source jar for the project I am in? The only way I know off now, is 2 steps: 1. mvn sou