RE: 1.1-alpha-2 Web application unresponsive

2007-07-02 Thread Madsen,Bryan
The scm link was not the problem. I looked at the build log and took a guess that the next project in the queue caused the hang. I deleted that project from continuum and re-added. No problems since. -Original Message- From: Jesse McConnell [mailto:[EMAIL PROTECTED] Sent: Thursday,

Daniel J. Bernstein is out of the office.

2007-07-02 Thread DJBernstein
I will be out of the office starting 07/02/2007 and will not return until 07/09/2007. I am (maybe) reachable by cell for urgent issues. - This e-mail and any attachments are intended only for the individual or company to which it is addressed and may

Change project version

2007-07-02 Thread Christian Clauss
Hello everybody, I would like to change the version in the pom.xml using a self-developed plug-in. I tried to get access via /** * Project instance * @parameter default-value=${project} * */ private MavenProject project; and then project.setVersion(222); but it doesn't work. The compiler

Re: Change project version

2007-07-02 Thread Tim Kettler
Hi, well, most probably the class just isn't in your classpath. Have you declared a dependency to: groupIdorg.apache.maven/groupId artifactIdmaven-project/artifactId version2.0.7/version in your pom? And if you don't mind: May I ask what your usecase is that forces you to alter the

AW: Change project version

2007-07-02 Thread Christian Clauss
Hi, I have declared the dependency to: groupIdorg.apache.maven/groupId artifactIdmaven-project/artifactId version2.0.7/version in my pom but it still doesn't work. My usecase that forces me to alter the project version, is a custom release build. I want the release

Setting project.version in web.xml

2007-07-02 Thread ben short
Hi, It is possible to get maven to insert the project name and version from my pom to my web.xml display-name element? Regards Ben Short - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

maven-shared-jar broken?

2007-07-02 Thread Dave Syer
http://people.apache.org/maven-snapshot-repository /url /pluginRepository /pluginRepositories The error I get is java.lang.NoClassDefFoundError: Lorg/apache/maven/shared/jar/JarAnalyzerFactory; and sure enough there is a new SNAPSHOT (20070702

Re: Setting project.version in web.xml

2007-07-02 Thread Tim Kettler
Hi, resource filtering is the way to go. Have a look at the 'How do I filter resource files' section of the 'Getting Started Guide'[1]. After you have set this up point the war plugin's webXml/ property to the filtered web.xml. -Tim [1] http://maven.apache.org/guides/getting-started/ ben

Surefire fired before local deployment completes

2007-07-02 Thread Manos Batsis
Hello, I'm using Cargo during the pre-integration-test phase to deploy an EAR in a local running JBoss, then surefire during the integration-test phase to run some JUnit/HTTPUnit tests. However, deployment takes some seconds and the tests randomly fail with 404 errors during deployment. How

Re: AW: Change project version

2007-07-02 Thread Tim Kettler
works for me: ./pom.xml: project modelVersion4.0.0/modelVersion groupIdtestplugin/groupId artifactIdtestplugin/artifactId version1.0-SNAPSHOT/version packagingmaven-plugin/packaging dependencies dependency groupIdorg.apache.maven/groupId

RE: maven proxies

2007-07-02 Thread Marziou, Gael
We use artifactory mainly because it's so simple to install and setup. Gael -Original Message- From: maarten roosendaal [mailto:[EMAIL PROTECTED] Sent: Saturday, June 30, 2007 9:24 AM To: Maven Users List Subject: Re: maven proxies Brett, We are in the progress of moving to

RE: Image resizing in site-build

2007-07-02 Thread Marziou, Gael
Why don't you do it in your plugin? -Original Message- From: Roland Asmann [mailto:[EMAIL PROTECTED] Sent: Friday, June 29, 2007 6:55 PM To: Maven Users List Subject: Image resizing in site-build Hi all! I was wondering if there is a possibility to have Maven resize the

Re: Image resizing in site-build

2007-07-02 Thread Roland Asmann
I could do that, but I think it might be better if there was some general way to do this... So that all graphics you put in the site would automatically be resized. On Monday 02 July 2007 12:42, Marziou, Gael wrote: Why don't you do it in your plugin? -Original Message- From:

Expression value

2007-07-02 Thread Samuel Blin
Hi all, In the war plugin source code I found this: /** * The Jar archiver. * * @parameter expression=${ component.org.codehaus.plexus.archiver.Archiver#war} * @required */ private WarArchiver warArchiver; I understand the meaning of @parameter and expression but not

Re: maven-shared-jar broken?

2007-07-02 Thread Brett Porter
/apache/maven/shared/jar/JarAnalyzerFactory; and sure enough there is a new SNAPSHOT (20070702) of maven-shared-jar. Is anyone aware of the problem who could actually fix it? -- View this message in context: http://www.nabble.com/maven-shared-jar-broken--tf4011169s177.html#a11391135 Sent from the Maven

Re: maven proxies

2007-07-02 Thread Brett Porter
Hi Maarten, I'd encourage you to take a look at all 3 as each has some of the features and it depends on the balance you give each. For your options, you'd probably be looking at Proximity or Archiva (bear in mind that Archiva is only available as an alpha, and that I am biased towards it :).

[m2] Deploy on Multiproject

2007-07-02 Thread Jens Hohl
Hello, i have an Multi project with lots of artefacts. What's the best solution deploying all Artefacts ? - Jens

Re: maven-shared-jar broken?

2007-07-02 Thread Dave Syer
Thanks for the quick reply. Brett Porter wrote: Are you particularly using the snapshot of the project reports? If not, you may want to pin to the last release. Regardless, it is due for a release like a number of plugins... No, but I am using a snapshot version of doxia. If you tell

Re: maven-shared-jar broken?

2007-07-02 Thread Brett Porter
pluginManagement plugins plugin artifactIdmaven-project-info-reports-plugin/artifactId version2.0.1/version /plugin /plugins /pluginManagement should do the trick. On 02/07/07, Dave Syer [EMAIL PROTECTED] wrote: Thanks for the quick reply. Brett Porter wrote: Are you

XML parser versions

2007-07-02 Thread Chris Searle
OK. A little confused here. I have three maven projects - all were running just fine. All are spring based - and I wanted to add some simple aspect programming to one of them. So - I changed the spring config file to start like: ?xml version=1.0 encoding=UTF-8? beans

RE: produce html and pdf javadocs in one go

2007-07-02 Thread andreas.ebbert-karroum
Hi, Thanks for the answer, Eric. I understand the example so, that multiple reportSets are used (as the plugin is also linked under the reporting element). I don't use the site lifecycle yet, the jar (and sources, javadocs) are just jared and deployed to the repository. Can I use the

RE: produce html and pdf javadocs in one go

2007-07-02 Thread andreas.ebbert-karroum
Another question, why is the pdfdoclet not on ibiblio? (If it is, I could not find it). It's under the GNU LGPL, so redistribution should not be a problem. If it's not on ibiblio, can I put it there? Or whom would I have to ask? Andreas -Original Message- From: ext [EMAIL PROTECTED]

How can I compile multiple test source directories

2007-07-02 Thread Sidharth Kuruvila
Hi, My project has the test source spread between two directories. How can i compile and run them? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Dependency downloads

2007-07-02 Thread Alok, Niraj
Guys, This is really getting murkier and I am looking for any clues et al. The same dependency which was not getting downloaded on Friday is getting downloaded today without any problems. I also cleaned out my .m2 to replicate but it worked well ! The only difference that happened was a nightly

Can I make ant maven-plugin-tools-ant use Ant 1.7.0

2007-07-02 Thread Sidharth Kuruvila
Hi, The subject says it all :) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Generated Sources and IDEA

2007-07-02 Thread Dave Levitt
And don't forget to vote for 'generated code support' in Idea [Jira link is http://www.jetbrains.net/jira/browse/IDEABKL-2735 ] On 6/29/07, Frederick N. Brier [EMAIL PROTECTED] wrote: I am trying out AppFuse 2.0M5 on a new project. I am trying to integrate XmlBeans into the build. I set the

RE: How can I compile multiple test source directories

2007-07-02 Thread andreas.ebbert-karroum
Hm, Copy them to a single directory first in phase processing sources? Andreas -Original Message- From: ext Sidharth Kuruvila [mailto:[EMAIL PROTECTED] Sent: 02 July, 2007 17:12 To: Maven Users List Subject: How can I compile multiple test source directories Hi, My project has the

Jalopy Plugin

2007-07-02 Thread Nathan Maves
I am have been all over trying to get this plugin to work. Please tell me someone out there has it working. Here is my pom plugin groupIdorg.codehaus.mojo/groupId artifactIdjalopy-maven-plugin/artifactId version1.0-SNAPSHOT/version

Re: produce html and pdf javadocs in one go

2007-07-02 Thread Eric Redmond
http://maven.apache.org/guides/mini/guide-central-repository-upload.html Eric On 7/2/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Another question, why is the pdfdoclet not on ibiblio? (If it is, I could not find it). It's under the GNU LGPL, so redistribution should not be a problem. If

Release:perform Goals

2007-07-02 Thread *Christiaan
Hello: The problem is when I do a release:perform the source and javadoc are generated by default. I assume this has something todo with the site plugin as site:attach-source is being executed. I am trying to configure the maven-release-plugin to not use the default goals for release:perform

Re: How can I compile multiple test source directories

2007-07-02 Thread Sidharth Kuruvila
Tried this plugin artifactIdmaven-resources-plugin/artifactId executions execution idtest-src-copy/id phasegenerate-test-resources/phase goals goaltestResources/goal

deploy question

2007-07-02 Thread Steven R Brandt
Hi, I'm new to Maven and have just built the Hello, World program and deployed it (mvn deploy). I also built the site (mvn site). I tried the site-deploy option (mvn site-deploy), but got the message Missing site information in the distribution management element in the project.. Not sure

Re: How can I compile multiple test source directories

2007-07-02 Thread Tim Kettler
Hi, use the build-helper plugin[1] from the mojo project to attach the extra test-source directory to the pom. -Tim [1] http://mojo.codehaus.org/build-helper-maven-plugin/ Sidharth Kuruvila schrieb: Tried this plugin artifactIdmaven-resources-plugin/artifactId

Re: deploy question

2007-07-02 Thread Yann Le Du
Hi Steven, About site : http://maven.apache.org/plugins/maven-site-plugin/usage.html About dependencies : http://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html - Yann On 7/2/07, Steven R Brandt [EMAIL PROTECTED] wrote: Hi, I'm new to Maven and have just

RE: produce html and pdf javadocs in one go

2007-07-02 Thread andreas.ebbert-karroum
Thanks. I'll ask the developers of pdfdoclet, if they would like to add it, of if I should take care of it :) Andreas -Original Message- From: ext Eric Redmond [mailto:[EMAIL PROTECTED] Sent: 02 July, 2007 18:02 To: Maven Users List Subject: Re: produce html and pdf javadocs in one go

Re: How can I compile multiple test source directories

2007-07-02 Thread Sidharth Kuruvila
Thanks Tim, that seems to work. The only problem is that netbeans can't see the second directory but I think I can live with that for now. On 02-Jul-07, at 9:49 PM, Tim Kettler wrote: Hi, use the build-helper plugin[1] from the mojo project to attach the extra test-source directory to

surefire crashing mvn package?

2007-07-02 Thread Brad O'Hearne
I just performed a mvn package over a code base that compiles fine and packaged just fine yesterday. There is a single test case, which hasn't been changed. Out of the blue, I'm getting the following error -- does anyone know how to resolve this? Thanksouput is below: Brad [INFO]

Re: surefire crashing mvn package?

2007-07-02 Thread Brad O'Hearne
I should have mentioned, surefire-2.4-SNAPSHOT is being used. B Brad O'Hearne wrote: I just performed a mvn package over a code base that compiles fine and packaged just fine yesterday. There is a single test case, which hasn't been changed. Out of the blue, I'm getting the following error

Re: surefire crashing mvn package?

2007-07-02 Thread Brad O'Hearne
Weird. Reverting to the maven-surefire-plugin version 2.3 solved the problem. Someone must have just introduced something that tripped up maven 2.07. B Brad O'Hearne wrote: I should have mentioned, surefire-2.4-SNAPSHOT is being used. B Brad O'Hearne wrote: I just performed a mvn package

Re: How can I compile multiple test source directories

2007-07-02 Thread Wayne Fay
Is there a reason you can't consolidate the test source directories into one common directory? Then Maven would work with no troubles and Netbeans would see both etc. Wayne On 7/2/07, Sidharth Kuruvila [EMAIL PROTECTED] wrote: Thanks Tim, that seems to work. The only problem is that netbeans

Mirror Entry is not working

2007-07-02 Thread Morgovsky, Alexander \(US - Glen Mills\)
I am using Maven 2.0.5. In my c:\documents and settings\.m2\settings.xml I have: mirror ida/id namea/name urlhttp://a.b.c.d:abcd/repository/url mirrorOf*/mirrorOf /mirror In my POM I define both Repositories and Plugin Repositories, but I do not declare any

Miscellaneous Maven questions for Apache Logging Services site rework

2007-07-02 Thread Curt Arnold
Apache Logging Services is in the process of migrating to Maven for web site generation and maintenance. Had a couple of questions that didn't seem obvious from searching the archives. 1. Are there any established best practices for links to the ASF Thanks and Sponsorship pages that are

Re: Miscellaneous Maven questions for Apache Logging Services site rework

2007-07-02 Thread Carlos Sanchez
On 7/2/07, Curt Arnold [EMAIL PROTECTED] wrote: Is there support in distribution management for publishing the generated site to SVN (perhaps using an scm:svn: URL)? http://maven.apache.org/wagon/wagon-providers/wagon-scm/usage.html -- I could give you my word as a Spaniard. No good. I've

Re: How to discover lifecycles and phases

2007-07-02 Thread Paul Copeland
Thanks that is helpful. You are correct that packaging determines which goals are bound by the default lifecycle. Apparently there are three lifecycles - default, clean and site - it is not clear if there is a command to discover the phases of a lifecycle or if there are other lifecycles. On

To replace M4 files and Make files using Maven

2007-07-02 Thread nash4403
We have different environments like DEV,QA,STAGE and PRODUCTION. We have m4 files which generate the content based on different variables. So the m4 files get the input from config file . We have perl scripts to generate the variables to be used by M4 files to generate the config files for

Re: To replace M4 files and Make files using Maven

2007-07-02 Thread Steven Rowe
Hi Nagesh, Here are some places to start: http://maven.apache.org/guides/introduction/introduction-to-profiles.html http://www.sonatype.com/book/profiles.html Steve nash4403 wrote: We have different environments like DEV,QA,STAGE and PRODUCTION. We have m4 files which generate the content

Re: Generated Sources and IDEA

2007-07-02 Thread Edwin Punzalan
The IDEA plugin is supposed to automatically remove the exclusion of the target directory if any of the generated sources is located beneath it. Its in Jira: http://jira.codehaus.org/browse/MIDEA-92. On 6/30/07, Frederick N. Brier [EMAIL PROTECTED] wrote: I followed the link you provided.

Re: Release:perform Goals

2007-07-02 Thread Edwin Punzalan
IIRC, site:attach-source is not part of the default release goals try setting useReleaseProfile to false On 7/2/07, *Christiaan [EMAIL PROTECTED] wrote: Hello: The problem is when I do a release:perform the source and javadoc are generated by default. I assume this has something todo with

Re: To replace M4 files and Make files using Maven

2007-07-02 Thread nash4403
Thanks Steve. But the other question is we have couple of M4 files. The use of M4 is to have variable substitution.When we run make the m4 file is executed and generates a file based on whether on ssl or non-ssl server. Does Maven have anything to replace my M4s Regards, Nagesh Steven

help with Cobertura

2007-07-02 Thread Marco Mistroni
hi all, in my mvn2 webapp i am currently using Cobertura under the 'report' section, to get a test coverage report when i build the site. However, i woudl like to apply cobertura also to my build, so that mvn wont build anything until i have tested at least, let's say, 80% of my code..(i

Re: maven proxies

2007-07-02 Thread Yoav Landman
Just to complete/correct the picture: Artifactory HAS the kind of security you describe, in fact it might be even a bit more powerful than that - see: http://www.jfrog.org/sites/artifactory/latest/security.html It also supports blacking out repositories and include/exclude artifact patterns (in

Re: help with Cobertura

2007-07-02 Thread Paul Spencer
Marco, You may be seeing the bug MCOBERTURA-61[1] in 2.1. I use 2.0 for that reason. As to the test running twice, I see this also. Paul Spencer [1]http://jira.codehaus.org/browse/MCOBERTURA-61 Marco Mistroni wrote: hi all, in my mvn2 webapp i am currently using Cobertura under the

Changes report plugin - JIRA reports

2007-07-02 Thread Siegmann Daniel, NY
I am trying to include a JIRA report on my project website. I have configured the plugin as specified in the documentation [1]. No errors appear on the command line, and the Jira Report page is generated. However, the table is empty. :-( I am using JIRA 3.6.5, Maven 2.0.7, and the latest

Re: To replace M4 files and Make files using Maven

2007-07-02 Thread Wayne Fay
Profiles + Filtering makes results comparable to what you're doing with the M4 files. Wayne On 7/2/07, nash4403 [EMAIL PROTECTED] wrote: Thanks Steve. But the other question is we have couple of M4 files. The use of M4 is to have variable substitution.When we run make the m4 file is executed

Re: To replace M4 files and Make files using Maven

2007-07-02 Thread Steven Rowe
Nagesh, If you could be more concrete about what you're trying to accomplish, we could be more concrete about how you might accomplish it. For example, where does the information about whether a server is ssl or non-ssl come from? And what sort of file is produced by M4 with your current build

Re: deploy question

2007-07-02 Thread Steven R Brandt
Thanks. I can do a site-deploy now! What I am trying to figure out is how the repository system works and I could not quite figure it out from the intro link below -- how does the dependency mechanism do what it does? Apparently the depencies are resolved by talking to the registrar. I have 4

Re: deploy question

2007-07-02 Thread Steven R Brandt
I found an answer to one of my questions. How to setup the local repo is here: http://www.sonatype.com/book/repository.html#creating_an_in-house_repository Steven R Brandt wrote: Thanks. I can do a site-deploy now! What I am trying to figure out is how the repository system works and I

RE: XML parser versions

2007-07-02 Thread Bryan Loofbourrow
I suggest grepping your local repository for 1.2.3. My guess would be that you'll find a reference to it in a pom.xml file somewhere in there. -Original Message- From: Chris Searle [mailto:[EMAIL PROTECTED] Sent: Monday, July 02, 2007 5:55 AM To: users@maven.apache.org Subject: XML

Re: How can I compile multiple test source directories

2007-07-02 Thread Sidharth Kuruvila
One of the directories is used by a couple of other projects and is stored independently on cvs. So I can't simply merge the directories. On 02-Jul-07, at 10:47 PM, Wayne Fay wrote: Is there a reason you can't consolidate the test source directories into one common directory? Then Maven