Re: [m2] Bootstrap Maven Source Code does not build on Linux

2005-11-19 Thread Brett Porter
Its not stdout we're after - take a look at the txt files in maven-core/target/surefire-reports. The one with a failure should be sent. What is your purpose for building from source instead of using the release version? - Brett On 11/19/05, Peter A. Pilgrim [EMAIL PROTECTED] wrote: Brett

Re: [M1] Unforked java ant task

2005-11-19 Thread Sebastien Arbogast
Thank you very much ! It's exactly what I was looking for. 2005/11/19, Brett Porter [EMAIL PROTECTED]: fork just menas it starts a new jvm, not that it is run simulataneously. In Maven 1.0 or 1.1, you can use j:thread - see the FAQ. This will spawn it for the life of the build. To have it

RE: Unable to generate Maven 1.0.2 ChangeLog reports

2005-11-19 Thread Chawla, Sampreet Kaur \(Cognizant\)
Hi Arnaud Everybody, I am able to generate the ChangeLog, Developer-Activity and File Activity Report now. These reports need maven.mode.online=true as its properties settings. By default it is true. I had unknowingly set it to false, as I had intended to work in offline mode, not

Re: [M2] aggregating surefire reports ?

2005-11-19 Thread Wim Deblauwe
I don't think it is ported yet, although functionlity like that would be very handy if you have lots of projects to manage. 2005/11/18, Mark Shead [EMAIL PROTECTED]: 3) MAIN QUESTION: How do I aggregate all the .xml files to produce a single html report. If I run 'mvn site' or 'mvn

Re: [m2] Bootstrap Maven Source Code does not build on Linux

2005-11-19 Thread Peter A. Pilgrim
Brett Porter wrote: Its not stdout we're after - take a look at the txt files in maven-core/target/surefire-reports. The one with a failure should be sent. Ok here is the output from org.apache.maven.usability.PluginErrorDiagnoserTest.txt [57] c

Re: [m2] Bootstrap Maven Source Code does not build on Linux

2005-11-19 Thread Brett Porter
Ok, this is working for me. I think that you might have been affected by a repository error the other day. Can you try: rm -rf ~/.m2/repository/org/codehaus/plexus (assuming that is where your local repository is). Thanks, Brett On 11/19/05, Peter A. Pilgrim [EMAIL PROTECTED] wrote: Brett

Javadoc warnings report is not getting generated with Maven 1.1 beta1 and beta2

2005-11-19 Thread Girish Nagaraj
Hello, When I run maven site, the javadoc warnings report fails to get generated correctly.It just contains the number of files, but does not list the javadoc problems (though there are many). The following message shows up on the console *** WARNING: exception parsing line ' [javadoc]

[m2] myfaces - what should I use as my dependency

2005-11-19 Thread Piotr Bzdyl
Hello, I would like to know what I should use as my dependency if I want to use myfaces. I browsed http://ibiblio.org/maven2/myfaces/ and found: myfaces-all myfaces-api myfaces-impl myfaces-jsf-api myfaces I would like to use version 1.1.1 but none of the poms declared for any version has

Re: [m2] myfaces - what should I use as my dependency

2005-11-19 Thread Wendy Smoak
On 11/19/05, Piotr Bzdyl [EMAIL PROTECTED] wrote: I would like to know what I should use as my dependency if I want to use myfaces. I browsed http://ibiblio.org/maven2/myfaces/ and found: myfaces-all myfaces-api myfaces-impl myfaces-jsf-api myfaces I would like to use version 1.1.1 but

Re: [m2] myfaces - what should I use as my dependency

2005-11-19 Thread Piotr Bzdyl
Hello, dependencies dependency groupIdmyfaces/groupId artifactIdmyfaces-api/artifactId version1.1.1/version /exclusions /dependency dependency groupIdmyfaces/groupId

Re: [m2] site:deploy via scp uses theunzip command on the remote host. [m1] used tar and gunzip

2005-11-19 Thread Paul Spencer
Brett, I have filed a feature request. http://jira.codehaus.org/browse/MNG-1627 Paul Spencer Brett Porter wrote: We can make this configurable - please file a feature request. - Brett On 11/19/05, Paul Spencer [EMAIL PROTECTED] wrote: Deploying a site in m2 has changed since m1. m1 used

Re: [m2] myfaces - what should I use as my dependency

2005-11-19 Thread Wendy Smoak
On 11/19/05, Piotr Bzdyl [EMAIL PROTECTED] wrote: What about myfaces dependencies? (commons digester etc) Most of what I need comes in with Shale, so it hasn't been a problem so far... note that I'm still working on the build files so I don't yet know if I'm missing anything important. So

Re: [m2] xdoclet and ear plugin - how to generate .war extension (not .jar)

2005-11-19 Thread Ashley Williams
Hi Marcel, Sorry I missed your response earlier, this list is going into overdrive! Just in case i haven't framed my problem correctly: I'm using the xdoclet plugin to generate the descriptors and the source code under the target/ directory. So far so good. However the next step is to

[m2] Need to duplicate a file during build

2005-11-19 Thread Wendy Smoak
In src/main/resources, I have several .properties files: org.apache/.../ApplicationResources.properties org.apache/.../ApplicationResources_ja.properties org.apache/.../ApplicationResources_en.properties As part of the build I need to duplicate ApplicationResources.properties as

Re: [m2] Need to duplicate a file during build

2005-11-19 Thread Arik Kfir
I don't think there's a way to do this with maven alone (maven team, correct me?). However, you can create a small plugin that binds to the 'generate-sources' phase and generates the properties you need. OTH - this looks like a resource bundle - and if I'm not mistaken, the resource bundle is

Re: [m2] xdoclet and ear plugin - how to generate .war extension (not .jar)

2005-11-19 Thread Ashley Williams
Hi Stéphane, missed you response until now. webXml property works so first of all I'm very pleased about that. However this is a little bit hacky as I'm just conning the war plugin to copy something that is already in the right place for copying anyway. The setting I was suggesting to was

Re: [m2] Need to duplicate a file during build

2005-11-19 Thread Wendy Smoak
On 11/19/05, Arik Kfir [EMAIL PROTECTED] wrote: I don't think there's a way to do this with maven alone (maven team, correct me?). However, you can create a small plugin that binds to the 'generate-sources' phase and generates the properties you need. Time to learn how to write plugins,

Re: [m2] Any support for Cruise Control yet?

2005-11-19 Thread Pete
we're setting up CruiseControl with M2 by just calling mvn deploy as an executable in an Ant build file. Seems to work fine. On 19/11/05, Carlos Sanchez [EMAIL PROTECTED] wrote: Hi, We are not the ones that develope CruiseControl, so we don't know. In fact we suggest Continuum instead

Re: [m2] Need to duplicate a file during build

2005-11-19 Thread Ashley Williams
If this is for resource bundles then don't you already have the correct files? In other words for _en and _ja locales the corresponding property files will be found and then for any other locale the default file will be used, ie ApplicationResources.properties.

Re: [m2] Need to duplicate a file during build

2005-11-19 Thread Wendy Smoak
On 11/19/05, Ashley Williams [EMAIL PROTECTED] wrote: If this is for resource bundles then don't you already have the correct files? No, just a typo... I have: org.apache/.../ApplicationResources.properties org.apache/.../ApplicationResources_ja.properties

Re: [m2] Need to duplicate a file during build

2005-11-19 Thread Arik Kfir
well, this is not for the maven mailing list, but in general I disagree with your Ant file ;-) I'm for NOT duplicating things, as it brings additional maintainance overhead. If your message changes - you need to update both the '_en' AND the default file...and since I assume the default file

Re: [m2] xdoclet and ear plugin - how to generate .war extension (not .jar)

2005-11-19 Thread Stephane Nicoll
Ashley, We want to avoid that. Using the war plugin is not only a matter of file extension. Your project needs to be defined properly. Thanks, Stéphane On 11/19/05, Ashley Williams [EMAIL PROTECTED] wrote: Hi Stéphane, missed you response until now. webXml property works so first of all I'm

Re: [m2] xdoclet and ear plugin - how to generate .war extension (not .jar)

2005-11-19 Thread Ashley Williams
I'm sure you have some wisdom to pass onto me but can't work out the point you are making. Am I using the plugin configs inefficiently and if so do you have an example for me? I (think) we're in agreement that the war plugin does more than file extension which has been the very problem for me.

Re: [m2] Need to duplicate a file during build

2005-11-19 Thread Ashley Williams
In that case english is your default which means your files should work as is. In other words if the english locale is requested the _en file won't be found and so the root will be used ApplicationResources.properties. Of course if as part of your design you want _en and default to have

Re: [m2] Need to duplicate a file during build

2005-11-19 Thread Arik Kfir
yes, that's what I meant too :) good luck... On 11/19/05, Ashley Williams [EMAIL PROTECTED] wrote: In that case english is your default which means your files should work as is. In other words if the english locale is requested the _en file won't be found and so the root will be used

Re: [m2] Installing 3rd Party Jars with POMs

2005-11-19 Thread sockmonk
I ran into the same issue: installed a 3rd party jar, but need to add a generic pom for it. I tried adding the parameter you suggested, but it seems to have failed silently: the jar was installed, but still no .pom file. Here's the full command line I used: /usr/local/maven/bin/mvn

[m2] What happened to Spring - now it includes all its dependencies

2005-11-19 Thread Matt Raible
I've been using Spring 1.2.5 in my project for the past couple of weeks. The transitive dependencies feature of M2 has seemed to work great b/c there were no dependencies for Spring. dependency artifactIdspring/artifactId groupIdorg.springframework/groupId

Re: [m2] What happened to Spring - now it includes all its dependencies

2005-11-19 Thread Srepfler Srgjan
Hello, Mr. Raible, I've tried to generate hbm files from your model (appfuse) in a mockup maven2 project, but I haven't been too successfull; Have you managed to make a working m2 pom file for you appfuse project? Do you generate hbm files via the xdoclet plugin? Thanks and keep up the good

Re: [m2] What happened to Spring - now it includes all its dependencies

2005-11-19 Thread Matt Raible
On 11/19/05, Srepfler Srgjan [EMAIL PROTECTED] wrote: Hello, Mr. Raible, I've tried to generate hbm files from your model (appfuse) in a mockup maven2 project, but I haven't been too successfull; Have you managed to make a working m2 pom file for you appfuse project? No. Do you generate hbm

Re: [m2] Installing 3rd Party Jars with POMs

2005-11-19 Thread Wendy Smoak
On 11/19/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I ran into the same issue: installed a 3rd party jar, but need to add a generic pom for it. I tried adding the parameter you suggested, but it seems to have failed silently: the jar was installed, but still no .pom file. I think

Re: [m2] What happened to Spring - now it includes all its dependencies

2005-11-19 Thread Stephen Duncan
Matt, I've been using a groupId of springframework, instead of org.springframework. Also I've started depending on the individual spring modules, instead of the full jar. Same issue though: a bunch of exclusions. Usually a new version (such as Spring 1.2.6 right now) has no dependencies at

Re: Missing something about reports

2005-11-19 Thread Howard Lewis Ship
HiveMind started as a number of experiments in coding, in community and in infrastructure. I found that using Maven 1 for infrastructure, there was more work for me than effort saved. I'm giving Maven 2 a new shot and already much improved. I'm hoping I can move my code over to Maven; we'll see

Re: [m2] What happened to Spring - now it includes all its dependencies

2005-11-19 Thread Matt Raible
Stephen, I was using groupId=springframework, but switched to org.springframework when I tried to upgrade 1.2.6 today. I was hoping to revert back to springframework and have all my problems solved - but no dice. The easiest thing for me to do seems to be to upload my own POM and JAR to my own

[m2] can't reach maven-proxy

2005-11-19 Thread Didier BRICHET
Hello, I'm trying maven in a corporate environnement. My problem is to use maven-proxy, to sit on my main server and imitate ibiblio. To do this, on a Windows XP machine with internet connection, I set my user settings (in .m2 directory) like this : |settings profiles profile

Eclipse WTP changes targets for the 1.0 version

2005-11-19 Thread Srepfler Srgjan
I'm reposting a peace of this conversation that I've picked up on the eclipse.wtp newsgroup, perhaps it'll be usefull to the maven-eclipse-plugin developers. For the people that don't know eclipse 3.1 can't handle multiple classpaths per project and 3.2 should address that issue. On the other

Re: [m2] What happened to Spring - now it includes all its dependencies

2005-11-19 Thread Carlos Sanchez
Hi all, I'll try to put a bit of light at this. - I've put the spring jars in the repo so you guys can use them in m1 and m2 - At first there were no poms because it takes me some time to have them ready - I'm working on the poms, I've put the ones i was using first, but there was no optional

Where is the description of the fml format?

2005-11-19 Thread Wendy Smoak
The guide to creating a site [0] only says that the FAQ pages use the same format as Maven 1, but there is no link and I can't seem to find the m1 page. [0] http://maven.apache.org/guides/mini/guide-site.html Thanks, Wendy - To

Re: Where is the description of the fml format?

2005-11-19 Thread Arik Kfir
Hi Wendy, Try this: http://maven.apache.org/reference/plugins/faq/faq.fml On 11/20/05, Wendy Smoak [EMAIL PROTECTED] wrote: The guide to creating a site [0] only says that the FAQ pages use the same format as Maven 1, but there is no link and I can't seem to find the m1 page. [0]

Re: Where is the description of the fml format?

2005-11-19 Thread Wendy Smoak
On 11/19/05, Arik Kfir [EMAIL PROTECTED] wrote: Try this: http://maven.apache.org/reference/plugins/faq/faq.fml Thanks! That got me to: http://maven.apache.org/reference/plugins/faq/ (FWIW, the preGoal doesn't seem to be necessary, just having the report in the list worked.) -- Wendy

Re: Where is the description of the fml format?

2005-11-19 Thread Lukas Theussl
This page is deprecated, the new homepages for m1 plugins are at http://maven.apache.org/maven-1.x/reference/plugins/index.html I will update the documentation about the faq plugin. Cheers, Lukas Wendy Smoak wrote: On 11/19/05, Arik Kfir [EMAIL PROTECTED] wrote: Try this:

[m2] parent poms and svn externals

2005-11-19 Thread Wendy Smoak
Struts uses svn externals to place /struts/build/trunk under each other sub-project, such as core. (Then a 'current' external to make it possible to check out all the sub-projects at once.) The result is a structure like this: /current/build /current/core /current/core/build Where those two

Re: [m2] parent poms and svn externals

2005-11-19 Thread Stephen Duncan
Child projects specify their parent POM using the parent tag instead of extends. A parent tag looks like this: parent groupIdcom.myproject/groupId artifactIdmyproject/artifactId version1.3-SNAPSHOT/version /parent The parent POM is looked for in the repository, so, in your source

Re: Testing with EJB3

2005-11-19 Thread Richard Wallace
Sorry it took so long to get back, but I've been side-tracked this past week. The test I'm trying to run is: import java.util.Hashtable; import javax.naming.InitialContext; import javax.persistence.EntityManager; import javax.transaction.TransactionManager; import

Re: Flat structure supported ?

2005-11-19 Thread Christian Schulte
Emmanuel Venisse schrieb: ok, file an issue for this problem, we'll fix it in next version. A workaround for this problem is to add scm url in all your pom. Emmanuel Thanks a lot! It works with specifying the scm url in every pom.xml. http://jira.codehaus.org/browse/CONTINUUM-462 --