Re: Blame mechanism

2005-11-22 Thread Emmanuel Venisse
All blame info must appears in build result report. So you can see all changes since last update and since last successful build (with dates, modified files, authors and comments). If you don't see them, it's a bug. Emmanuel [EMAIL PROTECTED] a écrit : Hi, where can I find more information

Re: Property 'name' has no write method

2005-11-22 Thread Tim McCune
On Mon, 2005-11-21 at 11:08 +0100, Emmanuel Venisse wrote: do you have run it (with continuum and with maven) on the same machine? This error isn't a pb with continuum but it's a maven error. We write executable, arguments and working directory in logs with INFO level. Search in your logs

Two Continuum Questions

2005-11-22 Thread Matthew Beermann
1) I want Continuum to email all of the developers/ in the POM after the build finishes. How do I accomplish that in the ciManagement/ section? Or in Continuum's application.xml, if necessary? 2) Right now, the project's defaultGoal/ becomes Continuum's default goal. That's good, but the

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

2005-11-22 Thread Peter A. Pilgrim
Brett Porter wrote: 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

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

2005-11-22 Thread Brett Porter
Odd... can you edit the BootstrapInstaller.java and add -X as an optional in runMaven() ? I'd like to know what the plexus dependencies are when these tests are run. - Brett On 11/22/05, Peter A. Pilgrim [EMAIL PROTECTED] wrote: Unfortunately I am still getting this error. I remove the files

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

2005-11-22 Thread Bruno Aranda
The day this thread was begun I did use the bootstrap in a FC3 and maven built without problems... Regards, Bruno 2005/11/22, Brett Porter [EMAIL PROTECTED]: Odd... can you edit the BootstrapInstaller.java and add -X as an optional in runMaven() ? I'd like to know what the plexus

Re: Newbie: problem creating checkstyle report

2005-11-22 Thread Nik Gonzalez
Hi Volker, What error did you get when you ran mvn site:site? Please copy it here. Thanks, Nik Volker Hartmann wrote: Hi, I tried to generate a report for my first project. (I used the Maven Quick Start Archetype.) I added the following lines in the pom.xml project ... reporting

[m2] tests running twice

2005-11-22 Thread Patrick O'shea
Hi, I've added config for the surefire plugin below, to add a system property needed for testing. If i run the tests (mvn test) all the tests are run twice, The first time it doesn't pass the system property and the second time it does. How can I stop it running all the tests the first time ?

Handling different resource files for eclipse development and production

2005-11-22 Thread lists
Hi, We need to apply different .properties files depending on the environment, for instance we have different database connections in the development and production environment and we want to configure them with .properties files. We tried to use the resource plugin, and achieved what we want

Re: [m2] tests running twice

2005-11-22 Thread Nik Gonzalez
Hi, Try bringing the configuration tag out from the executions tag. Then, delete the executions tag... You'll have something that looks like the ff: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-surefire-plugin/artifactId version2.0/version

Re: [m2] mojo report (sink mandatory content ?)

2005-11-22 Thread David Sag
Or, as I have just discovered, (thanks brett), if your report implements isExternalReport() by returning true then you need not use the sink at all, but can generate the whole page / pages you want directly. You are right tho - the page will be named getOutputName() + .html Kind regards, Dave

maven2 plugin suggestions

2005-11-22 Thread Paul Rule
I often write stand alone apps, and I've often thought it would be good to have a plugin to bundle up a build complete with all the dependent jars, scripts, config files etc - and to even generate the run.bat run.sh scripts. Is there anything like this currently (I talking maven2) - if I wrote

Re: Newbie: problem creating checkstyle report

2005-11-22 Thread David Sag
I have got checkstyle working fine (sadly still without the option to specify a custom config - see http://jira.codehaus.org/browse/MNG-1113). the groupId is org.apache.maven.plugins artifactId is maven-checkstyle-plugin we (small internal team here where I work) are writing a FindBugs plugin

Re: maven2 plugin suggestions

2005-11-22 Thread David Sag
On this point - for us mac users it would be neat to finish the release phase by generating all the bits and pieces that allow a java app to look like a real mac app - ie a MyApp.app folder with the content in the right places and a custom icon etc. Kind regards, Dave Sag Paul Rule

Re: [m2] tests running twice

2005-11-22 Thread Patrick O'shea
thanks Nik, that worked. Patrick Nik Gonzalez [EMAIL PROTECTED] 22-11-2005 10:10 Please respond to Maven Users List users@maven.apache.org To Maven Users List users@maven.apache.org cc Subject Re: [m2] tests running twice Hi, Try bringing the configuration tag out from the

Re: maven2 plugin suggestions

2005-11-22 Thread Arnaud Bailly
Paul Rule wrote: I often write stand alone apps, and I've often thought it would be good to have a plugin to bundle up a build complete with all the dependent jars, scripts, config files etc - and to even generate the run.bat run.sh scripts. Is there anything like this currently (I talking

Re: maven2 plugin suggestions

2005-11-22 Thread puschteblume
For this kind of plugin I would suggest to use a packaging software that takes your peaces of the build and put it on the right places. Normally you have all your resources in the repository on the right place. A very good packager and installer would be izpack: http://www.izforge.com/izpack/

Re: Newbie: problem creating checkstyle report

2005-11-22 Thread Volker Hartmann
Hi Nik, I tried the following: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-checkstyle-plugin/artifactId /plugin and I got: [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'site'.

Re: maven2 plugin suggestions

2005-11-22 Thread John Tolentino
Sorry, forgot to answer the bundling. Try the maven-assembly-plugin: http://maven.apache.org/plugins/maven-assembly-plugin/ Regards, John John Tolentino wrote: Hi, There are in fact tools in Maven 2 as templates to building applications. Please refer to Archetypes

Re: [m2] Using the jetty6 plugin was: Using the tomcat plugin

2005-11-22 Thread Ralph Pöllath
Hi, The one thing that keeps me from using the jetty6 plugin instead of tomcat for development is the log4j configuration for my spring application. As usual, the application expects log4j config in classpath:log4j.properties. For use with jetty, I need a different config file to be

Re: maven2 plugin suggestions

2005-11-22 Thread Ashley Williams
There is an idea for such a plugin currently called maven runtime and I'm sure if you were to add comments at the following link then it would gather even more momentum: http://docs.codehaus.org/display/MAVEN/Maven+Runtime - Ashley http://docs.codehaus.org/display/MAVEN/Maven+Runtime On 22

Help! - maven-proxy encountered NTLM authentication problem

2005-11-22 Thread Law Green-A20134
Hi, my maven-proxy.properties file has configured proxy server as follows: proxy.one.host=proxy_server proxy.one.port=1080 proxy.one.username=user proxy.one.password=password Unfortunately, the maven-proxy console report the following error while maven start download from central repository:

Re: [m2] Using the jetty6 plugin

2005-11-22 Thread Ralph Pöllath
Hi, I removed the log4jConfigLocation context-param from web.xml, so it defaults to standard log4j config (same thing anyway). Setting the log4j config via command line works fine now: mvn -Dlog4j.configuration=log4j-console.properties -Pjetty org.mortbay.jetty:maven-jetty6-plugin:1.0:run

Re: [m2] Using the jetty6 plugin was: Using the tomcat plugin

2005-11-22 Thread Jan Bartel
Hi Ralph, If you run the plugin with -X or -e then I think maven spits out the classpaths so you can see what is happening with the system classpath. An alternative is to use a feature I've just added to the plugin, which is the ability to define name/value pairs that the plugin will set as

[m2] Copy generated war to another folder

2005-11-22 Thread Rubén Barroso
Hello, anyone knows how could I say maven 2 to copy the generated WAR file to another folder? For instance, I don't want to copy it manually to ${tomcat5_home}/webapps, it'd be great if maven performed this automatically. Thanks in advance.

Re: [m2] Copy generated war to another folder

2005-11-22 Thread Wim Deblauwe
You will need to bind the antrun plugin execution to the package goal. See http://maven.apache.org/guides/mini/guide-using-ant.html for more info. regards, Wim 2005/11/22, Rubén Barroso [EMAIL PROTECTED]: Hello, anyone knows how could I say maven 2 to copy the generated WAR file to another

Re: [m2] Using the jetty6 plugin was: Using the tomcat plugin

2005-11-22 Thread Ralph Pöllath
Hi Jan, I tried the systemProperties approach (see my previous post), but no luck. Adding the implementation attribute (which isn't mentioned in the howto BTW) didn't help either. My plugin repository points to http://www.mortbay.org/maven2/ snapshot, so I assume I'm using the latest

Invoking plugin execution from a mojo

2005-11-22 Thread Wouter Zoons
hi all, I was wondering how to tackle a problem I'm experiencing: I'm adding support for Emma code coverage to my company's build infrastructure which is currently being ported to Maven 2. I would like to: 1. instrument our code 2. execute the tests on this instrumented code 3. build a

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

2005-11-22 Thread Pilgrim, Peter
-Original Message- From: Brett Porter [mailto:[EMAIL PROTECTED] ==== Odd... can you edit the BootstrapInstaller.java and add -X as an optional in runMaven() ? I'd like to know what the plexus dependencies are when these tests are run. - Brett I will do this tonight

Bad link to SVN on maven.apache.org

2005-11-22 Thread Ian Vellosa
Hi, I am still having a few little probelms finding out what parameters are available to me in the maven-ejb-plugin, so thought I will have to bit the bulelt and do the hard work of going through the code. However the SVN links look to have moved. The ones stated on the page:

RE: POM inheritance

2005-11-22 Thread fabrice . belingard
Damien, have a look at http://maven.apache.org/guides/introduction/introduction-to-the-pom.html HTH Best Regards / Cordialement, Fabrice BELLINGARD DINQ/DSIN/INSI/EATE/IDVS/AIDV (+33) (01 61) 45 15 91 - [EMAIL PROTECTED]

RE: POM inheritance

2005-11-22 Thread Damien Viel
Thanks Fabrice ;) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: mardi 22 novembre 2005 14:03 To: Maven Users List Subject: RE: POM inheritance Damien, have a look at

Re: [m2] Using the jetty6 plugin

2005-11-22 Thread Jan Bartel
Ralph, First, lets get your runline shorter. Have a look at the installation instructions on the plugin site. You should be able to run it: mvn jetty6:run I'm not sure if you say maven-jetty6-plugin:1.0:run whether that will invoke the snapshot version of not. Anway, put the

RE: confusing maven 2 dependency behavior

2005-11-22 Thread Pilgrim, Peter
I also created a program for this called `MvnCreateLocalPom' and send it to the mailing list. Check the archives. -- Peter Pilgrim :: J2EE Software Development Operations/IT - Credit Suisse First Boston, Floor 15, 5 Canada Square, London E14 4QJ, United Kingdom Tel: +44-(0)207-883-4497

[ m1.1b2] junit-report and jcoverage plugins don't share resources (running unit test twice)

2005-11-22 Thread Antonyan, Tigran\(GE Infrastructure\)
Hi all, I have 2 plugins enabled for unit test reports: junit-report and jcoverage, now each one of them is running unit test for itself and I was wondering if there is a way to make one of them (any one of them) to use already generated reports from other plugin and not run the test again

[m2] multiple role-hints for a plugin?

2005-11-22 Thread Wim Deblauwe
Hi, is it possible to have multiple role-hint/ tags in the components.xml of a custom plugin? I'm writing a plugin that starts an nmake script. I want this plugin to kick in for dll and for exe in my packaging/. regards, Wim

Re: [m2] multiple role-hints for a plugin?

2005-11-22 Thread Emmanuel Venisse
you need to duplicate component description in components.xml Emmanuel Wim Deblauwe a écrit : Hi, is it possible to have multiple role-hint/ tags in the components.xml of a custom plugin? I'm writing a plugin that starts an nmake script. I want this plugin to kick in for dll and for exe in

[m1.1b2] xdoc crumb separator has extra symbol ( ?)

2005-11-22 Thread Antonyan, Tigran\(GE Infrastructure\)
Hi All, I have maven.xdoc.crumb.separator=| in my project.properties file (this is the default value) and for some reason when the site is generated as a separator (on top left corner next to generated time) I have |? (without the ) like this Last published: 11/22/2005 08:11 EST |?Doc

Re: [m2] multiple role-hints for a plugin?

2005-11-22 Thread Wim Deblauwe
Thanks! 2005/11/22, Emmanuel Venisse [EMAIL PROTECTED]: you need to duplicate component description in components.xml Emmanuel Wim Deblauwe a écrit : Hi, is it possible to have multiple role-hint/ tags in the components.xmlof a custom plugin? I'm writing a plugin that starts an

Design Question

2005-11-22 Thread Gerwin Bruner
Hi, I've got a client/server app which is communicating via RMI. The application is using the spring framework. The server offers the following services/interface: Agent register(String username); void unregister(Agent agent); What is the best way to move this app over to maven? Do I build

Re: Bad link to SVN on maven.apache.org

2005-11-22 Thread Volker Hartmann
Hi Ian, try this instead: http://svn.apache.org/viewcvs.cgi/maven/plugins/trunk/maven-ejb-plugin/ Regards, Volker Vellosa wrote: Hi, I am still having a few little probelms finding out what parameters are available to me in the maven-ejb-plugin, so thought I will have to bit the bulelt and

[m2] run a bat file from within a custom plugin

2005-11-22 Thread Wim Deblauwe
Hi, I would like to run a bat file from my plugin. I know that this will make my plugin very unportable to other platforms, but I only need to run on windows. What would be the best way to do this? Since running a bat file from within a jar is not supported, I guess the best way is to extract

Setting an arbitrary property for a plugin within its configuration

2005-11-22 Thread Dietrich Schulten
Hi, I always need to run the eclipse plugin with a certain profile (some common resources must be ignored). We defined a build profile that does not define this resource and activate it using a role property on the commandline, like so: mvn eclipse:eclipse -Drole=eclipse Is it possible to

Blame mechanism

2005-11-22 Thread Dietrich Schulten
Hi, where can I find more information about continuum's blame mechanism? What exactly does it achieve and how do I have to configure it? Regards, Dietrich

Re: [m2] run a bat file from within a custom plugin

2005-11-22 Thread Emmanuel Venisse
look at release:perform goal. Emmanuel Wim Deblauwe a écrit : Hi, I would like to run a bat file from my plugin. I know that this will make my plugin very unportable to other platforms, but I only need to run on windows. What would be the best way to do this? Since running a bat file from

Re: Blame mechanism

2005-11-22 Thread Emmanuel Venisse
All blame info must appears in build result report. So you can see all changes since last update and since last successful build (with dates, modified files, authors and comments). If you don't see them, it's a bug. Emmanuel Dietrich Schulten a écrit : Hi, where can I find more information

Re: [m2] run a bat file from within a custom plugin

2005-11-22 Thread Wim Deblauwe
What do you mean? I see the use of the Commanline class, but it calls an executable that is on the PATH. I'm talking about running a bat file that is delivered with my plugin (in the plugin jar). 2005/11/22, Emmanuel Venisse [EMAIL PROTECTED]: look at release:perform goal. Emmanuel Wim

Re: [m2] run a bat file from within a custom plugin

2005-11-22 Thread Emmanuel Venisse
you need to extract your file first (perhaps with plexus-archiver) and then run your script with Commandline Wim Deblauwe a écrit : What do you mean? I see the use of the Commanline class, but it calls an executable that is on the PATH. I'm talking about running a bat file that is delivered

[M1] Maven with Websphere Application Developer anyone?

2005-11-22 Thread Weston, Toby
Hi Folks, Is anyone using Maven based structures (in particular J2EE ones like webapps) with Websphere Application Developer (WSAD) or Rational Application Developer? I was just after any horror/success stories and if you can make the project structure co-exist in harmony. Thanks in advance,

Re: Newbie: problem creating checkstyle report

2005-11-22 Thread Volker Hartmann
Hi David, I have got checkstyle working fine (sadly still without the option to specify a custom config - see http://jira.codehaus.org/browse/MNG-1113). I already know that. :-( the groupId is org.apache.maven.plugins artifactId is maven-checkstyle-plugin Which version of maven do you

[m2] How to: restrict allowed dependency versions

2005-11-22 Thread Michael Böckling
Hi people, I'd like to know if there is a way to impose restrictions on the versions of the referenced dependencies. In big companies, you often have a specific set of third party library versions that are approved for usage in company projects, and other versions are not allowed. More often

Re: [m2] run a bat file from within a custom plugin

2005-11-22 Thread Chris Berry
Hi Wim, I had to do something like this as well w/ the antrun Plugin. Ant expects to find a real File for build.xml, and won't extract it from JAR. So I simply used Ant to do all the work. You can ignore the part where I build the ant task. The pertinent part is shown below. BTW. you could even

[m2] fork to run junit tests

2005-11-22 Thread Patrick O'shea
Hi, Is it possible to fork to run the junit tests ? I'm using external code that is called when the forked jvm exits after the tests are run. thanks in advance Patrick

Re: Bad link to SVN on maven.apache.org

2005-11-22 Thread Lukas Theussl
Hi Ian, You are accessing a deprecated page, the whole m1 site has moved to http://maven.apache.org/maven-1.x/ the page that you want is here: http://maven.apache.org/maven-1.x/reference/plugins/ejb/cvs-usage.html I hope that some one here cares ;-) I am sure a lot of people care, there

repositories mirror (where are they located ?)

2005-11-22 Thread Olivier Lamy
Hi all, I have a lot of time out with the default repository http://www.ibiblio.org/maven2. Questions : - Is there any way to define time out value ? - where are located the mirrors (maven2 mirror) ? Thanks, - Olivier This e-mail, any attachments and the information contained therein (this

[m2] surefire not honoring excludes

2005-11-22 Thread Paul Spencer
The surefire plugin is not honoring the excludes plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-surefire-plugin/artifactId configuration forktrue/fork includes include**/*TestCase.java/include /includes

Re: repositories mirror (where are they located ?)

2005-11-22 Thread Michael Böckling
Hi Olivier, they are well hidden somewhere on the ibiblio page, if you're bored you can try to find them. These work for me, i'll paste you the contents of my settings.xml for convenience: mirrors mirror idmirrors.dotsrc.org/id nameMirror of http://repo1.maven.org/maven2//name

[m2] How to set a Mojo property from settings.xml

2005-11-22 Thread David Jackman
One of the properties for a Mojo I'm writing is really a user-specific thing, and ought to be set in each user's settings.xml file. The guide for configuring plugins only talks about setting configuration properties in pom.xml, but not how to reference values set in settings.xml. How do I do

Re: Newbie Multiproject question

2005-11-22 Thread Lukas Theussl
Hi Weston, The maven.multiproject.includes is constructed relative to maven.multiproject.basedir (which defaults to ${basedir}), so in your example, ${basedir} is prepended twice. -Lukas Weston, Toby wrote: Thanks for the tip Michael, that seems to work great! Out of interest, I tried the

Re: [m2] surefire not honoring excludes

2005-11-22 Thread Jesse McConnell
I was just poking through this code...and it was excluding all the right stuff for me :/ so for this setup below, you want all test cases that end in TestCase.javaexcept for those in the com/foo/util directory...right? and this is in src/test/java... this doesn't add to the existing patterns to

Re: Repost: [1.1b1] timestamps in Simian and Checkstyle reports

2005-11-22 Thread Carlos Sanchez
You can get timestamps for the whole site, take a look at the xdoc plugin properties On 11/22/05, Gisbert Amm [EMAIL PROTECTED] wrote: I made this posting last friday but did not get any reply so far. Therefore the repost. Is it possible to get timestamps in Simian and Checkstyle reports

Re: [m2] surefire not honoring excludes

2005-11-22 Thread Paul Spencer
I should further clarify not honoring the excludes. My expectation was the exclusion applied to the compiler and test runner. It appear to apply to only the test runner. So, is it correct the excluded test are compiled and not run? Is their a way to prevent a the compilation? Paul Spencer

Re: Unable to generate Maven 1.0.2 ChangeLog reports

2005-11-22 Thread Lukas Theussl
Make sure the developer id's in your project.xml match those of the repository user name. The id needs to contain the id that is used in your source version control. -Lukas Chawla, Sampreet Kaur (Cognizant) wrote: Hi Arnaud Everybody, I am able to generate the ChangeLog,

Re: optional ant replaceregexp task

2005-11-22 Thread Nathan Coast
Thanks Brett, I found the jdk1.4 regexp task in ant-nodeps-1.6.5.jar this worked when I placed it in the root classloader Strangely, I tried placing the ant-oro and oro jars in the root classloader, maven still didn't pick up the oro regexp task. Gave up digging, jdk-1.4-regexp works for me

Re: [M1] Maven with Websphere Application Developer anyone?

2005-11-22 Thread Lee Meador
I worked on a project last year that was using WSAD 5.1.2 with version 1 of Maven. It worked ok but we didn't get everything we wanted. My memory is fuzzy and I don't have access to the project files any more. 1) We could use WSAD with the folder structure Maven wants just fine. 2) We had a

RE: m1.1b2 junit-report and jcoverage plugins don't share resources (running unit test twice)

2005-11-22 Thread Arnaud HERITIER
You can open an issue on the jcoverage plugin. You can also take a look at the cobertura plugin on sourceforge to see if it doesn't provide such a setting. Arnaud -Message d'origine- De : Antonyan, Tigran(GE Infrastructure) [mailto:[EMAIL PROTECTED] Envoyé : lundi 21 novembre

RE: Repost: [1.1b1] timestamps in Simian and Checkstyle reports

2005-11-22 Thread Arnaud HERITIER
I think not. There's only the date/time when the site is generated (if you do it just after the report). Arnaud -Message d'origine- De : Gisbert Amm [mailto:[EMAIL PROTECTED] Envoyé : mardi 22 novembre 2005 09:46 À : Maven Users List Objet : Repost: [1.1b1] timestamps in Simian

RE: m1.1b2 junit-report and jcoverage plugins don't share resources (running unit test twice)

2005-11-22 Thread Antonyan, Tigran\(GE Infrastructure\)
Unfortunately cobertura doesn't have that kind of plugin either, also its not supported for dashboard plugin (jcoverage is), which I use for multiproject site. -Tigran -Original Message- From: Arnaud HERITIER [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 22, 2005 4:29 PM To: 'Maven

RE: [m1.1b2] xdoc crumb separator has extra symbol ( ?)

2005-11-22 Thread Antonyan, Tigran\(GE Infrastructure\)
Thanks a lot Lukas, that was an encoding (browser encoding was set up wrong) problem. Thank you for your respond! -Tigran -Original Message- From: Lukas Theussl [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 22, 2005 5:09 PM To: Maven Users List Subject: Re: [m1.1b2] xdoc crumb

[M2] assembly plugin - best practices and concepts - questions OR how do i move files around using maven2

2005-11-22 Thread Ruel Loehr
I've setup a multiproj build using maven2 which covers a subset of my project. (I'm basically doing a proof of concept type thing). The portion I now need to explore is building my distribution. I've ran into a few questions here which I can't find in the documentation or the mailing lists.

RE: [m1.1b2] xdoc crumb separator has extra symbol ( ?)

2005-11-22 Thread Antonyan, Tigran\(GE Infrastructure\)
I just changed my browser encoding(was on auto select) and it is fine now, however I looked at html source and there is no encoding attribute defined, it probably will be a good idea to define this... Once again thank you for your respond -Tigran -Original Message- From: Arnaud HERITIER

RE: m1.1b2 junit-report and jcoverage plugins don't share resources (running unit test twice)

2005-11-22 Thread Arnaud HERITIER
Thus the better choice is to open an issue. We'll fix it ASAP. It's quite simple to do. Arnaud -Message d'origine- De : Antonyan, Tigran(GE Infrastructure) [mailto:[EMAIL PROTECTED] Envoyé : mardi 22 novembre 2005 23:12 À : Maven Users List Objet : RE: m1.1b2 junit-report and

[m2] Status of forking in surefire plugin

2005-11-22 Thread David Jackman
What's the latest status for forking support in the surefire plugin? A few of the projects I'm migrating to M2 use JNI to talk to Windows DLLs, and I need to fork the tests to make sure the test process can find the DLLs. Is support going to be available soon or is there another solution

Re: [m2] surefire not honoring excludes

2005-11-22 Thread Brett Porter
I've noticed this recently too. You can exclude sources from compilation in the compiler plugin (check the compiler plugin reference for the configuration item name). Cheers, Brett On 11/23/05, Paul Spencer [EMAIL PROTECTED] wrote: I should further clarify not honoring the excludes. My

[maven1] apt-doc goal flattens directory structure, alternative plugins available?

2005-11-22 Thread Corey Klaasmeyer
I'm using apt formatted documentation in my project with the aptdoc goal on sourceforge. Unfortunately, the apt:generate goal flattens the directory structure in maven.aptdoc.src.dir when it does it's conversion. Is there an alternative to the sourceforge aptdoc plugin for maven 1? If not, can

Application packaging in Maven 2

2005-11-22 Thread Duane Homick
Im having trouble understanding how to package an application we have and am looking for some guidance on how to do this. The application is essentially a JMS test client that has some third party dependencies. These dependencies are defined in the pom.xml and available in the local

[Fwd: Re: [m2] RAR plugin]

2005-11-22 Thread Henry Isidro
Stephane Nicoll wrote: Well it should. Could you please show your POM and the structure of your project please? Thx, Stéphane On 11/21/05, Henry Isidro [EMAIL PROTECTED] wrote: I'm using the RAR plugin and I found out that it does not create a JAR file to include in the package. So, I

Re: Build Error while creating project

2005-11-22 Thread Brett Porter
This is a different error you are getting: Cannot find Plexus container for plugin: Can you run with -e as suggested to see if it provides more information? - Brett On 11/23/05, Mordo, Aviran (EXP N-NANNATEK) [EMAIL PROTECTED] wrote: I tried running mvn archetype:create -DgroupId=com.company

Re: Bad link to SVN on maven.apache.org

2005-11-22 Thread Brett Porter
On 11/23/05, Lukas Theussl [EMAIL PROTECTED] wrote: Hi Ian, You are accessing a deprecated page, the whole m1 site has moved to http://maven.apache.org/maven-1.x/ the page that you want is here: http://maven.apache.org/maven-1.x/reference/plugins/ejb/cvs-usage.html It's not the same

RE: [M2]How to use filtering with build profiles?

2005-11-22 Thread Dennis Ho
Thanks Greg, I tried your solution but I am still having problems, the properties file just got copied over without any filtering. I then changed my pom to: : resources resource directorysrc/main/resources/directory filteringtrue/filtering /resource /resources filters

Re: [M2]How to use filtering with build profiles?

2005-11-22 Thread Brett Porter
I think there is a confusing aspect that we may not have resolved and did intend to fix: resources are not inherited. Given that, I think that the profile may not be inheriting the resources. I'd have to look back if we fixed it already, but does it work if you include the whole section ithe

RE: [M2]How to use filtering with build profiles?

2005-11-22 Thread Dennis Ho
Hi Brett, I actually commented out all my profiles and it still didn't work. The following are the debug log, do I have an old version of plugin? [DEBUG] commons-io:commons-io:jar:1.0 (selected for runtime) [DEBUG] Configuring mojo

Re: Bad link to SVN on maven.apache.org

2005-11-22 Thread Lukas Theussl
It's not the same issue. The docs for the m2 plugins have not been updated to reflect the SVN move, which is what was referred to. You're right, sorry about the mix-up. But it just underscores the point even more - not only our users are confused by all the ancient documentation sites that

Re: [M2]How to use filtering with build profiles?

2005-11-22 Thread Brett Porter
Yes, you should be using 2.0. mvn -U process-resources will automatically update it (assuming you are using Maven 2.0 itself?) - Brett On 11/23/05, Dennis Ho [EMAIL PROTECTED] wrote: Hi Brett, I actually commented out all my profiles and it still didn't work. The following are the

RE: [M2]How to use filtering with build profiles?

2005-11-22 Thread Dennis Ho
Thanks, it works now. And Greg's method also works. I was playing with m2 beta a couple of months back so I have all the old plug-ins. In general, is it recommended to run mvn -U periodically to get the latest plug-ins? Dennis. -Original Message- From: Brett Porter [mailto:[EMAIL

Re: [m2] How to set a Mojo property from settings.xml

2005-11-22 Thread Odea Ching
Hi David, Check out this url from the Maven documentation for setting the configuration in the settings.xml file: http://maven.apache.org/guides/introduction/introduction-to-profiles.html Regards, Deng David Jackman wrote: One of the properties for a Mojo I'm writing is really a

Re: Application packaging in Maven 2

2005-11-22 Thread dan tran
1 you can use maven-asssembly-plugin to unpack all your dependency jars and repackage them into one big jar files. 2. your can cookup a plugin which depends on those jars which you are going to place on a internal remote repository this way you can run your app any where you like. Just need

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

2005-11-22 Thread Peter A. Pilgrim
Brett Porter wrote: Odd... can you edit the BootstrapInstaller.java and add -X as an optional in runMaven() ? I'd like to know what the plexus dependencies are when these tests are run. - Brett On 11/22/05, Peter A. Pilgrim [EMAIL PROTECTED] wrote: Unfortunately I am still getting this

Re: [m2] surefire not honoring excludes

2005-11-22 Thread Paul Spencer
Jesse, I was trying to use excludes to exclude tests from compiling when converting my project from m1 to m2. The excludes only affect what is executed, not compiled. Paul Spencer Jesse McConnell wrote: I was just poking through this code...and it was excluding all the right stuff for me

Re: [m2] fork to run junit tests

2005-11-22 Thread Paul Spencer
Patrick, See the following post. http://www.mail-archive.com/users@maven.apache.org/msg28712.html Paul Spencer Patrick O'shea wrote: Hi, Is it possible to fork to run the junit tests ? I'm using external code that is called when the forked jvm exits after the tests are run. thanks in

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

2005-11-22 Thread Brett Porter
The output of the maven-core part of the build Cheers, Brett On 11/23/05, Peter A. Pilgrim [EMAIL PROTECTED] wrote: Brett Porter wrote: Odd... can you edit the BootstrapInstaller.java and add -X as an optional in runMaven() ? I'd like to know what the plexus dependencies are when

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

2005-11-22 Thread Peter A. Pilgrim
Pilgrim, Peter wrote: -Original Message- From: Brett Porter [mailto:[EMAIL PROTECTED] ==== Odd... can you edit the BootstrapInstaller.java and add -X as an optional in runMaven() ? I'd like to know what the plexus dependencies are when these tests are run. - Brett I will

Re: [m2] surefire not honoring excludes

2005-11-22 Thread Paul Spencer
Brett, 1) The current behavior allows abstract test classes to be compiled but NOT executed, which is good. I currently use this functionality on other projects. 2) The exclude list form the compiler plugin is not honored by the surefire plugin relative compilation of the test source.

release:prepare optional build step

2005-11-22 Thread dan tran
Hello, At my shop, we do daily realease using maven-release-plugin. Currently maven makesure the source is buildable before perform the label. Then at the perform step, maven builds again. Is it reasonable to have maven skips the build at prepare step. This way we can cut down the build time ( in

Re: [m2] surefire not honoring excludes

2005-11-22 Thread Brett Porter
On 11/23/05, Paul Spencer [EMAIL PROTECTED] wrote: Brett, 1) The current behavior allows abstract test classes to be compiled but NOT executed, which is good. I currently use this functionality on other projects. ok, so that's a reason to keep it as is with both configurations. 2)

[m2] Moving versions from project.xml to pom.xml

2005-11-22 Thread Paul Spencer
I am starting the process of converting projects from m1 to m2. My m1 projects have a lot of historical information in the versions tag of project.xml that I would like to preserve. My question is, where is the version history maintained in m2? Paul Spencer

The POM for commons-discovery v0.2 is missing scopetest/scope for the junit dependency.

2005-11-22 Thread Paul Spencer
The POM for commons-discovery v0.2 is missing scopetest/scope for the junit dependency. http://www.ibiblio.org/maven2/commons-discovery/commons-discovery/0.2/commons-discovery-0.2.pom I am not sure where to report this. Paul Spencer

Re: The POM for commons-discovery v0.2 is missing scopetest/scope for the junit dependency.

2005-11-22 Thread Carlos Sanchez
http://maven.apache.org/guides/mini/guide-maven-evangelism.html On 11/22/05, Paul Spencer [EMAIL PROTECTED] wrote: The POM for commons-discovery v0.2 is missing scopetest/scope for the junit dependency.

Re: The POM for commons-discovery v0.2 is missing scopetest/scope for the junit dependency.

2005-11-22 Thread Dion Gillard
Since the commons-discovery team didn't create the .pom file, it needs to be filed against M2. I've updated the M1 project.xml to have properties[scope] = test for junit. On 11/23/05, Paul Spencer [EMAIL PROTECTED] wrote: The POM for commons-discovery v0.2 is missing scopetest/scope for the

Re: [m2] Moving versions from project.xml to pom.xml

2005-11-22 Thread Brett Porter
In the repository - there is no direct conversion here, but it could be constructed. - Brett On 11/23/05, Paul Spencer [EMAIL PROTECTED] wrote: I am starting the process of converting projects from m1 to m2. My m1 projects have a lot of historical information in the versions tag of

  1   2   >