Re: Best practice - for multiple config files per environment

2009-08-28 Thread Joerg Hohwiller
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Rick, I know this must be a common question, and I've been googling for the best practice for using a different configuration file (say a different hibernate.cfg.xml file) for different profiles (based on a profile, local, itr, etc.)

Re: javadoc:aggregate Problem

2009-08-28 Thread Joerg Hohwiller
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 FYI: http://jira.codehaus.org/browse/MJAVADOC-245 Hi there, I want to have javadoc-reports per module as well as one aggregated javadoc for the project. Is this possible at all with a single site:stage call? I tried

javadoc:aggregate Problem

2009-07-24 Thread Joerg Hohwiller
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi there, I want to have javadoc-reports per module as well as one aggregated javadoc for the project. Is this possible at all with a single site:stage call? I tried http://maven.apache.org/plugins/maven-javadoc-plugin/examples/aggregate.html but

Re: pom-transformed.xml issue

2009-05-28 Thread Joerg Hohwiller
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, Hi, Perso, what I do is changing java.io.tmpdir in my .profile. All dev who works on the same solaris server have something like that in ~/.profile : MAVEN_OPTS=-Xmx512m -Xms512m -Djava.io.tmpdir=/home/${LOGNAME}/tmp/tmp-dir export

Re: How to check the versions of BOM pom entries and the dependent artifact versions entries

2009-05-09 Thread Joerg Hohwiller
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Thejaswi, I am working on creation of a Bill of Materails (BOM) POM which would have some of the common components used by other applications. Some of the components in the BOM pom are interdependent. We are looking at a way to find out that

Re: Any chance for maven and IDE (eclipse)?

2008-07-26 Thread Joerg Hohwiller
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Brian, | [cut.] | | This is because M2e (and q4e) use the 2.1 embedder. If you grab a 2.1 | command line, you will see the same output. Additionally, the | enforce-once goal is deprecated in the next release of enforcer as it | causes Maven to do

Any chance for maven and IDE (eclipse)?

2008-07-25 Thread Joerg Hohwiller
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi everybody, I am using maven and eclipse for more than five years now. All I have to say is that bringing these two together was crappy from the start and still is. So far what I can tell: 1. maven-eclipse-plugin does an excellent job. However

Re: Enabling Eclipse 3.4.0 Ganymede in the maven repository

2008-07-25 Thread Joerg Hohwiller
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi there, | Does this mean if it would be the job of eclipse team to publish the | .pom files to the repository. Is there any way any other individual | contributor can contribute to this ? | | It means the latter. You can create a bundle and

Re: conditional dependencies

2008-02-06 Thread Joerg Hohwiller
. Jon Thanks so far... Jörg -Original Message- From: Joerg Hohwiller [mailto:[EMAIL PROTECTED] Sent: 04 February 2008 21:13 To: Maven Users List Subject: conditional dependencies Hi there, I am using conditional dependencies in the form that I use variables

conditional dependencies

2008-02-04 Thread Joerg Hohwiller
Hi there, I am using conditional dependencies in the form that I use variables in the dependencies and profiles to set these variables. Now I currently wonder what to do if a dependency is only required under specific situations. E.g. stax or jsr250 is included in java6 while you need

Re: surefire-report-plugin running tests of all dependent modules again?

2008-01-29 Thread Joerg Hohwiller
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 | Hi Jörg, Hi Stefan, | | this is also what I see here (see my post about M2 multi-project site | build is broken). | All tests are run for each project in the reactor. I think we could file | an issue for each of the affected plugins, but this seems

surefire-report-plugin running tests of all dependent modules again?

2008-01-28 Thread Joerg Hohwiller
can see, MVN_OPTS is not used by Maven. Thanks for this hint. Take care ~ Jörg | | | On 27/01/2008, Joerg Hohwiller [EMAIL PROTECTED] wrote: | Hi there, | | the build of my projects site does not work anymore. | | I do this: | | export MVN_OPTS=-Xmx1024M -XX:MaxPermSize=512m | mvn install

please help: OutOfMemoryError with -Xmx1024M -XX:MaxPermSize=512m

2008-01-27 Thread Joerg Hohwiller
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi there, the build of my projects site does not work anymore. I do this: export MVN_OPTS=-Xmx1024M -XX:MaxPermSize=512m mvn install -Dmaven.test.skip=true mvn -npu -fae -Pcodehaus site:stage -DstagingDirectory=${STAGE_DIR} The problem occured

Re: javadoc: aggregated and per module

2007-11-23 Thread Joerg Hohwiller
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Mick, Can you show me what you did? I want to do this, but can't find any working examples. Here is my pom. Works for me, but might be sick and maybe will not work in future maven releases:

Is there already a Module-Overview-Plugin?

2007-11-12 Thread Joerg Hohwiller
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi there, I just wonder if there is already a plugin for maven2 that can generate a table with the links, names, and descriptions of the child-modules of a project. I remember that this was produced by the multi-site in maven1. I might write such

Re: maven offline

2007-11-12 Thread Joerg Hohwiller
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi there, you might also be interested in this one: http://maven.apache.org/plugins/maven-dependency-plugin/go-offline-mojo.html However there are still some bugs when using snapshots and beeing offline. Regards J?rg mvn -o will automatically

Re: solaris package (pkg) support

2007-11-12 Thread Joerg Hohwiller
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi there, sorry for catching up so late... Thanks for responding. I already know how to make Solaris packages, but I don't know how to integrate the process into my pom.xml. Someone posted a reference to a maven plugin that could create Solaris

Re: how to change version numbers in multiple pom.xml?

2007-11-12 Thread Joerg Hohwiller
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, Hi there, What is the recommended methods to change contents (version numbers) version within multiple pom.xml? Is there anything like REXML in RUBY? You can find an experimental approach that might or might not help you:

anyone using site:stage without distributionManagement?

2007-07-28 Thread Joerg Hohwiller
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi there, we encountered a somewhat odd behavior of the site-plugin: if the POM is missing a distributionManagement section and site:stage is invoked, then the name of the modules is used instead of the artifactId. Using the project name is generally

build plugin order in same phase

2007-05-04 Thread Joerg Hohwiller
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi there, it seems to be impossible with maven 2.0.x to specify the order of plugins in the build process that are attached to the same phase (please corret me if I am wrong). The order in the POM does NOT matter. Is this feature available in (or

Re: How to run multiple mvn commands in a windows bat file?

2007-04-16 Thread Joerg Hohwiller
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 All, Hi, How can i run multiple mvn commands in a windows bat file? I would like to run mvn clean, then mvn install in directory 1 and mvn install in another directory. However, after the first mvn command, the script quit. Not sure why. try

Re: Multiple artifacts

2007-04-12 Thread Joerg Hohwiller
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi there, I have a project that builds multiple artifacts - a jar, a DLL and others that are shared by the Jar and DLL. For various reasons, we have decided to create a single POM that has plug-ins in right phases to build the DLL. So we

Re: [MAVEN][2.0.6] Module dependencies using site-deploy

2007-04-11 Thread Joerg Hohwiller
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello. Hi, Indeed the bug seems to be the same... This also means the site is build using obsolete data from the repository, and not the last building versions... As far as I understand, this only applies to parts of the site (the javadocs) but

Re: [MAVEN][2.0.6] Module dependencies using site-deploy

2007-04-05 Thread Joerg Hohwiller
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ephemeris Lappis schrieb: Hello. Hi, Seems like the same issue I asked for on 29.03.2007 21:51 with the subject Why does site require installation of artifacts? You may want to search for the response from Damien sent on 30.03.2007 10:13: # It

Re: dependency on system library

2007-04-01 Thread Joerg Hohwiller
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Brian, You can use mvn dependency:copy or unpack and directly list an artifact to be copied or unpacked. http://maven.apache.org/plugins/maven-dependency-plugin/usage.html It should be able to handle dlls etc. Thanks for your response. I

Re: trouble in offline mode

2007-03-29 Thread Joerg Hohwiller
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I digged again in jira and found it has already been reported as a bug: http://jira.codehaus.org/browse/MNG-2695 Joerg Hohwiller schrieb: Hi there, I am using maven on my laptop and often when I am riding by train or bus where I am offline

Why does site require installation of artifacts?

2007-03-29 Thread Joerg Hohwiller
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi there, can someone explain why I can do a mvn package to a multiproject that has inter-module-dependencies without doing an mvn install but mvn site requires that I did an mvn install before in order to generate surefire reports, etc. I dont

Re: How to get online help on plugins and commands

2007-03-29 Thread Joerg Hohwiller
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Eric Daigneault schrieb: Hi, Hi Eric, Been using maven for a short while, and thought I really appreciate it`s advantages I find it hard to find information on what it can actually do. I agree with you. I noticed there is help available onilne

dependency on system library

2007-03-29 Thread Joerg Hohwiller
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi there, I am using maven for a project based on SWT (I also have the same problem with a dependency on GWT). As you might know, SWT requires a native library in order to work (scope runtime). Is there a way to define a dependency that does NOT go

Re: Dependency management

2007-01-11 Thread Joerg Hohwiller
Hi Alexander, Hi, I have a few questions about modules and dependencies. Does the order of modules listed in the parent pom.xml matter? As said by others it does NOT matter for the dependency management. It only matters for the ordering when the modules are rendered to the menu of the

Re: site:stage empty index.html

2007-01-04 Thread Joerg Hohwiller
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Andre, you are not the only one with this problem. See: http://jira.codehaus.org/browse/MSITE-138 I got it fixed for javadoc with some snapshot plugins but it still does not work for cobertura and jxr. Regards Jörg Andre Biryukov schrieb: I

m2 profiles: pom with os specific (and native) dependencies

2006-11-29 Thread Joerg Hohwiller
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi there, I am using SWT in my maven project. Now I have two major problems: 1. There are different JARs required depending on the OS: swt-win32 for Windows and swt-linux-gtk for linux, etc. Now I tried to definie these using profiles: profiles

toc feature in xdoc?

2006-10-29 Thread Joerg Hohwiller
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi there, in the xdoc format one can create sections and subsections. Is there a simple tag that can cause the automatic generation of a table of contents? I have seen some projets out there that created this manually by adding named anchors and a

Re: problems with Maven Eclipse

2006-08-17 Thread Joerg Hohwiller
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Parmar, Vijendra Singh wrote: Hi all, Hi Vijendra, first of all, this posting is kinda misplaced here on the developers list. You should post stuff like this on the users list - anyways... I have integrated Maven with Eclipse I tried

stuck with maven-site-plugin

2006-07-21 Thread Joerg Hohwiller
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi there, As denoted in MSITE-132 my site does NOT work because the site plugin uses the project names instead of artifact IDs for directory names of the modules (sub-projects). Since I have Names like MMM::Util, the browser gets them as relative

Re: Doxia/site problems - FIXED

2006-05-16 Thread Joerg Hohwiller
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Brett Porter wrote: Hi, Hello there, This should now be fixed. Please remove the following files from your local repository to correct the issue: org/apache/maven/doxia/doxia-site-renderer/1.0-alpha-8/doxia-site-renderer-1.0-alpha-8.pom

Re: Help with multiproject site generation?

2006-04-26 Thread Joerg Hohwiller
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi there, a little late on this thread but anyways... Am I missing something or does your m2 site-plugin aggregate the target/site directories since you wrote: item name=Sub Project 1 href=/subproject1/index.html/ I would not worry too much

[m2] i18n of reports

2006-04-26 Thread Joerg Hohwiller
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi there, I have seen that the custom site stuff perfectly supports internationalization. Does somebody know anything about the reports generated by plugins? I this also build in by the concept of maven and just missing some resource-bundles or is

maven2 and maven1 incompatibility

2006-04-05 Thread Joerg Hohwiller
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi there, I have been using maven and now m2 for quite a while. Anyways I just wanted to let you know that I often get mails from people who get in trouble because they want to use the software XYZ (e.g. scarab) and in the installation guide of that

Re: Multiple subprojects and maven:site.

2006-02-27 Thread Joerg Hohwiller
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tuomo Syvänperä wrote: Hi, Hi Tuomo, Just started using Mave 2 a few days ago, and I must say that so far I have been quite impressed. I have a project where I've got one parent project and three subprojects under it. I do have up to 3 levels

Re: m2 offline: Can't read the url

2006-01-31 Thread Joerg Hohwiller
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Brett Porter wrote: fixed in SVN. Thanks Brett, great. On 1/31/06, Joerg Hohwiller [EMAIL PROTECTED] wrote: Hi there, it seems that the projectinfo plugin does not take care of the offline-mode. If I run mvn -o site it fails with the Error

m2 offline: Can't read the url

2006-01-30 Thread Joerg Hohwiller
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi there, it seems that the projectinfo plugin does not take care of the offline-mode. If I run mvn -o site it fails with the Error [INFO] Can't read the url [http://www.apache.org/liceneses/LICENSE-2.0.txt] : www.apache.org This is my license

Re: [m2] Minimize project version occurence in multiproject configuration

2005-12-01 Thread Joerg Hohwiller
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi there, Geoffrey wrote: I have a parent pom.xml like this: groupIdy/groupId artifactIdx/artifactId packagingpom/packaging version0.0.1-SNAPSHOT/version modules modulethot-model/module

[m2] Infinity Loop in DefaultMavenProjectBuilder.assembleLineage

2005-10-29 Thread Joerg Hohwiller
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi there, yesterday I created this jira issue: http://jira.codehaus.org/browse/MNG-1355?page=comments In case you have additional questions I was thinking that it might be easier, if I subscribe to the users list and keep in contact. Take care