Re: [c 1.1] issues with adding build definition....

2008-02-01 Thread Mick Knutson
What does this mean: *2806710 [pool-1-thread-1] INFO org.codehaus.plexus.notification.notifier.Notifier:mail - Same state, not sending message. * On Feb 1, 2008 4:05 PM, Mick Knutson [EMAIL PROTECTED] wrote: *The build ran successfully, but there was NOT an email sent. here is the the

maven-eclipse-plugin with multi-module projects

2008-02-01 Thread Martin Höller
Hi all! I have an issue with the m-eclipse-p and a multi-module prject. The scenario is as follows: Parent Project P | +-- Project A | `- Project B B has a dependency on A (B requires A). A user with an empty local repository cannot checkout the whole project and run 'mvn eclipse:eclipse'

Count line of code

2008-02-01 Thread Thomas Tardy
Hi all, is there a convenient way to count the line of codes during the maven build? Kind Regards, Thomas

RE: Count line of code

2008-02-01 Thread nicklist
Yes, there is. Take a look at the StatSCM Maven Plugin [1]. Hth, Nick Stolwijk [1] http://stat-scm.sourceforge.net/ -Original Message- From: Thomas Tardy [mailto:[EMAIL PROTECTED] Sent: Fri 2/1/2008 9:24 AM To: Maven Users List Subject: Count line of code Hi all, is there a

Re: maven-eclipse-plugin with multi-module projects

2008-02-01 Thread Siarhei Dudzin
Not sure, we always perform dependency resolution before generating project files. Besides if the project doesn't compile in the version control this often means you have much bigger problem. :) Anyway try mvn process-resources, this seems to run just before compilation begins and should resolve

Re: maven-eclipse-plugin with multi-module projects

2008-02-01 Thread Arnaud HERITIER
We (the dev team) know this annoying bug but we don't have yet found a fix. I'm not sure we'll be able to fix it for 2.5. Nicolas ? I'm not sure that there's an issue opened for it. If you can check. Arnaud On Feb 1, 2008 9:22 AM, Martin Höller [EMAIL PROTECTED] wrote: Hi all! I have an

Re: maven-eclipse-plugin 2.5 coming soon

2008-02-01 Thread Martin Höller
Hi! On Thursday 31 January 2008 wrote Arnaud HERITIER: We fixed a lot of issues for the version 2.5 of the eclipse plugin and we'll launch the vote to release it in few days. I'm using it here and it works without problems (beside the one I just reported). - martin -- Martin Höller

Re: maven-eclipse-plugin with multi-module projects

2008-02-01 Thread Martin Höller
On Friday 01 February 2008 wrote Siarhei Dudzin: Not sure, we always perform dependency resolution before generating project files. Besides if the project doesn't compile in the version control this often means you have much bigger problem. :) You may be right on this one. However, if you have

Re: maven-eclipse-plugin with multi-module projects

2008-02-01 Thread Martin Höller
On Friday 01 February 2008 wrote Arnaud HERITIER: We (the dev team) know this annoying bug but we don't have yet found a fix. I'm not sure we'll be able to fix it for 2.5. Nicolas ? Thanks for clarifying this Arnaud. I'm not sure that there's an issue opened for it. If you can check. I

Re: maven-eclipse-plugin 2.5 coming soon

2008-02-01 Thread nicolas de loof
I've tested this patch and applied it with a minor change : separator for groupId and artifactId is :, as used by other maven plugins (see maven-assembly-plugin) Nico. 2008/1/31, Jim Sellers [EMAIL PROTECTED]: Do you know if there are plans to include MECLIPSE-79 in 2.5? I believe that it's

Re: Releasing a Project with Modules

2008-02-01 Thread Martin Höller
On Thursday 31 January 2008 wrote lsacco: Note that in my case the projects are all adjacent to each other in the directory such that the Maven project has it's own directory rather than in the root (due to Eclipse). My modules are identified as following in the POM: modules

Re: Count line of code

2008-02-01 Thread Erez Nahir
And: http://mojo.codehaus.org/javancss-maven-plugin/ Erez. On Feb 1, 2008 10:30 AM, [EMAIL PROTECTED] wrote: Yes, there is. Take a look at the StatSCM Maven Plugin [1]. Hth, Nick Stolwijk [1] http://stat-scm.sourceforge.net/ -Original Message- From: Thomas Tardy

Re: maven-eclipse-plugin with multi-module projects

2008-02-01 Thread Siarhei Dudzin
You may be right on this one. However, if you have a much bigger project, you force a new developer to perform a build (which might take a long time) before he can start developing. I understand now. Would publishing snapshots to your own remote repository work? You could then only generate

Re: maven-eclipse-plugin with multi-module projects

2008-02-01 Thread Martin Höller
On Friday 01 February 2008 wrote Siarhei Dudzin: You may be right on this one. However, if you have a much bigger project, you force a new developer to perform a build (which might take a long time) before he can start developing. I understand now. Would publishing snapshots to your own

Re: Count line of code

2008-02-01 Thread Thomas Tardy
Hello Nick, I get the following error: [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Error during page generation Embedded error: Error rendering Maven

Logging level at runtime

2008-02-01 Thread nicklist
Hi folks, I'm adjusting a maven-plugin, which is a wrapper around a library. This library logs a lot at info level and I want to change that to only log when maven is in debug mode (-X). When I ask the AbstractMojo.getLogger().isDebugEnabled() it always returns false (hard coded). We're using

parent inheritence (site plugin)

2008-02-01 Thread Ritz, Martin
Hi User Group, I have a project with some submodules and generating the site of the whole project through executing of the parents level. I want to display the parent in the left navigation bar. I found the only way is to do this is the element menu ref=parent inherit=bottom/ in the parent

Re: OutOfMemoryError when running javadoc:javadoc

2008-02-01 Thread VUB Stefan Seidel
The correct syntax is minmemory256m/minmemory maxmemory768m/maxmemory regards, Stefan Ryan H. wrote: I tried the both options (additionJOption and min/maximum) to allocate 512/1024M for min/max, but i'm still getting this error when building over 40 modules ... On 1/29/08,

Runing a single plugin execution

2008-02-01 Thread Mark Howard
Hi, Despite all my searching of the maven documents, I can't find out how to run a single execution of a plugin. In my pom, I'm using maven-dependency-plugin, with multiple executions (each with different configurations and bound to a different phase). I want to be able to run one of those

RE: Snapshots aren't updated!

2008-02-01 Thread DCVer
Thanks guys, it is as you say. When I execute mvn deploy instead of mvn install I see (in output logs), that maven updates metadata. But this creates another question from me: how can I specify two deploy paths in pom.xml or specyfing some argument to mvn deploy command? In pom.xml, in

Re: Count line of code

2008-02-01 Thread Scott Ryan
You can also try the NCSS plugin at: http://mojo.codehaus.org/javancss-maven-plugin/index.html Scott Ryan CTO Soaring Eagle L.L.C. Denver, Co. 80129 www.soaringeagleco.com www.theryansplace.com (303) 263-3044 [EMAIL PROTECTED] On Feb 1, 2008, at 1:30 AM, [EMAIL PROTECTED] wrote: Yes,

qpid-java-client build problem related to maven.

2008-02-01 Thread tech mxiao
hi,everyone: I encountered a problem when i built qpid-java-client, the following is the detailed outpu,from that, I don't why it download packages from: http://people.apache.org/repo/m2-snapshot-repository/org/apache/maven/plugins/maven-site-plugin/2.0-beta-5/maven-site-plugin-2.0-beta-5.pom

Dependency:build-classpath

2008-02-01 Thread John Coleman
I'm trying to use the dependency plugin to record classpaths, but it doesn't seem to write to a file as documented. What have I done wrong? TIA, John plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-dependency-plugin/artifactId

RE: Snapshots aren't updated!

2008-02-01 Thread nicklist
how can I specify two deploy paths in pom.xml Use the snapshotRepository[1] or specyfing some argument to mvn deploy command? For deploy:deploy-file the arguments are in the documentation [2] Hth, Nick Stolwijk [1]

RE: Count line of code

2008-02-01 Thread nicklist
I guess your problem is caused by annotations: Encountered @ at line 71, column 17. What version of the plugin are you using? There seems to be a beta-1 and a beta-2. The beta-2 has better annotation support. Hth, Nick Stolwijk -Original Message- From: Thomas Tardy [mailto:[EMAIL

RE: Count line of code

2008-02-01 Thread nicklist
I think this is the same problem as MJNCSS-16 [1], which has the following comment: Thanks for the report. Unfortunatly, as of today, we can't do much since the problem lies within javancss core library, beside sending a bug report to the original author of javancss :

release plugin in multi module project

2008-02-01 Thread Boeckli, Dominique
There's following problem: When releasing a multi module project it fails in the release-perform step. This was the input (release-prepare): What is the release version for tpflog? (eds.tweb.tpflog:tpflog) 1.6: : 1.6 What is the release version for tpflog-ejb? (eds.tweb.tpflog:tpflog-ejb) 1.6: :

Re: maven-eclipse-plugin 2.5 coming soon

2008-02-01 Thread Jim Sellers
That's wonderful. Thanks. ;-) Jim On 2/1/08, nicolas de loof [EMAIL PROTECTED] wrote: I've tested this patch and applied it with a minor change : separator for groupId and artifactId is :, as used by other maven plugins (see maven-assembly-plugin) Nico. 2008/1/31, Jim Sellers [EMAIL

RE: Dependency:build-classpath

2008-02-01 Thread Brian E. Fox
Is it just printing the classpath instead, or is it not doing anything? -Original Message- From: John Coleman [mailto:[EMAIL PROTECTED] Sent: Friday, February 01, 2008 7:09 AM To: Maven Users List Subject: Dependency:build-classpath I'm trying to use the dependency plugin to record

RE: Count line of code

2008-02-01 Thread nicklist
If you look at the report, you should see an explanation section, see also [1]. In short: Non Commenting Source Statements (NCSS) Statements for JavaNCSS are not statements as specified in the Java Language Specification but include all kinds of declarations too. Roughly spoken, NCSS is

Cannot invoke Tomcat manager Embedded error: Server redirected too many

2008-02-01 Thread VanIngen, Erik (ESTG)
Hi all, I am using maven tomcat:deploy to deploy. It worked fine but now I am having this error: Cannot invoke Tomcat manager Embedded error: Server redirected too many times (20) Does anyone have an idea? Kind Regards, Erik

Re: Count line of code

2008-02-01 Thread Thomas Tardy
I'm using beta-2 and yes, we are using annotations. On Feb 1, 2008 1:12 PM, [EMAIL PROTECTED] wrote: I guess your problem is caused by annotations: Encountered @ at line 71, column 17. What version of the plugin are you using? There seems to be a beta-1 and a beta-2. The beta-2 has better

Re: Count line of code

2008-02-01 Thread Thomas Tardy
I got it working. Does anybody know where I can see the line of codes? Is it the NCSS total information? On Feb 1, 2008 2:22 PM, [EMAIL PROTECTED] wrote: I think this is the same problem as MJNCSS-16 [1], which has the following comment: Thanks for the report. Unfortunatly, as of today,

Re: can maven run java program using dependence artifact information as classpath?

2008-02-01 Thread Ryan H.
java.class.path under maven2 won't give you the path for the project dependencies ... it's different from under maven1 On 1/30/08, Rex Huang [EMAIL PROTECTED] wrote: the application use System.getProperty(java.class.path) to get classpath. Rex On Jan 30, 2008 10:46 AM, Rex Huang [EMAIL

RE: Dependency:build-classpath

2008-02-01 Thread John Coleman
Hi, Somehow I managed to get an alpha version in my repos, once I changed version to specify 2.0, was fine! Regards, John -Original Message- From: Brian E. Fox [mailto:[EMAIL PROTECTED] Sent: 01 February 2008 14:41 To: Maven Users List Subject: RE: Dependency:build-classpath

Release perform...

2008-02-01 Thread Randall Fidler
Hello, Running into an issue with the release plugin. Using maven 2.0.7 (tried 2.0.8 also) I have a parent pom which has: modules modulecommons/module -- jar file moduleHostAdapter/module -- jar file moduleFileHostAdapterService/module --

Recent Surefire Changes?

2008-02-01 Thread James Carman
I have had a build running successfully for quite some time. But, today it seems as if my test cases are failing for some reason. I did notice a bit of a change in the build output. When mvn gets ready to run the tests, it now prints out Running TestSuite and it didn't do that before when the

Re: Recent Surefire Changes?

2008-02-01 Thread James Carman
Also, I'm not getting individual surefire report files. I'm getting a TestSuite.txt file. That's different too. On 2/1/08, James Carman [EMAIL PROTECTED] wrote: I have had a build running successfully for quite some time. But, today it seems as if my test cases are failing for some reason.

Re: Recent Surefire Changes?

2008-02-01 Thread Wayne Fay
How recent is very? Surefire 2.4 was pushed out on Jan 14, 2008. http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-surefire-plugin/2.4/ Do you have plugin versions locked down using version[1.2.3]/version or not? If not, you might want to consider it to avoid unknown upgrades affecting

Re: Recent Surefire Changes?

2008-02-01 Thread James Carman
On 2/1/08, Wayne Fay [EMAIL PROTECTED] wrote: How recent is very? Surefire 2.4 was pushed out on Jan 14, 2008. http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-surefire-plugin/2.4/ Do you have plugin versions locked down using version[1.2.3]/version or not? If not, you might want

Re: Two question regarding the Eclipse plugin

2008-02-01 Thread TM
nicolas de loof-3 wrote: For 1), you should use exclusions to block transitive dependencies. For 2), any code generation plugin that runs before generate-resource phase will get executed by mvn eclipse:eclipse and the generated source folder added to the .classpath. If you don't get

Re: Two question regarding the Eclipse plugin

2008-02-01 Thread nicolas de loof
2.5 will include an excludes parameter : excludes excludegroupId:artifactId/exclude /excludes But this is equivalent to exclusions in dependencies 2008/2/1, TM [EMAIL PROTECTED]: nicolas de loof-3 wrote: For 1), you should use exclusions to block transitive dependencies. For

Re: Maven Invoker Plugin help

2008-02-01 Thread David Siefert
Thank you very much Olivier, I am now able to invoke the integration test projects from my main project just like the maven-jar-plugin does. I have another issue: a beanshell script is required to report whether or not the build has failed or succeeded. Why can't the build failure of the maven

Re: How to adjust the screen size of the output

2008-02-01 Thread Jesse McConnell
I would suggest openning a jira issue with this information as well as browser versions and snapshots of the problem jesse On Jan 31, 2008 6:52 PM, Tawfik, Sameh E [EMAIL PROTECTED] wrote: After the build is complete, when I click on Build History icon followed by clicking on the Result

Repository Blacklist

2008-02-01 Thread Allen, Daniel
Hi. I'm using Maven2, and without telling me, the company I'm at recently put up a proxy between the office and the web. So, when I tried to use Maven with a new plugin, it attempted to get that from the central repository, failed because I hadn't set up the proxy settings, and then blacklisted

[c 1.1] issues with adding build definition....

2008-02-01 Thread Mick Knutson
1st, when I start a new project group, and single build definition. Everything works fine. My install works, and I get an email each time the build occurs. Now when I add another build definition, the 1st time the build happened with the new definition, it appears the install works, but the

Re: Repository Blacklist

2008-02-01 Thread Jeff MAURY
A repository is blacklisted once Maven detects a connection failure. The back listing rest for the current Maven run. In order to prevent that, you must configure your proxy settings in your Maven settings file. Jeff On Feb 1, 2008 9:28 PM, Allen, Daniel [EMAIL PROTECTED] wrote: Hi. I'm

RE: Repository Blacklist

2008-02-01 Thread Allen, Daniel
My .m2 directory is actually totally empty except for the settings.xml file (which I just now made, and which contains nothing except the aforementioned proxy info), so maybe the blacklist isn't kept between runs. Anyway, I had been trying mvn dependency:resolve, which was crashing out. I'm

Re: [c 1.1] issues with adding build definition....

2008-02-01 Thread Mick Knutson
In my localhost.log I see this: *SEVERE: Exception starting filter Compression Filter java.lang.ClassNotFoundException: compressionFilters.CompressionFilter at org.apache.catalina.loader.WebappClassLoader.loadClass( WebappClassLoader.java:1362) at

Re: [c 1.1] issues with adding build definition....

2008-02-01 Thread Mick Knutson
I am waiting for the next build to occur to send more continuum.log's but I did notice that after I bounced continuum, I started getting this error again: *14933 [main] WARN org.apache.maven.continuum.execution.ContinuumBuildExecutor:maven2 - Could not find the executable 'mvn' in the path

Re: Repository Blacklist

2008-02-01 Thread simon
It seems to me that there was a similar question very recently, and that the answer was that maven *does* remember blacklists across runs. Dan, you could try doing mvn -U install (-U causes plugins to be updated) Otherwise, try looking in ~/.m2, which is where maven stores a lot of other stuff

Re: Repository Blacklist

2008-02-01 Thread Martin Gainty
this does'nt look right at all..an inconsistent or transient network failures should NOT produce a blacklisted site.. Any workarounds??? M- - Original Message - From: simon [EMAIL PROTECTED] To: Maven Users List users@maven.apache.org Sent: Friday, February 01, 2008 4:03 PM Subject: Re:

Re: [c 1.1] issues with adding build definition....

2008-02-01 Thread Mick Knutson
So I am trying to figure this out and found this: http://docs.codehaus.org/display/CONTINUUMUSER/Continuum+on+Tomcat *I had to add 2 JAVA_OPTS to my Tomcat startup script to get it to work: -Dplexus.system.path=$PATH to get Continuum to find the mvn and ant executables,

Re: Maven Invoker Plugin help

2008-02-01 Thread Olivier Lamy
If building your maven project failed, the invoker will report this (line starting with : ...FAILED) If not we have an issue here in the invoker plugin. -- Olivier 2008/2/1, David Siefert [EMAIL PROTECTED]: Thank you very much Olivier, I am now able to invoke the integration test projects

Re: Repository Blacklist

2008-02-01 Thread Wendy Smoak
On Feb 1, 2008 2:03 PM, simon [EMAIL PROTECTED] wrote: It seems to me that there was a similar question very recently, and that the answer was that maven *does* remember blacklists across runs. It doesn't remember the blacklist. It does remember individual plugin download failures by virtue

Maven Distribution Repository Property Name

2008-02-01 Thread Cam
Hi, Does anyone know what the maven property id is for the activated distribution repository? I have a project which generates a non-standard artifact which i want to deploy into the distribution repository however i want it to use the same config which defines if it goes in the snaphot or

Re: Maven Ant Tasks: Configured repository not available

2008-02-01 Thread Thomas Tardy
Does anybody have an idea why the maven ant tasks see the repository configured in the settings.xml during the later build phases but not during the validate phase? On Jan 31, 2008 1:38 PM, Thomas Tardy [EMAIL PROTECTED] wrote: Hi all, I'm trying to load an existing pom.xml with ant. The pom

Lifecycle executions run twice?

2008-02-01 Thread Cam
Hi, I have a project which launches jetty using the cargo plugin - i have it starting up as part of the initialize phase and tearing down in compile (i use it for generating stub classes for a web service). If i run the install or deploy goals on their own it all works great but if i run mvn

Re: Maven Distribution Repository Property Name

2008-02-01 Thread Cam
I've found the properties for distribution management: project.distributionManagement.repository.* project.distributionManagement.snapshotRepository.* Does anyone know how i can access the derived remote repository that will actually be deploy to? Apparently it should be set in

[m2] Filtering web.xml?

2008-02-01 Thread Allen, Daniel
I'm building a web application (packaging WAR), and I need to run the web.xml file through a filter to set certain configutation values. I tried adding it to a resource tag, but that causes Maven to make a copy of it and put it in WEB-INF/classes subdirectory with all of the rest of the resources.

Re: [m2] Filtering web.xml?

2008-02-01 Thread Wayne Fay
The war plugin has a configuration you can use for this webXml: http://maven.apache.org/plugins/maven-war-plugin/war-mojo.html That should do it... Wayne On 2/1/08, Allen, Daniel [EMAIL PROTECTED] wrote: I'm building a web application (packaging WAR), and I need to run the web.xml file

Re: Maven Ant Tasks: Configured repository not available

2008-02-01 Thread Hervé BOUTEMY
Hi, Please provide ant -v output to let us understand what you mean by I get a validation error. Regards, Hervé Le vendredi 01 février 2008, Thomas Tardy a écrit : Does anybody have an idea why the maven ant tasks see the repository configured in the settings.xml during the later build

Re: [m2] Filtering web.xml?

2008-02-01 Thread Olivier Lamy
Hi, What you can try is to add your web.xml in resources with filtering to true. And set webXml in the mojo to ${project.build.outputDirectory}/web.xml. -- Olivier 2008/2/2, Allen, Daniel [EMAIL PROTECTED]: I'm building a web application (packaging WAR), and I need to run the web.xml file

Mojos Attaching Artifacts to Project for Install Deploy

2008-02-01 Thread Cam
Hi, I'm looking for a way to attach an extra generated artifact to a project so it's installed and deployed in the standard project lifecycle, how can i do this? Do i need to write a mojo or can i just add this as part of the pom config? Also, does anyone know if it's possible to create a

Deploying Plugin to Other sites

2008-02-01 Thread nadias
Hello, How can a plugin that was compiled and built at one site be deployed to other sites? Thanks. -- View this message in context: http://www.nabble.com/Deploying-Plugin-to-Other-sites-tp15237040s177p15237040.html Sent from the Maven - Users mailing list archive at Nabble.com.

Re: Existance of ZIP Archetype? | How to distribute DB code to different mvn modules?

2008-02-01 Thread Olivier Lamy
Hi, There is now a zip plugin in the maven sandbox. How to use it explained here : http://people.apache.org/~olamy/snapshots/maven-zip-plugin/ You have to use the apache plugin snapshot repository [1]. -- Olivier [1]

RE: Deploying Plugin to Other sites

2008-02-01 Thread Brian E. Fox
Change the distributionManagment urls and redeploy -Original Message- From: nadias [mailto:[EMAIL PROTECTED] Sent: Friday, February 01, 2008 7:21 PM To: users@maven.apache.org Subject: Deploying Plugin to Other sites Hello, How can a plugin that was compiled and built at one site be

RE: Deploying Plugin to Other sites

2008-02-01 Thread nadias
What about deploying to a central repository instead of having to recompile from source from a remote site? Brian E Fox wrote: Change the distributionManagment urls and redeploy -Original Message- From: nadias [mailto:[EMAIL PROTECTED] Sent: Friday, February 01, 2008 7:21 PM

RE: Deploying Plugin to Other sites

2008-02-01 Thread Brian E. Fox
If you aren't actually changing the g:a:v info, then you could use the stage plugin to move it. -Original Message- From: nadias [mailto:[EMAIL PROTECTED] Sent: Friday, February 01, 2008 7:38 PM To: users@maven.apache.org Subject: RE: Deploying Plugin to Other sites What about

Continuum renamed and moved my projects?

2008-02-01 Thread Tawfik, Sameh E
I created two project groups and added to each group a maven2 project, one is set to a branch and the other one is set to point to the trunk in Subversion. Both projects represent the same product, but as specified each project represents different code. I renamed each project to reflect the

RE: Deploying Plugin to Other sites

2008-02-01 Thread nadias
How can I get this plugin? It says it hasnt' been release yet. THanks. Brian E Fox wrote: If you aren't actually changing the g:a:v info, then you could use the stage plugin to move it. -Original Message- From: nadias [mailto:[EMAIL PROTECTED] Sent: Friday, February 01, 2008

RE: Deploying Plugin to Other sites

2008-02-01 Thread Brian E. Fox
You'll have to check it out from the sandbox and build it. It does work pretty well though, we use it for the maven releases. -Original Message- From: nadias [mailto:[EMAIL PROTECTED] Sent: Friday, February 01, 2008 9:12 PM To: users@maven.apache.org Subject: RE: Deploying Plugin to