Editing roles for repositories

2007-12-11 Thread Ben Lidgey
I have added two users to the default archiva 1.0 release: * developer should only be able to manage/deploy to the snapshots repository and observe the internal one. * cc should only be able to manage/deploy to the internal repository and observe the snapshots one. On the user roles screen

Re: Backwards incompatibility with 2.0.8?

2007-12-11 Thread Francesco Vivoli
Hi I'm in this situation as well, only with maven-2.0.7. Reading http://jira.codehaus.org/browse/SUREFIRE-61 I haven't understood if they are taking into account both ordering options (main vs test first)... cheers Francesco Ronn.Chinowutthichai wrote: I've worked out what happened.

surefire plugin 2.3.1

2007-12-11 Thread DJP JEAN-PROST Dominique
Hello, I can't find a release for surefire 2.3.1. Judging from jira, it seems this version is released, but I can't find it in repo1 as 2.4 version of surefire seems to be the current one. Can someone tell me what is the status of this release ? regards, domDepuis le 15 octobre, Dexia

Multi-modules execution order

2007-12-11 Thread Jeff MAURY
Hello, I have the following problem: A multi module POM (called M) has tow modules A and B. If I run Maven on M, then the execution order is A,B and M. Now, let assume that M is the parent of A and B. The execution order is changed to M,A and B This causes me some trouble because I want to run

maven-dependency-plugin unpack prior to generate-source AndroMDA

2007-12-11 Thread jeeads
I would like to configure the maven-dependency-plugin to unpack a dependency that contains templates I want to override prior to generating the source code in AndroMDA. Currently it does the unpacking into the directory I have setup as a mergerLocation in my andromda.xml but the unpacking occurs

Re: surefire plugin 2.3.1

2007-12-11 Thread nicolas de loof
Surerife 2.3 is the latests release. 2.3.1 2.4 are still in dev, but will be released soon according to lastest threads on the dev-list. Nico. 2007/12/11, DJP JEAN-PROST Dominique [EMAIL PROTECTED]: Hello, I can't find a release for surefire 2.3.1. Judging from jira, it seems this version

Profile activation based on JDK version

2007-12-11 Thread Thorsten Möller
Hi, my question is regarding activation of profiles based on the jdk tag. Assume that a POM specifies two profiles, one that should trigger for JDK 1.5.x and one for JDK 1.6.x. The POM would look like this: profile activation jdk1.5/jdk /activation ... /profile profile

Re: maven-war-plugin webResources - relative path

2007-12-11 Thread Jan Torben Heuer
Stephane Nicoll wrote: Replace 2.0 by 2.0.2. It's a bug and it has been fixed. Sorry, but I still cannot run mvn install from my parent pom. Additionally, when I try to run mvn install from the webapps pom I get: [INFO] [war:war] [INFO] Exploding webapp... [INFO] Assembling webapp

Re: Profile activation based on JDK version

2007-12-11 Thread Jeff MAURY
On 12/11/07, Thorsten Möller [EMAIL PROTECTED] wrote: Hi, my question is regarding activation of profiles based on the jdk tag. Assume that a POM specifies two profiles, one that should trigger for JDK 1.5.x and one for JDK 1.6.x. The POM would look like this: profile activation

Re: Ant to Maven

2007-12-11 Thread Siarhei Dudzin
I guess the key question is: do you spend much time or effort on your current build and is it mature enough? I used to work with quite massive ant builds but they were mature enough so we didn't have to spend much effort to add new modules to the project. So it wasn't worth it to migrate to

Re: WTP 2.0 strategy?

2007-12-11 Thread Siarhei Dudzin
maven-eclipse-plugin 2.5-SNAPSHOT does support WTP 2.0 with hot deployment on servers defined via WTP and even exploded deployment of JBoss Tools 2.0. On 12/10/07, Rob Hasselbaum [EMAIL PROTECTED] wrote: Hi, I'm trying to use Maven for an Eclipse Europa (WTP 2.0) project. What's the best way

RE: JDK 1.5 java.lang.Enum Buid Failure using Maven 2.0.8

2007-12-11 Thread William Hoover
Done: http://jira.codehaus.org/browse/PLX-358 complete w/sample project. -Original Message- From: Wayne Fay [mailto:[EMAIL PROTECTED] Sent: Monday, December 10, 2007 4:49 PM To: Maven Users List Subject: Re: JDK 1.5 java.lang.Enum Buid Failure using Maven 2.0.8 Zip up a small sample

state of maven support for Google Web Toolkit ?

2007-12-11 Thread nicolas de loof
Thanks to google, I've found http://codehaus.org/~shinobu/gwt-maven-plugin/and http://code.google.com/p/gwt-maven/ What is the status of supporting GWT compiler in maven builds ? Nico.

Continuum not able to handle the parent-child hierarchy

2007-12-11 Thread Hemant Malik
Hi, I am using Continuum 1.1 deployed on tomcat 5.5. The problem I am facing is that Continuum after checking out is not able to handle the parent-child relationships in the project structure. For instance if there is a Maven Project R1 which has a child R2 ( inside the pom of R1 i have mentioned

Defining version in single location?

2007-12-11 Thread Adrian Jackson
I have a nasty feeling from Googling that this is a common requirement that can't be handled by Maven as it currently stands, but perhaps someone else has managed to address the issue. We have a number of large projects that we're migrating to Maven (the smallest of them has over a hundred

RE: maven-dependency-plugin unpack prior to generate-source AndroMDA

2007-12-11 Thread Brian E. Fox
You can use any of the phases listed here: http://www.sonatype.com/book/lifecycle.html If androMDA uses generate-sources, then you need to use validate. -Original Message- From: jeeads [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 11, 2007 4:41 AM To: users@maven.apache.org Subject:

Assembly plugin - help include all subdirectories

2007-12-11 Thread tadamski
Hello all, I am attempting to pull all the contents out of a directory, into a specified output directory. The problem I'm running into is that I am only getting the root contents, no files or folders in the first level of subdirectories. The code I am attempting to get to work is the

Re: Defining version in single location?

2007-12-11 Thread Graham Leggett
Adrian Jackson wrote: This would be a lot easier, of course, if we could define the version in a single location rather than having to do so in every pom.xml - which makes code reviews a nightmare as each review would contain changes to all the poms which may or may not require checking by eye.

Re: Defining version in single location?

2007-12-11 Thread Adrian Jackson
Graham Leggett wrote: In each child pom, don't declare a version at all, this means the version of the child will inherit from the parent. I think I'm getting confused now - how do the children reference their parent in that case? Isn't the version element compulsory within parent? -- View

RE: maven-dependency-plugin unpack prior to generate-source AndroMDA

2007-12-11 Thread jeeads
Brian, Thanks for the quick response. I have tried using Validate in the phase property but it still creates the source from the templates prior to unpacking the necessary resources? If I take the executions node tree out of the plugin and use mvn dependency:unpack install everything

Re: Defining version in single location?

2007-12-11 Thread Graham Leggett
Adrian Jackson wrote: I think I'm getting confused now - how do the children reference their parent in that case? Isn't the version element compulsory within parent? Irritatingly enough it is required under parent, but the release plugin does the right thing and updates all of these values

Re: Assembly plugin - help include all subdirectories

2007-12-11 Thread Kallin Nagelberg
Your ant-path matching needs to change I believe. '*' means all files in present directory. '**/*' is what you want I believe. That would mean any file in any subdirectory (present directory included). Easier yet, get rid of the includes tag altogether. If you don't specify any excludes or

Re: Assembly plugin - help include all subdirectories

2007-12-11 Thread Kallin Nagelberg
Also, what's with the filesets? This looks more like an ant file than a maven pom... On Dec 11, 2007 9:39 AM, tadamski [EMAIL PROTECTED] wrote: Hello all, I am attempting to pull all the contents out of a directory, into a specified output directory. The problem I'm running into is that I

Re: Assembly plugin - help include all subdirectories

2007-12-11 Thread tadamski
Thank You! Leaving out the includes tag pulled all of the contents of the directory. Thank you once again. Kallin Nagelberg wrote: Your ant-path matching needs to change I believe. '*' means all files in present directory. '**/*' is what you want I believe. That would mean any file in

Re: WTP 2.0 strategy?

2007-12-11 Thread Rob Hasselbaum
Yes, I noticed that. Is the snapshot code fairly stable at this point? I'm glad to hear it plays nicely with JBoss Tools, too. On 12/11/2007 07:13 AM, Siarhei Dudzin wrote: maven-eclipse-plugin 2.5-SNAPSHOT does support WTP 2.0 with hot deployment on servers defined via WTP and even exploded

Re: Defining version in single location?

2007-12-11 Thread Adrian Jackson
Graham Leggett wrote: Irritatingly enough it is required under parent, but the release plugin does the right thing and updates all of these values for you automatically each time you make a release. Which brings us back to square one: that doesn't work with our workflow, as it would result

Re: Defining version in single location?

2007-12-11 Thread Graham Leggett
Adrian Jackson wrote: Which brings us back to square one: that doesn't work with our workflow, as it would result in hundreds of changes to pom.xml files for every piece of work. Which the release plugin does for you. What procedure do you use to release code, is is standardised or has it

Re: JDK 1.5 java.lang.Enum Buid Failure using Maven 2.0.8

2007-12-11 Thread Wayne Fay
I played with your sample a bit and wrote a lengthy response in JIRA. I am reasonably convinced this is simply an example where Eclipse's JDT compiler is doing something extra that allows your code to work, but it really doesn't. You can't always trust Eclipse, as it does not dispatch to your

Java EE 5 Archetypes?

2007-12-11 Thread Jim Bethancourt
Hello all, Does anyone know where I might be able to find a Maven 2 archetype for Java EE 5 to get my project off to a start? It would be very handy to have an archetype that provides structure for both the servlet container and EJB container. Thanks, Jim

Re: wagon-ftp release to work with site

2007-12-11 Thread emerson cargnin
any idea? On 10/12/2007, emerson cargnin [EMAIL PROTECTED] wrote: Hi I'm trying to use maven2 site deployment. One issue is that i can't use ssh for infra-structure, and i would like to use ftp for that. I get the error: --- Wagon

SV: Defining version in single location?

2007-12-11 Thread Florent Legendre
Hi, I understand that in a code review context all the diff caused by the updated version parameters can be quite problematic, and I don't know how you could fix it via Maven. The thing I don't understand though is that if someone is going to review code he is probably not going to compare

Re: JDK 1.5 java.lang.Enum Buid Failure using Maven 2.0.8

2007-12-11 Thread Kallin Nagelberg
To verify this you should try switching Eclipse to use your installed JDK compiler instead of the built in one. William also mentioned that ANT was producing successful builds as well, so unless ANT also uses it's own compiler it might be another issue.. On Dec 11, 2007 11:29 AM, Wayne Fay

Game archetype

2007-12-11 Thread Kallin Nagelberg
As much 'fun' as developing enterprise java applications with Maven is, I would like to think that developing games with Maven would be even better :) I'm hoping to convince the jMonkeyEngine project to let me mavenize their project, and in the process create a game archetype supporting 3d

Maven Repository: FTP DOWNLOAD

2007-12-11 Thread houzecl
Hi, from several previous posts it looks like ftp download from maven repository will only work if the following jars are put in maven/lib directory: wagon-ftp-1.0-alpha-7.jar commons-net-1.4.1.jar: oro-2.0.8.jar is this still true ? and if yes, is it possible to use wagon-ftp-1.0-beta-2.jar ?

Re: [m2][c1.1] How to run dashboard in Continuum?

2007-12-11 Thread Mick Knutson
Can someone please help me? I really need to get site docs running and deploying each build. On Dec 10, 2007 12:44 PM, Mick Knutson [EMAIL PROTECTED] wrote: I have setup the 3 phases I needed on my project group: Goals Arguments Build File Schedule Profile From Build Fresh Default

problem with inheritance (maven-site-plugin)

2007-12-11 Thread GERODOLLE Anne RD-MAPS-GRE
Hi everybody, From what I have read in the documentation, and from some previous experiences, I expect that site.xml files are inherited, and that if both the parent and child projects contain a site.xml file, the resulting site (in the child project) should mix menu definitions found in the

Re: Game archetype

2007-12-11 Thread Raphaël Piéroni
Hello Kallin, I don't know about such an initiative, but i would bet that the mojo project will be happy to welcome it. Regards, Raphaël 2007/12/11, Kallin Nagelberg [EMAIL PROTECTED]: As much 'fun' as developing enterprise java applications with Maven is, I would like to think that

Running A Set Of Tasks Per Project

2007-12-11 Thread Morgovsky, Alexander (US - Glen Mills)
In Continuum since I cannot have more than one default goal, how do I go about having a set of tasks be run for each project, since even though I can define more than one build definition per project, only the default will be run? Thank you. This message (including any attachments) contains

Re: Profile activation based on JDK version

2007-12-11 Thread Tim Moore
On Dec 11, 2007, at 2:31 AM, Thorsten Möller wrote: Based on the documentation that is available from the Maven Web site it is unclear to me what the exact semantic of the jdk tag is: will it be activated for i) all major Versions greather or equal than the one specified including sub

[m2] issue activating profiles.

2007-12-11 Thread Mick Knutson
I am trying to switch profiles for each environment. I have dev-, and dev-7778 Then in my profiles.xml I have: *profile iddev-/id properties envdev-/env build.typeno-documentation/build.type /properties

Ant basedir

2007-12-11 Thread Luis Roberto P. Paula
Hi, How do I set ant basedir from maven? I was trying something like that: *ant basedir=/tmp/test antfile=build.xml* but there is no basedir attribute. Thanks, Luis

Re: Defining version in single location?

2007-12-11 Thread Michael McCallum
what is the benefit in having one version? if you have so many poms that a release would cause too many changes perhaps you need to relook at the reasoning behind it. The common theme for having one version i have found is a marketing or management requirement... we just have one aggregating

Re: Defining version in single location?

2007-12-11 Thread Graham Leggett
Michael McCallum wrote: what is the benefit in having one version? Sometimes code needs to be separated into different jars or EJBs for operational reasons, where it makes no sense to release separately. In other cases, code can be in a state of transition, where code is first refactored

Re: Defining version in single location?

2007-12-11 Thread Michael McCallum
so tell management to keep out of the code and give them there 6 discreet version numbers that are the official deliverables... how you put those deliverables together should be technical decision that gives the most robust repeatable result possible. we've got 113+ artifacts in 15 groups with

Re: Defining version in single location?

2007-12-11 Thread Graham Leggett
Michael McCallum wrote: so tell management to keep out of the code I fix problem projects for a living, and one thing I have learned, over and over again, is that management don't keep out of the code. Leading a project to the light is about 10% technology, and 90% diplomacy, and when

Re: [m2] issue activating profiles.

2007-12-11 Thread Patrick Schneider
I haven't seen those warnings before... Have you tried using help:active-profiles? Try: $ mvn -P dev- help:active-profiles This will list (surprise!) the currently active profiles with which Maven is executing. Patrick On Dec 11, 2007 12:43 PM, Mick Knutson [EMAIL PROTECTED] wrote: I

Re: [m2] issue activating profiles.

2007-12-11 Thread Mick Knutson
I keep getting this: The following profiles are active: - local (source: settings.xml) - local (source: settings.xml) - local (source: settings.xml) - dev- (source: *profiles*.xml) - documentation (source: *profiles*.xml) - dev-7778 (source: *profiles*.xml) Not all of these

Re: Game archetype

2007-12-11 Thread Eric Redmond
On 12/11/07, Kallin Nagelberg [EMAIL PROTECTED] wrote: As much 'fun' as developing enterprise java applications with Maven is, I would like to think that developing games with Maven would be even better :) It does sound fun... I've never gotten into game development much myself. I'm hoping

Re: Game archetype

2007-12-11 Thread Eric Redmond
sorry... Mac attack. On 12/11/07, Eric Redmond [EMAIL PROTECTED] wrote: On 12/11/07, Kallin Nagelberg [EMAIL PROTECTED] wrote: As much 'fun' as developing enterprise java applications with Maven is, I would like to think that developing games with Maven would be even better :) It

Re: Game archetype

2007-12-11 Thread Nick Stolwijk
environment up and running with one maven command, as all the existing tutorials are complex and error prone. all of them, eh? Careful, buddy, many people on this list wrote those tutorials. I think he meant the Java Gaming Tutorials, not the Maven tutorials. ;)

Re: Game archetype

2007-12-11 Thread Kallin Nagelberg
Hehe, yeah I meant the gaming tutorials. And the tutorials are well written, but getting an environment up and running with the right native libraries etc. doesn't always work as expected, so hopefully maven can bring some order. On Dec 11, 2007 5:51 PM, Nick Stolwijk [EMAIL PROTECTED] wrote:

Re: Game archetype

2007-12-11 Thread Eric Redmond
On 12/11/07, Kallin Nagelberg [EMAIL PROTECTED] wrote: Hehe, yeah I meant the gaming tutorials. And the tutorials are well written, but getting an environment up and running with the right native libraries etc. doesn't always work as expected, so hopefully maven can bring some order. Ha,

Plugin dependencies updating

2007-12-11 Thread Bruno Duarte
Hi guys, I have a pom with this structure: ...plugin groupIdgroup/groupId artifactIdartifact/artifactId executions execution goals goalgenerate/goal /goals /execution /executions configuration

Re: Defining version in single location?

2007-12-11 Thread Michael McCallum
maybe i'm too stubborn and pig headed, i keep arguing till they get it or I get it :-/ On Wed, 12 Dec 2007 10:11:40 Graham Leggett wrote: Michael McCallum wrote: so tell management to keep out of the code I fix problem projects for a living, and one thing I have learned, over and over

RE: Ant basedir

2007-12-11 Thread Gargan, Stephen
What would you want to use this basedir property for? Maven has a different mindset for referencing resources within a project than ant. I'm sure if you describe your use case here someone will show you the maven way to do things. Rgds, ste -Original Message- From: Luis Roberto P.

RE: Java EE 5 Archetypes?

2007-12-11 Thread Gargan, Stephen
You might find something useful (perhaps as the basis for your own archetype) on the list of maintained here, http://docs.codehaus.org/display/MAVENUSER/Archetypes+List rgds, ste -Original Message- From: Jim Bethancourt [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 11, 2007 8:18

Re: [m2][c1.1] How to run dashboard in Continuum?

2007-12-11 Thread Mick Knutson
Can I please get a little help on this? I have been looking for 2 days... On Dec 10, 2007 12:44 PM, Mick Knutson [EMAIL PROTECTED] wrote: I have setup the 3 phases I needed on my project group: Goals Arguments Build File Schedule Profile From Build Fresh Default Description Type

Re: state of maven support for Google Web Toolkit ?

2007-12-11 Thread Bob Allison
I have built a version that I use which supports both running the development shell from Maven and compiling as part of the normal build process. I think there are a least two other plugins in Codehaus. I haven't used the plugins at Codehaus because last time I looked they did not support

Re: state of maven support for Google Web Toolkit ?

2007-12-11 Thread Dmitry
interesting question it will be great to have by maven GWT library - we are using GWT and to have in Maven Repository is a big advantage. Thanks, Search News www.ejinz.com EjinZ - Original Message - From: nicolas de loof [EMAIL PROTECTED] To: Maven Users List users@maven.apache.org

Re: Interpolation of Pom Properties in Assembly Descriptor

2007-12-11 Thread Mark Reynolds
I'll assume this is a regression in the latest 2.2-beta-2-SNAPSHOT. http://jira.codehaus.org/browse/MASSEMBLY-256 On Nov 28, 2007 12:45 PM, Mark Reynolds [EMAIL PROTECTED] wrote: That wasn't it, but thanks. On Nov 27, 2007 12:36 PM, Wayne Fay [EMAIL PROTECTED] wrote: I've seen that

RE: maven-dependency-plugin unpack prior to generate-source AndroMDA

2007-12-11 Thread Brian E. Fox
I'm not familiar with AndroMDA but if it works by unpacking first, binding it to validate should be the same. What is the packaging type of your project? -Original Message- From: jeeads [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 11, 2007 9:06 AM To: users@maven.apache.org Subject:

OverConstrainedVersionException

2007-12-11 Thread Saxena, Sandeep
Hi All, I am using following dependency in one of my POMs: +++ dependency groupIdorg.eclipse/groupId artifactIdswt/artifactId version[3.3.0-v3346]/version /dependency +++ And getting the following exceptions:

Re: OverConstrainedVersionException

2007-12-11 Thread Paul Benedict
You're asking Maven to select a range of JAR versions with the brackets. It interprets the dash as the separator between two bounds (3.3.0 and 3346). Chuck the brackets. Paul On Dec 12, 2007 12:44 AM, Stuart McCulloch [EMAIL PROTECTED] wrote: On 12/12/2007, Saxena, Sandeep [EMAIL PROTECTED]

Re: OverConstrainedVersionException

2007-12-11 Thread Stuart McCulloch
On 12/12/2007, Saxena, Sandeep [EMAIL PROTECTED] wrote: Hi All, I am using following dependency in one of my POMs: +++ dependency groupIdorg.eclipse/groupId artifactIdswt/artifactId version[3.3.0-v3346]/version /dependency

Re: OverConstrainedVersionException

2007-12-11 Thread Stuart McCulloch
On 12/12/2007, Saxena, Sandeep [EMAIL PROTECTED] wrote: It gives the same error even if I useversion3.3.0-v3346/version. hmm... well over here it works: [INFO] [resources:resources] [INFO] Using default encoding to copy filtered resources. Downloading:

RE: OverConstrainedVersionException

2007-12-11 Thread Saxena, Sandeep
When I do a mvn -e -X clean install with version3.3.0-v3346/version I get the following traces : + [DEBUG] Trace org.apache.maven.lifecycle.LifecycleExecutionException: Couldn't find a version in [3.1.1, 3.2.0,

Re: OverConstrainedVersionException

2007-12-11 Thread Stuart McCulloch
On 12/12/2007, Saxena, Sandeep [EMAIL PROTECTED] wrote: When I do a mvn -e -X clean install with version3.3.0-v3346/version I get the following traces : + [DEBUG] Trace

Getting a dependency list in a custom plugin

2007-12-11 Thread EJ Ciramella
Hello all - I have what seems like a simple question that's got me stumped at the moment. Is there a way to iterate over the dependencies in a particular project inside a custom plugin? I keep wanting to do something like: ArrayList deps = (ArrayList) proj.getDependencies();

Re: state of maven support for Google Web Toolkit ?

2007-12-11 Thread nicolas de loof
What about submitting your plugin to the Mojo project ? Nico. 2007/12/12, Bob Allison [EMAIL PROTECTED]: I have built a version that I use which supports both running the development shell from Maven and compiling as part of the normal build process. I think there are a least two other