Re: How to easily determine all the versions of plugins that are being used.

2008-01-03 Thread Martin Höller
a newer version anywhere. TIA for any hints, - martin -- Martin Höller | [EMAIL PROTECTED] *x Software + Systeme | http://www.xss.co.at/ Karmarschgasse 51/2/20 | Tel: +43-1-6060114-30 A-1100 Vienna, Austria | Fax: +43-1-6060114-71

Re: Problem with accounts

2008-01-08 Thread Martin Höller
: You have entered an incorrect username and/or password. I think it's a bug. You have to validate the users. See http://www.nabble.com/Creating-new-user-in-Continuum-1.1I-to14202507.html#a14202507 for some details. hth, - martin -- Martin Höller | [EMAIL PROTECTED] *x Software

Re: Trouble deploying Archiva 1.0 to JBoss 4.2.2.GA

2008-01-23 Thread Martin Höller
with the addition to add the following: resource-ref res-ref-namejdbc/archiva/res-ref-name jndi-namejava:/archiva/jndi-name /resource-ref Step 5) and 6) as descibed. Comments (especially about setp 3a) are very welcome! hth, - martin -- Martin Höller | [EMAIL

Re: Trouble deploying Archiva 1.0 to JBoss 4.2.2.GA

2008-01-25 Thread Martin Höller
On Wednesday 23 January 2008 wrote Martin Höller: Step 3a) is to comment this entry out from web.xml !-- resource-ref res-ref-namemail/Session/res-ref-name res-typejavax.mail.Session/res-type res-authContainer/res-auth res-sharing-scopeShareable/res-sharing-scope

Re: Trouble deploying Archiva 1.0 to JBoss 4.2.2.GA

2008-01-25 Thread Martin Höller
On Friday 25 January 2008 wrote Martin Höller: Ok instead of commenting it out one can configure the java mail service for tomcat. ^- not for tomcat! for JBoss would obviously be correct. -- Martin Höller | [EMAIL PROTECTED] *x Software + Systeme | http

Re: eclipse:eclipse different JDK's

2008-01-25 Thread Martin Höller
On Friday 25 January 2008 wrote nicolas de loof: This has been fixed in 2.5-SNAPSHOT Any release plan for 2.5? JIRA has only one remaining issue for 2.5. tia, - martin -- Martin Höller | [EMAIL PROTECTED] *x Software + Systeme | http://www.xss.co.at/ Karmarschgasse

maven-eclipse-plugin with multi-module projects

2008-02-01 Thread Martin Höller
to start developing with eclipse. Am I missing something here? Is there an oportunity to tell maven to skip dependency checking? regards, - martin -- Martin Höller | [EMAIL PROTECTED] *x Software + Systeme | http://www.xss.co.at/ Karmarschgasse 51/2/20 | Tel

Re: maven-eclipse-plugin 2.5 coming soon

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

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

2008-02-01 Thread Martin Höller
. Dependency resolution is not possible because the required artifact is just not in the repository. Processing resources doesn't help me here in any way. thanks anyway, - martin -- Martin Höller | [EMAIL PROTECTED] *x Software + Systeme | http://www.xss.co.at

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

2008-02-01 Thread Martin Höller
didn't find one, so I create MECLIPSE-380. - martin -- Martin Höller | [EMAIL PROTECTED] *x Software + Systeme | http://www.xss.co.at/ Karmarschgasse 51/2/20 | Tel: +43-1-6060114-30 A-1100 Vienna, Austria | Fax: +43-1-6060114-71 signature.asc Description

Re: Releasing a Project with Modules

2008-02-01 Thread Martin Höller
module../XXXCommon/module module../XXXService/module module../XXXWeb/module /modules There was an issue with flat modules. See http://jira.codehaus.org/browse/MRELEASE-6 for details. Maybe you are using an old version? hth, - martin -- Martin Höller

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

2008-02-01 Thread Martin Höller
it and found this a limitation of the m-eclipse-p. But as Arnaud wrote, it's an already known problem. Thanks for your hints anyway. - martin -- Martin Höller | [EMAIL PROTECTED] *x Software + Systeme | http://www.xss.co.at/ Karmarschgasse 51/2/20 | Tel: +43-1

Re: [maven-eclipse-plugin] Release Date

2008-02-05 Thread Martin Höller
Also see these threads: http://www.nabble.com/maven-eclipse-plugin-2.5-coming-soon-to15207954s177.html#a15211821 http://www.nabble.com/eclipse:eclipse-different-JDK's-to15086638s177.html#a15097832 hth, - martin -- Martin Höller | [EMAIL PROTECTED] *x Software + Systeme

Re: Sub modules don't find parent pom

2008-02-12 Thread Martin Höller
-- Martin Höller | [EMAIL PROTECTED] *x Software + Systeme | http://www.xss.co.at/ Karmarschgasse 51/2/20 | Tel: +43-1-6060114-30 A-1100 Vienna, Austria | Fax: +43-1-6060114-71 signature.asc Description: This is a digitally signed message part.

Re: Maven does not compile:org.codehaus.plexus:plexus-compiler-javac:jar:1.6-SNAPSHOT

2008-02-13 Thread Martin Höller
, you should remove the coresponding subtree from your local repo, e.g. ~/.m2/repository/org/codehaus/plexus/plexus-compiler. The even better solution would be to specify which version of a plugin you'd like to use in the pluginManagement-section. hth, - martin -- Martin Höller

Re: The list of maven plug-ins that are used by maven during the build

2008-02-14 Thread Martin Höller
? Maven uses tons of standard plug-ins explicitly and inexplicitly. Is there a way to get the whole list of it for a given build? Thanks Ryan -- Martin Höller | [EMAIL PROTECTED] *x Software + Systeme | http://www.xss.co.at/ Karmarschgasse 51/2/20 | Tel

maven-eclipse-plugin writes to src/main/webapp

2008-02-20 Thread Martin Höller
. If the MANIFEST.MF is needed by eclipse, couldn't it be written to target/ and eclipse be configured to use that instead, just as it happens for EARs? Any comments? - martin -- Martin Höller | [EMAIL PROTECTED] *x Software + Systeme | http://www.xss.co.at/ Karmarschgasse 51/2

Re: maven-eclipse-plugin writes to src/main/webapp

2008-02-20 Thread Martin Höller
On Wednesday 20 February 2008 wrote Graham Leggett: Martin Höller wrote: I just noticed that the maven-eclipse-plugin (2.5-SNAPHSOT) writes a MANIFEST.MF output to src/main/webapp/META-INF when mvn eclipse:eclipse is called for a web-application. Is this behaviour intentional? I

Re: maven-eclipse-plugin writes to src/main/webapp

2008-02-21 Thread Martin Höller
. Should I file an extra issue for this one or just add a comment to MECLIPSE-389 and wait till it's eventually fixed? thanks, - martin -- Martin Höller | [EMAIL PROTECTED] *x Software + Systeme | http://www.xss.co.at/ Karmarschgasse 51/2/20 | Tel: +43-1

Re: maven-eclipse-plugin writes to src/main/webapp

2008-02-21 Thread Martin Höller
On Thursday 21 February 2008 wrote Graham Leggett: Martin Höller wrote: No, it's not, it's a WTP 2.0 project. My plugin configuration is as follows: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-eclipse-plugin/artifactId

Re: maven-eclipse-plugin writes to src/main/webapp

2008-02-21 Thread Martin Höller
I'll have a look at it later... thx, - martin -- Martin Höller | [EMAIL PROTECTED] *x Software + Systeme | http://www.xss.co.at/ Karmarschgasse 51/2/20 | Tel: +43-1-6060114-30 A-1100 Vienna, Austria | Fax: +43-1-6060114-71 signature.asc Description

Re: Is there any way to control the number of snapshot produced?

2008-02-27 Thread Martin Höller
archiva, you can tell it to delete old snapshots (via the GUI). hth, - martin -- Martin Höller | [EMAIL PROTECTED] *x Software + Systeme | http://www.xss.co.at/ Karmarschgasse 51/2/20 | Tel: +43-1-6060114-30 A-1100 Vienna, Austria | Fax: +43-1-6060114-71

Re: enforce versions for plugins

2008-02-28 Thread Martin Höller
for: org.apache.maven.plugins:maven-enforcer-plugin:1.0-alpha-3 You have to use the latest snapshot version for this to work. hth, - martin -- Martin Höller | [EMAIL PROTECTED] *x Software + Systeme | http://www.xss.co.at/ Karmarschgasse 51/2/20 | Tel: +43-1-6060114-30 A-1100 Vienna

Re: Jsp precompile

2008-03-03 Thread Martin Höller
??? As Stefan wrote, there are mail header fields that reference previous mails from this thread, so just don't use the reply button if you do not reply. thx, - martin -- Martin Höller | [EMAIL PROTECTED] *x Software + Systeme | http://www.xss.co.at/ Karmarschgasse 51/2

Re: Maven eclipse plugin - SNAPSHOT 2.5 and wtp 2.0

2008-03-05 Thread Martin Höller
. If it does there is definitely an issue with command line arguments that should be (or may already be) in jira. hth, - martin [0] http://www.nabble.com/Re:-Maven-eclipse-plugin---2.5-SNAPSHOT-to15833826s177.html -- Martin Höller | [EMAIL PROTECTED] *x Software + Systeme

Re: Maven-Geotools

2008-03-05 Thread Martin Höller
, it just uses it to build the JARs. So you don't have to use maven for your project, just download the JARs and use whatever build-tool you like. hth, - martin -- Martin Höller | [EMAIL PROTECTED] *x Software + Systeme | http://www.xss.co.at/ Karmarschgasse 51/2/20

Re: Maven eclipse plugin - SNAPSHOT 2.5 and wtp 2.0

2008-03-05 Thread Martin Höller
a command line problem. Thx for the help. -- Martin Höller | [EMAIL PROTECTED] *x Software + Systeme | http://www.xss.co.at/ Karmarschgasse 51/2/20 | Tel: +43-1-6060114-30 A-1100 Vienna, Austria | Fax: +43-1-6060114-71 signature.asc Description

Re: Try to run install before eclipse:eclipse

2008-03-06 Thread Martin Höller
if they could have been built. See also this thread for some more details: http://www.nabble.com/maven-eclipse-plugin-with-multi-module-projects-to15222495s177.html hth, - martin -- Martin Höller | [EMAIL PROTECTED] *x Software + Systeme | http://www.xss.co.at

Re: Try to run install before eclipse:eclipse

2008-03-07 Thread Martin Höller
Hi! On Thursday 06 March 2008 Brian E. Fox wrote: This seems related to MNG-2277, which was fixed in 2.0.8. Are you seeing this on 2.0.8 or earlier? Actually it was 2.0.7. I'll try it with 2.0.8 as soon as I can and report back if there are still problems. - martin -- Martin Höller

Re: Reporting of multi-module project

2008-03-10 Thread Martin Höller
about using profiles? You can define the modules that shouldn't be considered during site generation in a profile which is only activated when you are not running site generation. hth, - martin -- Martin Höller | [EMAIL PROTECTED] *x Software + Systeme | http

Re: [POLL] Why are you not able to use the most recent maven release?

2008-03-11 Thread Martin Höller
as expected. regards, - martin -- Martin Höller | [EMAIL PROTECTED] *x Software + Systeme | http://www.xss.co.at/ Karmarschgasse 51/2/20 | Tel: +43-1-6060114-30 A-1100 Vienna, Austria | Fax: +43-1-6060114-71 signature.asc Description: This is a digitally

Re: scm plugin

2008-03-11 Thread Martin Höller
. [...] However, mvn scm:update fails! :-( If above doesn't work, try running mvn -X and paste the error message here. hth, - martin -- Martin Höller | [EMAIL PROTECTED] *x Software + Systeme | http://www.xss.co.at/ Karmarschgasse 51/2/20 | Tel: +43-1-6060114-30

enforcer-plugin causes multimodule project to fail

2008-03-18 Thread Martin Höller
Hi all! I stumbled over a problem with the maven-enforcer-plugin (tested with 1.0-alpha-3 and 1.0-SNAPSHOT): when a new multi-module project is created and the m-enforcer-p is used, maven fails with a Failed to resolve artifact error. This only happens when the new artifacts are not already

Re: [ANN] Maven Eclipse Plugin 2.5 Released

2008-03-18 Thread Martin Höller
On Tuesday 18 March 2008 Arnaud HERITIER wrote: The Maven team is pleased to announce the release of the Maven Eclipse Plugin, version 2.5 Glad to hear this! I've already been using the latest snapshots, so I don't expect much problems upgrading to 2.5. Anyway, good work so far! Thanks! -

Re: [surefire] problem with xml

2008-03-18 Thread Martin Höller
On Tuesday 18 March 2008 Guillaume Boucherie wrote: I have the problem with surefire 2.4.2 but it works for 2.3.1 !! Which maven versions? There were some issues with combinations of surefire 2.4.x and maven prior to 2.0.8 as well as with maven 2.0.8 and surefire 2.3.x. Try searching the

Re: Integrating existing project

2008-03-18 Thread Martin Höller
On Tuesday 18 March 2008 buFka wrote: I am a newbie with Maven. My problem: I want to integrate an already existing project (Webapp) into Maven For general maven questions read one of [0] or [1]. For maven webapp specific questions see the maven-war-plugin [2]. hth, - martin [0]

Re: Integrating existing project

2008-03-18 Thread Martin Höller
On Tuesday 18 March 2008 buFka wrote: maybe was the description of my problem not correct (sorry, my english not the best). I'm looking for an HOWTO like this one: http://maven.apache.org/maven-1.x/start/adapting.html but i want to use Maven2 and not the 1.x. the structure of the project

Re: Release plugin overwrite scm config

2008-03-19 Thread Martin Höller
On Wednesday 19 March 2008 nodje wrote: I use a config like this to be able to deploy from different repositories: scm connectionscm:svn:${scm.path}/trunk/alpha2/connection developerConnectionscm:svn:${scm.path}/trunk/alpha2/developerConnectio n url${scm.path}/trunk/alpha2/url /scm

Re: A provide mecanism for poms?

2008-03-19 Thread Martin Höller
On Wednesday 19 March 2008 Stephen Connolly wrote: well I would have jsf-api as scope=provided That's not possible if you develop your own JSF component. You would need it at compile time. - martin signature.asc Description: This is a digitally signed message part.

Re: Surefire not excluding jUnit TestSuite$1

2008-04-03 Thread Martin Höller
On Thursday 03 April 2008 Chad La Joie wrote: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-surefire-plugin/artifactId configuration testFailureIgnoretrue/testFailureIgnore

Re: Surefire not excluding jUnit TestSuite$1

2008-04-04 Thread Martin Höller
On Thursday 03 April 2008 Chad La Joie wrote: The error message in the summary report wasn't at all helpful and I missed the line in FAILURE! line in the scrolling text as the tests were ran. A better error message would really help here. I think just reporting, in the summary, the TestCase

integration tests, packaging type pom and the maven-eclipse-plugin

2008-04-04 Thread Martin Höller
Hi! According to a wiki article [0], the two maven books, and some mails on this list it is best practice to put integration tests in one (or multiple) separate module(s). In all examples I could find, this IT-module is of packaging type pom, which IMO makes sense as I wouldn't need a JAR with

Re: integration tests, packaging type pom and the maven-eclipse-plugin

2008-04-08 Thread Martin Höller
Hi Kalle! On Monday 07 April 2008 Kalle Korhonen wrote: Just change the packaging type temporarily from pom to jar and run mvn eclipse:eclipse. That's what I do right now, but IMHO that's not a solution for the problem but rather a workaround. Thanks anyway and best regards, - martin

Re: Classpath Loader Differences between Surefire 2.3 and 2.4 causes tests to fail

2008-04-08 Thread Martin Höller
On Monday 07 April 2008 Andreas Guther wrote: We see a difference in classpath loading between Surefire 2.3 and 2.4. Search the archive of this list on nabble.com for surefire 2.4 classpath and you'll find your answer. Note, that there was a bug in maven 2.0.7, so updating to a newer maven

Re: maven2 pom help

2008-04-08 Thread Martin Höller
On Monday 07 April 2008 Wayne Fay wrote: Start over from scratch. Put all Java source files in main/src/java. You do not need to configure the jar plugin. Sorry to correct you Wayne, but it's not main/src/java but src/main/java. hth, - martin signature.asc Description: This is a digitally

Re: mvn install site performs test phase 2 times?

2008-04-17 Thread Martin Höller
On Thursday 17 April 2008 DCVer wrote: Well. to be honest, I would like not to skip test phase during building artifact and I would like to have test reports (surefire reports) in genereted site. I would like to merge those two test phases into 1 - can site phase somehow base on tests made by

problems building a multimodule project with EJB3 modules

2008-04-23 Thread Martin Höller
Hi all! I'm having problems with a multimodule project with EJB3 dependencies. It seems maven is not able to include EJB3 modules in the classpath of other child-modules when not in the local repository. The simplest project struture to reproduce is the following: parent (packagin pom) |

Re: problems building a multimodule project with EJB3 modules

2008-04-23 Thread Martin Höller
On Wednesday 23 April 2008 Daniele De Francesco wrote: try to swap the order of the modules first...then send the poms... Didn't help. POMs are comming in a separate mail. thx, - martin signature.asc Description: This is a digitally signed message part.

Re: problems building a multimodule project with EJB3 modules

2008-04-23 Thread Martin Höller
On Wednesday 23 April 2008 Wendy Smoak wrote: On Wed, Apr 23, 2008 at 5:08 PM, Martin Höller [EMAIL PROTECTED] wrote: I'm having problems with a multimodule project with EJB3 dependencies. It seems maven is not able to include EJB3 modules in the classpath of other child-modules when

Re: problems building a multimodule project with EJB3 modules

2008-04-23 Thread Martin Höller
On Wednesday 23 April 2008 Thomas Darbois wrote: Can you show us your (simplified?) pom(s)? Sure. Here we go: --8 [parent's pom.xml] project xmlns=http://maven.apache.org/POM/4.0.0; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;

Re: problems building a multimodule project with EJB3 modules

2008-04-23 Thread Martin Höller
Hi! On Wednesday 23 April 2008 Daniele De Francesco wrote: didn't you use maven-jar-plugin for child1's artifact? As you can see from the poms I didn't configure it explicitly but I'm pretty sure it would be called by maven when the package phase would be executed. But it never gets so far

Re: problems building a multimodule project with EJB3 modules

2008-04-25 Thread Martin Höller
On Wednesday 23 April 2008 Wendy Smoak wrote: On Wed, Apr 23, 2008 at 5:08 PM, Martin Höller [EMAIL PROTECTED] wrote: I'm having problems with a multimodule project with EJB3 dependencies. It seems maven is not able to include EJB3 modules in the classpath of other child-modules when

Re: profile legacy problem

2008-04-25 Thread Martin Höller
On Friday 25 April 2008 Brian E. Fox wrote: A few tips. Try mvn help:effective-profiles -PmyProfile According to my knowledge and the documentation [1] it's help:active-profiles and not help:effective-profiles. hth, - martin [1] http://maven.apache.org/plugins/maven-help-plugin/

Re: How to set up dependencies right for ejb projects

2008-04-25 Thread Martin Höller
Hi Thomas! On Friday 25 April 2008 Arand, Thomas (NSN - DE/Muenich) wrote: Is that really the only way to deal with that? 1. has the disadvantage that some other project indeed may need the server dependencies (e.g. the artifact to package an ear). With this solution one would have to repeat

Re: problems building a multimodule project with EJB3 modules

2008-04-25 Thread Martin Höller
On Friday 25 April 2008 Wendy Smoak wrote: From memory, we had a project at work that had an ejb dependency, and without the 'type' element, the release process which runs through the integration-test phase would fail, while 'mvn install' would work. Apparently inside the reactor it was

Re: Problem mit release:perform

2008-04-29 Thread Martin Höller
On Sunday 27 April 2008 mgehring wrote: I have a problem to run release:prepare! The build process stops with the Message: Reason: Can't run goal clean verify clean verify is not one goal, it is two phases: the clean phase and the verify phase. It seems like you eventually specified the

Re: Creating a maven variable

2008-04-29 Thread Martin Höller
On Monday 28 April 2008 amit kumar wrote: Hi Olivier, I tried the same thing in the root pom. But at the sub module level it was taking ${my.build.directory} as {basedir}/${my.build.directory}, so the error that was coming was like could not create *

Re: Try to run install before eclipse:eclipse

2008-05-06 Thread Martin Höller
On Thursday 06 March 2008 Brian E. Fox wrote: This seems related to MNG-2277, which was fixed in 2.0.8. Are you seeing this on 2.0.8 or earlier? The reported issue still exists with maven 2.0.9 and maven-eclipse-plugin 2.5.1, so it's probably different to MNG-2277. Related issues, a sample

Re: [SURVEY] How does your team retrieve artifacts?

2008-05-21 Thread Martin Höller
[X] Our team uses HTTP to retrieve our artifacts - martin signature.asc Description: This is a digitally signed message part.

Re: Eclipse Plugin and WTP Facets problem

2008-05-21 Thread Martin Höller
On Wednesday 21 May 2008 Mario-Leander Reimer wrote: I have followed the instructions Using maven-eclipse-plugin in multi-module projects with WTP on the maven site and it is almost working correctly. But some of the project facets for WTP are generated wrong: - The EAR project uses 1.4

Re: Eclipse Plugin and WTP Facets problem

2008-05-21 Thread Martin Höller
On Wednesday 21 May 2008 Mario-Leander Reimer wrote: Another question: Do you know whether the eclipse:m2eclipse goal is meant be used in combination with the WTP settings? No idea, I never used the m2eclipse mojo. - martin signature.asc Description: This is a digitally signed message part.

Re: maven2 with Junit 4 ignores @Test annotations

2008-05-30 Thread Martin Höller
On Friday 30 May 2008 Martin wrote: Looks like you'll need TestDecorator class from junit-4.1 http://www.jdocs.com/junit/4.1/junit/extensions/TestDecorator.html No, you don't need this! Your code and POM looks ok, where did you put your test-classes? Should be in src/test/java. What did you

Re: How can I use relative path for System Dependencies

2008-06-03 Thread Martin Höller
Try this one: http://docs.codehaus.org/display/MAVENUSER/MavenPropertiesGuide hth, - martin On Tuesday 03 June 2008 youhaodeyi wrote: Hi, Thanks. Where can I find the properties Maven defines like ${java.home}, ${basedir} etc? Anne Gerodolle wrote: systemPath : is used only if the the

Re: Unit Testing Issues

2008-06-03 Thread Martin Höller
On Tuesday 03 June 2008 Geoffrey Wiseman wrote: On Tue, Jun 3, 2008 at 9:26 AM, Mark-E [EMAIL PROTECTED] wrote: I judt found a reference to this in some codehaus docs http://docs.codehaus.org/pages/viewpage.action?pageId=62120 I am not sure if this is the case still in Maven 2, which

Re: Resource file needed on classpath for unit test

2008-06-04 Thread Martin Höller
Hi! On Wednesday 04 June 2008 Derek Alexander wrote: I have a file config.xml that should be alongside its corresponding (TestCase) class file when the tests are run. Source is like this: src/test/java/com/example/db/config.xml src/test/java/com/example/db/MyTest.java (expects to

Re: Resource file needed on classpath for unit test

2008-06-04 Thread Martin Höller
On Wednesday 04 June 2008 Derek Alexander wrote: I have a related question. This isn't really a unit test but rather an integration test - hence the need for a config file. Is there a maven way to organise different types of tests. Currently I have src/test/... what I'd really like is:

Re: Checking for updates of versioned dependencies

2008-06-10 Thread Martin Höller
Hi! Simon, I think you are wrong here. If I unstand correctly, the repository's base URL ist http://repo1.maven.org/eclipse, just like the base URL for central is http://repo1.maven.org/maven2. Thus, the URL http://repo1.maven.org/eclipse/org/eclipse/core/ should correspond to the groupId

Re: Eclipse: How to create a Simple Project type

2008-06-10 Thread Martin Höller
On Tuesday 10 June 2008 [EMAIL PROTECTED] wrote: How can we get maven to create a simple eclipse project (not a Java one)? [...] The type of the project from the pom.xml is pom, ie: packagingpom/packaging This is already in JIRA and has be discussed there. Don't know if there is

Re: executing a profile

2008-06-18 Thread Martin Höller
On Monday 16 June 2008 Karan Malhi wrote: Hi, I have a requirement to configure the eclipse plugin within the pom so that I can replace the following mvn eclipse:eclipse -DdownloadSources=true -DdownloadJavadocs=true -DsomeProperty with something in the pom so that I should be able to

Re: executing a profile

2008-06-19 Thread Martin Höller
(i.e. execute the assemble profile) with the following command (i.e. without setting the assemble property): mvn eclipse:eclipse How do I do this? On Wed, Jun 18, 2008 at 3:45 AM, Martin Höller [EMAIL PROTECTED] wrote: On Monday 16 June 2008 Karan Malhi wrote: Hi, I have a requirement

Re: Running all tests ignoring failures

2008-06-19 Thread Martin Höller
Hi Ravi! On Thursday 19 June 2008 Balasubramanian, Ravi Shankar wrote: Hi all, I need a way in maven (using the surefire-plugin) to run all tests in a project ignoring any test failures that might occur. All my tests are independent of each other and i want all the tests to be run

Re: JARs in WEB-INF/lib

2008-06-19 Thread Martin Höller
On Thursday 19 June 2008 Niranjan Deshpande wrote: I am moving my applciaiton build process from ant to maven earlier, some dependency jars were in my prj_hom/lib dir, these were for the dependecny resoultion. now the jars are in the repository and declared in the POM. so emptying (deleting)

Re: Sorry and problem description

2008-06-23 Thread Martin Höller
On Monday 23 June 2008 André Kelpe wrote: In the company I work for we have a somewhat big maven2 setup which is working quite good so far. We now wanted to organize our release process in a more structured way (esp. release-poms) to avoid problems with version ranges and I found the maven

Re: Sorry and problem description

2008-06-23 Thread Martin Höller
On Monday 23 June 2008 André Kelpe wrote: Hi Martin! 2008/6/23 Martin Höller [EMAIL PROTECTED]: You probably didn't define a version for the maven-javadoc-plugin in this projects pom or a parent pom, so maven (prior to 2.0.9) defaults to RELEASE. You were right, I didn't do that. I

Re: Sorry and problem description

2008-06-24 Thread Martin Höller
Hi Andre! On Tuesday 24 June 2008 André Kelpe wrote: 2008/6/23 Martin Höller [EMAIL PROTECTED]: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-compiler-plugin/artifactId version2.0.2/version configuration !-- force

Re: Surefire Test Sequence..

2008-06-30 Thread Martin Höller
On Saturday 28 June 2008 Niranjan Deshpande wrote: Can i get a jar of the junit4.x maven plugin? Never heard of this plugin and according to its SVN repository it's quite dead. Are you maybe looking the maven-surefire-plugin[0]? hth, - martin [0]

Re: Tip about Skinny Wars

2008-07-01 Thread Martin Höller
Hi Arnaud! I think I found one BIG problem with your workaround: it only works if you already have (the latest version of) your WAR's pom.xml file in the repository, otherwise maven 2.0.9 reports a missing dependency. So this approach is not useable with the maven-release-plugin :-( I made up

Re: Tip about Skinny Wars

2008-07-02 Thread Martin Höller
On Tuesday 01 July 2008 Michael McCallum wrote: On Tue, Jul 1, 2008 at 2:58 PM, Martin Höller [EMAIL PROTECTED] wrote: I think I found one BIG problem with your workaround: it only works if you already have (the latest version of) your WAR's pom.xml file in the repository, otherwise

Re: maintaining versions across multi-module project

2008-07-02 Thread Martin Höller
On Monday 30 June 2008 Kallin Nagelberg wrote: Can anyone tell me what is the best/simplest way to maintain a version number across all the poms in a multi-module project? They are all to be deployed with the same version every time. Use the maven-release-plugin to release your project. The

Re: problem installing the oracle library ojdbc14.jar

2008-07-02 Thread Martin Höller
On Wednesday 02 July 2008 María Isabel López Sánchez-Huete wrote: [ERROR] BUILD ERROR [INFO] [INFO] Failed to resolve artifact. GroupId:

Re: mvn test uses wrong resources

2008-07-02 Thread Martin Höller
On Tuesday 01 July 2008 M. Dahm wrote: There is a file META-INF/persistence.xml as well in src/test/resources as in src/main/resources But when I execute mvn test in the UBI-ALS-NG/UBI-ALS-NG-datamodel folder the wrong persistence.xml is loaded, i.e. the one in src/main/resources. What

Re: problem installing the oracle library ojdbc14.jar

2008-07-02 Thread Martin Höller
You don't need a pom.xml file for installing an artifact. Jörg just suspected there existed one which could be the cause for your problems. The problems you are facing is not really maven related. Maven gets the wrong arguments somehow. Does a 'mvn -version' (without quotes) work? What does it

Re: problem installing the oracle library ojdbc14.jar

2008-07-02 Thread Martin Höller
: Hi, Martin Yes, that works fine: $ mvn -version Maven version: 2.0.9 Java version: 1.5.0_06 OS name: sunos version: 5.10 arch: sparc Family: unix It's the way I probe that maven was correctly installed in my computer. Marisa. Martin Höller escribió: You

Re: maintaining versions across multi-module project

2008-07-03 Thread Martin Höller
On Wednesday 02 July 2008 Kallin Nagelberg wrote: So what do you use for the version label in the root pom and the 'parent' tags of all the modules? Just the version number, no variables. The release plugin will take care to replace all version numbers correctly. hth, - martin signature.asc

Re: autoadded property

2008-07-03 Thread Martin Höller
On Wednesday 02 July 2008 Nicola Benaglia wrote: Hi, I my project I need to use richfaces 3.2.1.GA so I added a property to set the version. Which property did you add? Below are two properties: richfaces.version and version.richfaces. My final ear contains a different version of richfaces

Re: Find artefact

2008-07-07 Thread Martin Höller
Hi! Try http://mvnindex.org/ Enter the name of the JAR file without .jar and it probably will spit out the group and artifact IDs. hth, - martin On 06 Jul 2008, buters wrote: Thank you very much Stephen, Do you mean that another plugins are not neededat all? Only jbossall-client one? It

Re: Find artefact

2008-07-08 Thread Martin Höller
On 07 Jul 2008, buters wrote: Thank you very much Martin, but this is not a solution. Some artifact with same artifactId can have a different grouId. That's true. But where's the problem? The MvnIndexes idea is good, but e.g. dependency groupIdantlr/groupId

Re: Find artefact

2008-07-08 Thread Martin Höller
I don't know Artifactory, but see it's documentation how to add remote repositories to it. This is a common task so it should be documented. If you are not using Artifactory, just add a repository entry to your settings.xml [0] and Maven will find it if you specify the correct

Re: copy artifacts between repositories

2008-07-09 Thread Martin Höller
On Wednesday 09 July 2008 Martin Monsorno wrote: Hi, is there a special command for copying an artifact from one repository to another? Yes, the maven-stage-plugin: see http://maven.apache.org/plugins/maven-stage-plugin/ hth, - martin signature.asc Description: This is a digitally signed

Re: Continuous integration build fails if tests fails

2008-07-11 Thread Martin Höller
On Friday 11 July 2008 Carlos Alonso wrote: Hi All. I'm using Hudson integration environment and I've recently migrated my scripts from ant to maven. Using ant, when some test cases failed, the build was set to unstable and a test-results report was raised indicating which tests failed and

Re: Continuous integration build fails if tests fails

2008-07-11 Thread Martin Höller
On Friday 11 July 2008 Carlos Alonso wrote: Now my problem is the following. I execute the install target, but, if any test fails, I wouldn't like my repository to store the generated artifact and, as you can imagine, the artifact is installed. How can I deal with this? I guess that's not

Re: Continuous integration build fails if tests fails

2008-07-11 Thread Martin Höller
On Friday 11 July 2008 Carlos Alonso wrote: You're right Martin, but, as I explained in my first mail, the state build succeeds has also two states, depending on the stability of the product. But not for maven! The stability of the product depends on the test cases, if every test case

Re: Loading different properties files

2008-07-17 Thread Martin Höller
Hi! On Wednesday 16 July 2008 rundmsef wrote: I have used Mavens filtering mechanism to substitute test vs. production properties in my packaged web application with no problem. However, I would like to be able to not only substitute values within the properties files, but also substitute

Re: release multi module project

2008-07-22 Thread Martin Höller
Hi! On 21 Jul 2008, Taras Lipatov wrote: Does any one know, when releasing a multi-module project from the project parent.. I have two modules: core and webapp core module is version 1.0.0-SNAPSHOT webapp has a dependency on core:1.0.0-SNAPSHOT When running release:prepare...

Re: release multi module project

2008-07-22 Thread Martin Höller
On 22 Jul 2008, Taras Lipatov wrote: Thanks for the info!! So I guess I have an odd-ball case with my artifacts.. Here is the full scenario. I have a project with 2 modules: `-- project-parent |-- pom.xml |-- core | `-- pom.xml `-- webapp `-- pom.xml

Re: mvn eclipse:eclipse problem .classptah and projects source dependencies

2008-08-06 Thread Martin Höller
On Wednesday 06 August 2008 dekel.y wrote: Hi, When I run mvn eclipse:eclipse, my .classpath points only to the .jars in the repository, How can I tell him that if a dependency is a project on my workspace then point to the project and not to the .jar ? This shoud be done automatically if

Re: [PLEASE TEST] Maven 2.0.10-RC9

2008-08-19 Thread Martin Höller
On Monday 18 August 2008 John Casey wrote: Please, if you have the time, take 2.0.10-RC9 for a spin and tell us what you think! Works without any problems here. - martin signature.asc Description: This is a digitally signed message part.

Re: Missing: org.jfrog.maven.annomojo:maven-plugin-anno:jar:1.2.4

2008-08-29 Thread Martin Höller
On Friday 29 August 2008 thomas2004 wrote: Hi all, As I try to build the project by mvn eclipse:eclipse I got error as follow: [code] [ERROR] BUILD ERROR [INFO] [INFO] Failed to resolve artifact. Missing:

Re: [PLEASE TEST] Maven 2.1.0-M1-RC13

2008-09-04 Thread Martin Höller
Hi! On Thursday 04 September 2008 John Casey wrote: On the last go around, we had one issue pop up with maven plugin builds (though it might also apply to build extensions in the reactor as well). I've fixed it, and now here's the lucky 13th release candidate:

Re: from workaround to workaround 2

2008-09-05 Thread Martin Höller
On Friday 05 September 2008 [EMAIL PROTECTED] wrote: pluginRepositories pluginRepository idcodehaus/id namecodehaus Repository for plugins/name urlhttp://snapshots.repository.codehaus.org/url layoutdefault/layout /pluginRepository

  1   2   3   >