Re: jivesoftware and common dependencies

2005-05-26 Thread Carlos Sanchez
Please read http://maven.apache.org/reference/repository-upload.html to get jars uploaded to ibiblio On 5/26/05, Igor Deruga <[EMAIL PROTECTED]> wrote: > Dear members! > I've found that there is no smack-1.5.0.jar at > http://www.ibiblio.org/maven2/jivesoftware/smack/. That's a pity for I'm > usin

jivesoftware and common dependencies

2005-05-26 Thread Igor Deruga
Dear members! I've found that there is no smack-1.5.0.jar at http://www.ibiblio.org/maven2/jivesoftware/smack/. That's a pity for I'm using it and have to copy one in my local repository. Another question. All of my modules inherit one pom.xml, and I want to define all possible dependencies f

Re: [m2] Project relative dependencies

2005-05-26 Thread Brett Porter
(copying to users list for the record) On 5/27/05, John Fallows <[EMAIL PROTECTED]> wrote: > Hi Brett, > > I understand. What I'm asking for is for Maven2 to make the > "dependency resolver" API pluggable, so that we can configure our > projects to use a custom implementation of a common API, wi

Re: [m2] Project relative dependencies

2005-05-26 Thread Brett Porter
Can you detail more about your custom solution, and what it does? As you'll see from our comments, because this does away with a whole lot of Maven's features what you'd be faced with is probably recompiling your own Maven distribution from source, with your own resolver implementation (it should

Re: HSQLDB locking when using tomcat plugin

2005-05-26 Thread Sebastien Arbogast
> You can easily use AOP with MDA, I use aspectj with my AndroMDA apps all > the time, because your system is generated does not mean you can't > introduce aspects into the process. > Ok thanks for the precision Chad, I didn't know that and I didn't mean to misinform people about AndroMDA. Use An

Re: HSQLDB locking when using tomcat plugin

2005-05-26 Thread Chad Brandon
Sebastien Arbogast wrote: 2005/5/26, Siegfried Goeschl <[EMAIL PROTECTED]>: I'm also not a Spring expert - actually I never used it - but +) you might be able to derive from org.apache.commons.dbcp.BasicDataSource and overwrite the close() method I like this one but I can't figure

Re: multiple make sense

2005-05-26 Thread Brett Porter
This was proposed some time ago, multiple inheritence will not be introduced as an alternative for transitive dependencies. More information should be available in the archives and jira. - Brett On 5/27/05, Jens Zastrow <[EMAIL PROTECTED]> wrote: > we want to put the dependencies of our framework

Re: HSQLDB locking when using tomcat plugin

2005-05-26 Thread Sebastien Arbogast
2005/5/26, Carlos Sanchez <[EMAIL PROTECTED]>: > >hsqldb >hsqldb >1.7.3.3 >jar > >root >true > > > > Please send replies to maven users list. Sorry ! Damn GMail answer... Unfortunatel

Re: HSQLDB locking when using tomcat plugin

2005-05-26 Thread Carlos Sanchez
hsqldb hsqldb 1.7.3.3 jar root true Please send replies to maven users list. On 5/26/05, Sebastien Arbogast <[EMAIL PROTECTED]> wrote: > 2005/5/26, Carlos Sanchez <[EMAIL PROTECTED]>: > > T

Re: HSQLDB locking when using tomcat plugin

2005-05-26 Thread Carlos Sanchez
You can write a Maven goal in maven.xml that issues the SHUTDOWN command to the database (see sql ant task) , so you can call maven shutdown and close the db. SHUTDOWN; or maybe you can extend the Spring listener (or add another one to web.xml) to issue that command when the webapp is unloaded.

Re: HSQLDB locking when using tomcat plugin

2005-05-26 Thread Sebastien Arbogast
Actually I found out how to access my JDBC connection and I wrote the corresponding code but it appeared to be useless because my close() method was simply not called at all. So I'll give up with that as I have many other more important things to achieve on that project. For now I'll just restart

Re: HSQLDB locking when using tomcat plugin

2005-05-26 Thread Sebastien Arbogast
2005/5/26, Siegfried Goeschl <[EMAIL PROTECTED]>: > I'm also not a Spring expert - actually I never used it - but > > +) you might be able to derive from > org.apache.commons.dbcp.BasicDataSource and overwrite the > close() method I like this one but I can't figure out how I can access my da

RE: Singletons/static variables and Unit testing

2005-05-26 Thread David Jackman
I got around this kind of issue a few years back (long before I started using Maven) by having a special test suite class that created a single test suite out of all the test classes. The grand test suite would set up the singleton, then call all the test suites for the individual classes. Each t

Re: Reuse of hibernate domain objects in multiple maven projects?

2005-05-26 Thread Alex Soto
I'm having a little troubling understanding, but let's assume I do :) If your hibernate project produces an artifact named domain-1.0.jar that contains your hibernate pojo's and mappings. Then you should declare it as a dependency in your project.xml for your other projects that depend on it. Y

multiple make sense

2005-05-26 Thread Jens Zastrow
we want to put the dependencies of our framework ABC into files like ABC-${version}.dependency. [project.properties] ABC.version=1.2.4 [project.xml] ABC-${ABC.version}.dependency the advantage is the possibility to switch between different versions of ABC by just changing the ABC.ve

Re: Singletons/static variables and Unit testing

2005-05-26 Thread Siegfried Goeschl
Hi Bryan, I think Maven is not guilty but your approach using static initializer and singletons is improvable The JUNIT way +) of defining a lifecycle for an individual test case is setup() and tearDown() +) of providing resources shared across multiple testsuites is using a TestSetup The

Singletons/static variables and Unit testing

2005-05-26 Thread bryan hansen
We are using maven to run our Unit Tests which are accessing the database through Hibernate. It seems that when Maven builds the test suite it is reconfiguring hibernate before each TestCase. So if there are 3 tests in a class it will run those with the same configuration, but when it goes to the n

Re: [m2] How to use pom-pre-alpha-converter??

2005-05-26 Thread Brett Porter
Thanks Anatol. Would you mind creating a JIRA issue and attaching it there? - Brett On 5/27/05, Anatol Pomozov <[EMAIL PROTECTED]> wrote: > > I'm not sure why this is - looks like a missing group ID, but it > > should have determined that from the path. > > That is because of > org.apache.maven.

Re: [m2] How to use pom-pre-alpha-converter??

2005-05-26 Thread Anatol Pomozov
> I'm not sure why this is - looks like a missing group ID, but it > should have determined that from the path. That is because of org.apache.maven.tools.repoclean.artifact.metadata.ProjectMetadata class which returns null as groupId. Seems that is fake implementation of ArtifactMetadata. And it d

Re: multiple cvs modules

2005-05-26 Thread Jason van Zyl
On Thu, 2005-05-26 at 16:30 +0100, teknokrat wrote: > Actually I am not doing anything yet and was just curious about possible > ways to set up maven. I think the multiproject goal is all I need. That's usually what we suggest: small simple projects and aggregate them together to make your final

gzip file contents request

2005-05-26 Thread teknokrat
I have maven installed to check the project out of cvs. I am using CVSNT. When I run the site goal I get the following message for the changelog goal [echo] Generating the changelog report Server is not supporting gzip-file-contents request ChangeLog found: 0 entries Is there a problem her

Re: multiple cvs modules

2005-05-26 Thread teknokrat
Jason van Zyl wrote: On Thu, 2005-05-26 at 12:42 +0100, teknokrat wrote: Is it possible to checkout multiple cvs modules into the same project? No. What about having multiple repository entries in project.xml No. You are doing this in practice? I'd be curious to hear your use case. M

Re: HSQLDB locking when using tomcat plugin

2005-05-26 Thread Siegfried Goeschl
Hi Sebastien, I'm also not a Spring expert - actually I never used it - but +) you might be able to derive from org.apache.commons.dbcp.BasicDataSource and overwrite the close() method +) add a custom HSQLDB shutdown bean for Spring +) or write a little servlet which does the magic Cheers, S

Réf. : RE: [OT]Re: Réf. : Re: [m2] Multiproject with flat layout

2005-05-26 Thread fabrice . belingard
Jeff, here is part of my "project.properties" file that works for Dashboard : # - MULTIPROJECT - maven.multiproject.basedir=${basedir}/.. maven.multiproject.includes=myProject1/project.xml,myProject2/project.xml maven.multiproject.site.goals=site,dashboard:report-single # ---

Re: HSQLDB locking when using tomcat plugin

2005-05-26 Thread dan tran
You need to talk to Spring folk ;-) -D On 5/26/05, Sebastien Arbogast <[EMAIL PROTECTED]> wrote: > > from http://hsqldb.sourceforge.net/doc/guide/ch01.html#N10190 > > > > " All databases running in different modes can be closed with the > > SHUTDOWN command, issued as an SQL query. In 1.7.2, in-p

Re: HSQLDB locking when using tomcat plugin

2005-05-26 Thread Sebastien Arbogast
> from http://hsqldb.sourceforge.net/doc/guide/ch01.html#N10190 > > " All databases running in different modes can be closed with the > SHUTDOWN command, issued as an SQL query. In 1.7.2, in-process databases > are no longer closed when the last connection to the database is > explicitly closed vi

Re: multiple cvs modules

2005-05-26 Thread Jason van Zyl
On Thu, 2005-05-26 at 12:42 +0100, teknokrat wrote: > Is it possible to checkout multiple cvs modules into the same project? No. > What about having multiple repository entries in project.xml No. You are doing this in practice? I'd be curious to hear your use case. Maven is based on the prece

RE: Réf. : Re: [m2] Multiproject with flat layout

2005-05-26 Thread Jeff Jensen
Thank you!! :-) -Original Message- From: Brett Porter [mailto:[EMAIL PROTECTED] Sent: Thursday, May 26, 2005 4:43 AM To: Maven Users List Subject: Re: Réf. : Re: [m2] Multiproject with flat layout Done. MNG-359 has been closed. On 5/26/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:

RE: [OT]Re: Réf. : Re: [m2] Multiproject with flat layout

2005-05-26 Thread Jeff Jensen
Same environment here. I setup a Maven project for each WSAD project. It was the best way I could determine to generate all the reports. Perhaps there is a better way?? But this works well and I do not know how to improve on it at this point! :-) Any suggestions/comments welcome! So running m

Re: Maven SCM plugin: where do I get cvs.exe?

2005-05-26 Thread bryan ( [EMAIL PROTECTED])
google: find cvsnt , install it , add the cvs.exe to your path On 5/26/05, Wim Deblauwe <[EMAIL PROTECTED]> wrote: > > Hi, > > this is my first attempt at using cvs, so bear with me for a moment. I > tried: > > maven scm:checkout-project -Dmaven.scm.method=cvs > -Dmaven.scm.cvs.module=pmd > -D

Maven SCM plugin: where do I get cvs.exe?

2005-05-26 Thread Wim Deblauwe
Hi, this is my first attempt at using cvs, so bear with me for a moment. I tried: maven scm:checkout-project -Dmaven.scm.method=cvs -Dmaven.scm.cvs.module=pmd -Dmaven.scm.cvs.root=:pserver:[EMAIL PROTECTED]:/cvsroot/pmd -Dmaven.scm.checkout.dir=. to get the latest PMD code, but this fails with t

multiple cvs modules

2005-05-26 Thread teknokrat
Is it possible to checkout multiple cvs modules into the same project? What about having multiple repository entries in project.xml - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Réf. : [OT] Multiproject with flat layout

2005-05-26 Thread bryan ( [EMAIL PROTECTED])
Merci Fabrice, votre solution marche parfaitment !!! Thanks , works perfectly !! --b On 5/26/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > > > > Hi Brian, > > Are you using the multi-project plugin? It allows you to generate all the > reports for every project and then it aggregat

Réf. : [OT] Multiproject with flat layout

2005-05-26 Thread fabrice . belingard
Hi Brian, Are you using the multi-project plugin? It allows you to generate all the reports for every project and then it aggregates the sites under the root project's site. For it to work, you should have something like that in the "project.properties" of the root project : maven.mult

Re: Réf. : Re: [m2] Multiproject with flat layout

2005-05-26 Thread Brett Porter
Done. MNG-359 has been closed. On 5/26/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > > > Brett, > > IMHO, the "../" path in would really be helpful. I imagine that > it does not add a big implementation problem, and it would solve the issue > of the flat layout of Eclipse. > > My p

Re: [m2] How to use pom-pre-alpha-converter??

2005-05-26 Thread Brett Porter
It's already in JIRA. On 5/26/05, Anatol Pomozov <[EMAIL PROTECTED]> wrote: > Converting my project to M2 I got a lot of 'missing pom' errors, one > of them printed below. > [INFO] maven-surefire-plugin: using locally installed snapshot > [INFO] [resources:resources] > Downloading: http://repo1.ma

RE: JUnit pass rate no longer showing with Dashboard 1.9

2005-05-26 Thread Vincent Massol
> -Original Message- > From: Wim Deblauwe [mailto:[EMAIL PROTECTED] > Sent: jeudi 26 mai 2005 11:27 > To: Maven Users List > Subject: Re: JUnit pass rate no longer showing with Dashboard 1.9 > > > > PS: Version 1.9 is still marked as "unreleased" in JIRA > > > > Maybe that's because it *

RE: JUnit pass rate no longer showing with Dashboard 1.9

2005-05-26 Thread Vincent Massol
> -Original Message- > From: Wim Deblauwe [mailto:[EMAIL PROTECTED] > Sent: jeudi 26 mai 2005 11:27 > To: Maven Users List > Subject: Re: JUnit pass rate no longer showing with Dashboard 1.9 > > > > PS: Version 1.9 is still marked as "unreleased" in JIRA > > > > Maybe that's because it *

Re: Is there a tool to graphically see the dependencies between modules?

2005-05-26 Thread Wim Deblauwe
Could you please put your plugin somewhere? I would really like to test it. regards, Wim 2005/5/25, Alex Soto <[EMAIL PROTECTED]>: > Yes, I can see that being useful since I have some guys ramping up on a > codebase as well as being maven newbies. > > > On 5/25/05, Wim Deblauwe <[EMAIL PROTECT

Re: JUnit pass rate no longer showing with Dashboard 1.9

2005-05-26 Thread Wim Deblauwe
> > PS: Version 1.9 is still marked as "unreleased" in JIRA > > Maybe that's because it *is* unreleased! ;-) > > -Vincent Whoops, just mixed up the Clover and Dashboard plugin version. Indeed, Dashboard is at version 1.8 :) I just looked at the JIRA issue, but I don't find any button I can push

RE: JUnit pass rate no longer showing with Dashboard 1.9

2005-05-26 Thread Vincent Massol
> -Original Message- > From: Wim Deblauwe [mailto:[EMAIL PROTECTED] > Sent: jeudi 26 mai 2005 11:04 > To: Maven Users List > Subject: Re: JUnit pass rate no longer showing with Dashboard 1.9 [snip] > PS: Version 1.9 is still marked as "unreleased" in JIRA Maybe that's because it *is* u

RE: JUnit pass rate no longer showing with Dashboard 1.9

2005-05-26 Thread Vincent Massol
> -Original Message- > From: Wim Deblauwe [mailto:[EMAIL PROTECTED] > Sent: jeudi 26 mai 2005 11:04 > To: Maven Users List > Subject: Re: JUnit pass rate no longer showing with Dashboard 1.9 [snip] > PS: Version 1.9 is still marked as "unreleased" in JIRA Maybe that's because it *is* u

Re: [m2] How to use pom-pre-alpha-converter??

2005-05-26 Thread Anatol Pomozov
Converting my project to M2 I got a lot of 'missing pom' errors, one of them printed below. [INFO] maven-surefire-plugin: using locally installed snapshot [INFO] [resources:resources] Downloading: http://repo1.maven.org/maven2/icu4j/icu4j/2.6.1/icu4j-2.6.1.pom [WARNING] Unable to get resource from

Re: JUnit pass rate no longer showing with Dashboard 1.9

2005-05-26 Thread Wim Deblauwe
Done: http://jira.werken.com/browse/MPDASHBOARD-26 regards, Wim PS: Version 1.9 is still marked as "unreleased" in JIRA 2005/5/26, Vincent Massol <[EMAIL PROTECTED]>: > Hi Wim, > > Thanks. Could you please open a JIRA issue and attach your solution as a > patch to it? > > Thanks > -Vincent >

[OT]Re: Réf. : Re: [m2] Multiproject with flat layout

2005-05-26 Thread bryan ( [EMAIL PROTECTED])
Hi Fabrice, I'm using maven 1.0.2 with WSAD as well. How do you go about generating reports for all the dependant projects ? I would like to generate javadoc/junit reports etc for all the modules not just the main maven project. --b On 5/26/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > >

RE: JUnit pass rate no longer showing with Dashboard 1.9

2005-05-26 Thread Vincent Massol
Hi Wim, Thanks. Could you please open a JIRA issue and attach your solution as a patch to it? Thanks -Vincent > -Original Message- > From: Wim Deblauwe [mailto:[EMAIL PROTECTED] > Sent: jeudi 26 mai 2005 10:42 > To: Maven Users List > Subject: JUnit pass rate no longer showing with Dashb

RE: JUnit pass rate no longer showing with Dashboard 1.9

2005-05-26 Thread Vincent Massol
Hi Wim, Thanks. Could you please open a JIRA issue and attach your solution as a patch to it? Thanks -Vincent > -Original Message- > From: Wim Deblauwe [mailto:[EMAIL PROTECTED] > Sent: jeudi 26 mai 2005 10:42 > To: Maven Users List > Subject: JUnit pass rate no longer showing with Dashb

Réf. : Re: [m2] Multiproject with flat layout

2005-05-26 Thread fabrice . belingard
Brett, IMHO, the "../" path in would really be helpful. I imagine that it does not add a big implementation problem, and it would solve the issue of the flat layout of Eclipse. My problem is that the company I'm working for only uses WSAD. I'm currently working on spreading Maven all over hu

Re: HSQLDB locking when using tomcat plugin

2005-05-26 Thread Siegfried Goeschl
Hi Phillip, from http://hsqldb.sourceforge.net/doc/guide/ch01.html#N10190 " All databases running in different modes can be closed with the SHUTDOWN command, issued as an SQL query. In 1.7.2, in-process databases are no longer closed when the last connection to the database is explicitly clos

JUnit pass rate no longer showing with Dashboard 1.9

2005-05-26 Thread Wim Deblauwe
Hi, my JUnit passrates are no longer showing when using dashboard version 1.9. I traced the problem down to the JUnit aggregator. It contains these linen: nr of tests: ${nbTests} %

Re: [m2] How to use pom-pre-alpha-converter??

2005-05-26 Thread Brett Porter
(adding back the users list) On 5/26/05, Anatol Pomozov <[EMAIL PROTECTED]> wrote: > [ERROR] Error while rewriting file or POM for artifact: > 'generama:generama:jar:1.1.1-SNAPSHOT'. See report at: > 'generama/generama/jar/1.1.1-SNAPSHOT.report.txt'.java.lang.NullPointerException I'm not sure why

Re: URL format

2005-05-26 Thread Brett Porter
You would need to file a JIRA issue to support authenticated access. perhaps https://user:[EMAIL PROTECTED]/... might work already - but you'd need to try. - Brett Merwin Yap wrote: I am using https. So I am entering something like https://host/directory/pom.xml How about the username and

RE: URL format

2005-05-26 Thread Merwin Yap
I am using https. So I am entering something like https://host/directory/pom.xml How about the username and password? I tried accessing the url address at the browser and I do get the pop window for the password and do get to see the content of the directory. Thanks! Regards, Merwin

PMD jar override not respected when in master project

2005-05-26 Thread Wim Deblauwe
Hi, All my projects extend from a master project.xml. Along this is a project.properties file. Normally these values are being used, the same as they where in a project.properties file along the "real" project.xml. But I have a problem with the PMD plugin. It seems that this rule is not being foll