Re: Getting CVS folder in the builds

2007-12-19 Thread Emmanuel Venisse
Normally, maven exclude them automatically. If it doesn't do it, you can add a resources part in your pom to exclude them. Emmanuel Hi, I noticed the CVS folder in the builds that I am using continuum and maven to build. Could someone please guide on how to exclude the CVS files being

Re: Getting CVS folder in the builds

2007-12-19 Thread Hemant Malik
Thanks. Maven is not including CVS files in case of JAR builds, but in WAR it is packaging the CVS files as well. But is there any regular expression kind of terminology to exclude them, or I will have to specify one by one. Regards, Hemant Malik On Dec 19, 2007 2:11 PM, Emmanuel Venisse

Re: Getting CVS folder in the builds

2007-12-19 Thread Emmanuel Venisse
Do you use the latest war plugin? It should exclude CVS directories. If it doesn't, file an issue on the war plugin project in Jira. The regular expression to use to exclude CVS directories is **/CVS Emmanuel Thanks. Maven is not including CVS files in case of JAR builds, but in WAR it is

Re: Problem to login in Continuum 1.1 final with Internet Explorer

2007-12-19 Thread Emmanuel Venisse
Cool, Thanks for the solution. Emmanuel I found the cause of the problem! The problem is the difference in time between the linux machine (server) and the windows machine (client). The clock of the linux machine was delayed by 1 hour. This causes the expiration of the cookie. Fixed the

Re: Maven Site, No Anonymous Access to Source Repository

2007-12-19 Thread Wendy Smoak
On Dec 18, 2007 9:08 PM, Roger Ye [EMAIL PROTECTED] wrote: and if I try to remove the scm.connection element from my pom.xml, then I can not add my project into continuum using the pom, continuum reports I think Continuum ought to work with just an anonymous connection. Can you check JIRA and

RE: JVM Appears to be hung

2007-12-19 Thread Boeckli, Dominique
i had same problem and figured out that is was deadlock due to a log4j bug (http://issues.apache.org/bugzilla/show_bug.cgi?id=43568): This deadlock happens under following cases: - Proximity RC9 and Continuum-1.1 on same server - both has a scheduled task at the same time (a purge task for

RE: Maven Site, No Anonymous Access to Source Repository

2007-12-19 Thread nicklist
The scm.connection is the anonymous connection. So, should continuum work with the developerConnection or the anonymous connection? (Or pick the one, that is available) With regards, Nick Stolwijk -Original Message- From: Wendy Smoak [mailto:[EMAIL PROTECTED] Sent: Wed 12/19/2007

RE: Problem with surefire-reports in Continuum 1.1 final

2007-12-19 Thread Robert Scholte
Hi all, I have a similar problem. I'm using continuum-1.1, my installation uses apache-maven-2.0.8 and JDK1.5.0_14. I've installed continuum in a tomcat-5.0.28, which runs as a Windows Service with the LocalSystem as logon. I've added a -X to the arguments to see some(or actually a lot) logging

Upgrade 1.0.3 to 1.1

2007-12-19 Thread Christian Wieland (open4business GmbH)
Hi, is there a possibility tor upgrade from version 1.0.3 to 1.1? Mit freundlichen Gruessen / with kind regards Christian Wieland -- open4business GmbH Müllerstrasse 12 D 88045 Friedrichshafen Tel: +49 7541 6047-312 Fax: +49 7541 6047-321 Web:

unable to download artifacts from v1.1

2007-12-19 Thread Eric Roberts
I am not able to download PDF artifacts from Continuum 1.1 working directories. Instead, the text in the PDF file shows up in the preview windows below. I AM able to download a jar file and a gif file successfully. I have commented and posted screenshots on jira issue 1573 but haven't gotten

Problem to send email (Validation user) with Continuum 1.1 final

2007-12-19 Thread Claudio R
Hi, I configured the CONTINUUM_HOME/conf/plexus.xml as: resource namemail/Session/name typejavax.mail.Session/type properties property namemail.smtp.host/name valuexxx.xxx.com.br/value

Upgrading from 1.0.2/3 - 1.1

2007-12-19 Thread Ken Burns
Hi, Like Christan's timely email earlier today, I too have to migrate my 2 instances of Continuum (1.0.2 and 1.0.3) into 1.1 (I run 2 instances of Continuum for redundancy) over the next 2 weeks. I've read through the upgrade documentation

Multi-platform builds with Continuum

2007-12-19 Thread Gokhan Ergul
Hey there, I'm trying to figure out a strategy to get continuum building our releases, got a few newbie questions: 1- Our software is mostly Java, but we have a few modules with C/C++ code in them. We have ant build scripts with custom ant tasks to build those native pieces, no problem

Re: Weird behavior in browsers not Firefox

2007-12-19 Thread Doug Knesek
Your cookie was expiring instantaneously because it was being issued further in the past than its life expectancy. fherrerav wrote: It worked!!. thanks a lot. do you know why this happens? Doug Knesek wrote: Check that the time on your server is set correctly.

Re: Weird behavior in browsers not Firefox

2007-12-19 Thread fherrerav
Thanks again.. Doug Knesek wrote: Your cookie was expiring instantaneously because it was being issued further in the past than its life expectancy. fherrerav wrote: It worked!!. thanks a lot. do you know why this happens? Doug Knesek wrote: Check that

Re: Dependency rpoblem in multi-module project

2007-12-19 Thread Guillaume Lederrey
Problem still not solved. I tried a couple of things : * change the project structure to follow the structure I am used to : only put modules one level deep and not 2, have the same name for the artifactId and the directory of the module. The module declaration in the main pom is now : modules

Re: Surefire can't find resource if forkMode=once

2007-12-19 Thread vetalok
Thanks Jerome, I have tried this but the main problem is that if (forkMode=once) { getResource() method does not looking for resources in test-clesses folder }else if (forkmode=never) { getResource() method looking for resources in test-clesses folder - as I want } So the question is

Re: Surefire can't find resource if forkMode=once

2007-12-19 Thread vetalok
Developers have read my letter! I have just run the test and it works! New version of surefire has just been downloaded and the problem has gone :)) vetalok wrote: Thanks Jerome, I have tried this but the main problem is that if (forkMode=once) { getResource() method does not looking for

Re: Problem to login in Continuum 1.1 final with Internet Explorer

2007-12-19 Thread Emmanuel Venisse
You're not alone with this problem but we don't know what's happen for the moment. Emmanuel Hi, I installed the Continuum 1.1 final in a linux machine. When I try do login (as admin) I am redirect to home. This happen with Internet Explorer. In firefox work out. I am using correct

RE: Maven Site, No Anonymous Access to Source Repository

2007-12-19 Thread nicklist
I've taken another look and it seems the scm report configuration was not added in the current stable (2.0.1) but was added in 2.1, which is still a snapshot. However, the configuration anonymousConnection/ /configuration was not succesfull with both versions. It seems not to override the

Lifecycle question: generate-sources, compile, generate-wrapper-sources and compile again within one module

2007-12-19 Thread torsten . reinhard
Hi, I need to 1.) generate-sources (maven-jaxb2-plugin) from some xsd-files 2.) compile these files 3.) generate-sources (wrapper Classes) based on the compiled class files 4.) compile all = how can I realize this behaviour within the Maven-Lifecycle ? Thanx for any advice, Torsten

RE: Lifecycle question: generate-sources, compile, generate-wrapper-sources and compile again within one module

2007-12-19 Thread Mark Struberg
Are you sure that step 3.) is depending on the classes and not on the Java sources? A quick option would be to split 1+2 and 3+4 into 2 modules, so you'll get 2 independent lifecycles which provides all you need. This is also a good idea if the schema files do not change that often, since you

Antwort: RE: Lifecycle question: generate-sources, compile, generate-wrapper-sources and compile again within one module

2007-12-19 Thread torsten . reinhard
Hi thanx, yes I´m sure about step 3.) - it´s a self-made wrapper class generator, based on reflection and therefore dependend on the .class files. To split the module into 2 modules was my thought,too - but it would change the existing build and introduce a new module. But to package the

RE: Managing remote repositories

2007-12-19 Thread Matthew Tordoff
We are currently using Artifactory, would there be any benefits into moving to Archiva? What are people's experiences with the different proxies? Matt -Original Message- From: Wendy Smoak [mailto:[EMAIL PROTECTED] Sent: 18 December 2007 22:23 To: Maven Users List Subject: Re: Managing

Re: Maven Site, No Anonymous Access to Source Repository

2007-12-19 Thread Roger Ye
Hi, FYI, I've filed the bug report. http://jira.codehaus.org/browse/MPIR-78 * Maven 2.x Project Info Reports Pluginhttp://jira.codehaus.org/browse/MPIR * Unable to exclude scm anonymous access info Thanks On 12/19/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I've taken another look

Re: Dependency rpoblem in multi-module project

2007-12-19 Thread Heinrich Nirschl
On Dec 19, 2007 9:21 AM, Guillaume Lederrey [EMAIL PROTECTED] wrote: Problem still not solved. I tried a couple of things : Seems to be a typo somewhere. You said the module is called EvenementMetier_shared but maven is looking for EvenementMetierPoc_shared (note the Poc). Double check the group

Re: Dependency rpoblem in multi-module project

2007-12-19 Thread Guillaume Lederrey
I did change the names of the modules to match the directories. But I'm pretty sure it's not a typo. If I build the modules one after the other, it works fine : mvn -f EvenementMetier_shared/pom.xml install mvn -f EvenementMetier_server/pom.xml install ... On 19/12/2007, Heinrich Nirschl

Running test suites

2007-12-19 Thread arnaud . x . dostes
Hello users, I have several unit tests and a a test suite. I'm trying to run the test suite using maven, however mvn test executes all the unit tests, but not the test suite (whose purpose is to run the unit tests in a particular order). Is there a way to run test suites using maven ? Best

RE: How to deploy corporate-pom?

2007-12-19 Thread Boeckli, Dominique
In fact, both ways are not perfect! Assuming: i change the company pom in your way and advice the developers about this change. As you know most of the email are deleted without being read, i am sure that nobody remembers that there's a new version of the company Pom. So, the effect is the same

Re: Maven Site, No Anonymous Access to Source Repository

2007-12-19 Thread Wendy Smoak
On Dec 19, 2007 7:25 AM, [EMAIL PROTECTED] wrote: The scm.connection is the anonymous connection. So, should continuum work with the developerConnection or the anonymous connection? (Or pick the one, that is available) Sorry, it's early. :) As long as Maven doesn't complain about it, I

RE: How to deploy corporate-pom?

2007-12-19 Thread nicklist
I didn't meant on developer basis, but on project basis. Example: corporate-pom is at version 0.1.0 Project A has as parent corporate-pom:0.1.0 Project B has as parent corporate-pom:0.1.0 Project A wants a version changed, dependency added, whatever. corporate-pom changes to version

Re: Maven Site, No Anonymous Access to Source Repository

2007-12-19 Thread Roger Ye
In a normal build, it's ok to use the anonymous connection, but what if I want do a mvn release using continuum, that will require checking in and tagging, therefore a developer connection is necessary, so it depends. I think, when adding a maven project into continuum, the user should be asked

RE: How to deploy corporate-pom?

2007-12-19 Thread nicklist
I thought the problem was with developers having to remove stuff from their local repository. Now you present another problem. In my vision, they should certainly not change automatically. At least not the tags, then you can have two builds of the same tag with different parent information,

RE: How to deploy corporate-pom?

2007-12-19 Thread Boeckli, Dominique
yes, i understand, but good-way-example is based on 2 projects. But, my example is the following: Project A same. Project B same. no comes the difference 200 more projects, currently nobody working on it, some were not changed since 2 years or more, has

Re: JVM Appears to be hung

2007-12-19 Thread Hemant Malik
Hi, I was able to overcome this problem by deploying continuum war on tomcat. Just browsing through the continuum bug list i came across some bug that was related to jvm and jetty, so just as a wild guess i thought of doing it. And on tomcat continuum is running fine. I know there is nothing to

AW: AW: AW: AW: Wrong build status in Project Group Summary

2007-12-19 Thread Manuel.Renz
Hi again, so I changed the length but id didn't help, it still complains about the max length. I also adjusted the value in the pacakge.jdo file. Also I would like to change to CLOB but don't know how to get this working. in column COMMAND_OUTPUT that has maximum length of 1024. I found a

Re: HELP - repository central will be blacklisted

2007-12-19 Thread knaas
This is old, and you may have figured out your issue, but this is what worked for us. We had our artifactory configured to use both apache's official maven release and snaphot repositories. We also had our settings.xml set to be a mirrorOf * so that everything would go to our artifactory repo.

Re: Is this a bug (Maven needs pom to read global settings.xml)?

2007-12-19 Thread knaas
This is old, and you may have figured out your issue, but this is what worked for us. We had our artifactory configured to use both apache's official maven release and snaphot repositories. We also had our settings.xml set to be a mirrorOf * so that everything would go to our artifactory repo.

Re: Maven Site, No Anonymous Access to Source Repository

2007-12-19 Thread Lee Meador
Could the developer connection have user and, maybe, password included in the URL? If so, that would make it relevant -- Lee On Dec 19, 2007 8:48 AM, Roger Ye [EMAIL PROTECTED] wrote: In a normal build, it's ok to use the anonymous connection, but what if I want do a mvn release using

How to either merge a jar with one of its dependencies OR reference a jar assembled with dependency

2007-12-19 Thread Boyle, PJ
Hi, I am trying to build a set of projects that ultimately produces a library that will be distributed to other applications. The library consists of the web application filter which needs to invoke some EJBs running in another process. At the moment I have structured my maven projects so I have

Need some help

2007-12-19 Thread Tim Schulz
We are running continuum 1.0.3 on a redhat linux box. We have 28 projects under the one instance. Everything was working fine until yesterday, then one of the projects in the show projects view was marked with the red x, but when we go into the build history it shows that it built successfully.

RE: How to deploy corporate-pom?

2007-12-19 Thread Boeckli, Dominique
the problem is that things get forgotten: Assuming i start working on Project Y and i forget to check if there's a new company pom. After a few changes in my code in this project, it is builded on wrong dependencies succesfully and deployed on the test server. Deployment failes and i spent a lot

RE: How to deploy corporate-pom?

2007-12-19 Thread nicklist
Couldn't you put the version of the parent (corporate-pom) to LATEST instead of a version number. AFAIK, when you do a release it is changed into the current latest version. So tags won't change when you update your corporate pom. Hth, Nick Stolwijk -Original Message- From: Boeckli,

Problems with Clover 2 and context filters

2007-12-19 Thread Volker Fuessler
Hi, I try to filter logging statements from Clover coverage, but unfortunately I can't get it to work. That's how I configured clover in the pom.xml plugin artifactIdmaven-clover-plugin/artifactId groupIdcom.atlassian.maven.plugins/groupId

Maven 1.1 + tomcat plugin

2007-12-19 Thread Dooing
Hi, I just updated from Maven 1.0.2 to Maven 1.1. In Maven 1.02 I used the tomcat plugin from codezar: maven-tomcat-plugin-1.1.jar. Using Maven 1.1, I typed in: maven tomcat:deploy This gave me the error: --- Error

maven2 and jboss wsconsume -- examples?

2007-12-19 Thread jsolderitsch
I am looking for some directions, or some example pom text, to show how the jboss wsconsume operation can be integrated into a maven2 workflow. wsconsume will generate Java code based on a wsdl spec. For example, one of our developers uses the following in a Windows bat file to execute this

Deploying multi-module third-party dependencies into a corporate repository. How to handle versionning (and sources and patches)

2007-12-19 Thread Jerome Lacoste
Hei, I often have to build an external dependency and deploy it in our corporate repository. For that I tend to use the deploy plugin specifying the alternative repository using -DaltDeploymentRepository. For complex projects, I need to deploy multiple artifacts, so the deploy-file mojo isn't up

Re: maven2 and jboss wsconsume -- examples?

2007-12-19 Thread Wayne Fay
Some things to investigate: 1) Call wsconsume from ant. You'll need to do some research to see if this is available as an Ant task. 2) You can try using maven-exec-plugin to call wsconsume directly. 3) Find (or write) written a Maven plugin (mojo) for wsconsume. This is rather simple and I'd

Re: Ant-like project dependencies

2007-12-19 Thread Doug Knesek
Thanks for the reply, Wayne. This isn't quite what I had in mind, but I've managed to rig my project groups in Continuum to accomplish my objective. I guess this has turned into a feature request: When doing a maven build, there should be an option to cascade builds on all SNAPSHOT

Re: Code checkout not happening

2007-12-19 Thread Doug Knesek
Thanks for the reply, Mark. It turns out that the problem was mine. My hierarchy of POMs had some duplication with POMs in the actual Java projects. Thanks for your help everyone. Mark_E wrote: Hi Doug, Continuum should get the SCM information for the pom.xml. I have the Subversion

[m2] Deploy without rebuilding artifacts again

2007-12-19 Thread jblack
For example, my first pass would be 'clean install'. Then when I am satisifed, run 'mvn deploy'. Except the deploy phases reruns compile and install. Can I skip this behavior? -- View this message in context:

Failed to validate POM

2007-12-19 Thread Johannes Schneider
Hi, I get the following error message when I try to mvn install I have no idea how I could solve that... [INFO] Failed to create assembly: Error retrieving POM of module-dependency: joda-time:joda-time-hibernate:jar:1.0; Reason: Failed to validate POM for project joda-time:joda-time-hibernate at

assembly plugin - topLevel directory to be supressed in war

2007-12-19 Thread Pankaj Tandon
Hi, I intend to use the assembly plugin for a very simple task. I need it to war up a folder structure into a WAR file. The folder is already in a WAR format (infact it is an exploded war file) that I modify via a custom mojo and then I'm using the assembly plugin to war it back up again. Sounds

Re: Failed to validate POM

2007-12-19 Thread olivier lamy
Hi, The pom here [1] is not valid. dependency groupIdjta/groupId artifactIdjta/artifactId /dependency version is missing. Have a look here : http://maven.apache.org/guides/mini/guide-maven-evangelism.html. -- Olivier [1]

Unit test strategy for testing a java.io.File in maven2?

2007-12-19 Thread JavaGeek
Hello All, I have some code that reads a directory in a maven2 project. Is there a way to put a directory of files in a maven project and reliably read it from JUnit 4 (or TestNG) across platforms? I have code that will read the contents of a directory, looking for images. I'd like to

Re: Failed to validate POM

2007-12-19 Thread Johannes Schneider
Thanks for it. There still exists a bug report http://jira.codehaus.org/browse/MEV-554 I hope it will be fixed very soon. Regards, Johannes Schneider olivier lamy wrote: Hi, The pom here [1] is not valid. dependency groupIdjta/groupId artifactIdjta/artifactId /dependency version is

Re: How to deploy corporate-pom?

2007-12-19 Thread Michael McCallum
You can configure your repository to check for updates after a time interval but in order to maintain build reproducibility something in the repository and that includes parents should never change... Process has its problems but its better for the developer to choose when to break their

maven-har multiple module dependency issue

2007-12-19 Thread Jeffrey Williams
Hi, I am not entirely sure this is the correct mailing list to post on for this plugin. The net.sf.mavin-har seems to have no posts. But I will continue on with my problem anyway. If there is a better place please let me know! I have a multiple module project The first module contains my

Re: How to deploy corporate-pom?

2007-12-19 Thread Nick Stolwijk
I was also thinking, that you could write a custom rule for the enforcer plugin, which checks that the topmost parent is the latest in the available repositories. Maybe I will write it tomorrow, if you are interested. Hth, Nick Stolwijk [EMAIL PROTECTED] wrote: Couldn't you put the version

Re: maven2 and jboss wsconsume -- examples?

2007-12-19 Thread jsolderitsch
jsolderitsch wrote: I am looking for some directions, or some example pom text, to show how the jboss wsconsume operation can be integrated into a maven2 workflow. wsconsume will generate Java code based on a wsdl spec. For example, one of our developers uses the following in a Windows

RE: How to deploy corporate-pom?

2007-12-19 Thread Brian E. Fox
This is an interesting idea, but what if you change the rev on the trunk but someone has a developer branch? Now their branch will start failing the rule cause it's not the latest top level parent. -Original Message- From: Nick Stolwijk [mailto:[EMAIL PROTECTED] Sent: Wednesday, December

Re: How to deploy corporate-pom?

2007-12-19 Thread Nick Stolwijk
I was not talking about revisions (SVN) but about versions (maven repository). I hadn't thought about branches/trunk with each their own releases. So maybe it should just be an option to only have the latest minor version. ie. if there is an update from 0.9.1 to 0.9.2 you should take it. It

RE: How to deploy corporate-pom?

2007-12-19 Thread Brian E. Fox
I think this can still be a problem. Say you have 1.0-SNAPSHOT of your product using version 1 of your corp pom. (I always suggest org poms always be releases for the same reason I'm about to explain) Then you go and change the trunk of your product code to use version 2 of the corp pom. I'm a

Configure release plugin in the POM for both prepare and branch goals

2007-12-19 Thread Olivier Dehon
Hello, I stumbled upon the following problem and I hope I missed something obvious that you could point me to. I am trying to add some configuration elements for the release plugin inside my POM, notably the tagBase. The tagBase I use for the branch goal is different from the one for the prepare

generated sources convention

2007-12-19 Thread Kallin Nagelberg
I'm working on adapting some source generation code into the maven lifecycle. I've written a plugin that is generating the sources (albeit at random places) and bound it to the generate sources phase. I've read in a couple places that the standard location is target/generated-sources/plugin-id.

RE: generated sources convention

2007-12-19 Thread William Ferguson
Kallin, You need to tell Maven that the location of your generated source should be included as part of the build. Ie /** * @parameter default-value=${project} * @required * @readonly */ private MavenProject project; /** *

Maven2 strange issue

2007-12-19 Thread Trasca Virgil
Hi, I have a new build with maven2 which used to work correctly and quick. But today when I did the sample compile which worked so many times maven2 started to go to repositories and download all kind of dependencies which I never heard about and stayed so much time that I got bored

Re: Unit test strategy for testing a java.io.File in maven2?

2007-12-19 Thread Heinrich Nirschl
On Dec 19, 2007 9:57 PM, JavaGeek [EMAIL PROTECTED] wrote: Hello All, I have some code that reads a directory in a maven2 project. Is there a way to put a directory of files in a maven project and reliably read it from JUnit 4 (or TestNG) across platforms? I have code that will read the

Re: Unit test strategy for testing a java.io.File in maven2?

2007-12-19 Thread Insitu
HEllo, Heinrich Nirschl [EMAIL PROTECTED] writes: I seem to miss something, why does new File(test/resources/myImages) not work? Because you can never be sure that the current directory is the root directory of your project. You can define environment variables in the surefire plugin

Re: Unit test strategy for testing a java.io.File in maven2?

2007-12-19 Thread Kalle Korhonen
To get the root of your test target dir, I'd simply do something like: String rootPath = file:// + MyTestClass.class.getClassLoader().getResource().getFile() + ../; Kalle On Dec 19, 2007 10:40 PM, Insitu [EMAIL PROTECTED] wrote: HEllo, Heinrich Nirschl [EMAIL PROTECTED] writes: I seem to

RE: How to deploy corporate-pom?

2007-12-19 Thread nicklist
I've created a jira issue for the enforcer rule and I'm working on it. http://jira.codehaus.org/browse/MENFORCER-28 With regards, Nick Stolwijk

Re: Unit test strategy for testing a java.io.File in maven2?

2007-12-19 Thread nicolas de loof
There is a simplier way : maven defines the basedir system property I used it as my hudson continuous integration server doesn't set the project root as current directory. I also set default value to . so that I can run the test under eclipse File baseDir = new File( System.getProperty(