Re: Continuum 1.1.0-beta-2 UI performance

2007-09-11 Thread Damien Lecan
I could activate some special debug log or anything else which could help ? you can set the log level of JPOX* and SQL to DEBUG in apps/continuum/webapp/WEB-INF/classes/META-INF/plexus/application.xml I did that. I load page Project Group Summary of a 17 module project. For a request that

Re: Can`t connect to CVS on sourceforge

2007-09-11 Thread Emmanuel Venisse
no, I don't have infos that I need. I need lines between NFO | jvm 1| 2007/09/11 13:02:38 | 2007-09-11 13:02:38,359 [pool-1-thread-1] INFO ContinuumScm:default - Checking out project: 'bugHunt', id: '1' to

Re: Continuum 1.1.0-beta-2 UI performance

2007-09-11 Thread Emmanuel Venisse
for http://maven.zones.apache.org/continuum/projectGroupSummary.action?projectGroupId=9 we have 30 modules printed in 7,5s and the page size is 101ko We use the standalone version installed in a vm. Emmanuel Damien Lecan a écrit : 2007/9/11, Emmanuel Venisse [EMAIL PROTECTED]: I don't

RE: Is there a property for parent directory?

2007-09-11 Thread Huang, Yan
I have a tools directory under parent and the children projects need to invoke commands under tools during the phase of code generation. I want to provide an absolute path to that ${parent}/tools so that each child can invoke from there. Or is there other better way to solve it? is there really

How to run a batch file or shell script from maven

2007-09-11 Thread Hussein Badakhchani
Hello, Can anyone tell me how to run a batch file or shell script from maven? Thanks, Hoos -- Hussein Badakhchani Xenith Consulting Limited Blog: http://dev2dev.bea.com/blog/hoos/ - To unsubscribe, e-mail: [EMAIL

Maven Antrun Plugin - specific target call

2007-09-11 Thread Ritz, Martin
Hi, I have some ant targets integrated in my pom.xml. I declared an ant build script which is therefor called from maven. Now I dont want to perform every ant target on every build. Is there a way to call only specific ant-targets from the command line (maybe by calling the target or the id)?

Re: How to run a batch file or shell script from maven

2007-09-11 Thread Hussein Badakhchani
Thanks for the quick response. Hello, Can anyone tell me how to run a batch file or shell script from maven? Look at this plugin : http://mojo.codehaus.org/exec-maven-plugin Damien - To unsubscribe, e-mail: [EMAIL

Re: How to run a batch file or shell script from maven

2007-09-11 Thread Damien Lecan
Hello, Can anyone tell me how to run a batch file or shell script from maven? Look at this plugin : http://mojo.codehaus.org/exec-maven-plugin Damien - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Re: The specified resource isn't a file or the protocol used isn't allowed.

2007-09-11 Thread Emmanuel Venisse
Hi Graham, Can you turn on debug logs to see if more informations are available? Emmanuel Graham Leggett a écrit : Hi all, While trying to install Continuum v1.1 beta 2 from scratch on a Windows machine, I have managed to get it started up and working, and am trying to enter the first set of

Dependency scope

2007-09-11 Thread Martin Gilday
Is there a dependency scope which makes an artifact available for compilation of src/main/java and also on the test classpath, but not included in the resulting WAR? I have tried provided which makes sense in excluding it from the WAR but then it is not available to my tests. The only solution I

Re: Continuum 1.1.0-beta-2 UI performance

2007-09-11 Thread Damien Lecan
2007/9/10, Emmanuel Venisse [EMAIL PROTECTED]: Continuum can't be compared to Archiva because in Continuum pages we have lot of db queries. This server is also running Jira (same local MySql server, same Tomcat instance), without a such slowness. Are you interested in knowing what's happening

Re: Continuum 1.1.0-beta-2 UI performance

2007-09-11 Thread Emmanuel Venisse
Damien Lecan a écrit : 2007/9/10, Emmanuel Venisse [EMAIL PROTECTED]: Continuum can't be compared to Archiva because in Continuum pages we have lot of db queries. This server is also running Jira (same local MySql server, same Tomcat instance), without a such slowness. Are you interested in

Re: Can`t connect to CVS on sourceforge

2007-09-11 Thread Emmanuel Venisse
Can you set the log level of org.apache.maven.scm to DEBUG? I'd like to know what is the command and the error. Emmanuel Leonardo Borges Barbosa a écrit : Guys, I am probably missing something, but after some searching, I couldn`t find what it is. Any help would be apreciated. This is the

Re: Dependency scope

2007-09-11 Thread Antonio Petrelli
2007/9/11, Martin Gilday [EMAIL PROTECTED]: Is there a dependency scope which makes an artifact available for compilation of src/main/java and also on the test classpath, but not included in the resulting WAR? I have tried provided which makes sense in excluding it from the WAR but then it

Re: Dependency scope

2007-09-11 Thread Martin Gilday
Hi Antonio, Thanks for the link. That lead me on to http://maven.apache.org/plugins/maven-war-plugin/examples/skinny-wars.html So I added a block like so: plugin artifactIdmaven-war-plugin/artifactId configuration warSourceExcludesWEB-INF/lib/MyLib*.jar/warSourceExcludes

Re: Dependency scope

2007-09-11 Thread Antonio Petrelli
2007/9/11, Martin Gilday [EMAIL PROTECTED]: I have tried provided which makes sense in excluding it from the WAR but then it is not available to my tests. On second thought, are you sure of what you say? I wrote JUnit tests referring to provided-scoped libraries (like javax.servlet.*). Antonio

Re: Dependency scope

2007-09-11 Thread Martin Gilday
I think what you say is correct. I think my problem is really to do with the Jetty plugin. I think by saying test I may have misled. My situation simplified is this. dataTier has a dependency on Hibernate. This is a dependency of webApp. dataTier is going to be placed in the app servers lib

Re: Dependency scope

2007-09-11 Thread Antonio Petrelli
2007/9/11, Martin Gilday [EMAIL PROTECTED]: I think what you say is correct. I think my problem is really to do with the Jetty plugin. I think by saying test I may have misled. My situation simplified is this. dataTier has a dependency on Hibernate. This is a dependency of webApp.

Re: Dependency scope

2007-09-11 Thread Martin Gilday
I think in a way you did answer it, in that there probably isn't an easier way than by profiles. It does work it just seems to result in a lot of duplication in my POM. Here is a (very) cut down version of what I mean: project properties version.dataTier2.4-SNAPSHOT/version.dataTier

target discrepancy with Mavenide NetBeans plugin

2007-09-11 Thread John Coleman
I'm trying to run my project using the Mavenide for NetBeans. I notice that the NB run setup creates a profile in pom.xml, but when you run it in NB, it expects the artefact in a project subdirectoy of target/executable-netbeans, so the execution fails. But the default location for the

Re: Release-plugin 'add-on'

2007-09-11 Thread Roland Asmann
I'd like to help out in any way I can. Should I contact one of you personally as well, or will this mail suffice? On Tuesday 11 September 2007 00:02, Brett Porter wrote: We have had requests for the ability to do this easily, but there is nothing at the moment. If you are interested in

Re: maven2 plugin

2007-09-11 Thread Roy van der Kuil
On 9/11/07, Roy van der Kuil [EMAIL PROTECTED] wrote: Hi, For internal use at our company I have written a small maven plugin that uses a configuration similar to: pom blablabla configuration myobjects myobject namea_name/name type

Re: Is there a property for parent directory?

2007-09-11 Thread Roland Asmann
Yes there is: ${parent.basedir} should be the one you need Be carefull though, if your child-project are deeper than one level, you should use ${parent.parent.basedir} (and so on). Isn't it possible for you to make a dependency of some kind to the tools-project? Or build your tools as

maven2 plugin

2007-09-11 Thread Roy van der Kuil
Hi, For internal use at our company I have written a small maven plugin that uses a configuration similar to: pom blablabla configuration myobjects myobject namea_name/name type namea_type/name /type /myobject myobject

Re: Is there a property for parent directory?

2007-09-11 Thread robert . egan
Is this ${parent} property generally available, i.e. ${parent.artifactId}, etc It would help me refactor a number of places where I use something similar to this in a parent POM properties super.artifactId${artifactId}super.artifactId /properties Roland Asmann [EMAIL PROTECTED]

Re: Is there a property for parent directory?

2007-09-11 Thread Roland Asmann
Yes it is. ${parent} gives you a 'pom', on which you can access all properties that you can access directly (e.g. 'groupId', 'artifactId', 'version', 'packaging'). On Tuesday 11 September 2007 13:17, [EMAIL PROTECTED] wrote: Is this ${parent} property generally available, i.e.

RE: Re: Maven plugin for Eclipse

2007-09-11 Thread Eric Wood
How do you download the Q4E plug-in? The link below says that no download are avilable. Eric -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Carlos Sanchez Sent: Monday, September 10, 2007 1:15 PM To: Maven Users List Subject: Re: Re: Maven plugin for

Re: target discrepancy with Mavenide NetBeans plugin

2007-09-11 Thread Milos Kleint
John Coleman wrote: I'm trying to run my project using the Mavenide for NetBeans. I notice that the NB run setup creates a profile in pom.xml, but when you run it in NB, it expects the artefact in a project subdirectoy of target/executable-netbeans, so the execution fails. But the

Re: Dependency scope

2007-09-11 Thread Martin Gilday
I patched the Jetty plugin to allow provided scope dependencies which seems to solve all my duplication issues. I've created a JIRA patch here http://jira.codehaus.org/browse/JETTY-429 - Original message - From: Martin Gilday [EMAIL PROTECTED] To: Maven Users List users@maven.apache.org

RE: Re: Maven plugin for Eclipse

2007-09-11 Thread Hayes, Peter
http://code.google.com/p/q4e/wiki/Installation -Original Message- From: Eric Wood [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 11, 2007 8:01 AM To: Maven Users List Subject: RE: Re: Maven plugin for Eclipse How do you download the Q4E plug-in? The link below says that no download

problem with custom check in checkstyle plugin

2007-09-11 Thread Michael Fortin
Hello. I've been trying to get a custom check installed and can't get it run. I've followed the directions from the maven site almost to the letter but it keeps failing on the packagenames.xml. If I take my custom check out of the checkstyle.xml it still fails but on another check. It seems

RE: target discrepancy with Mavenide NetBeans plugin

2007-09-11 Thread John Coleman
Hi, Yes I have seen that bug before, but in this case there is no .dir in the netbeans folder. Is this really related, and fixed? TIA John -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 11 September 2007 13:15 To: Maven Users List Subject: Re: target

Re: target discrepancy with Mavenide NetBeans plugin

2007-09-11 Thread Milos Kleint
what version of netbeans are you running on? Can you confirm that the assembly-plugin executes as part of the build? Milos On 9/11/07, John Coleman [EMAIL PROTECTED] wrote: Hi, Yes I have seen that bug before, but in this case there is no .dir in the netbeans folder. Is this really

RE: target discrepancy with Mavenide NetBeans plugin

2007-09-11 Thread John Coleman
Hi Milos, I am still on 5.5 - now I look at the log again, perhaps this is the JIRA issue you mentioned afterall. I may get hold of the latest NB just to try it and see. John -Original Message- From: Milos Kleint [mailto:[EMAIL PROTECTED] Sent: 11 September 2007 14:22 To: Maven Users

Re: target discrepancy with Mavenide NetBeans plugin

2007-09-11 Thread Milos Kleint
John Coleman wrote: Hi Milos, I am still on 5.5 - now I look at the log again, perhaps this is the JIRA issue you mentioned afterall. I may get hold of the latest NB just to try it and see. please check the issue or some other that this one links to. it shows a workaround with explicitly

Re: Can`t connect to CVS on sourceforge

2007-09-11 Thread Leonardo Borges Barbosa
Hi Emmanuel, Thanks for the answer. Can you point out how I can set the log level as you mentioned? I'm not familiar with Continuum config and haven't found anything at the docs. Thanks On 9/11/07, Emmanuel Venisse [EMAIL PROTECTED] wrote: Can you set the log level of org.apache.maven.scm to

Re: Maven Antrun Plugin - specific target call

2007-09-11 Thread Wayne Fay
Profiles will solve your problem. Wayne On 9/11/07, Ritz, Martin [EMAIL PROTECTED] wrote: Hi, I have some ant targets integrated in my pom.xml. I declared an ant build script which is therefor called from maven. Now I dont want to perform every ant target on every build. Is there a way to

NoClassDeFoundError running unit test

2007-09-11 Thread GAMBELLI Raffaele
I'm using Maven 2.0.7 I have two project, let's call them A and B. A has only external dependencies. B has external dependencies, but is also dependent on project A. Project B uses a class from Project A in a unit test. Running either mvn test or mvn package from the project B level results

Re: Re: Maven Antrun Plugin - specific target call

2007-09-11 Thread Ritz, Martin
I have already two profiles... I dont want to blow up my pom too much! Is there no other easier way to call specific targets? Martin Profiles will solve your problem. Wayne On 9/11/07, Ritz, Martin [EMAIL PROTECTED] wrote: Hi, I have some ant targets integrated in my pom.xml. I

Re: Re: Maven Antrun Plugin - specific target call

2007-09-11 Thread Wayne Fay
I would just move those targets out to a build.xml file so you can call them directly with Ant. Then set Maven up so it calls the targets in the build.xml file rather than embedding the Ant stuff in your pom. Wayne On 9/11/07, Ritz, Martin [EMAIL PROTECTED] wrote: I have already two

Re: Can`t connect to CVS on sourceforge

2007-09-11 Thread Emmanuel Venisse
in Continuum 1.1, it is in apps/continuum/webapp/WEB-INF/classes/META-INF/plexus/application.xml Leonardo Borges Barbosa a écrit : Hi Emmanuel, Thanks for the answer. Can you point out how I can set the log level as you mentioned? I'm not familiar with Continuum config and haven't found

Re: NoClassDeFoundError running unit test

2007-09-11 Thread Jim Sellers
Project B uses a class from Project A in a unit test. Where is this class in Project A? Is it in src/main/java or src/test/java? If it's in src/test/java you'll have to create a test jar: http://maven.apache.org/guides/mini/guide-attached-tests.html What is the scope of the dependency from

Re: FW: Using Proximity Corporate Repository doesnt download plugins/dependencies

2007-09-11 Thread Heinrich Nirschl
If you use the standard configuration, the url for the central mirror should be urlhttp://somednsname:8080/px-webapp/repository/public/url instead of urlhttp://somednsname:8080/px-webapp/repository/inhouse/url Hope that helps, - Henry On 9/11/07, Wayne Fay [EMAIL PROTECTED] wrote: Perhaps

RE: NoClassDeFoundError running unit test

2007-09-11 Thread Iker Almandoz
Is your dependent class a 'test' class in project A or a 'main' class in project A ? In eclipse, are you importing project A or you have used 'mvn eclipse:eclipse' to generate your dependencies? Eclipse does not distinguish between test classpath and compile classpath so that could be part of

Re: Continuum 1.1.0-beta-2 UI performance

2007-09-11 Thread Emmanuel Venisse
I don't understand why it is so slow to render the project list because the rendering start with this line: 00:00:03,452 [http-8081-Processor11] DEBUG ServletDispatcherResult- Forwarding to location /WEB-INF/jsp/components/projectSummaryComponent.jsp and end with this line:

Search email archive for configuration error on windows

2007-09-11 Thread Eric Wood
Is there a way to search the email archive? I'm having issues setting up maven on windows. I set it up fine on AIX and it is running fine there, but I'm getting an error message on windows that seems to indicate the my proxy isn't set up properly, but I pretty sure that it is fine. I'm using

Re: Problem with site generation i18n

2007-09-11 Thread Hervé BOUTEMY
Hello, I suppose it's the same problem as http://jira.codehaus.org/browse/MPIR-59. It has been fixed in svn but not released yet. regards, Hervé Le dimanche 9 septembre 2007, Insitu a écrit : Hello, I ran recently into a strange problem with site generation. When I add the locale fr, maven

outputFileNameMapping on WAR module

2007-09-11 Thread Christopher Moesel
Hello, I would like to have maven copy all of my dependencies to my web-inf/lib in the ${artifactId}.${extension} style instead of the default style (which includes version numbers in the name). I've seen that MWAR-93 [1] addresses this problem and the fix is in the war plugin v. 2.0.3.

Re: Problem with site generation i18n

2007-09-11 Thread Insitu
Thanks for the pointer. I thought this had something to do with the site plugin instead. regards, -- OQube software engineering \ génie logiciel Arnaud Bailly, Dr. \web http://www.oqube.com - To unsubscribe, e-mail: [EMAIL

Re: Search email archive for configuration error on windows

2007-09-11 Thread Wayne Fay
Try adding -U to your Maven execution ie mvn -U compile to force an update of your plugins. Wayne On 9/11/07, Eric Wood [EMAIL PROTECTED] wrote: Is there a way to search the email archive? I'm having issues setting up maven on windows. I set it up fine on AIX and it is running fine there,

RE: Is there a property for parent directory?

2007-09-11 Thread Huang, Yan
${parent.basedir} is not working for me ... I used antrun to try to echo it out and it seems that it's not defined .. -Original Message- From: Roland Asmann [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 11, 2007 3:50 AM To: Maven Users List Subject: Re: Is there a property for

RE: FW: Using Proximity Corporate Repository doesnt download plugins/dependencies

2007-09-11 Thread Sonar, Nishant
Thanks to Henry, Tamás I have figured out the problem , the reason was I need to block the internet acces by disabling any proxy setting (in settings.xml), and mirror the 'central' to http://somednsname:8080/px-webapp/repository/inhouse. Also I need to be very much clear on the

Maven 2 : Jar with included Jar dependencies

2007-09-11 Thread zm
Hi, I'm trying to create a jar using Maven 2, but I'm not getting what I whant to ... I have a jar project (main.jar) that depends on another jar (common.jar). My poms are working correctly, but I need to create a self dependant main.jar. That is, I need main.jar to include the common.jar, and

Re: FW: Using Proximity Corporate Repository doesnt download plugins/dependencies

2007-09-11 Thread Tamás Cservenák
well, what is your config actually? As Heinrich said, the inhouse repo group is (in default config) not proxying the central! Did you change Proximity settings or using just the default out-of-the-box? I'm happy it works, but does it do what you think? :) ~t~ On 9/11/07, Sonar, Nishant [EMAIL

Re: outputFileNameMapping on WAR module

2007-09-11 Thread Stephane Nicoll
Hi, The plugin has switched to 2.1-alpha-1-SNAPSHOT since we've made a big big refactoring to support new cool features such as overlays handling. I never had this problem so far; pease create a pom to reproduce the issue with public artifacts and create an issue in the war project. Regards,

Re: outputFileNameMapping on WAR module

2007-09-11 Thread CMoesel
Thanks for the reply, Stephane. I've created a bug with an attached example: http://jira.codehaus.org/browse/MWAR-116 -Chris Stephane Nicoll-2 wrote: Hi, The plugin has switched to 2.1-alpha-1-SNAPSHOT since we've made a big big refactoring to support new cool features such as

Re: Maven 2 : Jar with included Jar dependencies

2007-09-11 Thread Arnaud HERITIER
In maven 2 you can create an all-in-one jar with the assembly plugin http://maven.apache.org/plugins/maven-assembly-plugin/descriptor-refs.html#jar-with-dependencies Arnaud On 11/09/2007, zm [EMAIL PROTECTED] wrote: Hi, I'm trying to create a jar using Maven 2, but I'm not getting what I

Re: Re: Maven Antrun Plugin - specific target call

2007-09-11 Thread Dave Feltenberger
Can't you just pass in a -D argument and execute the argument that's passed in? e.g. mvn install -DantTarget=targetToCall then in the antrun execution: ant antfile=src/main/ant-builds/buildJnlps.xml target=${antTarget} / On 9/11/07, Wayne Fay [EMAIL PROTECTED] wrote: I would just move

Re: Re: Maven Antrun Plugin - specific target call

2007-09-11 Thread Wayne Fay
That just sounds more complicated than it needs to be. Calling Maven just so it will call Ant for me is too indirect when I can just call Ant directly, right? What's the advantage when it works fine with ant target and I have no interest in utilizing the Maven lifecycle for this particular Ant

Re: Error in running mvn

2007-09-11 Thread sateesh
Hi, In the recent version (2.0.7) the boot directory is not in core. I just created the core directory and placed the boot inside it and everything works fine now.. Regards Sateesh Sebastien Arbogast wrote: My mistake. I just realized that I installed maven in

Re: Re: Maven Antrun Plugin - specific target call

2007-09-11 Thread Dave Feltenberger
Because ant can inherit the classpaths/dependencies. Presumably he *is* utilizing the lifecycle, and attaching this ant config to one of the phases, but has a need to call specific ant tasks only sometimes. Was there something I missed that made you think he was calling maven only to call ant,

Re: Re: Maven Antrun Plugin - specific target call

2007-09-11 Thread Wayne Fay
Until the OP responds, we'll never know the answer. We're both making assumptions here. Wayne On 9/11/07, Dave Feltenberger [EMAIL PROTECTED] wrote: Because ant can inherit the classpaths/dependencies. Presumably he *is* utilizing the lifecycle, and attaching this ant config to one of the