Re: [M2] Acessing command line properties from JUnit tests

2007-09-13 Thread carl.whalley
Thanks! Ok I'm getting further. If I use org.apache.maven.plugins maven-surefire-plugin foo bar Its picked up. What I need though is to pass the value on the command line as orig

Re: How to specify remote repository on mvn command line

2007-09-13 Thread Andrew Williams
specify the repositories that you might want to use in a profile within settings.xml - then just activate it using the -PprofileId option to maven Andy On 7 Sep 2007, at 17:34, Farrukh Najmi wrote: Is there a way to specify to mvn command line to pickup additional remote repositories? I

Re: Continuum 1.1.0-beta-2 UI performance

2007-09-13 Thread olivier lamy
Hi, I have created the issue : http://jira.codehaus.org/browse/CONTINUUM-1446. We will fix this for beta-3. -- Olivier 2007/9/13, Emmanuel Venisse <[EMAIL PROTECTED]>: > > > > Damien Lecan a écrit : > > 2007/9/12, Emmanuel Venisse <[EMAIL PROTECTED]>: > >> I'd like you test something about perf

Re: Pronuciation

2007-09-13 Thread Andrew Williams
3 our of 4 of those examples don't count - only maverick has vowel- consonant-vowel :) On 5 Sep 2007, at 18:07, Lee Meador wrote: Except in "mattress" or "matrimony" or "mad" or "maverick" where the 'a' is pronounced as in "dad". English is funny because we stole words from almost every oth

[m2] jars not being built and deployed during release:perform

2007-09-13 Thread James Abley
Hi, I have done three previous release:prepare and release:perform cycles on this project, but something seems to have changed and I need a hand pin-pointing it. I have used the maven-release-plugin to prepare a release of my multi-module project and that went fine. When I try to perform the r

Group build all order

2007-09-13 Thread Raúl Arabaolaza Barquín
Hi: Using continuum 1.1-beta2 is possible to control the order in wich projects are build when using the build all button in a group? I think continuum analyces dependency tree and for projects in the same level of the tree it uses alphabetical order, is this correct? I´m thinking in independ

Re: Patch plugin and filter

2007-09-13 Thread Andrew Williams
use the configuration block in your .pom file - you can add extra directories and filter them. Andy On 23 Aug 2007, at 17:02, JC Walmetz wrote: It would be great to be able to filter patches before applying patch with the patch plugin (plugin such as resources manages this filter). It

Re: Continuum 1.1.0-beta-2 UI performance

2007-09-13 Thread Damien Lecan
> > Checking of roles takes ~4s. Improvements could be done ? > > It isn't the roles check that take some seconds but pages aren't the exactly > the same for a guest and an admin. > If you don't get project group admin or project group developer roles to > guest, he can't see some actions/links

Re: problems with mail using Continuum on Tomcat

2007-09-13 Thread Thijs Schnitger
olivier lamy wrote: What is your os ? i use debian linux with a 2.6.18 kernel I think return code 127 for a cli means "command not found". Does your jdk installation linked to an existing jdk path ? There is a validation when you add a jdk but if is it removed after. yep i did not change tha

annotations are not supported in -source 1.3

2007-09-13 Thread Kyle.Bober
I have been using Maven for quite sometime and this is the first JDK6 project POM I have created. I am running into a compilation issue using the compiler:compile goal... This is what I get annotations are not supported in -source 1.3 (use -source 5 or higher to enable annotations) @WebService I

Re: annotations are not supported in -source 1.3

2007-09-13 Thread Larry Meadors
http://docs.codehaus.org/display/MAVEN/Java+5+Annotations+for+Plugins On 9/13/07, Kyle.Bober <[EMAIL PROTECTED]> wrote: > > I have been using Maven for quite sometime and this is the first JDK6 project > POM I have created. I am running into a compilation issue using the > compiler:compile goal...

Re: annotations are not supported in -source 1.3

2007-09-13 Thread Graham Leggett
On Thu, September 13, 2007 3:24 pm, Kyle.Bober wrote: > I have been using Maven for quite sometime and this is the first JDK6 > project > POM I have created. I am running into a compilation issue using the > compiler:compile goal... This is what I get > > annotations are not supported in -source 1

Re: [M2] Acessing command line properties from JUnit tests

2007-09-13 Thread Dan Tran
yes On 9/13/07, carl.whalley <[EMAIL PROTECTED]> wrote: > > Thanks! Ok I'm getting further. If I use > > > > >org.apache.maven.plugins >maven-surefire-plugin > > > > foo > bar > > > > > > > > It

Re: annotations are not supported in -source 1.3

2007-09-13 Thread Gisbert Amm
See also http://jira.codehaus.org/browse/MCOMPILER-57 -Gisbert Kyle.Bober wrote: I have been using Maven for quite sometime and this is the first JDK6 project POM I have created. I am running into a compilation issue using the compiler:compile goal... This is what I get annotations are not sup

Error constituent[0]:

2007-09-13 Thread Sonar, Nishant
Hi I am getting following error when I run maven in Linux 64 bit environment, I didn't get what is the line constituent[0] : file ... says , is it that these some exception thrown from this file? [INFO] Executed tasks [INFO] Preparing exec:java [WARNING] Removing: java from forked life

Re: Problem Performing Build - Version 1.0.3

2007-09-13 Thread Mark_E
Hi Wendy, Thanks for the suggestion. I actually have 1.0.3 running now and I like it so I look forward to the improvements/enhancements in the 1.1 beta. I'll certainly take a look at it. Regards, Mark -- View this message in context: http://www.nabble.com/Problem-Performing-Build---Versio

Subversion SCM plugin and --non-interactive parameter

2007-09-13 Thread Paul MERLIN
Hi all, I'm trying to use the maven-release-plugin. Our SVN is only accessible on https with ssl mutual authentication. Yes we have to type our P12 password every time we do a svn operation. That's the way it is ... So, my problem is that maven run svn with the "--non-interactive" parameter wh

Re: Subversion SCM plugin and --non-interactive parameter

2007-09-13 Thread Emmanuel Venisse
no it isn't possible but you can add your password in command line parameters Emmanuel Paul MERLIN a écrit : Hi all, I'm trying to use the maven-release-plugin. Our SVN is only accessible on https with ssl mutual authentication. Yes we have to type our P12 password every time we do a svn ope

Re: Subversion SCM plugin and --non-interactive parameter

2007-09-13 Thread Paul MERLIN
Le Thursday 13 September 2007 16:21:50 Emmanuel Venisse, vous avez écrit : > no it isn't possible but you can add your password in command line > parameters > > Emmanuel Hi Emmanuel, Unfortunately storing the password in a config file is not an option. Nor adding it to a command line (think about

Re: JDK6 compilation issue using Maven2 - annotations are not supported in -source 1.3

2007-09-13 Thread Graham Leggett
On Thu, September 13, 2007 4:28 pm, Kyle.Bober wrote: > > org.apache.maven.plugins > maven-compiler-plugin > > true > true > ${JAVA_HOME}/bin/javac > 6 > > Add this: 1.5 1.5 Regards, Grah

Re: Subversion SCM plugin and --non-interactive parameter

2007-09-13 Thread Roland Asmann
Not really a Maven-solution, but: write a small shell-script that triggers the release for you. In this script you can query the user for the password and store it in a variable. You can then use this variable in the command-line and everything should work out just fine! Hope this helps. On T

Parent POM and versions...

2007-09-13 Thread Arne Styve
Hi, I have a question related to the use of a "company POM". In "Better builds with Maven" there is a description of how to set up a POM regime for a company, where we can have say 3 levels of POM's: one companywide POM, one department wide POM and one projectspecific POM. Lets call these with the

Re: annotations are not supported in -source 1.3

2007-09-13 Thread Kyle.Bober
Thanks for all the help guys! In actuality all I needed to do was add the following: maven-compiler-plugin 1.6 1.6 Everything compiled fine after that... Lesson learned... -- View this message in context: http://www.na

Eclipse and Maven "best practice"

2007-09-13 Thread zm
Hi, Can anyone help me with the best way to setup a Maven/Eclipse environment? I know there is a goal to produce an eclipse project with the pom, but I'm trying to understand how to create one at hand, customise and include it's dependencies. I have created 2 projects, "appTest" and "appCommon".

Maven execution running task/script that generates some java code

2007-09-13 Thread zm
Hi, I'm using Maven 2.0.7 and Eclipse to develop a Java app, and need some help on including some auto-generated java code through an Ant task or even a batch script. I have created 2 projects, "appTest" and "appCommon". The main project is "appTest" that depends on "appCommon". My "appTest" wi

Re: JDK6 compilation issue using Maven2 - annotations are not supported in -source 1.3

2007-09-13 Thread Wayne Fay
Kyle, you sent this an hour ago and people responded to it. Why did you resend? I've noticed a few people sending the same message multiple times and I'm curious why this happens. Wayne On 9/13/07, Graham Leggett <[EMAIL PROTECTED]> wrote: > On Thu, September 13, 2007 4:28 pm, Kyle.Bober wrote:

Re: Parent POM and versions...

2007-09-13 Thread Michael McCallum
no way of saying the latest but in order to ensure repeatedable builds thats how it has to be... maven 2.1 will encourage people to not put stuff in the parent that should not be there e.g. repositories... other than that you just have to tough it out and update projects as they are released..

RE: Group build all order

2007-09-13 Thread Raúl Arabaolaza Barquín
I can do that, thanks for the answer Enmanuel :) -Mensaje original- De: Emmanuel Venisse [mailto:[EMAIL PROTECTED] Enviado el: jue 13/09/2007 14:12 Para: [EMAIL PROTECTED] Asunto: Re: Group build all order If you don't have a specific project for your integration tests but they are in

RE: Eclipse and Maven "best practice"

2007-09-13 Thread Hayes, Peter
http://maven.apache.org/plugins/maven-eclipse-plugin/overview.html http://m2eclipse.codehaus.org/ http://code.google.com/p/q4e/ -Original Message- From: zm [mailto:[EMAIL PROTECTED] Sent: Thursday, September 13, 2007 10:54 AM To: users@maven.apache.org Subject: Eclipse and Maven "best pr

Deploying an assembly from a war project via the release plugin

2007-09-13 Thread Ryan Breidenbach
I have a WAR project that contains an assembly configuration within a profile. (The purpose of the assembly is to create a ZIP'd version of the webapp that contains an embedded servlet container). Anyway, my assembly configuration in my POM looks like this: ... assembly

Re: Eclipse and Maven "best practice"

2007-09-13 Thread Alexander Sack
Is there any reason why you don't use a Maven/Eclipse plugin such as m2eclipse and now q4e? They integrate fully into Eclipse's build and do autodependency management. Also have you setup a CLASSPATH Container variable within Eclipse in order to use your local M2 repository? See here: http://ma

tie dependency to one repository

2007-09-13 Thread Sebastian Johnck
Is it possible to bind a dependency to a single repository so that when it comes time to check for updates, only that repository is checked? I currently have a bunch of repositories, and all of them get checked for updates, slowing my build significantly. Thanks in advance! Maven2.0.6

RE: tie dependency to one repository

2007-09-13 Thread Sonar, Nishant
Hi Sebastian, I still have this type of problem when going for a plugin (exec), it referred to both of the sites central and snapshots.codehaus, and got conflicts later on at build. Till now you can tell the version number as a chosing option. Otherwise I don't see anything to specify the reposit

Re: Maven execution running task/script that generates some java code

2007-09-13 Thread Sebastian Johnck
We use a jaxb plugin to generate code in our build. The plugin generates the code into the generated sources folder and that source is subsequently included in the artifact. Here's what it looks like com.sun.tools.xjc.maven2 maven-jax

Repostings (Was: RE: JDK6 compilation issue using Maven2 - annotations are not supported in -source 1.3)

2007-09-13 Thread Anders Blehr
I can just answer for myself: I subscribed to the list yesterday and did my first 2 postings also yesterday. We have similar lists internally at work and when I post to these I receive my own posts along with everyone else's posts. However, it seems that here you do not receive your own posts.

Re: Snapshot access to maven-assembly-plugin-2.2-beta-2-SNAPSHOT

2007-09-13 Thread Tim Kettler
Hi, this works for me without problems: [...] maven-assembly-plugin 2.2-beta-2-SNAPSHOT [...] What exactly is your problem? Have you configured the the Apache snapshot repository [1]? -Tim [1] http://maven.apache.org/guides/development/guide-plugin-snapshot-repositories.h

Re: Eclipse and Maven "best practice"

2007-09-13 Thread Alexander Vaysberg
Hi, It give a book a Better Builds with Maven vor free on the page: http://www.devzuz.com/web/guest/products/resources#BBWM. I think it help you. Alexander Vaysberg (pc-hilfe) zm schrieb: Hi, Can anyone help me with the best way to setup a Maven/Eclipse environment? I know there is a goal to

Re: Repostings (Was: RE: JDK6 compilation issue using Maven2 - annotations are not supported in -source 1.3)

2007-09-13 Thread Wayne Fay
That explains a lot. And now that you mention it, something happened to me the first time I posted... a while back. I wonder if we could perhaps ask (someone) about changing the configuration of the mail list server, or something along those lines, if this is what people are generally expecting.

Re: tie dependency to one repository

2007-09-13 Thread Wayne Fay
I'd suggest installing a "Corporate repository" using something like Artifactory, Proximity etc and getting all of your artifacts from it. This speeds things up dramatically as all requests are on your LAN. Wayne On 9/13/07, Sonar, Nishant <[EMAIL PROTECTED]> wrote: > Hi Sebastian, > > I still ha

[M2] ckjm-mojo: extend classpath with the dependencies of the report project

2007-09-13 Thread Mirko Friedenhagen
Hello, - I am trying to extend the ckjm-mojo (http://mojo.codehaus.org/ckjm-maven-plugin/ckjm-mojo.html). - ckjm needs the dependencies of the project to report on - Right now I have the following: --- snip --- /** * The set of dependencies required by the project * * @parame

Re: Repostings (Was: RE: JDK6 compilation issue using Maven2 - annotations are not supported in -source 1.3)

2007-09-13 Thread Tim Kettler
So when you reply to a message on this list or start a new thread with just a "To: Maven Users List " header, you don't recieve the sent mail via the mailinglist? This is working for me. -Tim Wayne Fay schrieb: That explains a lot. And now that you mention it, something happened to me the first

Re: Eclipse and Maven "best practice"

2007-09-13 Thread Wayne Fay
I'm recently involved in an SAP NWDS (NetWeaver Dev Studio) project at work. NWDS is really just Eclipse 2.1 with some SAP-specific stuff added. Among the things they took away in this customized Eclipse is the ability to add plugins etc the usual way through the menu system. I'm wondering if any

Re: Repostings (Was: RE: JDK6 compilation issue using Maven2 - annotations are not supported in -source 1.3)

2007-09-13 Thread Martijn Dashorst
gmail doesn't register your own messages as 'new'. as such your own first posts hardly get noticed in gmail, only when someone responds they light up. This is at least what I've learned over the years. Martijn On 9/13/07, Tim Kettler <[EMAIL PROTECTED]> wrote: > So when you reply to a message on

Re: Repostings (Was: RE: JDK6 compilation issue using Maven2 - annotations are not supported in -source 1.3)

2007-09-13 Thread Wayne Fay
Not in Gmail, I don't. My sent mail gets added to the thread, but I don't get anything back... at least, I've never seen anything. Its possible that Gmail is doing something funky or hiding something from me. I see that both Anders and I are on Gmail, which is why I'm thinking this might be the re

Re: Eclipse and Maven "best practice"

2007-09-13 Thread Jim Sellers
I've had the most success with using maven and eclipse by: 1) having both systems build to a separate locations 2) using command line to run maven and when I need to sync up metadata using eclipse:eclipse then hitting refresh in eclipse. 3) for any eclipse specific data (.classpath, .mymetadata, et

Re: Eclipse and Maven "best practice"

2007-09-13 Thread Wayne Fay
This is the way I generally work, too. I just thought maybe I'd look into one of these "new" tools since I'm back in Eclipse regularly and have never really given any of these tools a chance. Wayne On 9/13/07, Jim Sellers <[EMAIL PROTECTED]> wrote: > I've had the most success with using maven and

Re: Eclipse and Maven "best practice"

2007-09-13 Thread Lee Meador
Wayne, I don't think you are going to get an m2e for Eclipse 2 and q4e, as I remember, is for 3.3 (but maybe it works with 3.2 too). But you can install pretty much as many versions of Eclipse as you want each working on a different part of your code. Just put them in different folders. I even us

Re: Deploying an assembly from a war project via the release plugin

2007-09-13 Thread Lee Meador
Ryan, According to the docs ( http://maven.apache.org/plugins/maven-release-plugin/introduction.html) the release:prepare only gets things ready for the release. (Stuff like changing versions in the poms and running tests.) But only when you do the release:perform are the "predefined goals" run (w

Re: Pronuciation

2007-09-13 Thread Lee Meador
Point well taken. On 9/13/07, Andrew Williams <[EMAIL PROTECTED]> wrote: > > 3 our of 4 of those examples don't count - only maverick has vowel- > consonant-vowel :) > > On 5 Sep 2007, at 18:07, Lee Meador wrote: > > > Except in "mattress" or "matrimony" or "mad" or "maverick" where > > the 'a' is

Problem with Cobertura plugin

2007-09-13 Thread Juan Ignacio Garzón
Hi im having this problem when using the Cobertura plugin. When I execute the cobertura:cobertura goal within eclipse (m2eclipse) I get the following error: [INFO] Failed to configure plugin parameters for: org.codehaus.mojo:cobertura-maven-plugin:2.1 on the command line, specify: '-Dcheck=VALUE

[m2] multi-module centralized filter.properties

2007-09-13 Thread Mick Knutson
I am trying to make all my sub-modules use the same filter.properties like: ${project.root }/src/main/filters/filter.properties I keep getting this error: [INFO] [INFO] Error loading property

pacthed dependency

2007-09-13 Thread Christian Klocker
i have to patch some libraries for a project but i'd like to keep the project in maven. is it possible to add patches for dependencies to the maven-compile goal? maybe a plugin? thanks christian - To unsubscribe, e-mail: [EMAI

Re: Snapshot access to maven-assembly-plugin-2.2-beta-2-SNAPSHOT

2007-09-13 Thread Mark Diggory
Yes, it appears to be working now. I'm unsure why it wasn't working earlier, I was using the proper settings for the repository location and proper groupId and artifactID org.apache.maven.plugins maven-assembly-plugin 2.2-beta-2-SNAPSHOT people.apach

Re: pacthed dependency

2007-09-13 Thread Christian Klocker
hi wayne, > Tell us more about your patches. How are they delivered? Why do you > think you might not be able to use Maven along with the patches? ok, lets say i have seam as a dependency: jboss jboss-seam 1.2.1.ga but would need to apply the patch from http://jira.jboss.com/jira/brows

Re: pacthed dependency

2007-09-13 Thread Wayne Fay
Tell us more about your patches. How are they delivered? Why do you think you might not be able to use Maven along with the patches? Wayne On 9/13/07, Christian Klocker <[EMAIL PROTECTED]> wrote: > i have to patch some libraries for a project but i'd like to keep the project > in maven. is it po

Re: pacthed dependency

2007-09-13 Thread Wayne Fay
Then you would pull down the source code to jboss-seam, apply the patch, change the version to something like 1.2.1.ga2, and "mvn install" the file (or ideally, "mvn deploy" it to your corporate repo. Then you'd also need to change your dep to reflect the new version. Or of course you can ask jbos

Re: pacthed dependency

2007-09-13 Thread Christian Klocker
> Then you would pull down the source code to jboss-seam, apply the > patch, change the version to something like 1.2.1.ga2, and "mvn > install" the file (or ideally, "mvn deploy" it to your corporate repo. > Then you'd also need to change your dep to reflect the new version. yes, that will do it.

Re: Problem with Cobertura plugin

2007-09-13 Thread Wayne Fay
Send your node with and perhaps we can help figure out what's going on and how to fix it. Wayne On 9/13/07, Juan Ignacio Garzón <[EMAIL PROTECTED]> wrote: > Hi im having this problem when using the Cobertura plugin. > > When I execute the cobertura:cobertura goal within eclipse (m2eclipse) > I

Re: New Archetype Plugin

2007-09-13 Thread Clifton
Is there any update on the upcoming revised Archetype plugin? I'm looking to create some archetypes for the projects I'm working on and I'm wondering what approach to take. Thanx in advance for any updates or info. Cliff Clifton wrote: > > I've heard through the grapevine that a new Archetype

RE: Problem with Cobertura plugin

2007-09-13 Thread Thomas Fischer
Cobertura 2.1 is buggy anyway, it computes wrong coverages. Try using 2.0 Thomas "Juan Ignacio Garzón" <[EMAIL PROTECTED]> schrieb am 13.09.2007 23:06:43: > Hi im having this problem when using the Cobertura plugin. > > When I execute the cobertura:cobertura goal within eclipse (m2eclipse)

Including an assembly in another assembly

2007-09-13 Thread Paul Austin
Say I have two projects A and B. Project A has a custom bin.xml assembly generating A-1.0-bin.zip. Project B is an enhancement to A with some extra jar files and also has a custom bin.xml assembly which takes the whole of the unpacked A-1.0-bin.zip file and adds in the extra jar files into B-1.0-

Re: Including an assembly in another assembly

2007-09-13 Thread Insitu
Paul Austin <[EMAIL PROTECTED]> writes: > Say I have two projects A and B. > > Project A has a custom bin.xml assembly generating A-1.0-bin.zip. > > Project B is an enhancement to A with some extra jar files and also has > a custom bin.xml assembly which takes the whole of the unpacked > A-1.0-bin