Looking for a workaround for MNG-3228 (activate inherited profile)

2009-01-29 Thread Stefan Fritz
nd for MNG-3228 (activate inherited profile) Date: Wed, 28 Jan 2009 08:11:34 +0100 From: Stefan Fritz Reply-To: Maven Users List To: Maven Users List References: <9aec5f50bd7e0f48891ae45adc56118403592...@ldnukms2.caplin.com> <562346790901200455i39250a79vd311d15

Looking for a workaround for MNG-3228 (activate inherited profile)

2009-01-27 Thread Stefan Fritz
Hi all, We try to define profiles in our master pom. When we trigger a build we want to activate a specific profile via a property in the projects pom. (activation via -P works fine). But it seems we ran into the following issue: http://jira.codehaus.org/browse/MNG-3228 Is there any workaro

Re: java.lang.NoClassDefFoundError: org/codehaus/plexus/util/xml/XmlStreamReader

2008-12-10 Thread Stefan Fritz
er on the Linux server. So it seems dependency handling for plugins doesn’t complain if dependencies are missing :-( I changed the settings.xml to include another internal repository and now it works again. Thanks for your tips! Stefan Stefan Fritz wrote: Hi all, we have a custom Maven plug

Re: java.lang.NoClassDefFoundError: org/codehaus/plexus/util/xml/XmlStreamReader

2008-12-10 Thread Stefan Fritz
rch: "x86" Family: "windows" -Stefan Dennis Lundberg wrote: You need Maven 2.0.6+ to be able to override plexus-utils. Which version of Maven are you using on the Linux server? Stefan Fritz wrote: Hi all, we have a custom Maven plugin to package artifacts for our ESB.

Re: java.lang.NoClassDefFoundError: org/codehaus/plexus/util/xml/XmlStreamReader

2008-12-10 Thread Stefan Fritz
some weeks ago which cost us quite a few hours to find the cause for. That was for a deployment that worked on Windows but not on Linux. A dependecy for the classpath in one of the manifest files was incorrect regarding upper/lower case. /Anders Stefan Fritz-2 wrote: Hi all, we have a custom Mav

java.lang.NoClassDefFoundError: org/codehaus/plexus/util/xml/XmlStreamReader

2008-12-10 Thread Stefan Fritz
Hi all, we have a custom Maven plugin to package artifacts for our ESB. The plugin works fine on my Windows machine (WinXP, Maven 2.0.9, Sun JDK 5) but when I package a project on our server it fails. The error occurs on with Sun JDK5/6 on Linux. Does anybody have an idea what the cause of th

Re: How to version modules when using different parents per module

2008-11-26 Thread Stefan Fritz
t in that it is largely structural rather than "typed". Can you have the types share a single ancestor so the module build and the inheritance hierarchy line up? Cheers, Brett On 25/11/2008, at 8:10 AM, Stefan Fritz wrote: Hi all, We have multiple projects which should be built u

How to version modules when using different parents per module

2008-11-24 Thread Stefan Fritz
Hi all, We have multiple projects which should be built using a module build. Each project is of a different type and therefore has a different parent pom (not the module build pom!). Now my problem is that I want to maintain the version at a central place. The only solution I could think o

Rename files after creation via archetype

2008-10-16 Thread Stefan Fritz
Hi all, Is there an easy way to automatically rename some files during/after creating a project via an archetype? Thanks Steafn - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: trunk/tags/branches: root vs. project level

2008-10-15 Thread Stefan Fritz
y Law wrote: Stefan Fritz-2 wrote: Hi all, we are in the process of restructuring a subversion repository and "Mavenize" all projects. The main discussion at the moment is whether to have trunk/tags/branches on the root level or once per project. root: trunk/project1/pom.xml

trunk/tags/branches: root vs. project level

2008-10-15 Thread Stefan Fritz
Hi all, we are in the process of restructuring a subversion repository and "Mavenize" all projects. The main discussion at the moment is whether to have trunk/tags/branches on the root level or once per project. root: trunk/project1/pom.xml trunk/project2/pom.xml branches/branch1/pro

Re: SCM URL resolution/calculation by Maven

2008-10-14 Thread Stefan Fritz
adhere to the trunk/tags/branches structure (which I need for the release process) the SCM resolution is not usable. Correct or is there a "recognizeTrunkTagsBranches" switch somewhere? ;-) Thanks Stefan Brett Porter wrote: On 14/10/2008, at 6:38 PM, Stefan Fritz wrote: Hi al

SCM URL resolution/calculation by Maven

2008-10-14 Thread Stefan Fritz
Hi all, I want to avoid putting a SCM configuration in every pom. For modules in a module build I found out that maven adds the artifact-id to the module-parent-pom's scm url . I was not able to find any information about the rules of scm URL resolution. What are the rules for SCM URL calcula

Re: Creating Development Environment Repository

2008-10-14 Thread Stefan Fritz
Hi, You can use a repository manager to do that e.g. Nexus: http://nexus.sonatype.org/ or http://archiva.apache.org/. We use Nexus so I can only talk about Nexus here. Configure repository groups there and all your repository references (e.g. in the parent poms) should point to the Nexus. h

How to release module build projects?

2008-10-13 Thread Stefan Fritz
Hi, I try to use mvn release in a multi-module build scenario but I'm not sure whether I go into the right direction. Our standalone projects have the following structure: projA \_trunk \_tags \_branches We also have some multi module projects and I wonder what is the bes

Dependency range resolution resolves to SNAPSHOTS!?

2008-10-08 Thread Stefan Fritz
Hi all, We recently (during the last weeks) ran into a situation where version ranges (e.g. [1.0,) ) where resolved to SNAPSHOT versions as well. My understanding was always that if I specify a non-snapshot version in a range that only released version will be resolved. Is my understanding i

Re: Best practice for branching projects?

2008-10-07 Thread Stefan Fritz
es versioned is IMHO more time-saving than using automagic snapshot updates. Hope this helps, Simone Stefan Fritz wrote: Hi, We use Maven in an environment where we have ca. 150 projects. One project is the toplevel project (= the final deliverable to the customer/user). This project has dep

Re: Best practice for branching projects?

2008-10-06 Thread Stefan Fritz
is 1.1, now the new developing version should 1.2-SNAPSHOT. after you finish you development, you modified all the pom.xml which dependent on the fixed version. 2008/10/6 Stefan Fritz <[EMAIL PROTECTED]> Hi, We use Maven in an environment where we have ca. 150 projects. One project is the top

Best practice for branching projects?

2008-10-06 Thread Stefan Fritz
Hi, We use Maven in an environment where we have ca. 150 projects. One project is the toplevel project (= the final deliverable to the customer/user). This project has dependencies to 10 projects, which have dependencies to other projects etc. In the end we have 150 different projects in the d

Maven 2.x Plug-in for Eclipse- internal repositories

2006-04-11 Thread Stefan Fritz
Hi all, When I try to add a new dependency in Eclipse, it searches my local repository and the remote Maven repositories but not our internal (remote) repositories. I have configured our internal repositories in the parent pom.xml: inhouse_snapshot Inhouse S

Re: Help needed to setup Continuum and Maven 2

2006-03-31 Thread Stefan Fritz
site. Even copy these files on the server. Downloading http://myserver.com/svn/trunk/sonic/src/esb/services/pom.xml?content-type=tex/plain Thanks Gautham Pamu On 3/31/06, Stefan Fritz <[EMAIL PROTECTED]> wrote: Hi, I try to setup Continuum 1.0.2 on a Linux server. I have added Maven

Re: [m2] mvn 2.0.3 eclipse:eclipse not working anymore

2006-03-30 Thread Stefan Fritz
Ooops, sorry the problem was a type in one of my root pom files (a few levels up/down). Now it works :-) Stefan Thorsten Heit wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Stefan, My pom is valid and has no duplicate tags! Seems to be a problem with plexus. Any inpput welco

[m2] Continuum HowTo?

2006-03-30 Thread Stefan Fritz
Hi all, is ther a step by step HowTo for setting up Continuum with Maven 2? I want to setup Continuum on a Linux box for nightly builds. My projects are in SVN. Regards Stefan - To unsubscribe, e-mail: [EMAIL PROTECTED] For

[m2] mvn 2.0.3 eclipse:eclipse not working anymore

2006-03-29 Thread Stefan Fritz
Hi, I'm running maven 2.0.3. I have created a new project and wanted to enable eclipse support with eclipse:eclispe but I get the following error: C:\dev\trunk\connect>mvn -e eclipse:eclipse + Error stacktraces are turned on. [INFO] Scanning for projects... [INFO]

[m2] eclipse:add-maven-repo fails if pom.xml is in execution directory

2006-03-28 Thread Stefan Fritz
Hi all, the eclipse plugin seems to have a similar problme as the archetype plugin. It fails if the command is executed in a directory with a pom.xml file: C:\dev\trunk\mvn eclipse:add-maven-repo -Declipse.workspace=C:\dev\work\test [INFO] Scanning for projects... [INFO] --

Re: [m2]using archetypes in a hierarchical project/pom structure

2006-03-27 Thread Stefan Fritz
rived in the next two/three weeks or so. Greetings Franz Brett Porter schrieb: 2.0.3 is due tomorrow. This fix is unrelated, and will be a part of an upcoming archetype plugin release. - Brett On 3/27/06, Stefan Fritz <[EMAIL PROTECTED]> wrote: Brett, will the fixes be in m2 2.0.

Re: [m2]using archetypes in a hierarchical project/pom structure

2006-03-27 Thread Stefan Fritz
next release. - Brett On 3/21/06, Stefan Fritz <[EMAIL PROTECTED]> wrote: I did what you suggested but I still get the error. In the pom of the archetypes I saw the version is a snapshot version. Might that be the problem? Regards Stefan Brett Porter wrote: svn co http://svn

Re: Maven 2 : Jalopy plugin

2006-03-21 Thread Stefan Fritz
Teh following works for me: org.codehaus.mojo jalopy-maven-plugin c:/dev/var/configurations/jalopy.xml format-main-sr

Re: [m2]using archetypes in a hierarchical project/pom structure

2006-03-20 Thread Stefan Fritz
On 3/21/06, Stefan Fritz <[EMAIL PROTECTED]> wrote: What do I have to get from SVN to get this fix? The Maven 2.1-SNAPSHOT or just a few plugins? Regards Stefan Brett Porter wrote: Fixed in SVN just today. - Brett On 3/21/06, Stefan Fritz <[EMAIL PROTECTED]> wrote: H

Re: [m2]using archetypes in a hierarchical project/pom structure

2006-03-20 Thread Stefan Fritz
What do I have to get from SVN to get this fix? The Maven 2.1-SNAPSHOT or just a few plugins? Regards Stefan Brett Porter wrote: Fixed in SVN just today. - Brett On 3/21/06, Stefan Fritz <[EMAIL PROTECTED]> wrote: Hi, I created a custom archetype. I have a hierarchical p

[m2]using archetypes in a hierarchical project/pom structure

2006-03-20 Thread Stefan Fritz
Hi, I created a custom archetype. I have a hierarchical project structure: pom.xml | `-- services `-- pom.xml `-- service1 `-- pom.xml `-- service2 `-- pom.xml `-- service3 `-- pom.xml What I wan

[m2] release plugin fails tagging SVN via http

2006-03-15 Thread Stefan Fritz
Hi, I just tried the release plugin. When I issue a "mvn release:prepare" command I get an error. (see error at the bottom) For my scm connection I have configuread a server entry in my settigns file which is correctly used by changelog plugin. so the scm url and the username/password are corr

Re: M2.0.2 SVN ChangeLog

2006-03-15 Thread Stefan Fritz
Javed, I have the same problem as you had. If I add the -Dusername and -Dpassword to the mvn command changelog works. I also tried to add username and password properties to the profile but it didn't wokr for me. Did you have success? Regards Stefan javed mandary wrote: The thing is that i

RE: [m2] SCM url: ${groupId} alternative with slashes instead of .

2006-03-14 Thread Stefan Fritz
ubject: Re: [m2] SCM url: ${groupId} alternative with slashes instead of . It isn't possible, you must define it manually? You can define test/application as a property of your pom and use it in your scm url Emmanuel Stefan Fritz a écrit : > Hi all, > > I try to build pom's

[m2] SCM url: ${groupId} alternative with slashes instead of .

2006-03-14 Thread Stefan Fritz
Hi all, I try to build pom's for my projects and do not want to specify the url manually for every pom. My pom.xml: ... test.applications myapp ... ... ... http://myserver.com/svn/${groupId }/${artifactId}/ What I get is http://m

[m2] PMD plugin, ClassNotFoundException

2006-01-27 Thread Stefan Fritz
Hi all, I tried to add the PMD plugin to my reports section in the pom.xml. org.apache.maven.plugins maven-pmd-plugin C:\dev\var\configurations\pmd\rulesets\basic.xml xml true utf-8 100 1.4

RE: [m2] Jalopy & Checkstyle compatible configuraiton files

2006-01-25 Thread Stefan Fritz
Hi all, I got Jalopy and Checkstyle running but now I wonder whether anybody can tell where I can get configuration files for Jalopy and Checkstyle which adhere to the same coding convention e.g: sun coding convention. Regards Stefan -

RE: [m2] Jalopy Plugin?

2006-01-25 Thread Stefan Fritz
THANKS! :-D From: Jurgen Lust [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 25, 2006 12:57 PM To: Maven Users List Subject: Re: [m2] Jalopy Plugin? Aha, the artifactId is jalopy-maven-plugin, not maven-jalopy-plugin... Jurgen Stefan Fritz schreef

RE: [m2] Jalopy Plugin?

2006-01-25 Thread Stefan Fritz
ROTECTED] Sent: Wednesday, January 25, 2006 11:52 AM To: Maven Users List Subject: Re: [m2] Jalopy Plugin? Stefan Fritz schreef: > Sorry I'm a newbie: > > I compiled it and it installed in my local repository. > > > My pom: > ... > > org.codehaus.mojo &g

RE: [m2] Jalopy Plugin?

2006-01-25 Thread Stefan Fritz
Sorry I'm a newbie: I compiled it and it installed in my local repository. My pom: ... org.codehaus.mojo maven-jalopy-plugin 1.0b11 ... mvn site [INFO] Scanning for projects... [INFO] --

RE: [m2] Jalopy Plugin?

2006-01-25 Thread Stefan Fritz
: [m2] Jalopy Plugin? It hasn't been released on the central repository yet. You can check it out of subversion though, it works perfectly... https://svn.mojo.codehaus.org/mojo/trunk/mojo/jalopy-maven-plugin Jurgen Stefan Fritz schreef: > Hi all, > > ist there already a Jalopy

[m2] Jalopy Plugin?

2006-01-25 Thread Stefan Fritz
Hi all, ist there already a Jalopy plugin for maven 2? I found http://mojo.codehaus.org/jalopy-maven-plugin/howto.html But it doesn't seem to work: [INFO] The plugin 'org.codehaus.mojo:maven-jalopy-plugin' does not exist or no valid version could be found TIA Stefan -

RE: [m2] Wagon fails with HTTP destination

2006-01-24 Thread Stefan Fritz
Yes I'm following this guide but instead of using scp I tried http. It seems nobody has ever tried http. I think I'll try FTP as I was not able to get it working with HTTP. :-( -Original Message- From: Treloar, Barrie (SAPOL) [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 25, 2006 6

[m2] Wagon fails with HTTP destination

2006-01-24 Thread Stefan Fritz
Hi all, I try to setup maven 2.0.2 for my team. I have a webserver (apache) which I want to use as our internal repository release/snapshot. In my parent pom.xml I added the following entries: inhouse Inhouse Internal Release Rep

[m2] failed to deploy to server via HTTP

2006-01-24 Thread Stefan Fritz
Hi all, I try to setup maven 2.0.2 for my team. I have a webserver (apache) which I want to use as our internal repository release/snapshot. In my parent pom.xml I added the following entries: inhouse Inhouse Internal Release Repo

[m2] Need some direction for my first Maven steps

2005-12-01 Thread Stefan Fritz
Hi, I read the getting started guide on the Maven website and searched through the mail archives but I still have no die how to achieve what I'm looking for: What I'd like to do: - Create a central Maven repository in our company. - Have a "Super POM" which includes our com