Re: Alpha 3

2005-07-13 Thread Trygve Laugstøl
Merwin Yap said: Hi! I’ve downloaded alpha 3 and got it running. While trying to build a maven 1 project, I got the following error: [snip] I have the same project running in alpha 2 and it seems that it does allow the ‘extend’ element. Will the ‘extend’ element of the POM be allowed in

Re: Error with building projects

2005-07-13 Thread Trygve Laugstøl
Merwin Yap said: Hi. While using Continuum alpha 2, I encounter the following error: Yes, that *was* a known issue. Please use Alpha 3 -- Trygve

[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

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

[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: [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

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:[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 : quot;Christian

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

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

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: [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);

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 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.properties);

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 transform those

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

[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

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: dependency groupIdant/groupId artifactIdant/artifactId version1.6.2/version /dependency dependency groupIdant/groupId

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] 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

[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

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 this

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:

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 List

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 my

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); *

[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

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),

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 http://maven.apache.org/reference/plugins/junit-report/goals.html? -Original Message- From:

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