Re: [m2] scm:checkout

2005-09-25 Thread Brett Porter
If you have a multiproject hierachy, then currently Maven requires that they be in the same tree, so the first checkout would be the root of that (likewise for an update). - Brett On 9/26/05, Sidart Kurias <[EMAIL PROTECTED]> wrote: > > I have the projects in CVS. I want to start building > them

Re: [m2] scm:checkout

2005-09-25 Thread Sidart Kurias
I have the projects in CVS. I want to start building them with Maven. But for the first time, I would need to check the projects out individually, and not use the multiproject capabilities to get the sources from cvs. Updates can use the multiproject capabilities. Is that 'use case' correct. Th

Re: [m2] Unable to Deploy via SCP with Maven 2 Beta 1

2005-09-25 Thread Brett Porter
For the record, this was because plain text passwords were not enabled on the server (different to keyboard-interactive). - Brett On 9/26/05, Brett Porter <[EMAIL PROTECTED]> wrote: > We've seen this with a couple of people using passwords, though it > works for me. It's possibly the server setti

Re: using maven.test.skip

2005-09-25 Thread Andy Glick
Anthony Kong wrote: Hi, all, I have written a custom plugin for a in-house project which will produce a ear file at the end. There is a number of goals defined in this plugin. One of these is: war:install goal"> {maven.test.skip} is set to ${maven.test.skip}

using maven.test.skip

2005-09-25 Thread Anthony Kong
Hi, all, I have written a custom plugin for a in-house project which will produce a ear file at the end. There is a number of goals defined in this plugin. One of these is: {maven.test.skip} is set to ${maven.test.skip} {maven.test.skip} is s

Re: [m2] Archetype Plugin problem generating Mojo type project (beta-1)

2005-09-25 Thread Eric Jacob
Brett Porter wrote: Yes. Can you file it in JIRA? Thanks, Brett On 9/26/05, Eric Jacob <[EMAIL PROTECTED]> wrote: Hi, I created a plugin skeleton using the following command: m2 archetype:create -DgroupId=com.mycompany.app -DartifactId=my-plugin -DarchetypeArtifactId=maven-archetype-mojo

Re: Maven multi-source directory ?

2005-09-25 Thread Andy Glick
Marouane Amraoui wrote: there is way to specify multi source directory in maven project : example my source files : 1.frwk1/src/java 2.frwk2/src/java i want make only one project maven and only one artifact frwk.jar that containe both source frwk1 and frwk2. Hi, I take it that you are

Re: [m1 or 2] Odd project structure... how much pain will this be?

2005-09-25 Thread Andy Glick
Brett Porter wrote: Is it worthwhile publishing a few documents that show how various project types would be set up for m2, like this? - Brett On 9/24/05, Kenney Westerhof <[EMAIL PROTECTED]> wrote: On Fri, 23 Sep 2005, Eric Biesterfeld wrote: You're pretty much set up for maven use, except

Re: [m2] Archetype Plugin problem generating Mojo type project (beta-1)

2005-09-25 Thread Brett Porter
Yes. Can you file it in JIRA? Thanks, Brett On 9/26/05, Eric Jacob <[EMAIL PROTECTED]> wrote: > Hi, > > I created a plugin skeleton using the following command: > > m2 archetype:create -DgroupId=com.mycompany.app -DartifactId=my-plugin > -DarchetypeArtifactId=maven-archetype-mojo > > When I try t

Re: [m2] scm:checkout

2005-09-25 Thread Brett Porter
checkout is meant to be used when you don't have the project already. - Brett On 9/25/05, Sidart Kurias <[EMAIL PROTECTED]> wrote: > If I understand this right the scm plugin will not > read the connection tag in the pom.xml and requires a > system variable to be defined to point it to the > sou

Re: Customn dependency scopes

2005-09-25 Thread Brett Porter
Scope is a default for the packaging rule, not a packaging rule in itself. There is an open JIRA for the war plugin to allow this (specifically for applets and jnlp). It has not yet been implemented. You can work around it by writing your own small plugin (or use the antrun plugin), to copy the j

Re: [m2] Unable to Deploy via SCP with Maven 2 Beta 1

2005-09-25 Thread Brett Porter
We've seen this with a couple of people using passwords, though it works for me. It's possibly the server settings not allowing a password based login. Auth fail means it connected, but did not authenticate. I'm not sure if we can get jsch to log any more, so the best way to debug is probably to c

Re: [m2] source:jar, phase-binding, and build numbers

2005-09-25 Thread Brett Porter
It's a bug, please put it in JIRA. - Brett On 9/26/05, Arik Kfir <[EMAIL PROTECTED]> wrote: > Hi all, > > I have a project built using m2. I want the project to install/deploy > a source-code JAR along with the binaries JAR (on both the install and > deploy phases). I've added the following secti

Re: [m2] properties

2005-09-25 Thread Brett Porter
I guess a lot of people are going to want to use dotted properties, so we should support it. It probably is attempting to do reflection on m2. - Brett On 9/26/05, Chris Berry <[EMAIL PROTECTED]> wrote: > Hi John, > Don't know if it's a bug but > > 2.0-beta-2-SNAPSHOT > > . > ${m2.vers

Re: [m2] properties

2005-09-25 Thread Chris Berry
Hi John, Don't know if it's a bug but 2.0-beta-2-SNAPSHOT . ${m2.version} does NOT work. But, without the "." in the property name, it does work. I.e. 2.0-beta-2-SNAPSHOT . ${m2version} This works. Cheers, -- Chris -

Re: [m2] jar artifact with par extension

2005-09-25 Thread Arik Kfir
Hi all, I'm having the same problem - what is the best solution for this use case? On 9/14/05, Piotr Bzdyl <[EMAIL PROTECTED]> wrote: > Hello, > > (I was writing to this mailing list before partially about this problem: > Demo application based on JBoss DVD trailblaizer) > > I tried to create fol

[m2] Archetype Plugin problem generating Mojo type project (beta-1)

2005-09-25 Thread Eric Jacob
Hi, I created a plugin skeleton using the following command: m2 archetype:create -DgroupId=com.mycompany.app -DartifactId=my-plugin -DarchetypeArtifactId=maven-archetype-mojo When I try to install the plugin, M2 gives me this error: $ m2 install [INFO] -

[m2] Unable to Deploy via SCP with Maven 2 Beta 1

2005-09-25 Thread Stephen Duncan
It's probably something in my environment, as I've deployed successfully at work. I'm trying to set things up to work at home on my own network, and I can't get a deploy of a POM to work via SCP. I'm running Maven 2 on Windows XP. The server I'm trying to copy files to is a Debian linux box. I

[m2] source:jar, phase-binding, and build numbers

2005-09-25 Thread Arik Kfir
Hi all, I have a project built using m2. I want the project to install/deploy a source-code JAR along with the binaries JAR (on both the install and deploy phases). I've added the following section in the pom.xml file: org.apache.maven.plugins maven-source-plugin

Customn dependency scopes

2005-09-25 Thread Tim Kettler
Hi, I've set up a simple web-app (war) project with Maven 2. Now I need to place some artifacts from my repository (a few jar's accessed by JNLP) in the root of the war. Just declaring them as dependencies puts them in the WEB-INF/lib directory. Is it possible to define a new kind of depende