Re: Executing verify goal even if previous goal failed

2024-03-06 Thread Martin Höller
Hi! Am 06. Mär. 2024 schrieb Mantas Gridinas: > (Maven 3.9.4) > > Suppose I have failing unit tests configured via surefire plugin but I > still want to run the integration tests configured via failsafe plugin. In > default case maven stops running the lifecycle/goals when one of the > previous

Re: How to use a different signing mechanism with maven-gpg-plugin

2023-02-15 Thread Martin Höller
Hi! On 15. Feb. 2023 Railean, Alexander wrote: [...] > After I sign the jar using utilities provided by the HSM, is there a way to > tell maven-gpg-plugin to use existing signature of the jar and upload it to > the server? (instead of trying to produce its own) > > Alternatively, maybe you can re

Re: Where can find a working plugin test example

2022-06-27 Thread Martin Höller
Hi! Stephan! Some years ago I had a similar problem while developing vdldoc-maven-plugin [1]. I found all the necessary information, but it was a rather hard search. Have a look at this plugin's source-code at github [2]. It is a very simple plugin which has unit tests, integration-tests, uses ch

Re: Surefire excludedGroups problem in multi-module build

2022-05-09 Thread Martin Höller
Hi again! I created SUREFIRE-2085 [0] for this, as I feel this is a bug or at least not optimal behavior of the the surefire plugin. - martin [0] https://issues.apache.org/jira/browse/SUREFIRE-2085 Am 03. Mai. 2022 schrieb Martin Höller: > Hi! > > I'm using maven-surefire-plug

Surefire excludedGroups problem in multi-module build

2022-05-02 Thread Martin Höller
Hi! I'm using maven-surefire-plugin 3.0.0-M6 in a multi-module build, with JUnit 4.13.2. I use JUnit's categories to mark some unit tests as slow like this: @Test @Category(SlowTest.class) public void someTests() {...} To avoid running slow tests I run mvn like this: mvn test -Dexcluded

Re: [ANN] Apache Maven EAR Plugin 3.1.2 Released

2020-10-01 Thread Martin Höller
Hi! On 01. Okt. 2020 Hervé Boutemy wrote: > The Maven team is pleased to announce the release of the Apache Maven EAR > Plugin, version 3.1.0 With maven-ear-plugin 3.1.0 I get this exception on a project that built fine with 3.0.2: $ mvn -X install [...] [ERROR] Failed to execute goal org.ap

Re: My view on the relative merits of different ways to unpack jars into target/classes

2013-03-22 Thread Martin Höller
Hi! On 21 Mär 2013, Stephen Connolly wrote: > I think mailing lists are not the best way to explain why different > solutions are to be preferred when ranking against what is best for the > Maven ecosystem as a whole. > > So I wrote a blog post to explain my views on what are good ways and what

Re: Maven Central broken? (was: Broken link for avalon)

2012-10-17 Thread Martin Höller
Hi! On 16 Okt 2012, Volkan Istek wrote: > Hi Guys, > > I am trying use FOP (Formatting Objects Processor) with maven. It uses > avalon-framework-api-4.3.1.jar and it can't download it. Because of following > links are not working. Directories are there and other filres in the > directories ar

Re: How to optimize maven dependencies to get better performance?

2012-10-11 Thread Martin Höller
On 11 Okt 2012, Wang, Simon wrote: > Hi, Barrie, >That's really helpful! > >Even I have local cache, it also takes about 2 mins to resolve > dependencies. >Also it seems maven still will talk with remote maven server even I have > local cache. You could try "mvn -o" and see if this

Re: The Maven Way

2012-04-18 Thread Martin Höller
On 17 Apr 2012, Markku Saarela wrote: > Hi, > > I recommend two "books" from Sonatype, Maven by Example 1) and Maven > Cookbook 2) > > 1) http://www.sonatype.com/index.php/Support/Books/Maven-By-Example > 2) http://www.sonatype.com/index.php/Support/Books/The-Maven-Cookbook There is also "Apac

Re: Dependency in the local repository is ignored

2012-03-06 Thread Martin Höller
Hi! On 06 Mär 2012, Alex wrote: > To build and install my jar into local repository I use just > "mvn clean", "mvn install" or from eclipse m2e's menu "install" > > to include my jar into the eclipse's ".classpath" file of the other project > I use: > mvn eclipse:clean > mvn eclipse:eclipse Are

Re: How to run a maven goal when there is tests failures?

2012-01-10 Thread Martin Höller
On Tuesday 10 January 2012 Xavier S. wrote: > Hello, > > I would like to know if there is a way to execute a goal when there is > test failures? Use mvn -DskipTests. You can also try mvn -Dmaven.test.skip=true, which is a bit longer and not only skips test execution but also skips test compilati

Re: Externalize POM file

2011-12-19 Thread Martin Höller
On Friday 16 December 2011 Anders Hammar wrote: > Using dependencyManagement in the parent to specify the version of > dependencies is also an option. IMHO that's the true Maven way, but > Ron's approach could be an option in some cases. I don't like that > approach though as it will create an inco

Re: where to put common dependecies in multi-module project

2011-10-24 Thread Martin Höller
Hi! Define the versions of your dependencies in the parent's section. Define the actual dependency in every submodule where you use it. Without the version! The analyze goal of the maven-dependency-plugin can help you to find out if you should declare a dependency or not. hth, - martin On M

Re: mm project and surefire plugins

2011-10-17 Thread Martin Höller
On Monday 17 October 2011 Giovanni Azua wrote: > Hi! > > On Oct 17, 2011, at 4:38 PM, Martin Höller wrote: > > Hi! > > > > This seems to be a problem with the recent maven-surefire-report-plugin > > and it's new support for the failsafe-maven-plugin. >

Re: mm project and surefire plugins

2011-10-17 Thread Martin Höller
Hi! This seems to be a problem with the recent maven-surefire-report-plugin and it's new support for the failsafe-maven-plugin. Try using version 2.8 of the maven-surefire-report-plugin. In this version there is no support for the failsafe-plugin. hth, - martin On Monday 17 October 2011 Giov

Re: Expected behaviour when repository mirror not reachable

2011-10-10 Thread Martin Höller
Anyone? On Wednesday 05 October 2011 Martin Höller wrote: > Hi! > > What is the expected behaviour if a configured repository mirror is not > reachable? It seems maven 2.2.1 tries to contact to original repository > server, which is absolutely not what I want! > > Here

Expected behaviour when repository mirror not reachable

2011-10-05 Thread Martin Höller
Hi! What is the expected behaviour if a configured repository mirror is not reachable? It seems maven 2.2.1 tries to contact to original repository server, which is absolutely not what I want! Here are some details and background information: We have a repository manager (nexus) set up to serv

Re: [maven-failsafe-plugin] Running integration test with its own profile

2011-02-04 Thread Martin Höller
Hi! Am Donnerstag 03 Februar 2011, 03:28:54 schrieb nodje: > Invaluable piece of information Ron, thanks a lot. > > I've been searching the archives without success, with 'profile plugin' > 'failsafe profile', all woudn't yield much relevant results. > But I'd still be happy if you could point me

Re: Generating web project with java, webapp, and resource folder from archtype goal

2011-01-20 Thread Martin Höller
Am Mittwoch 19 Januar 2011, 10:30:33 schrieb Piotr Skawinski: > Hi, > > Is there a way in maven to generate a web project with java, resources, and > webapp folders running the archtype goal. Maven suggest to create a multi > project module with: > > multi-project > > |-- pom.xml > |-- my-app

Re: how to patch releases

2011-01-13 Thread Martin Höller
Am Donnerstag 13 Januar 2011, 13:42:01 schrieb mremerson...@aim.com: > Hi all, > > this might be a simple one and if there is documentation about it I'm happy > to read that. > > Its a basic understanding question: > > I have a maven project and do a release - lets say 1.1 > > The maven releas

Re: How to resolve 'LATEST'

2010-12-20 Thread Martin Höller
Hi! Have a look at versions-maven-plugin. It provides a goal for updating the parent [0]. Maybe you can reuse code from it. hth, - martin [0] http://mojo.codehaus.org/versions-maven-plugin/update-parent-mojo.html On Friday 17 December 2010 Asmann, Roland wrote: > Currently I am not using this,

Re: Deployment Advice?

2010-12-16 Thread Martin Höller
Hi! Am Donnerstag 16 Dezember 2010, 15:07:19 schrieb Ron Wheeler: > On 16/12/2010 2:19 AM, Martin Höller wrote: > > Hi Ron! > > > > Am Mittwoch 15 Dezember 2010, 23:04:49 schrieb Ron Wheeler: > >> Use JNDI to manage the site specific aspects of your configuration.

Re: Deployment Advice?

2010-12-15 Thread Martin Höller
Hi Ron! Am Mittwoch 15 Dezember 2010, 23:04:49 schrieb Ron Wheeler: > Use JNDI to manage the site specific aspects of your configuration. This > will make deploying to test machines and production less painful. I saw you mentioning this a few times now. However, I don't get it what you are actua

Re: Figuring out the proper Maven dependency setting

2010-11-11 Thread Martin Höller
Am Donnerstag 11 November 2010, 02:04:09 schrieb Ron Wheeler: > On 10/11/2010 4:37 PM, Brian Topping wrote: > > On Nov 10, 2010, at 4:20 PM, Ron Wheeler wrote: > >> It is mostly exclusions to stop old versions of libraries from being > >> dragged in by mistake. It took a bit of doing to get these t

Re: Figuring out the proper Maven dependency setting

2010-11-11 Thread Martin Höller
Am Mittwoch 10 November 2010, 22:25:13 schrieb Brian Topping: > On Nov 10, 2010, at 4:06 PM, Yanko, Curtis wrote: > > I have used the technique described here but I have also had too to > > forensic type package level comparisons to try an find matches. > > Eventually slugging our way through names

Re: Property for the location of the local repository

2010-10-20 Thread Martin Höller
Hi! On Wednesday 20 October 2010 Hilco Wijbenga wrote: > On 11 October 2010 21:48, Hilco Wijbenga wrote: > > I could have sworn I've used ${localRepository} before but it doesn't > > seem to work. I've also tried ${settings.localRepository} and > > ${maven.repo.local}. How do I refer to the locat

Re: Jar finalName to m2 repository

2010-08-18 Thread Martin Höller
Hi again! On Wednesday 18 August 2010 fhomasp wrote: > However it would be nice to be able to actually do this using the jar > plugin. I know my client is going to want this library to be called > "edp-.jar". Eventually you could find some solution with the maven-dependency-plugins' goal depend

Re: Jar finalName to m2 repository

2010-08-18 Thread Martin Höller
On Wednesday 18 August 2010 fhomasp wrote: > I can change it if I use the assembly plugin instead of the > maven-jar-plugin You can change the name of the JAR in the local or remote repository with the assembly plugin? I doubt this! You can change the name of the JAR in your targt folder, but th

Re: Creating a Custom Lifecycle

2010-07-08 Thread Martin Höller
Am Freitag, 9. Juli 2010 08:04:20 schrieb Martin Höller: > Am Freitag, 9. Juli 2010 00:38:37 schrieb asookazian: > > Thanks! Now I just need to write a simple Mojo/plugin that will copy the > > exploded EAR directory to the server/default/deploy directory in JBoss. > > coo

Re: Creating a Custom Lifecycle

2010-07-08 Thread Martin Höller
Am Freitag, 9. Juli 2010 00:38:37 schrieb asookazian: > Thanks! Now I just need to write a simple Mojo/plugin that will copy the > exploded EAR directory to the server/default/deploy directory in JBoss. > cool. Or you use the maven-antrun-plugin and save yourself some work :) hth, - martin sig

Re: Creating a Custom Lifecycle

2010-07-08 Thread Martin Höller
Am Mittwoch, 7. Juli 2010 18:46:34 schrieb asookazian: > There is some limited coverage of creating a custom lifecycle here: > http://www.sonatype.com/books/mvnref-book/reference/writing-plugins-sect-cu >stom-lifecycle.html > > but it also covers forking and parallel lifecycles, I'm not sure I'm re

Re: Write Maven Books - Packt Publishing

2010-07-08 Thread Martin Höller
Am Mittwoch, 7. Juli 2010 15:48:29 schrieb Ron Wheeler: > On 07/07/2010 8:55 AM, Martin Höller wrote: > > Hi Ron! > > > > Am Mittwoch, 7. Juli 2010 14:00:22 schrieb Ron Wheeler: > >> On 07/07/2010 5:19 AM, Benjamin Wootton wrote: > >>> Would anyone be

Re: Write Maven Books - Packt Publishing

2010-07-07 Thread Martin Höller
Hi Ron! Am Mittwoch, 7. Juli 2010 14:00:22 schrieb Ron Wheeler: > On 07/07/2010 5:19 AM, Benjamin Wootton wrote: > > Would anyone be interested in teaming up on something like this? Have > > thought about pitching a maven book before but don't have the cycles to > > go it alone > > There is a

Re: Maven 3 explode goal?

2010-07-06 Thread Martin Höller
Am Mittwoch, 7. Juli 2010 01:19:16 schrieb asookazian: [...] > This is one area where Ant is much more flexible than Maven (or at least > it's easier to customize invocations of targets in Ant than it is with > goals in Maven's lifecycle phases)... Why don't you stick with Ant then? From your pre

Re: mvn eclipse:m2eclipse

2010-05-03 Thread Martin Höller
Hi! see http://maven-users.828.n2.nabble.com/searching-for-eclipse-m2eclipse-td4743556.html hth, - martin On Monday 03 May 2010 Crow, Neil NW wrote: > > Hi, > > > > I thought that I would ask here whether anyone knows why the goal "mvn > > eclipse:m2eclipse" has been removed from > > org.apach

Re: passing parameters to plugin Archetype

2010-04-26 Thread Martin Höller
Did you have a look at http://blogs.mikeci.com/2010/01/14/working-with-custom-maven-archetypes-part-1/ and http://blogs.mikeci.com/2010/01/26/working-with-custom-maven-archetypes-part-2/ and its references! hth, - martin Am Montag, 26. April 2010 10:44:29 schrieb slew77: > Anyone have any idea o

Re: why does mvn release replace ${groupId} in with actual values?

2010-03-09 Thread Martin Höller
Am Dienstag, 9. März 2010 05:09:18 schrieb hanasaki: > Did a maven release and had "connection" information in the > section. After the release, the new pom with updated coordinates in its > section had replaced the ${groupId}/${artifactId}/trunk in the > new pom with the Actual values. http://

Re: Read properties from pom.xml from Java

2010-02-05 Thread Martin Höller
Am Freitag, 5. Februar 2010 09:50:04 schrieb Søren Krogh Neigaard: > Im getting grey hairs :) > > I tried with this in my pom.xml: > > > org.apache.maven.plugins > maven-surefire-plugin > 2.5 > > > oracle.jdbc.OracleDriver > ${database.url} > ${database.username} >

Re: Read properties from pom.xml from Java

2010-02-04 Thread Martin Höller
Hi! Am Freitag, 5. Februar 2010 08:41:02 schrieb Søren Krogh Neigaard: > I have this in my settings.xml > > > > > > true > > > oracle.jdbc.driver.OracleDriver > jdbc:oracle:thin:@myhome:1521:orcl > foo > bar > > >

Re: Read properties from pom.xml from Java

2010-02-04 Thread Martin Höller
Am Freitag, 5. Februar 2010 07:45:51 schrieb Søren Krogh Neigaard: > Thank you all for your answers > > I tried adding the following to my pom.xml > > > oracle.jdbc.OracleDriver > ${database.url} > ${database.username} > ${database.password} > > > And tried reading with System.getProperty

Re: Read properties from pom.xml from Java

2010-02-04 Thread Martin Höller
Hi! Am Donnerstag, 4. Februar 2010 09:59:26 schrieb Søren Krogh Neigaard: > The username/password/driver/url for the database is set in the pom.xml > file by maven. How do I read these values from my Java helper class? Set them in the pom.xml via properties, eg.: nobody And access t

Re: maven archetype from command line vs from eclipse

2010-01-28 Thread Martin Höller
Hi! * m2eclipse is a plugin for eclipse that integrates maven into the IDE. * maven-eclipse-plugin is a maven plugin that produces eclipse configartion files. See http://docs.codehaus.org/display/MAVENUSER/Eclipse+Integration for some details. hth, - martin On Thursday 28 January 2010 veena

Re: best practice to include resources in the jar file and unpack them on target server

2010-01-21 Thread Martin Höller
Am Donnerstag, 21. Januar 2010 11:54:14 schrieb eyal edri: > so to my original question, how to i copy the files from the jar after i > install it on the target server? Extract the resource files from the JAR-File using 'jar' or 'zip' utilities, and copy them to the location where you want them t

Re: best practice to include resources in the jar file and unpack them on target server

2010-01-21 Thread Martin Höller
Hi! Am Donnerstag, 21. Januar 2010 10:25:20 schrieb eyal edri: > i'v included resource files inside the jar file using the include tag: > > > devel > > > > org.apache.maven.plugins > maven-jar-plugin > > src/main/

Re: ${user.home} not substituted in settings.xml localRepository

2010-01-15 Thread Martin Höller
cargo.container.home property is defined as expected. So I'd say it's not generally broken. hth, - martin -- Martin Höller | martin.hoel...@xss.co.at *x Software + Systeme | http://www.xss.co.at/ Karmarschgasse 51/2/20 | Tel: +43-1-6060114-40 A

Re: Error running release:perform

2009-11-26 Thread Martin Höller
Hi! Am Donnerstag, 26. November 2009 14:15:24 schrieb zyd08: > I've managed to find out the cause of the issue: during the prepare, the > tag was given at the project root directory (which contains branches, tags > and trunk) at the svn repo instead of the project_root/trunk directory; > therefore

Re: Error running release:perform

2009-11-26 Thread Martin Höller
Hi! The thread Anders is talking about is probably this one: http://old.nabble.com/Putting-a-Release-in-the-Repository-to26432264.html Do you have a flat multi-module project? hth, - martin Am Donnerstag, 26. November 2009 12:15:27 schrieb zyd08: > I have some issues with using the release plug

Re: Putting a Release in the Repository

2009-11-20 Thread Martin Höller
gt;> repository in the releases portion of the site. I am doing the same for > >> snapshots by using the Maven Deploy Plugin. > >> > >> > >> > >> I suppose my question is how can I get the Maven Release and Deploy > >> Plugins to work in ta

Re: Problem in creating own archetype

2009-11-16 Thread Martin Höller
en is (this is the only snag left), I am afraid > we'll keep using ANT > > - > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > For additional commands, e-mail: users-h...@maven.apache.org -- Martin Höller

Re: Plugin to detect if called from the shell

2009-11-10 Thread Martin Höller
Hi! Am Dienstag, 10. November 2009 16:58:48 schrieb Gajo Csaba: > Is there a way for a Maven plugin (Mojo) to detect if it has been called > from the console, and not from pom.xml as part of the lifecycle? I have > a Mojo which has @requiresProject false, and I execute it like mvn > pluginname:dos

Re: Persistence

2009-11-03 Thread Martin Höller
009 22:43:59 schrieb Anders Hammar: > If you read the full blog post you'll see that it is not black and white. > There are use cases for putting it in the pom. > > /Anders > > On Tue, Nov 3, 2009 at 17:07, Martin Höller wrote: > > Am Tuesday 03 November 2009 11:43:43 sc

Re: Persistence

2009-11-03 Thread Martin Höller
Am Tuesday 03 November 2009 11:43:43 schrieb Anders Hammar: > One way of adding a repo is explained here: > http://thedevelopercorner.blogspot.com/2007/08/adding-repositories-to-maven >-2.html However, you can add it in the pom as well. Which way to go kind of > depends on your scenario. Adding the

Re: Maven JavaScript Plugin

2009-10-23 Thread Martin Höller
On 22 Okt 2009, Neil Chaudhuri wrote: > A colleague at work expressed an interest in doing a lot of Maven-like things > in the JavaScript realm. I did some research and discovered the Maven > JavaScript plugin. It looks neat, but it is an alpha version and seems to > have little activity. > >

Re: How can I drop a custom Velocity tool into archetype:generate?

2009-10-15 Thread Martin Höller
Hi stug23! Did you make any progress on this topic? If yes, could you please explain the details. tia, - martin On 07 Sep 2009, stug23 wrote: > > Can anyone give pointers for this question? > > > stug23 wrote: > > > > Is there some way to use Plexus injection to accomplish the addition of a

Re: Maven archtypes and custom parameters

2009-10-14 Thread Martin Höller
On Tuesday 13 October 2009 Werner Punz wrote: > Hello everyone I am new to the maven archetype programming but I ran > instantly into a problem. > > I have a custom archetype which should generate some java code > the java file has something like public static String ${myvar} > > and I try to gener

Re: quick question: remove .timestamp on "mvn clean"

2009-07-23 Thread Martin Höller
On Thursday 23 July 2009 Nicholas Tung wrote: > Hi all, > >Does anyone know how to remove the .timestamp on "mvn > clean"? If I don't, it doesn't rebuild Scala files. Configure the maven-clean-plugin to delete this additional file: http://maven.apache.org/plugins/maven-clean-plugin/examples/de

Re: Detected Maven Version: 2.1.0 is not in the allowed range

2009-07-07 Thread Martin Höller
On Tuesday 07 July 2009 Sam Wun wrote: > As it running forward, near the end of the download.. there is an error: > ... > [INFO] [enforcer:enforce {execution: enforce-banned-dependencies}] > [WARNING] Rule 1: > org.apache.maven.plugins.enforcer.RequireMavenVersion failed with > message: > Detected

Re: Dependency Management

2009-06-25 Thread Martin Höller
Hi! On Thursday 25 June 2009 Peter Horlock wrote: > Hi, > > I've got a question regarding dependency management - > I've got a project with a default "tree layout" - it uses subprojects, > which again are using subprojects which again... > > Now, one of these subprojects defined a dependency scope

Re: Public repository for open source project

2009-06-15 Thread Martin Höller
On 13 Jun 2009, jjjaime wrote: > I participate in an open source project: > http://en.wikipedia.org/wiki/IST-MUSIC > and up to now we've used an private maven repository during the > implementation. We are still using a SNAPSHOT repository until the project > is mature enough. > > We would like t

Re: Run a file using maven

2009-06-09 Thread Martin Höller
On Tuesday 09 June 2009 wabom wrote: > Thank you first of all, > I got this type of exception and I don't know how to solve it??? > > org.apache.maven.lifecycle.LifecycleExecutionException: An exception > occured while executing the Java class. null How did you specify the java class you want to e

Re: Run a file using maven

2009-06-09 Thread Martin Höller
On Tuesday 09 June 2009 wabom wrote: > Hi, > I want to know how to run a file using maven command. > Thanks... http://www.lmgtfy.com/?q=maven+execute+command - martin signature.asc Description: This is a digitally signed message part.

Re: POM verbosity

2009-06-07 Thread Martin Höller
On Monday 08 June 2009 Benson Margulies wrote: > So, I have a plugin, I need several executions of it, and each one > looks like what follows. It's getting long in a hurry. Don't know if this is an option for you, but have a look at the maven-yamlpom-plugin [0]. The plugin allows specifying the P

Re: plugin search?

2009-06-05 Thread Martin Höller
Hi! On Friday 05 June 2009 Nord, James wrote: > Is there a plugin that anoyone knows that can analyse dependencies in a > multi module project and then warn if you have a depenendency on the > same artifact with a set version (ie not using dependencyManagement) in > more than one project? Sounds

Re: Need to convince my manager to switch to maven

2009-06-05 Thread Martin Höller
Most questions got already answered, just one more comment about finding third party dependencies. On Thursday 04 June 2009 scabbage wrote: > - Your pom.xml only shows those dependencies your project is directed > dependent upon. Fine. But what about all other dependencies that your > dependencie

Re: Simple question on packaging a Java Application

2009-06-05 Thread Martin Höller
On Thursday 04 June 2009 Horton, Anne B wrote: > Say you have a Java application (j2Se) and it has some dependent > modules. Easy - right??? > > > > How do I get the Java application packaged as a jar when in my > clause in the Java application pom.xml is "pom"? Why do you use "pom" for a java

Re: use relative "..\..." Path in and of maven-source-plugin?

2009-05-26 Thread Martin Höller
Hi! On Monday 25 May 2009 torsten.reinh...@gi-de.com wrote: > I´m trying to include some additional files in my sources.jar: > > src\main\java > src\main\groovy I never used it, but I guess you have to use the build helper maven plugin to add additional source paths to you project. See http://m

Re: release:perform of an EAR gives error with maven-source-plugin:2.1

2009-05-05 Thread Martin Höller
On Thursday 30 April 2009 Martin Höller wrote: > The question I now have is, why is source:jar mojo executed at all? > According to the lifecycle reference [1] this mojo shouldn't be executed > (for packaging EAR). How can I deactivate this mojo? The release-profile seems to i

Re: release:perform of an EAR gives error with maven-source-plugin:2.1

2009-05-04 Thread Martin Höller
On 30 Apr 2009, Grant Rettke wrote: > Does the workaround on that page work? Which workaround? Do you mean the patch attached to the MSOURCES-44 issue? I didn't test it but I had a look at the patch and I would assume it would work. - martin signature.asc Description: PGP signature

release:perform of an EAR gives error with maven-source-plugin:2.1

2009-04-30 Thread Martin Höller
Hi all! We recently upgrade the maven-source-plugin from version 2.0.4 to 2.1 for a multimodule project (consisting of modules of packaging type jar, war, ejb and ear). No problems so far when doing a "normal build" like mvn install. However, when we do a "mvn release:perform" the EAR module fa

Re: Release plugin and multimodule interdependent childs

2009-03-24 Thread Martin Höller
On Tuesday 24 March 2009 Reinhard Nägele wrote: > I don't have a solution to your problem, but I would advice against > putting the real version number instead of ${project.version}. It is > good practice to avoid such redundancy using ${project.version}, even > though the release plugin can deal w

Re: Release plug-in failing to resolve env vars.

2009-03-19 Thread Martin Höller
Just had a look and the JIRA issue I was talking about is http://jira.codehaus.org/browse/MRELEASE-406 and was opended by you, James. So this probably doesn't help you much, sorry. regards, - martin On Tuesday 17 March 2009 Martin Höller wrote: > On Tuesday 17 March 2009 Nord, Jam

Re: Release plug-in failing to resolve env vars.

2009-03-17 Thread Martin Höller
> > -Original Message- > > From: Martin Höller [mailto:mar...@xss.co.at] > > Sent: 17 March 2009 11:46 > > To: Maven Users List > > Subject: Re: Release plug-in failing to resolve env vars. > > > > On Tuesday 17 March 2009 Santos Patel wrote: >

Re: Release plug-in failing to resolve env vars.

2009-03-17 Thread Martin Höller
On Tuesday 17 March 2009 Santos Patel wrote: > Don't make haste buddy.. It seems you forgot to attach the logs once > again. Or the list blocks (large?) attachements? Try pasting it to http://pastebin.com/ or similar an post the link. hth, - martin signature.asc Description: This is a digitall

Re: Multiple module maven project questions

2009-03-16 Thread Martin Höller
Hi! On 15 Mar 2009, Thai Dang Vu wrote: [...] > I have some questions here: > > 1. How to tell the maven-ear-plugin to use my application.xml? And where in > the ear directory should I place my own application.xml? The m-ear-p is able to autogenerate an application.xml for you. Maybe you shoul

Re: Special URL characters

2009-03-10 Thread Martin Höller
It's not, just in Nabble. Your Browser is interpreting the '&' entities. Look at the source code in your browser. hth, - martin On Tuesday 10 March 2009 solo1970 wrote: > Hello Chris, > > I kind of understand your explanation, but the URL you're suggesting to > me is the same as mine!??? > ? > >

Re: How to get permission to Jira?

2009-03-10 Thread Martin Höller
On Monday 09 March 2009 Lewis, Eric wrote: > This may be a stupid question, but I didn't find any help online. > I'd like to enter a Maven issue (for the site plugin). I set up an > account in Jira and got access. According to the Jira help, I should see > a 'Create new issue' link if I have the pe

Re: release:prepare cannot find artifacts

2009-03-05 Thread Martin Höller
On Thursday 05 March 2009 David C. Hicks wrote: > Todd Thiessen wrote: > > However, when you have dependencies between modules, the release > > prepare will fail by default since it doesn't do an install. Without an > > install, one module doesn't have access to the artifacts of another. > > To be

Re: Functional Test strategies with Maven

2009-03-03 Thread Martin Höller
Hi Martijn! I'm joining this discussion a little late, but have some references to add which may help making up your mind: http://docs.codehaus.org/display/MAVENUSER/Maven+and+Integration+Testing http://www.jroller.com/carlossg/entry/functional_testing_with_maven_cargo hth, - martin On Monday

Re: The PluginDescriptor for the plugin maven:maven-war-plugin was not found

2009-02-27 Thread Martin Höller
On Thursday 26 February 2009 Wayne Fay wrote: > 1. Check with CAS Users and Dev list to make sure someone else has > successfully built their project with 2.0.10. If not, what about > 2.0.9? Or 2.0.8? The pom.xml Vinicious posted contains a configuration section for the enforcer plugin to make su

Re: maven-eclipse-plugin

2009-02-16 Thread Martin Höller
http://lmgtfy.com/?q=maven+eclipse+plugin+next+release On 16 Feb 2009, Dmitri Ilyin wrote: > hi, > thanks Martin. > > Can you provide an email here? or where can i find it? > Do you know which WTP version will be supported? > > regards > Dmitri > > 2009

Re: maven-eclipse-plugin

2009-02-16 Thread Martin Höller
Hi! On 16 Feb 2009, Dmitri Ilyin wrote: > i wanted to use maven-eclipse-plugin with Eclipse 3.4. After short tries i > have found out that it only support WTP 1.5. The actual version of Eclipse > WTP is 3.x > > After that i find that the last version of plugin is 10 month old. Accoring to a mai

Re: selenium-maven-plugin howto specifie multiple browsers

2009-02-16 Thread Martin Höller
Obviously I was wrong: according to [0], execution of a single plugin multiple times is possible. [0] http://article.gmane.org/gmane.comp.java.maven-plugins.mojo.user/1307 hth, - martin On 05 Feb 2009, Martin Höller wrote: > Hi! > > Executing one plugin with different configuratio

Re: eclipse:eclipse - no .project for POM packaging?

2009-02-11 Thread Martin Höller
On Tuesday 10 February 2009 David C. Hicks wrote: > Is there a way to force the maven-eclipse-plugin to produce .project > files for modules that are packaging=pom? There is an open JIRA issue [0] for this and a lot of duplicates. Read the comments to see what the status quo is. hth, - martin [

Re: Local repository and problem with downloading parent

2009-02-09 Thread Martin Höller
On 07 Feb 2009, Johannes Schneider wrote: > Now I try to switch to "isolated local repositories". Therefore I call > "mvn compile -Dmaven.repo.local=". > Unfortunately that still downloads the parent pom to "~/.m2/repository" > and not to my isolated local repo... Works for me with maven 2.0.

Re: selenium-maven-plugin howto specifie multiple browsers

2009-02-05 Thread Martin Höller
Hi! Executing one plugin with different configurations in one phase seems to be a common problem in maven. Problems usually occur with the maven-antrun-plugin or the exec-maven-plugin, but as we see it could also hit other plugins as well. I think(!) the only possibility you have is to use pro

Re: Problems with release:prepare on the resolution of a dependency with "test" classifier

2009-01-29 Thread Martin Höller
Sound's like a known issue: http://jira.codehaus.org/browse/SCM-406 hth, - martin On Wednesday 28 January 2009 Thiago Moreira (timba) wrote: > Thank you Barrie! Now it is working fine BUT I'm getting a new error... > > [INFO] [release:prepare] > [INFO] Resuming release from phase 'scm-tag' > [I

Re: locked out of archiva

2009-01-27 Thread Martin Höller
Hi! On Tuesday 27 January 2009 Ed Young wrote: > I find myself unable to log into archiva (v 1.1.3 standalone on an ubuntu > box). I suspect the passwords all expired but not sure. I've tried the > email password reset, but it the link it sends does me no good, because > it just allows me to try

Re: [M2] Repository Manager

2009-01-27 Thread Martin Höller
Hi! On Tuesday 27 January 2009 Matthias Müller wrote: > i'm quite new to maven. i want to setup a shared internal remote > repository on a network drive. the users use there own local repository > (~/.m2/repository) as a cache and for their unreleased projects. if the > project need an artifact th

Re: Iterating through a files using maven plugin

2009-01-22 Thread Martin Höller
On Thursday 22 January 2009 arve wrote: > hi, > I run a maven task mvn appfuse:gen -Dentity=Pojo name. > if i have 100 pojos in a folder i have to run the same command 100 times. > Instead is there some plugin/trick whcih could iterate the same command > with different pojo names with a single com

Re: How to reference home directory in linux?

2009-01-21 Thread Martin Höller
On Wednesday 21 January 2009 keepfocusing wrote: > I want to set the local repository position with this expression > "~/m2/repo", which is also used as an example in settings.xml. But it > seems not working unless I change it into absolute path such as > "/home/abc/m2/repo". > > 1) Is it a bug of

Re: Interdependencies between modules

2009-01-21 Thread Martin Höller
Hi Richard! You have to be online to pull in updates of third-party artifacts, but you don't want updates of your own artefacts? Well, I'd say there is only one solution to this: use snapshot versions for the artifacts you want updates for and define non-snapshot versions for all others. Rega

Re: Using maven with eclipse

2009-01-15 Thread Martin Höller
On Thursday 15 January 2009 Farrukh Najmi wrote: > I am experienced with maven but new to Eclipse IDE. I have used maven > with Netbeans IDE and the mevenide Netbeans plugin. WHat I liked about > it was how Netbeans was completely driven by the pom configuration and > how natural and familiar every

Re: for org/testng/testng/5.8/

2009-01-15 Thread Martin Höller
Hi! On Thursday 15 January 2009 thomas2004 wrote: > I need the "testng-5.8-jdk15.jar" in my program and I find it under: > http://mirrors.ibiblio.org/pub/mirrors/maven2/org/testng/testng/5.8/ > > I put this dependency in the "pom.xml" as follow but it couldn't find > that. What is the correct writ

Re: maven-archetype-plugin does not exist error when creating new project, non-working link in FAQ

2009-01-12 Thread Martin Höller
On Monday 12 January 2009 Martin Höller wrote: > I just tried to update the wiki-page, but I always get a "page not found" > error :-( This seems to be a problem with konqueror. Updateing in firefox worked. - martin signature.asc Description: This is a digitally signed message part.

Re: maven-archetype-plugin does not exist error when creating new project, non-working link in FAQ

2009-01-12 Thread Martin Höller
On Monday 12 January 2009 sandy.verfai...@roularta.be wrote: > Hello, > > When I try to create a new projects with my new installed maven, I get > the error 'org.apache.maven/lifecycle.LifecycleExecutionException: the > plugin "org.apache.maven.plugins:maven-archetype-plugin' does not exist > or no

Re: mvn dependency:resolve what's it for?

2008-12-22 Thread Martin Höller
You define a property "Spring.Version" but use it as "${Spring.version}". You see the difference in upper and lower case? hth, - martin On 22 Dec 2008, aymen83 wrote: > > i'm really confused. I wrote the following profile but after compilation and > when i tape mvn -Plegacy dependency:tree the

Re: possibility to control an artifact version when installing/deploying/releasing?

2008-12-22 Thread Martin Höller
On 22 Dec 2008, konkere wrote: > so which manager would you suggest? i read a bit about nexus, archiva and > artifactory on the very feature of prohibiting redeploy. nexus does it for > sure (though role-based), while the other two seem not to handle this (and > that is my question - is it really?

Re: Release Plugin, ssh and svn Problem

2008-12-19 Thread Martin Höller
On Friday 19 December 2008 Stephen Connolly wrote: > I am sorry, it is since 18 years I German gelearnt, und my grasp of > German grammar applied to English cannot decode your question. I'm a German native speaker and still cannot decode the question :) > I do not know if Subversion 1.5.5 fixes t

Re: Are Maven profiles like Ant targets?

2008-12-18 Thread Martin Höller
On Wednesday 17 December 2008 Trevor Harmon wrote: > On Dec 17, 2008, at 12:18 PM, Martin Höller wrote: > > Ok. My approach would then be to create one profile which is only > > executed > > before releasing or when running in the contiuous-integration > > server. This

  1   2   3   >