Re: Getting Started / Problem with plugin

2006-06-01 Thread Francois Vandewalle
Hello Wayne, this helped ! I was assuming that all the settings are done in the directory in which I installed maven. Now I can carry on with the next step. Thank you very much for your support ! François -- View this message in context: http://www.nabble.com/Getting-Started---Problem-with-pl

Re: [M2] Ghost dependencies

2006-06-01 Thread Markus Reinhardt
Hi Sebastien, I don't know how the war packaging plugin handles runtime dependencies. I use no at all for required JARs and provided for those, which should not be packaged inside the WAR file i.e. are available on your Container. How do you build you WAR? Markus Am Freitag, den 02.06.200

Re: [M2] Ghost dependencies

2006-06-01 Thread Tim Kettler
Hi, dependencies in the section just define default attributes (like giving a default version) for when you specify the dependency in some child pom. Can it be that you forgot to include the dependency in your actual project pom? Hope this helps -Tim Sebastien Arbogast schrieb: I have trou

[M2] Ghost dependencies

2006-06-01 Thread Sebastien Arbogast
I have trouble understanding the new dependency mechanism. I added a dependency like this in my root pom dependencyManagament section: jakarta-regexp jakarta-regexp 1.4 runtime It's not the only one, I've added several ones

Re: Getting Started / Problem with plugin

2006-06-01 Thread Wayne Fay
Just to confirm... Your settings.xml file is located inside the ~/.m2/ directory, right? [Where ~ is the current user's home so on Windows that's c:\documents and settings\\ and on *nix its usually /home/.] Otherwise Maven won't find the settings.xml file and won't use the proxy you have specifi

Re: Stand-alone app

2006-06-01 Thread Tim Kettler
Hi, I think my suggestion regarding the use of the dependency-maven-plugin could have been a little bit confusing/misleading. Did you configure it to copy the dependencies somewhere under your target/classes folder? I wanted to mention the OneJar project (http://one-jar.sourceforge.net/) for t

Re: Getting Started / Problem with plugin

2006-06-01 Thread Francois Vandewalle
Hello Ben, I have contacted our IT department and they oriented me to another proxy. Since then, I am able to open http://repo.mergere.com/maven2/ I then took this proxy into my settings, but I still get the same error when I start the prompt command. When making that test, our IT guy was lookin

Re: ear:generate-application-xml : ability to disable the of a web module

2006-06-01 Thread Wayne Fay
For now, you can just manually create the application.xml file, right? So I'd just do it manually and file a JIRA Improvement on the EAR plugin. The seems reasonable but perhaps not generic enough. Wayne On 6/1/06, Thierry Barnier <[EMAIL PROTECTED]> wrote: Hi, I'm developping some portlets

Re: Free book on maven 2.0

2006-06-01 Thread Carlos Sanchez
Not yet, I hope it will be soon. On 6/1/06, Jochen Wiedmann <[EMAIL PROTECTED]> wrote: On 6/1/06, Brett Porter <[EMAIL PROTECTED]> wrote: > Well, then - the users have spoken! > > http://maven.apache.org/articles.html Btw, is the printed book available for sales somewhere? Have found no pointe

Re: forking surefire VM

2006-06-01 Thread Carlos Sanchez
If you want it that way, please vote for http://jira.codehaus.org/browse/MSUREFIRE-127 and we'll see... On 6/1/06, Wayne Fay <[EMAIL PROTECTED]> wrote: +1 (Haven't been bitten by this yet, but it is certainly not intuitive.) On 6/1/06, Mike Perham <[EMAIL PROTECTED]> wrote: > +1 > > -Origi

Re: + ERROR during installing a plugin in maven 2 +

2006-06-01 Thread Serge Emmanuel Pagop
Thank u Max, I fix the probem with mvn -up On 6/2/06, Max Cooper <[EMAIL PROTECTED]> wrote: Are you disconnected from the internet, or behind a proxy? -Max Serge Emmanuel Pagop wrote: > I have this error when I run "mvn install" to install a plugin. Is there > someone, that can tell what this

ear:generate-application-xml : ability to disable the of a web module

2006-06-01 Thread Thierry Barnier
Hi, I'm developping some portlets, and bundling them into an EAR module. I use a multi module POM architecture the ear:generate-application-xml goal generate a tag, when it depends on a WAR module. However, this line is problematic when you deploy a portlet, because it seems illegal in this ca

Re: + ERROR during installing a plugin in maven 2 +

2006-06-01 Thread Max Cooper
Are you disconnected from the internet, or behind a proxy? -Max Serge Emmanuel Pagop wrote: I have this error when I run "mvn install" to install a plugin. Is there someone, that can tell what this means. (ivan) [556] mvn install [INFO] Scanning for projects... [INFO] -

+ ERROR during installing a plugin in maven 2 +

2006-06-01 Thread Serge Emmanuel Pagop
I have this error when I run "mvn install" to install a plugin. Is there someone, that can tell what this means. (ivan) [556] mvn install [INFO] Scanning for projects... [INFO] [INFO] Building Maven Validate Plugin [INFO

Re: Help with mvn war - maven-war-plugin

2006-06-01 Thread cristal
Hi Tatiana, I had the exactly the same error as you got. Here is what I found when running mvn with -X option (debug mode). In fact, maven still looking for my webapp directory in src/main/webapp even though I had specified different warSourceDirectory in the plugin configuration. See if you see

Re: More information on wrapping jelly scripts.

2006-06-01 Thread Arnaud HERITIER
Mojos are for maven 2 only. Some links : http://maven.apache.org/guides/plugin/guide-java-plugin-development.html http://maven.apache.org/articles.html Arnaud On 6/1/06, Pauquette, Bryan <[EMAIL PROTECTED]> wrote: I have several jelly scripts that I need convert to Mojos. I am attempting to m

Override modules listed in parent pom.xml

2006-06-01 Thread EJ Ciramella
Is there a way to override modules listed in the parent pom.xml (via profiles.xml or something)? I'm not sure how to handle if only ONE module has been branched for a particular bug fix.

Re: forking surefire VM

2006-06-01 Thread Wayne Fay
+1 (Haven't been bitten by this yet, but it is certainly not intuitive.) On 6/1/06, Mike Perham <[EMAIL PROTECTED]> wrote: +1 -Original Message- From: Ian Springer [mailto:[EMAIL PROTECTED] Sent: Thursday, June 01, 2006 2:36 PM To: Maven Users List Subject: RE: forking surefire VM I t

Re: Change build order for multi-module build

2006-06-01 Thread Wayne Fay
Does your parent actually contain code? Or only a pom which is inherited by the module poms with the tag? If it has code, I'd restructure to put that code in another module subdirectory, add proper dependencies in that new module's pom, and allow Maven to figure out the proper build order etc wi

Re: Installing & running Maven 2.0.4

2006-06-01 Thread Wayne Fay
There is no alternate -- you must put the name & password in the file. If this is a significant problem for your organization, then I'd suggest that you write the code to handle encrypted passwords in settings.xml and contribute it back to the Maven development effort. You're not the only person

Re: site:deploy -p switch

2006-06-01 Thread Wayne Fay
I don't believe this is a Maven bug. Instead it looks like your FTP Server (vsFTPd) does not support the -p flag to "create any missing intermediate pathname components". Here's some info I found on mkdir specs: http://www.opengroup.org/onlinepubs/009695399/utilities/mkdir.html Perhaps file a bu

Re: Installing & running Maven 2.0.4

2006-06-01 Thread Vikramm
Thanks for help. Yes, I am behind a web proxy. The settings.xml needs username & password. For security reasons am not able to give this. Is there alternate way to get this done. Also, the settings.xml file should be kept in ~/.m2/ folder ? Thanks. -- View this message in context: http://www.

Re: Maven 1.0.2 Snapshots

2006-06-01 Thread Arnaud HERITIER
You can also try a more recent SNAPSHOT of maven 1.1 beta 3. http://people.apache.org/~aheritier/maven/1.X/snapshots/ It's not yet fixed, but we are working to re-add the compability with xml entities but this problem is related to some external dependencies we use in maven (dom4j, ...). Arnaud

RE: Source control structure for Maven projects

2006-06-01 Thread EJ Ciramella
When you create new branch to do a bug fix for something like webservices, but the fix resides at a low level, maybe in a utils package. Do you branch both the area you're changing AND the consumer of the change together (see my example below), or do you branch them individually? Either way, how

Change build order for multi-module build

2006-06-01 Thread Björn Beskow
Hi I’m working on enhancing the Cobertura plugin to aggregate coverage results when generating a report in a multi-module setting. In order to be able to aggregate coverage results from the separate sub-modules, I would need the sub-modules to be processed before the parent module. But it seems

Re: Source control structure for Maven projects

2006-06-01 Thread Wayne Fay
That's how we're doing it as well, more or less. Except we're using SVN and it appears you're using something else. What specifically are you looking for in the way of best practices? Wayne On 6/1/06, EJ Ciramella <[EMAIL PROTECTED]> wrote: Hello list! Is there any best practices docs I could

Re: [m2] NPE with maven-pmd-plugin

2006-06-01 Thread Doug Douglass
You're right Mike, PMD problem that appearantly is happily hidden by the Eclipse PMD plugin :| Doug On 6/1/06, Doug Douglass <[EMAIL PROTECTED]> wrote: Mike, Well, at first I thought this was a PMD-only issue also, but that doesn't jibe with the fact that every other way of running the same v

Source control structure for Maven projects

2006-06-01 Thread EJ Ciramella
Hello list! Is there any best practices docs I could be pointed to for this? We'd like to do something like: //depot/srvcs/project/project-1/module-1/pom.xml //depot/srvcs/project/project-1/module-2/pom.xml //depot/srvcs/project/project-1/module-3/pom.xml //depot/srvcs/project/project-1/pom.xml

Re: Maven 1.0.2 Snapshots

2006-06-01 Thread Tomasz Pik
On 6/1/06, Eric White <[EMAIL PROTECTED]> wrote: To answer my own question, maven-artifact-plugin-1.5.1 or higher is required to do what's listed below. And in the release notes for this version of the plugin, it states that it is to be used with Maven 1.1 only not 1.0. So, I guess I'll have to

site:deploy -p switch

2006-06-01 Thread Borut Bolčina
On Windows XP, with maven 2.0.4 and site plugin 2.0-beta-5 when doing site:deploy with website my project site sftp://my.server/project a command mkdir -p /project/ is issued which I think is not correct When executing from cmd window

Re: Free book on maven 2.0

2006-06-01 Thread Barrie Treloar
On 6/1/06, Jochen Wiedmann <[EMAIL PROTECTED]> wrote: On 6/1/06, Brett Porter <[EMAIL PROTECTED]> wrote: > Well, then - the users have spoken! > > http://maven.apache.org/articles.html Btw, is the printed book available for sales somewhere? Have found no pointer on the Mergere site and Amazon d

[OT] jetty6:run weirdness on windows

2006-06-01 Thread Dan Adams
Okay, I've got a jetty 6 server running on windows via the jetty6:run maven plugin. Now I have a normal .js file and I'm getting the following weirdness: - Request the file and it looks fine - Add some characters to the middle of the file in notepad and save it - Request the file again. Now the fi

RE: Stand-alone app

2006-06-01 Thread Midtskogen, Erik
Hi Tim and Jean-Laurant, Thanks so much for your suggestions. I'm very close now, but I'm still confused about a couple of things. After following your suggestions, the jar:jar now adds the correct manifest.mf settings and pulls the correct dependencies out of the repository. Bravo!! But the p

RE: forking surefire VM

2006-06-01 Thread Mike Perham
+1 -Original Message- From: Ian Springer [mailto:[EMAIL PROTECTED] Sent: Thursday, June 01, 2006 2:36 PM To: Maven Users List Subject: RE: forking surefire VM I think the default should be the same JVM that launched Maven (i.e. System.getProperty("java.home") + File.pathSeparator + "bin

MANIFEST.MF generation outside of jar:jar plugin

2006-06-01 Thread Beyer,Nathan
Is there any currently available mechanism to generate a MANIFEST.MF file outside of the jar:jar goal? What I'm looking for is a way to generate or manipulate the MANIFEST.MF such that it contains values from the POM, like version, etc. I can do this via the 'archive' element in the 'configuration

RE: forking surefire VM

2006-06-01 Thread Ian Springer
I think the default should be the same JVM that launched Maven (i.e. System.getProperty("java.home") + File.pathSeparator + "bin" + File.pathSeparator + "java"). This seems more intuitive. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Carlos Sanchez Sen

Re: forking surefire VM

2006-06-01 Thread Carlos Sanchez
http://maven.apache.org/plugins/maven-surefire-plugin/test-mojo.html jvm: Option to specify the jvm (or path to the java executable) to use with the forking options. For the default we will assume that java is in the path. On 6/1/06, Ruel Loehr <[EMAIL PROTECTED]> wrote: I've seen this as well

RE: forking surefire VM

2006-06-01 Thread Mike Perham
This works: maven-surefire-plugin **/*TestSuite* -server -Xmx256m false ${JAVA_HOME}/bin/java -Original Message- From: Ruel Loehr [mailto:[EMAIL PROTECTED] Sent: Thursday, June 01, 2006 1:3

Re: Trouble with Surefire plugin

2006-06-01 Thread Carlos Sanchez
http://maven.apache.org/guides/mini/guide-ibiblio-upload.html On 6/1/06, Franz Fehringer <[EMAIL PROTECTED]> wrote: Only 4.0 can be used, because http://www.ibiblio.org/maven2/junit/junit/4.1/ is empty. Who can correct this? Greetings Franz Carlos Sanchez schrieb: > surefire plugin 2.2 allows

Re: Maven 1.0.2 Snapshots

2006-06-01 Thread Eric White
To answer my own question, maven-artifact-plugin-1.5.1 or higher is required to do what's listed below. And in the release notes for this version of the plugin, it states that it is to be used with Maven 1.1 only not 1.0. So, I guess I'll have to upgrade to 1.1-Beta to get this. Also good to note

Re: build error in multi module project

2006-06-01 Thread Ingo Düppe
Well it doesn't exist within my local repository. I know it works as long as org.openuss:openuss:3.0-SNAPSHOT exists in my local repository. But it should also work through the parent dependencies between openuss and framework. Just like it works when I build it from utilities with a empty repos

RE: forking surefire VM

2006-06-01 Thread Ruel Loehr
I've seen this as well. There is an option for setting which vm to use, I had to use it work around the problem. Maybe you could open a jira issue for it. Ruel Loehr JBoss QA - 512-342-7840 ext 2011 Yahoo: ruelloehr Skype: ruelloehr AOL: dokoruel -Original Me

forking surefire VM

2006-06-01 Thread Mike Perham
We are using JAVA_HOME to point to the VM to use to invoke Maven. This is fully supported by mvn and mvn.bat. But surefire appears to fork the VM that is in your PATH. So we are seeing instances where one type of VM is used to start Maven but another is used to run the tests. Shouldn't the defau

antrun-plug in not working during release phase

2006-06-01 Thread rdander
I am using the maven-antrun-plugin to create a jar file. The is set to "install" and the is set to "run". This works fine when I run "mvn clean install" or mvn clean deployl". If I run "mvn release:prepare" and then "mvn release:perform", the perform fails because the jar never gets created s

Re: ArcheType definition

2006-06-01 Thread Roland Asmann
Hehehe Why didn't I think of looking on the website first? :-$ Roland On Thursday 01 June 2006 20:09, Wayne Fay wrote: > I think this is exactly *the point* of the archetype plugin... > > Review the source code for existing archetypes and I'm sure you'll > figure it out pretty quickly. > >

Re: [m2] NPE with maven-pmd-plugin

2006-06-01 Thread Doug Douglass
Mike, Well, at first I thought this was a PMD-only issue also, but that doesn't jibe with the fact that every other way of running the same version of PMD on the same code does not throw an exception. The exception _only_ occurs when PMD is run via the maven-pmd-plugin. Where would you start loo

Re: ArcheType definition

2006-06-01 Thread Wayne Fay
I think this is exactly *the point* of the archetype plugin... Review the source code for existing archetypes and I'm sure you'll figure it out pretty quickly. Also the Guide to Creating Archetypes might be useful: http://maven.apache.org/guides/mini/guide-creating-archetypes.html Wayne On 6/1

Re: [m2] problem w/ antcall in ANT-based mojo

2006-06-01 Thread cristal
Pete, this is still a problem as of today. I am having exactly the same situation as you did. Haven't found any solution yet. Folks, please share some tips on this if you know any. -- View this message in context: http://www.nabble.com/-m2-+problem+w-+antcall+in+ANT-based+mojo-t1307160.html#a4

Re: REPOST: http://repo.mergere.com/maven2/javax/xml/

2006-06-01 Thread Carlos Sanchez
We are definitly working on this. We'll get the repo from java.net synced to ibiblio for all maven users, but right now there is an outage in the machine we used to do the syncs so it requires extra time. On 6/1/06, Kohsuke Kawaguchi <[EMAIL PROTECTED]> wrote: Franz Fehringer wrote: > Franz Fehr

Maven 1.0.2 Snapshots

2006-06-01 Thread Eric White
I'm trying to get snapshots working with maven 1.0.2. They only seem to work if my pom has SNAPSHOT and my dependent project has the appropriate dependency with SNAPSHOT. They don't work if currentVersion is 1.0-SNAPSHOT and version is 1.0-SNAPSHOT. Also the jar plugin only deploys a snapshot if

RE: [m2] NPE with maven-pmd-plugin

2006-06-01 Thread Mike Perham
This is a PMD bug and has nothing to do with Maven. You can turn off the "UselessOverridingMethod" rule (see PMD docs) or turn off the entire PMD report for your particular module like this: maven-pmd-plugin

Re: REPOST: http://repo.mergere.com/maven2/javax/xml/

2006-06-01 Thread Kohsuke Kawaguchi
Franz Fehringer wrote: Franz Fehringer schrieb: Hello, Now that the JAXB 2.0 release from Sun is out, would it be possible to update http://repo.mergere.com/maven2/javax/xml/ accordingly? Sorry, but we don't own this repository, they do. So you have to ask them, not us. Notice that as I

ArcheType definition

2006-06-01 Thread Roland Asmann
Hi, I was wondering if it is possible to write my own Archetype-definition, so that when I run 'mvn achetype:create' Maven will generate me a POM that has some more stuff in it than the current default. The thing is, that my company will be writing lots of projects that are fairly similar, so I

[m2] NPE with maven-pmd-plugin

2006-06-01 Thread Doug Douglass
I'm getting an NPE when using the maven-pmd-plugin on a specific class, see maven output below. maven: 2.0.3 maven-pmd-plugin: 2.0-beta-2-SNAPSHOT (20060402.035249-4) The above version of the PMD plugin uses PMD 3.6. Using the Eclipse PMD plugin, it successfully analyzes the class noted be

Re: build error in multi module project

2006-06-01 Thread Rinku
Maven is unable to find the parent artifact org.openuss:openuss:3.0-SNAPSHOT. Can you verify in your local repository that this exists? Cheers, Rahul - Original Message - From: "Ingo Düppe" <[EMAIL PROTECTED]> To: "Maven Users List" Sent: Friday, June 02, 2006 3:33 AM Subject: bui

RE: Letting the tests of one project depend on the tests of another one

2006-06-01 Thread Martin Aspeli
Edelson, Justin wrote: > > It sounds like you want a test-jar. See > http://maven.apache.org/guides/mini/guide-attached-tests.html > Aha :) That builds the tests into myproject-tests.jar indeed... > I don't know how you could do this in Eclipse other then have the > Eclipse project have th

RE: Letting the tests of one project depend on the tests of another one

2006-06-01 Thread Edelson, Justin
It sounds like you want a test-jar. See http://maven.apache.org/guides/mini/guide-attached-tests.html I don't know how you could do this in Eclipse other then have the Eclipse project have the test-jar in it's build path. I don't think Eclipse can support a separate classpath for tests from main

Re: hsqldb plugin

2006-06-01 Thread Marcel Schutte
Have you considerd using the in-process mode? See http://www.hsqldb.org/doc/guide/ch01.html#N101A8. The advantage is that you don't have to worry about starting a separate db server process and waiting for it to start up. Marcel --- Dan Adams <[EMAIL PROTECTED]> wrote: > I need to start an insta

build error in multi module project

2006-06-01 Thread Ingo Düppe
Hi, I have the following structure within my project openuss pom framework pom utilities jar This is the pom.xml from my framework module: http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http:

Letting the tests of one project depend on the tests of another one

2006-06-01 Thread Martin Aspeli
Right, sorry for the flurry of questions... We have a parent project P and two projects A and B inside it. A/src/test/java/foo/bar has a class DatabaseTestCase. Now I need to write a database test in B, so I'd like to import foo.bar.DatabaseTestCase. However, although B has a dependency on A, it

RE: Stopping Surefire from running base classes as tests

2006-06-01 Thread Martin Aspeli
Ian Springer wrote: > > Yes, use the excludes config param. See > http://maven.apache.org/plugins/maven-surefire-plugin/test-mojo.html. > Note, the default excludes include Abstract*Test[Case] so you could also > just rename your base classes to begin with Abstract. > Thank you! Actually, you

RE: Stopping Surefire from running base classes as tests

2006-06-01 Thread Ian Springer
Yes, use the excludes config param. See http://maven.apache.org/plugins/maven-surefire-plugin/test-mojo.html. Note, the default excludes include Abstract*Test[Case] so you could also just rename your base classes to begin with Abstract. Ian -Original Message- From: Martin Aspeli [mailto:[

Stopping Surefire from running base classes as tests

2006-06-01 Thread Martin Aspeli
Hi guys, In my src/test/java/** I have a number of base classes, which extend TestCase but add common logic such as properly initialising the database etc. The problem is that Surefire seems to try to run these as tests, and then they fail because JUnit doesn't find any test*() methods in them.

Re: Referencing .properties files in the CLASSPATH in test

2006-06-01 Thread Doug Douglass
Step one completed -- the resources are being built/copied correctly. I used a little JUnit test to exercise the difference between using ClassLoader.getSystemResourceAsStream() and Kierans suggestion above. In Eclipse, both tests pass, but in Maven, the ClassLoader method fails, as you're obser

Re: Referencing .properties files in the CLASSPATH in test

2006-06-01 Thread Martin Aspeli
Kieran Brady-2 wrote: > > this.getClass().getClassLoader().getResourceAsStream(... > > rather than using the system classloader and it works in both Eclipse and > Maven. > Ah, beautiful - that does it! Thank you! Out of interest, why does one work and the other not? Martin -- View this mes

RE: Referencing .properties files in the CLASSPATH in test

2006-06-01 Thread Martin Aspeli
Edelson, Justin wrote: > > Depending on how much flexability you have to move files around, I would > suggest moving these property and xml files to src/test/resources and > removing the testResources block entirely. > Yeah, I did that, actually; however, the maven testrunner still can't find

More information on wrapping jelly scripts.

2006-06-01 Thread Pauquette, Bryan
I have several jelly scripts that I need convert to Mojos. I am attempting to migrate from maven 1.0.2 to at least maven 1.1b3 with the eventual goal of getting to maven 2.0+. I looked through the documentation at the maven web site and I found this statement. Replace scripts with Mojos The

Re: Referencing .properties files in the CLASSPATH in test

2006-06-01 Thread Martin Aspeli
Martin Aspeli wrote: > > I have some unit tests that do things like this: > > InputStream stream = > ClassLoader.getSystemResourceAsStream("TestDBSetup.properties"); > assertNotNull("Could not load TestDBSetup.properties from classpath", > stream); > Properties dbProperties = new Properties();

RE : Using continuum with Sybase SQLServer

2006-06-01 Thread Olivier Lamy
I like to try ;-) I don't have the column. For the question concerning the transactio, I asked it because I need to set a special option in this case (I have done it but not better). I can put all logs in an issue if you want : - plexus.sh > plexus.out - continuum.log Are you interested ? -- O

Re: RE : Using continuum with Sybase SQLServer

2006-06-01 Thread Emmanuel Venisse
So it's a jpox bug. Jpox create all tables before the first continuum request. You can try to create a database with only the SEQUENCE_TABLE and start continuum with it. Emmanuel Olivier Lamy a écrit : With checking the logs, I see : 24753 [main] DEBUG JPOX.RDBMS.SQL - SELECT NEXT_VAL FROM

Re: Using continuum with Sybase SQLServer

2006-06-01 Thread Emmanuel Venisse
I think you're the first one that try to use sybase SQLServer. What is the column that generate the warning? I think all tables are created in a transaction but I'm not sure because we don't have the hand on it. It's the work of jpox at startup. Emmanuel Olivier Lamy a écrit : Hi, I'm tryin

Re: execute project from ear

2006-06-01 Thread Stephane Nicoll
Please use the user list for this kind of question! Your master POM should have a type of 'pom' I guess with the list of modules to build. Then you need to add a sub-project for the EAR. The warModule should be named webModule. If you still have the problem, run maven with the -e switch to chec

RE : Using continuum with Sybase SQLServer

2006-06-01 Thread Olivier Lamy
With checking the logs, I see : 24753 [main] DEBUG JPOX.RDBMS.SQL - SELECT NEXT_VAL FROM SEQUENCE_TABLE WHERE SEQUENCE_NAME=<'org.a pache.maven.continuum.model.system.SystemConfiguration'> -- 1 PS parameters 25127 [main] INFO JPOX.RDBMS - Error encountered allocating block of IDs : Couldnt obt

Re: Referencing .properties files in the CLASSPATH in test

2006-06-01 Thread Doug Douglass
Oooppps, I misspoke...you have overridden the default test resources directory, but I don't think you've done so correctly. On 6/1/06, Doug Douglass <[EMAIL PROTECTED]> wrote: On 6/1/06, Martin Aspeli <[EMAIL PROTECTED]> wrote: > > TestDBSetup.properties lives in src/main/test/resources. > >

hsqldb plugin

2006-06-01 Thread Dan Adams
I need to start an instance of hsqldb before my integration tests run and stop it after they are finished. Does anyone know of a plugin to do this? I have some ant tasks to already do it but I'm not of a good way to detect when the server has started up. -- Dan Adams Software Engineer Interactive

Re: Referencing .properties files in the CLASSPATH in test

2006-06-01 Thread Doug Douglass
On 6/1/06, Martin Aspeli <[EMAIL PROTECTED]> wrote: TestDBSetup.properties lives in src/main/test/resources. Martin, I think your problem is that the above path is not the default test resources location, and it appears you have not overridden this in your POM. The default test resources di

RE: [M2] questions about migrating to maven

2006-06-01 Thread Carlos.Fernandez
Carlos, EXTERNAL CONFIGURATION OF AN ARTIFACT AND DEPENDENCIES Sorry for belaboring this point - but I tend to think better in concrete terms. Let me walk through a scenario just to make sure I understand this. Let's say I am working on a web application. This application is a maven project co

RE: Referencing .properties files in the CLASSPATH in test

2006-06-01 Thread Edelson, Justin
Depending on how much flexability you have to move files around, I would suggest moving these property and xml files to src/test/resources and removing the testResources block entirely. -Original Message- From: Martin Aspeli [mailto:[EMAIL PROTECTED] Sent: Thursday, June 01, 2006 10:39 A

Re: Referencing .properties files in the CLASSPATH in test

2006-06-01 Thread Kieran Brady
I use this.getClass().getClassLoader().getResourceAsStream(... rather than using the system classloader and it works in both Eclipse and Maven. HTH - Original Message - From: "Martin Aspeli" <[EMAIL PROTECTED]> To: Sent: Thursday, June 01, 2006 3:38 PM Subject: Referencing .propert

Using continuum with Sybase SQLServer

2006-06-01 Thread Olivier Lamy
Hi, I'm trying to use continuum with Sybase SQLServer. I have the following errors : 006-06-01 16:38:20,930 [main] DEBUG DDL- CREATE TABLE SYSTEMCONFIGURATI ON ( SYSTEMCONFIGURATION_ID int NOT NULL, BASE_URL nvarchar(255) NULL, BUILD_OUTPUT_DIRECTORY nvarcha

Referencing .properties files in the CLASSPATH in test

2006-06-01 Thread Martin Aspeli
Hi guys, I have some unit tests that do things like this: InputStream stream = ClassLoader.getSystemResourceAsStream("TestDBSetup.properties"); assertNotNull("Could not load TestDBSetup.properties from classpath", stream); Properties dbProperties = new Properties(); dbProperties.load(stream); T

Re: war-filename (date)

2006-06-01 Thread Wayne Fay
Sure but now you have to remember to type that every single time you issue a build instead of a regular "mvn package" command. I can certainly see a good case for wanting this to be automatic, if possible. Wayne On 6/1/06, Jorg Heymans <[EMAIL PROTECTED]> wrote: thinking out loud here: can't y

Re: building single module

2006-06-01 Thread Wayne Fay
Then you can only build your project from the top level. Maven *will not* go into mod1 and build it automatically when you are building in mod3. But it will build each of your modules in order if you have a parent pom in that top level (what you are calling project) and specify mod1, mod2, and mod

Re: REPOST: http://repo.mergere.com/maven2/javax/xml/

2006-06-01 Thread Franz Fehringer
http://www.ibiblio.org/maven2/javax/xml/ has the same issue; http://repo.mergere.com/maven2/javax/xml/ seems being mirrored from it (or vice versa). I'll try to file a JIRA tomorrow. Franz Wayne Fay schrieb: This is the Maven Users list. There's a very good reason your first message was ignor

RE: Stand-alone app

2006-06-01 Thread Midtskogen, Erik
OH! I didn't know about the addClasspath, addExtensions, and classpathPrefix settings for the manfest configuration in the maven-jar-plugin! And to think it was so easy. Now I feel stupid. Thanks very much, Lee and Tim, and merci boucoup Jean-Laurent --Erik -Original Message- From:

Re: [m2] buildnumber-plugin

2006-06-01 Thread Kieran Brady
Here you go: http://commons.ucalgary.ca/projects/maven-buildnumber-plugin/ - Original Message - From: "Jens Riboe" <[EMAIL PROTECTED]> To: "Maven Users List" Sent: Thursday, June 01, 2006 3:11 PM Subject: RE: [m2] buildnumber-plugin org.codehaus.mojo:maven-buildnumber-plugin I cou

Re: [M2] Deploy success with ant, but it can improve!

2006-06-01 Thread Roland Asmann
I think you copied the things wrong into your build.xml... Looking at your build, try this: Although I'm not sure if the 'scp'-command takes -arguments... If I find some time, I might look into it for you. Roland On Thursday 01 June 2006 15:57, Leo L wrote: > Yes Ro

Re: REPOST: http://repo.mergere.com/maven2/javax/xml/

2006-06-01 Thread Wayne Fay
This is the Maven Users list. There's a very good reason your first message was ignored -- we have no control over this kind of stuff. This is like getting on an Eclipse mail list to complain about spelling errors on the IBM.com website. Contact Mergere directly if you have problems with their re

maven-site problem

2006-06-01 Thread Allan Wojcik
Hi guys, Could you give me some help? Problems running mvn site: Environment: Maven 2.0.4 Following is the stack trace. Thanks in advance. + Error stacktraces are turned on. [INFO] Scanning for projects... [INFO] [IN

RE: [m2] buildnumber-plugin

2006-06-01 Thread Jens Riboe
>> org.codehaus.mojo:maven-buildnumber-plugin I couldn't find it at codehaus (http://mojo.codehaus.org/). Do you know where I can get more info about it? /Jens -Original Message- From: Christian Wiesing [mailto:[EMAIL PROTECTED] Sent: 01 June 2006 14:43 To: Maven Users List Subj

Re: [M2] Deploy success with ant, but it can improve!

2006-06-01 Thread Leo L
Hi Vicent! Yeah, you already told me about cargo´s plugin for a remote deploy! For now, i must do the remote deploy, it´s urgent. But later on, i´ll try some way to colaborate with cargo´s plugin for a remote deploy. I goal for now is just copy a file to my local machine for a remote one. I don´t

Status of Maven Changes Plugin website

2006-06-01 Thread Edelson, Justin
Does anyone know the status of the Maven Changes Plugin website at http://maven.apache.org/plugins/maven-changes-plugin/ ? The index pages seem to be half-there, the sample changes report is incomplete (missing the type images) and no RSS link, and some of the pages have the mojo branding and some

Re: surefire 2.2 + JUnit4?

2006-06-01 Thread shoening
Hi all, what you might also do is to write your testcases the JUnit 4 way (whithout a suite() method, without extending TestCase, without having your test methods named with the "test" prefix) and then write an additional class (which you simply can throw away in the future) which extends juni

Re: [M2] Deploy success with ant, but it can improve!

2006-06-01 Thread Leo L
Yes Roland, i saw that (Use 'inheritRef=true' in your ant-call! ), and change, but sorry... i still get the same error. It seems that maven ignore my system classpath, i explicit declare on my classpath the jsch.jar that i need. When i run only the ant command "ant deploy" works, but with maven,

Re: [m2] buildnumber-plugin

2006-06-01 Thread dan tran
where is this plugin? -D On 6/1/06, Christian Wiesing <[EMAIL PROTECTED]> wrote: Thanks. It works great. Thorsten Heit schrieb: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Hi Christian, > >> i have a problem with the buildnumber-plugin. When i execute "mvn >> buildnumber:create" I

Re: Where to start

2006-06-01 Thread Geoffrey De Smet
If you're still using CVS, switch to Subversion with cvs2svn so you don't lose any history when moving directories around, because: if you 'll want to have a nice build you 'll also want to move your directories (not required). Set up an internal repository = have HTTP access to a directory. T

RE: [M2] Deploy success with ant, but it can improve!

2006-06-01 Thread Vincent Massol
> -Original Message- > From: Leo L [mailto:[EMAIL PROTECTED] > Sent: jeudi 1 juin 2006 15:26 > To: Maven Users List > Subject: Re: [M2] Deploy success with ant, but it can improve! > > Yeah, was my first try, but i didn´t success. > My deploy is a remote deploy for a app. server jboss4.

Where to start

2006-06-01 Thread SlinnHawkins, Jon (ELS)
Hi All, Have been monitoring this list for a while now, and have found a lot of the posts very useful. We are about to embark on a Continuous Integration migration from CruiseControl and Ant to Maven and Continuum (or possible stay with CruiseControl) We will have numerous projects, some being

Re: [M2] Deploy success with ant, but it can improve!

2006-06-01 Thread Leo L
Nooo not at all!!! You helped me a lot!!! I could not do this to you (blame you) I´ll check the information!! Thx one more time Roland!!! ;-) 2006/6/1, Roland Asmann <[EMAIL PROTECTED]>: Hi Leo, According to this page ( http://maven.apache.org/plugins/maven-antrun-plugin/classpaths.

Re: [M2] Deploy success with ant, but it can improve!

2006-06-01 Thread Roland Asmann
Don't know what's wrong with me today... Copied the wrong part again! Use 'inheritRef=true' in your ant-call! Roland On Thursday 01 June 2006 15:27, Roland Asmann wrote: > Hi Leo, > > According to this page > (http://maven.apache.org/plugins/maven-antrun-plugin/classpaths.html) it > should...

  1   2   >