Re: from workaround to workaround 3

2008-09-05 Thread Martin Höller
On Friday 05 September 2008 [EMAIL PROTECTED] wrote: I looked into the source code of the plugin. It uses project.getActiveProfiles() and this method returns an empty list. But I have a profile defined in settings which is set active with activeProfile. Why does the getActiveProfiles() method

Re: from workaround to workaround 3

2008-09-05 Thread Martin Höller
On Friday 05 September 2008 [EMAIL PROTECTED] wrote: Profiles are configured in the users/settings.xml so help:effective-pom gives no information about profiles It does, your profiles are just not activated! See Stephen's mail why they are not activated. hth, - martin signature.asc

Re: from workaround to workaround 1

2008-09-05 Thread Martin Höller
On Friday 05 September 2008 [EMAIL PROTECTED] wrote: But for me the problem is not only documentation but also a user-friendly design. Take the filtering example: For main/resources you have resourcesdirectorymain/resources ... And for test/resources you have to say

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

2008-09-11 Thread Martin Höller
On Wednesday 10 September 2008 John Casey wrote: http://people.apache.org/~jdcasey/stage/current-maven-RC/ Enjoy, and let me know if you have problems. No problems here with RC17. thanks, - martin signature.asc Description: This is a digitally signed message part.

Avoid to bring in new repositories via dependencies

2008-09-11 Thread Martin Höller
Hi all! I want to use some new dependency which is not in maven central but in some other remote repository. I downloaded and imported this dependency in our internal archiva to have access to it without adding some new remote repository. Unfortunately this dependency's pom.xml specifies

Re: Avoid to bring in new repositories via dependencies

2008-09-12 Thread Martin Höller
Hi Wendy! Thanks for your reply. On Thursday 11 September 2008 Wendy Smoak wrote: On Thu, Sep 11, 2008 at 5:03 AM, Martin Höller [EMAIL PROTECTED] wrote: Unfortunately this dependency's pom.xml specifies other remote repositories. Could someone please tell me what is the recomended way

Re: Avoid to bring in new repositories via dependencies

2008-09-12 Thread Martin Höller
On Friday 12 September 2008 Stephen Connolly wrote: Chirstian, the problem is that the pom for the dependency that he wants to use declares repositories to use for resolving its transitive dependencies. He does not want to have that repository dragged in to his build. Exactly. Other than

Re: Avoid to bring in new repositories via dependencies

2008-09-12 Thread Martin Höller
On Friday 12 September 2008 Stephen Connolly wrote: On Fri, Sep 12, 2008 at 8:46 AM, Martin Höller [EMAIL PROTECTED] wrote: On Friday 12 September 2008 Stephen Connolly wrote: I know that plans for Maven 2.2 or 3.0 or some such is/was to deprecate the declaration of repositories within

Re: Hi

2008-09-18 Thread Martin Höller
Hi! On Thursday 18 September 2008 shubham wrote: I that issue is solved now This information is quite useless to most of us. If you could provide information how it was solved others could benefit from this as well. but i am facing another issue now:- Downloading:

Re: Hi

2008-09-18 Thread Martin Höller
On Thursday 18 September 2008 shubham wrote: As suggested earlier i added the proxy details in settings.xml with correct Username and Password and it worked fine. Well, in the mail where you showed us your proxy details you also showed us the exception which is still occuring. From this I

Re: Is this mailing list really slow for anyone else?

2008-09-19 Thread Martin Höller
On Thursday 18 September 2008 Leszek Gawron wrote: Baptiste MATHUS wrote: Did you check if your mail was present in the public archive to see if it could be a problem with your server, and what hour your message was registered ? See http://www.nabble.com/Maven---Users-f178.html for

Re: Multi module Setup / release:prepare

2008-09-29 Thread Martin Höller
Hi Karl Heinz! On 29 Sep 2008, Karl Heinz Marbaise wrote: i have a little problem with the release:prepare running in Maven. I have a mutli module setup which seemed to be ok parent +--- Module A (depends on C) (result in tar.gz) +--- Module B +--- Module C +--- Module WAR

Re: Multi module Setup / release:prepare

2008-10-01 Thread Martin Höller
On Wednesday 01 October 2008 Karl Heinz Marbaise wrote: We are having the same problem here with EARs and skinny WARs. It's been a while since I last looked what the problem is but our problem is definitely related to the skinny WAR problem [0] and your's might be too. The workaround we

Re: [ANN] - SCM Changelog Maven Plugin 1.0 Released

2008-10-13 Thread Martin Höller
On 13 Oct 2008, Peter Horlock wrote: Which plugin are you talking about???! The changelog plugin's last version was 2.1, the scm plugin's last version was 1.1, so no idea what new 1.0 is supposed to mean... There is a new plugin, which is kind of a mix of the maven-changelog-plugin and

Re: New to Maven - need help

2008-10-14 Thread Martin Höller
On Tuesday 14 October 2008 Jan K wrote: I am very new to maven.I have downloaded apache-maven-2.0.9.I read the doc's and installed maven. I executed the following commands in command prompt, mvn archetype:create \ -DarchetypeGroupId=org.apache.maven.archetypes \

Re: New to Maven - need help

2008-10-15 Thread Martin Höller
On Wednesday 15 October 2008 Jan K wrote: What are the mandatory fields(tags) to be used for settings.xml? You don't need a settings.xml file at all. A good overview is available at http://maven.apache.org/settings.html hth, - martin signature.asc Description: This is a digitally signed

Re: New to Maven - need help

2008-10-16 Thread Martin Höller
On Thursday 16 October 2008 Jan K wrote: I went through the site given by arnaud.It is really useful for as i am new maven. Through the whole book? Really? It get the following message in the console: [INFO] OldArchetype created in dir: /home/jano/CVS/margadarsi/ct3/src/careertales [INFO]

Re: WAR plugin misunderstanding

2008-11-03 Thread Martin Höller
On 31 Oct 2008, Raffaele wrote: Hi all, I have yet a question about correct using of WAR plugin, I'll try to describe my scenario: Here it is a part of my project structure: | configuration |- dev |-- WEB-INF |--- repository.xml | src |- main |-- webapp |--- WEB-INF |

Re: Re: problem installing the oracle library ojdbc14.jar

2008-11-10 Thread Martin Höller
On 10 Nov 2008, M Gomez wrote: I`m trying to install DSpace 1.5.1 on Linux (Red Hat 5), with a database Oracle at a university. I 'm on step six of the installation documentation, with mvn -Ddb.name=oracle package, but it fails . Which installation instructions? Please provide a link if

Re: Re: problem installing the oracle library ojdbc14.jar

2008-11-11 Thread Martin Höller
On Tuesday 11 November 2008 M Gomez wrote: Hi ! I`m using the guide of DSpace 1.5.1, in the http://www.dspace.org/1_5_1Documentation/ . In the section 3.2.3. Installation, I did the step 3, a) to install the ojdbc14.jar (with mvn install:install-file -Dfile=ojdbc14.jar ... ), According to

Re: release plugin

2008-11-11 Thread Martin Höller
On Tuesday 11 November 2008 Matthias Wessendorf wrote: However, for some reason the plugin isn't able to build all the required things... (not expected ;-) ) Missing: -- 1) org.apache.myfaces.trinidad:trinidad-api:test-jar:tests:1.2.10 Try downloading the

Re: Maven includes old jar versions

2008-11-12 Thread Martin Höller
On Wednesday 12 November 2008 Troy Bull wrote: I have a jar file that I maintain in my local maven repository (on my workstation). It has had several versions, 2.0.2, 2.0.3 2.0.5 etc. I have a different project that is built with maven that uses this jar file. If I change the jar file I

Re: Re: problem installing the oracle library ojdbc14.jar

2008-11-13 Thread Martin Höller
On Thursday 13 November 2008 M Gomez wrote: Now I am stopped with the step 7, that gives me an error of compilation: The error you gave us is not a compile error, it's a java exception regarding database initialization. Again, this has nothing to do with maven! Ask the DSpace guys! - martin

Re: Why is pluginManagement necessary?

2008-11-13 Thread Martin Höller
On Thursday 13 November 2008 Trevor Harmon wrote: I'm really confused about the pluginManagement section. It seems arbitrary and unnecessary. pluginManagement is for plugins what dependencyManagement is for dependencies. dependencyManagement is best explained in this thread:

Re: Versioning builds

2008-11-21 Thread Martin Höller
On Friday 21 November 2008 Costin Caraivan wrote: If I go one step further and want to install/deploy the build with this build number as a version... What do I do? :) You read this thread from last week:

Re: problems building a multimodule project with EJB3 modules

2008-11-24 Thread Martin Höller
Hi all! On 25 Apr 2008, Martin Höller wrote: I'll report back when I found out more about why my complex project failed with similar dependencies as the example. It's been a while, but the problem still exists and hit me again. The whole story can be found at http://www.nabble.com/problems

Re: problems building a multimodule project with EJB3 modules

2008-11-26 Thread Martin Höller
No one having problems with EJB3 modules in a multimodule build? Or is it just a bad subject? Could someone please test the attached project and confirm that the build fails. thanks, - martin On Monday 24 November 2008 Martin Höller wrote: Hi all! On 25 Apr 2008, Martin Höller wrote

Re: How can maven be used in a continuous integration situation?

2008-12-04 Thread Martin Höller
On Thursday 04 December 2008 Wayne Fay wrote: The problem with this method is that the maven install plugin only uses the version in the pom file, not the version passed in on the command line. This is noted in [this maven issue][1]. If you use mvn release rather than simply mvn install,

Re: Maven Repository

2008-12-05 Thread Martin Höller
On 05 Dec 2008, prasanna.goupal wrote: Is there any way to download complete repository on my local machine instead of checking downloading required plaugins? Beside what Baptiste already wrote: you don't have to download plugins or dependencies manually, maven does this automatically for

Re: [2.0.10 RC] please test

2008-12-11 Thread Martin Höller
On Thursday 11 December 2008 Brian E. Fox wrote: Please try it out and see if we have any remaining regressions over 2.0.9. No problems with 2.0.10-RC5 here. However, the versioning seems strange: some months ago i tested 2.0.10-RC9, now I'm testing 2.0.10-RC5 which is newer. I know that the

Re: Fwd: Checksums of org.apache.portals.bridges:portals-bridges-common:1.0.4

2008-12-11 Thread Martin Höller
On Thursday 11 December 2008 Nick Stolwijk wrote: Send this a while back, but I'm still running against the same problem. Can someone verify this? I can verify that SHA1 checksum for portals-bridges-common-1.0.4.jar on central seems to be broken. MD5 sum seems to be correct. Is it possible

Re: Maven webapp and extreme complexity

2008-12-16 Thread Martin Höller
On Tuesday 16 December 2008 Nick Stolwijk wrote: Maven is not that much more difficult then ant, it is different. Please take a look at the maven book [1], this explains everything in a very good way! Oh, and for your compile problem. Put your java sources in src/main/java, your resources

Re: Are Maven profiles like Ant targets?

2008-12-16 Thread Martin Höller
On Tuesday 16 December 2008 Trevor Harmon wrote: [...] So... am I doing this right? Are profiles intended to play the role of Ant targets? Or is there some other mechanism for that? You are doing it wrong. Maven has no targets like ant has. Maven has lifecylces [0] which is built of phases

Re: Maven webapp and extreme complexity

2008-12-16 Thread Martin Höller
On Tuesday 16 December 2008 Joey Krane wrote: On Tue, Dec 16, 2008 at 3:28 PM, Nick Stolwijk nick.stolw...@gmail.com wrote: Take a look at chapter 5 of the book. It creates a simple webapp. In chapter 5.5 it adds a servlet to src/main/java. Thanks for your patience. Creating the java

Re: Are Maven profiles like Ant targets?

2008-12-17 Thread Martin Höller
On Tuesday 16 December 2008 Trevor Harmon wrote: On Dec 16, 2008, at 10:42 AM, Martin Höller wrote: You are doing it wrong. Maven has no targets like ant has. Maven has lifecylces [0] which is built of phases (e.g. 'compile', package', 'install'). Plugins are attached to phases

Re: Are Maven profiles like Ant targets?

2008-12-17 Thread Martin Höller
On Tuesday 16 December 2008 Trevor Harmon wrote: Let me use a different plugin as an example. Let's say I'm developing a desktop application, and it runs in two different modes depending on the command-line options. I don't want to keep typing in the same long string of options all the time,

Re: Are Maven profiles like Ant targets?

2008-12-17 Thread Martin Höller
On Wednesday 17 December 2008 Trevor Harmon wrote: On Dec 17, 2008, at 3:33 AM, Martin Höller wrote: mvn -Pinstall4j package Why would you have to use a profile for this? Because it takes five minutes to run. Ok. My approach would then be to create one profile which is only executed

Re: Are Maven profiles like Ant targets?

2008-12-17 Thread Martin Höller
On Wednesday 17 December 2008 Trevor Harmon wrote: On Dec 17, 2008, at 3:54 AM, Martin Höller wrote: And BTW: Maven's primary goal is to help building and packaging software, not starting the developed piece of software, so IMHO the exec- plugin is not a good example here. Well I have

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 profile would configure the antrun

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 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: 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 only

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 valid

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: denpendency/ 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 writting for

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

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.

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 maven?

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

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 that

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 to

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' [INFO]

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

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.9 as

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: 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 configurations in one phase

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 mail

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/2/16 Martin Höller mar...@xss.co.at Hi

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 sure

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: 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: 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

Re: Special URL characters

2009-03-10 Thread Martin Höller
It's not, just in Nabble. Your Browser is interpreting the 'amp;' 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!??? ? Can

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 should

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 digitally

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

2009-03-17 Thread Martin Höller
- 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: Don't make haste buddy.. It seems you forgot to attach the logs once again

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, James wrote

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 with

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 fails

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

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 introduce the m-source-p

Re: use relative ..\... Path in includes and excludes 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

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 packaging clause in the Java application pom.xml is pom? Why do you use packaging pom

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 dependencies

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: POM verbosity

2009-06-08 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

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: 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

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 to move

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 as

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 Maven

Re: quick question: remove bin-dir.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 build-dir.timestamp on mvn clean? If I don't, it doesn't rebuild Scala files. Configure the maven-clean-plugin to delete this additional file:

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 generate

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 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. I

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: Persistence

2009-11-03 Thread Martin Höller
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 mar...@xss.co.at wrote: Am Tuesday 03 November 2009 11:43:43 schrieb Anders Hammar: One way of adding a repo is explained

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

Re: Problem in creating own archetype

2009-11-16 Thread Martin Höller
- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org -- Martin Höller | martin.hoel...@xss.co.at *x Software + Systeme | http://www.xss.co.at/ Karmarschgasse 51

Re: Putting a Release in the Repository

2009-11-20 Thread Martin Höller
. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org -- 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-1100

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

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: ${user.home} not substituted in settings.xml localRepository

2010-01-15 Thread Martin Höller
/cargo.container.home /properties And the 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

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: profile iddevel/id build plugins plugin groupIdorg.apache.maven.plugins/groupId

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 to

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

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.: project properties

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 properties database.driveroracle.jdbc.OracleDriver/database.driver database.url${database.url}/database.url

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 settings profiles profile activation activeByDefaulttrue/activeByDefault /activation properties

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: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-surefire-plugin/artifactId version2.5/version configuration systemPropertyVariables

<    1   2   3   >