RE: Alpha 3

2005-07-13 Thread Merwin Yap
We have project that have the following structure: [Project] -[etc] -maven.xml -project.xml -project.properties -[modules] -[moduleA] -maven.xml -project.xml -project.properties -[moduleB] -maven.xml -project.xml

RE: Maven 1.0.2 and junitreport?

2005-07-13 Thread Washusen, Dan
I'd stick with Maven 1.1 if you want to use ant tasks as it includes a more recent version of ant. Out of interest, why are you using the ant junit report instead of maven junit report plugin ? -Original Message- From: M

Re: Maven2: Wrong ACK

2005-07-13 Thread Trygve Laugstøl
On Wed, Jul 13, 2005 at 05:07:42PM -0400, Ilyevsky, Leonid (Equity Trading) wrote: > This used to work before. At least with alpha-1 release, I remember it > worked. > What could be the problem? This is most likely a error message from the scp provider (I noticed that you're using the scp:// url)

[m1] message/param passing between user defined goals

2005-07-13 Thread Rahul
Greetings, I have a question regarding passing messages among user defined goals. I am factoring a (big)goal in maven.xml script into more manageable smaller goals that handle specific bits. However, I notice smaller goals will need to pass messages among themselves. So, my Qs are : a) Is th

Re: [M2] classpath problem with surefire

2005-07-13 Thread Joakim Erdfelt
c_inconnu3 wrote: Joakim Erdfelt a écrit : Thanks for this great help, i was going mad... :-) This works : * this.getClass().getClassLoader().getResourceAsStream("a/b/c/myTest.properties"); This DOES NOT works : * ClassLoader.getSystemResourceAsStream("a/b/c/myTest.properties"); * this.g

Re: [maven 1.0.2] my own application.xml not being included in ear

2005-07-13 Thread Dion Gillard
Post your project structure so we can replicate it. On 7/14/05, Mick Knutson <[EMAIL PROTECTED]> wrote: > OK, then I tried this: > > maven.ear.appxml=${basedir}/ear-subproject/src/conf/META-INF/application.xml > maven.ear.appxml.generate=false > > and I still did not get any application.xml into

Re: [maven 1.0.2] my own application.xml not being included in ear

2005-07-13 Thread Mick Knutson
OK I tried this and it still did not include any application.xml: maven.ear.appxml=${basedir}/ear-subproject/src/conf/META-INF/application.xml maven.ear.appxml.generate=false Any other ideas? From: Dion Gillard <[EMAIL PROTECTED]> Reply-To: Dion Gillard <[EMAIL PROTECTED]> To: Maven Users Lis

Re: [maven 1.0.2] my own application.xml not being included in ear

2005-07-13 Thread Dion Gillard
On 7/14/05, Mick Knutson <[EMAIL PROTECTED]> wrote: > I have the following setting in my ear-subproject/: > > maven.ear.appxml=${basedir}/src/conf/META-INF/application.xml > maven.ear.appxml.generate=false > > and I have the following DIR: > > ./fastforward/ear-subproject/src/conf/META-INF/appli

Re: [m2] maven checkstyle report customization

2005-07-13 Thread John Fallows
On 7/13/05, Emmanuel Venisse <[EMAIL PROTECTED]> wrote: > John Fallows wrote: > > > > Is the maven-checkstyle-plugin aligned with the Maven2 beta-1 release, > > and therefore scheduled for mid July? > > I hope we can do it for the beta-1 release. I have filed JIRA issue MNG-587 to help track thi

[maven 1.0.2] my own application.xml not being included in ear

2005-07-13 Thread Mick Knutson
I have the following setting in my ear-subproject/: maven.ear.appxml=${basedir}/src/conf/META-INF/application.xml maven.ear.appxml.generate=false and I have the following DIR: ./fastforward/ear-subproject/src/conf/META-INF/application.xml then I run maven from ./fastforward and there is no app

Re: [m2] MavenProject.add(Test)ResourceRoot

2005-07-13 Thread John Fallows
On 7/13/05, John Casey <[EMAIL PROTECTED]> wrote: > If you didn't find an issue in JIRA related to this, then it's probably > not on our radar for -beta-1. If you'd like, please file a JIRA for > this, and I'll work on it. :) Thanks, John. I filed JIRA issue MNG-583. http://jira.codehaus.org/bro

Maven2: Wrong ACK

2005-07-13 Thread Ilyevsky, Leonid (Equity Trading)
This used to work before. At least with alpha-1 release, I remember it worked. What could be the problem? Downloading: http://repo1.maven.org/maven2/pt/pttech/1.0/pttech-1.0.jar [WARNING] Unable to get resource from repository http://repo1.maven.org/maven2 Downloading: scp://mlqsa-as2-d.dev.etsd.

Re: [m2] maven checkstyle report customization

2005-07-13 Thread Emmanuel Venisse
John Fallows wrote: On 7/12/05, Emmanuel Venisse <[EMAIL PROTECTED]> wrote: In the next release, you'll can choose your own ruleset. That's the next release of the maven-checkstyle-plugin, right? yes. Is the maven-checkstyle-plugin aligned with the Maven2 beta-1 release, and therefore

Re: [m2] migrating reports from m1

2005-07-13 Thread Emmanuel Venisse
John Fallows wrote: On 7/12/05, Emmanuel Venisse <[EMAIL PROTECTED]> wrote: John Fallows wrote: We have a custom report that generated a bunch of xdoc files for Maven1, and would like to know the easiest way to migrate that report to Maven2. Can we continue to generate xdoc files and then

Re: [m2] MavenProject.add(Test)ResourceRoot

2005-07-13 Thread John Casey
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 If you didn't find an issue in JIRA related to this, then it's probably not on our radar for -beta-1. If you'd like, please file a JIRA for this, and I'll work on it. :) - -john John Fallows wrote: | I seem to remember some brief discussion that it

Re: [m2] Adding ANT task to Maven 2

2005-07-13 Thread Peter van de Hoef
Hi Vitaliy, You can add the Ant jars as dependency in your plugin's POM, like: ant ant 1.6.2 ant ant-launcher 1.6.2 ... etc, depending on the Ant functional

[m2] MavenProject.add(Test)ResourceRoot

2005-07-13 Thread John Fallows
I seem to remember some brief discussion that it would be a good idea to add MavenProject.addResourceRoot(String) and MavenProject.addTestResourceRoot(String), so that plugins can be used to generate resources that can end up in the JAR without needing to generate them into the src/main/resources o

Re: [m2] maven checkstyle report customization

2005-07-13 Thread John Fallows
On 7/12/05, Emmanuel Venisse <[EMAIL PROTECTED]> wrote: > In the next release, you'll can choose your own ruleset. That's the next release of the maven-checkstyle-plugin, right? Is the maven-checkstyle-plugin aligned with the Maven2 beta-1 release, and therefore scheduled for mid July? Kind Rega

Re: [m2] migrating reports from m1

2005-07-13 Thread John Fallows
On 7/12/05, Emmanuel Venisse <[EMAIL PROTECTED]> wrote: > > > John Fallows wrote: > > We have a custom report that generated a bunch of xdoc files for > > Maven1, and would like to know the easiest way to migrate that report > > to Maven2. > > > > Can we continue to generate xdoc files and then t

Re: [M2] classpath problem with surefire

2005-07-13 Thread Jason van Zyl
On Wed, 2005-07-13 at 18:46 +0200, c_inconnu3 wrote: > Thanks for this great help, i was going mad... :-) > > This works : > * > this.getClass().getClassLoader().getResourceAsStream("a/b/c/myTest.properties"); > > This DOES NOT works : > * ClassLoader.getSystemResourceAsStream("a/b/c/myTest.pro

Re: [m2] i18n .properties files in war

2005-07-13 Thread Dennis Geurts
maven 1.x maybe ?? I was fooled myself too when I started getting to know maven 2... Dennis On 7/13/05, Adam Hardy <[EMAIL PROTECTED]> wrote: > > I don't know where I picked up the instruction to run war:war. I see > it's not on the list of common lifecycle phases on the website. > > Rather

Re: [M2] classpath problem with surefire

2005-07-13 Thread c_inconnu3
Joakim Erdfelt a écrit : Johnny Ruiz wrote: c_inconnu3 wrote: And 2 properties files in src/test/resources/ and src/test/resources/a/b/c/. When I run "m2 test" the following always returns null: InputStream inputStream = ClassLoader.getSystemResourceAsStream("a/b/c/myTest.properties"); S

Re: [m1] Basic POM Question

2005-07-13 Thread dan tran
It seems to me, the feature you ask belonging to maven-scm-plugin which does not have that capability yet. For now, the second developer can manually use the info, in the POM, to contruct scm:checkout command -D On 7/13/05, Christian Schlaefcke <[EMAIL PROTECTED]> wrote: > Yann LE DU schrieb:

Re: [m1] Basic POM Question

2005-07-13 Thread Yann LE DU
OK, so your question is : how to get the POM (with its SCM info) on the first time ? The solution we use here is to put the central Maven repository under SCM control. This way we can check-out (then daily update) the central repository into our local ~/.maven/repository. However, we are starting

Re: [m1] Basic POM Question

2005-07-13 Thread Christian Schlaefcke
Yann LE DU schrieb: Hi Christian, I don't know if that answers to your question, but if you want to take a pom out of the repository, just delete the whole project directory from the repository... I always did this way when I needed to. Not really ;-) But let me explain: Imagine the follo

Re: [m2] i18n .properties files in war

2005-07-13 Thread Adam Hardy
I don't know where I picked up the instruction to run war:war. I see it's not on the list of common lifecycle phases on the website. Rather misleadingly (obviously in my case) the output from war:war contains this: [INFO] [war:war] [INFO] Copy webapp resources to /home/adam/java/projects/gar

Re:[m1] Basic POM Question

2005-07-13 Thread Yann LE DU
Hi Christian, I don't know if that answers to your question, but if you want to take a pom out of the repository, just delete the whole project directory from the repository... I always did this way when I needed to. Regards, Yann -- Mail d'origine --- De : "Christian Schl

Re: update

2005-07-13 Thread Jamie Bisotti
1. Are you in a working copy that can be updated? 2. Is there a project.xml/project.properties in the directory? 3. If #2 is yes, what do they look like? On 7/13/05, Mariano Stampella <[EMAIL PROTECTED]> wrote: > > > -Mensaje original- > De: Mariano Stampella [mailto:[EMAIL PROTECTED] >

Re: [m2] i18n .properties files in war

2005-07-13 Thread Dennis Geurts
Hi Adam, what's the command you supply ?? 'm2 war:war' or 'm2 package' (it should be the latter) this might be a stupid question, but is the ' ApplicationResources.properties' file located at the 'src/main/resources' location in yout project ? Dennis On 7/13/05, Adam Hardy <[EMAIL PROTECTED

[m1] Basic POM Question

2005-07-13 Thread Christian Schlaefcke
Hi Folks, I created a brandnew project and added it to the internal repo: maven pom:install I wonder how I get this POM out of the repo again for example when starting from scratch on a different machine? Hope this question isn´t to silly :-) Thanks for any help & Regards

RE: [M1.0.2] Can a CD be a remote repository

2005-07-13 Thread Eric Lapierre
We use this property on Unix successfully: maven.repo.remote=file:/vobs/oam_tps/maven/repository I would look at your slash and backslash combination -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 12, 2005 8:25 PM To: users@maven.apache.org Subj

RE: update

2005-07-13 Thread Mariano Stampella
-Mensaje original- De: Mariano Stampella [mailto:[EMAIL PROTECTED] Enviado el: Martes, 12 de Julio de 2005 02:21 p.m. Para: 'Maven Users List' Asunto: scm:update Hi, Im using scm:update with a 1.5 version of SCM plugin and I have this problems: scm:update: [echo] Updating from SC

[m2] i18n .properties files in war

2005-07-13 Thread Adam Hardy
I have exhausted the mailing list archives and the documentation on the website and I cannot see why my .properties file is not being included in my war, since my pom.xml appears to be correct. The file is not copied into the target directory nor is it included in the war file. I see from the

site:deploy fails on sourceforge.net [m2]

2005-07-13 Thread Wilfred Springer
All, It appears that the [m2] site:deploy Mojo fails to unzip the file after it has been uploaded using scp. It seems that the commands that are being passed work perfectly well with an ordinary ssh client Cheers, Wilfred -- _

Re: Wagon FTP [m2]

2005-07-13 Thread Emmanuel Venisse
you need to put wagon-ftp jar in $M2_HOME/lib Emmanuel Wilfred Springer wrote: All, Does anybody know how to force Maven to deploy an artifact using the ftp protocol? Passing the ftp protocol specifier in the repository URL doesn't work: Caused by: org.apache.maven.wagon.TransferFailedExcepti

Wagon FTP [m2]

2005-07-13 Thread Wilfred Springer
All, Does anybody know how to force Maven to deploy an artifact using the ftp protocol? Passing the ftp protocol specifier in the repository URL doesn't work: Caused by: org.apache.maven.wagon.TransferFailedException: Unsupported Protocol: at org.apache.maven.artifact.manager.DefaultWago