Re: [VOTE] Change project logo and adopt owl as mascot

2014-11-25 Thread Mark Struberg
+1 really like the new logo (or better any of those owls). LieGrue, strub On Tuesday, 25 November 2014, 12:02, Arnaud Héritier aherit...@gmail.com wrote: +1 thx On Tue, Nov 25, 2014 at 11:57 AM, Stephen Connolly stephen.alan.conno...@gmail.com wrote: +1 On 25 November

Re: Open Source Best Practices with Maven - distributionManagement

2014-03-19 Thread Mark Struberg
You could also add those properties into a profile in your settings.xml. That way you don't even have the url in the projects pom anymore. Downside: this needs to be set up on each of your colleagues computers. LieGrue, strub On Wednesday, 19 March 2014, 23:16, Eric Kolotyluk

Re: Are skinny WARs still recommended?

2014-02-28 Thread Mark Struberg
: On 27 Feb 2014, Mark Struberg wrote: JSF by default loads the resources from the local WAR classpath only. But you can easily write your own ResourceResolver which picks the stuff from the ClassPath as well. An example can be found here: http://ocpsoft.org/opensource/create-common-facelets

Re: Are skinny WARs still recommended?

2014-02-27 Thread Mark Struberg
JSF by default loads the resources from the local WAR classpath only. But you can easily write your own ResourceResolver which picks the stuff from the ClassPath as well. An example can be found here: http://ocpsoft.org/opensource/create-common-facelets-jar/ See CustomResourceResolver.

Re: Seeking feedback on “Recursive Maven considered harmful”

2012-12-17 Thread Mark Struberg
I really like to pick up the work again, but currently busy with graduating another project. The next important points to do are * inter-project change detection. If you have a dependency to another project which changed, you need to basically do a full build on your depending module. Thus

Re: Seeking feedback on “Recursive Maven considered harmful”

2012-12-17 Thread Mark Struberg
know that doing this 'clean' is not free of cost, but this is still _way_ cheaper than doing a mvn clean install in any case as it is needed right now! LieGrue, strub - Original Message - From: Thomas Broyer t.bro...@gmail.com To: Maven Users List users@maven.apache.org; Mark Struberg

Re: Seeking feedback on “Recursive Maven considered harmful”

2012-12-17 Thread Mark Struberg
By default it should be fine to use the 'mvn verify' build lifecycle step [1]. In that case the 'reactor' does not reference the project dependencies via the local maven repo but instead via path JVM references to the other modules in the build directly. LieGrue, strub [1]

Re: Version ranges not working

2012-09-30 Thread Mark Struberg
In practice it gets more complicated if you are a framework. The safest way is to even change your package name to reflect the API change. LieGrue, strub - Original Message - From: Ron Wheeler rwhee...@artifact-software.com To: users@maven.apache.org Cc: Sent: Sunday, September

Re: Version ranges not working

2012-09-29 Thread Mark Struberg
I thought about mathematical ranges as well, and the outcome for me personally that a strict mathematical time vector interpretation makes no sense for maven. You have a library in version 1.7.0 which fits your project. Somewhen in the development of 1.8.0-SNAPSHOT they introduce a binary

Re: Version ranges not working

2012-09-28 Thread Mark Struberg
Sad but true. An example: There are projects which use 1.0-MR1 as Milestone Release which gets released _before_ 1.0 final. And there are other projects which use 1.0-MR1 as Maintenance Release which obviously gets released _after_ 1.0 final. Anything else than pure numbers is a candidate

Re: What does the tag parameter for release:branch do?

2012-09-28 Thread Mark Struberg
+1 Laird, that is for sure the best thing. I guess we need to clean up a few things in this area. An attempt for a small historical summary: * tag was useful in CVS (not in all operations but in most) * tag is almost useless in SVN as you get a different directory for branches and tags * due

Re: How to exclude transitive dependencies from war?

2012-09-28 Thread Mark Struberg
I have a similar configuration in my project. It is an EAR project with lots of WARs on their own. The goal was to provide a way to be able to debug/develop the WARs standalone e.g. via mvn tomcat7:run. In this situation you need all your dependencies (even platform JARs like openwebbeans,

Re: How to put a dependency in the classpath BEFORE jre.jar?

2012-09-25 Thread Mark Struberg
I did not read through the whole thread, so maybe I missed (sorry for that). Afaik maven plugins use a different ClassLoader hierarchy than you might expect. Most frameworks use ParentClassLoaderFirst, but maven afaik uses ClientClassLoaderFirst. Which means it's perfectly fine to to put a

Re: NullPointerException on Maven Compile

2012-09-13 Thread Mark Struberg
Hi Clebert. I'm currently working on m-compiler-p 2.6 and will give it a look. LieGrue, strub - Original Message - From: Clebert Suconic clebert.suco...@gmail.com To: users@maven.apache.org Cc: Sent: Thursday, September 13, 2012 10:56 PM Subject: NullPointerException on Maven

Re: Arguments for Maven vs. Gradle

2012-09-11 Thread Mark Struberg
Gradle allows to hack something much quicker. In Maven you would need to write a plugin. Otoh I've seen a Gradle project which went from great to barely maintainable in almost under a year. Just let a few juniors touch the build and you are doomed pretty quickly. The approach of gradle is not

Re: Arguments for Maven vs. Gradle

2012-09-11 Thread Mark Struberg
Oki, I confess... hang me now line on the left, only one cross each person ;) LieGrue, stru - Original Message - From: Thiessen, Todd (Todd) tthies...@avaya.com To: Maven Users List users@maven.apache.org; Mark Struberg strub...@yahoo.de Cc: Sent: Tuesday, September 11, 2012

Re: Creating one big jar in Maven?

2012-08-26 Thread Mark Struberg
If your goal is to have only one fat jar which contains all stuff and is executable then you can also try the onejar-maven-plugin http://code.google.com/p/onejar-maven-plugin/ LieGrue, strub - Original Message - From: Nikolay Rychkov nikolay.rych...@gmail.com To: Maven Users List

Re: Using scope in dependencyManagement: good idea or bad?

2012-06-01 Thread Mark Struberg
I sometimes use this for libraries (like e.g. openwebbeans-impl) which I normally only have a runtime dependency for (generally defined via dependencyManagement). But in some cases you need to access some internal details. Usually I move those parts to some 'utility' module which then has a

Re: command to build the project using maven 1.1

2012-05-24 Thread Mark Struberg
do you already have all the stuff (jar, war, ear) in multiple modules? Or did you script it with jelly yourself? How is your project structure looking today? Any chance you can upgrade to mvn-3.0.4? maven-1.1 is pretty old already ... LieGrue, strub - Original Message - From:

Re: Memory Leak?

2012-05-12 Thread Mark Struberg
It could also be a proxy problem of course. How is guice doing proxies? Proxies are also loaded via the ClassLoader and consume perm gen space. LieGrue, strub - Original Message - From: Stuart McCulloch mccu...@gmail.com To: Maven Users List users@maven.apache.org Cc: Sent:

Re: Maven 3.0 and EJB 2.0 or 1.0

2012-04-24 Thread Mark Struberg
Are you seriously still using EJB-1.0? The crap which instantly caused lots of people puking back in 1999? I'm aware that a few poor developers still need to clean up the mess in old projects, but is there even a supported container for those things? I think EJB-3.0 got introduced in early

Re: Help again for working with release:plugin

2012-02-21 Thread Mark Struberg
Hi! Please note that this isn't as crucial as it sounds here. The only thing that you might add is a simple pom.xml which just contains the modules section including all your child projects.  If you don't like to do it then you can also just add scm sections to each and every of your

Re: problem scm in superPOM

2012-02-20 Thread Mark Struberg
yup, there is already a maven model bug open for it. Originally this behaviour got introduced as 'fix' for SVN a lng time ago. But you only need this if you like to do sparse releases anyway. In that case please just duplicate the scm section to your child poms as well for now. LieGrue,

Re: Maven 3, _maven.repositories and *lastUpdated

2011-10-23 Thread Mark Struberg
Before we go ahead and drop this feature again, I just like to make sure that all people understand _why_ this got implemented the way it is! If you have lots of projects locally and some projects need an additional repository x, then you just add this repo-x to the repositories section of

Re: Maven 3, _maven.repositories and *lastUpdated

2011-10-23 Thread Mark Struberg
theoretic than practically relevant. Lets keep it with SimonGarfunkel: there are 50 ways to leave your lover (or crash your system)... LieGrue, strub - Original Message - From: Mark Derricutt m...@talios.com To: Maven Users List users@maven.apache.org; Mark Struberg strub

Re: writing a parent pom that does not execute its plugins

2011-10-19 Thread Mark Struberg
Some plugins already provide the following 2 properties * skip * forceMojoExecution The idea is that those plugins must not get executed when the project is of type 'pom'. But since most of this plugins in bigger projects get defined in a 'backend-parent' module (or kind of) which is the

Re: maven failing to resolve artifact that exists in repository

2011-10-15 Thread Mark Struberg
Hi! it seems that this repository is not listed in the projects pom. So it seems to be assumed that you add the following analog for what I did for the jboss repos to your ~/.m2/settings.xml: profiles   profile   idjbossrepo/id   repositories   repository    

RE: Parallel download dependencies in same group

2011-08-12 Thread Mark Struberg
Hi! Of course, any help is welcome. But mind the problems which may arise: You can only download in parallel after all poms got fully parsed Imo all the archive resolver stuff must first downloading all the poms and parse them. This must not be done in parallel because you don't know yet if

Re: Need help

2011-08-09 Thread Mark Struberg
hi Adrien! You could try the maven-depedency-plugin dependency:unpack goal [1]. LieGrue, strub [1] http://maven.apache.org/plugins/maven-dependency-plugin/unpack-mojo.html --- On Tue, 8/9/11, Adrien Ruffie - Petals Link adrien.ruf...@petalslink.com wrote: From: Adrien Ruffie - Petals Link

Re: How can we avoid checking for updates for jars we already have?

2011-08-06 Thread Mark Struberg
Hi Trent! Just use the updatePolicy setting in the repository section for the specific repository and set it to 'never' or 'daily'. You can either set this in your own pom.xml or in your ~/.m2/settings.xml [1]. LieGrue, strub [1]

Re: mvn release is failing with git

2011-08-04 Thread Mark Struberg
Erwin, do you have a log of the git push command which fails? We log it to the console in case of an error. Please try to execute this command manually and check if there are any errors too. LieGrue, strub --- On Thu, 8/4/11, Stephen Connolly stephen.alan.conno...@gmail.com wrote: From:

Re: Getting strange error in compilation

2011-08-01 Thread Mark Struberg
If I remember correctly, then this is also needed for native2ascii resource conversion. Anyone checking this? LieGrue, strub --- On Sun, 7/31/11, Kathryn Huxtable kath...@kathrynhuxtable.org wrote: From: Kathryn Huxtable kath...@kathrynhuxtable.org Subject: Re: Getting strange error in

Re: gitflow releases with maven?

2011-07-29 Thread Mark Struberg
hi! Do you have localCheckout activated? You might try disabling it, maybe there is a bug with that on windows. localCheckout is meant to spare bandwith in huge projects by doing a git-clone file:// from the local git repo instead of cloning the upstream repo in release:perform. LieGrue, strub

Re: gitflow releases with maven?

2011-07-29 Thread Mark Struberg
, July 29, 2011, 8:34 AM Hello Mark, I see, that you assigned MRELEASE-624. Thank you for the quick reaction! 2011/7/29 Mark Struberg strub...@yahoo.de: Do you have localCheckout activated? You might try disabling it, maybe there is a bug with that on windows. localCheckout is meant

Re: Plugin development using Guice?

2011-07-11 Thread Mark Struberg
It is currently possible but it's not guaranteed to run forever. If there is no unique feature which you can only do with guice, then I'd still suggest doing it the 'old' way. There have been discussions about switching from JSR-330 to the more powerful JSR-299 spec for DI. So if you like to

Welcome Robert Scholte to the Apache Maven team!

2011-07-06 Thread Mark Struberg
Hi Maven folks! The Apache Maven PMC is glad to welcome Robert Scholte as new Apache Maven Committer! Most of us know Robert already from his dedicated work on lots of Maven plugins over at codehaus-mojo, so I guess I don't have to add much ;) Robert, congratulations and happy hacking!

Re: question about mvn dir structure

2011-06-30 Thread Mark Struberg
$ mvn archetype:generate There are some 100 archetypes for various project types available. Please pay attention that the first 'simple' app (no 3 or so) is _not_ the simplest app available - it's just badly named. LieGrue, strub --- On Thu, 6/30/11, Joseph wutong...@gmail.com wrote:

Re: Hit java.lang.IllegalStateException with Wagon-ssh

2011-06-26 Thread Mark Struberg
Hi! maven-2.2.1 is fine. Maybe you had a download problem? Try to rm -rf /Users/sshark/.m2/repository/org/apache/maven/wagon and start your build again. LieGrue, strub --- On Sun, 6/26/11, thlim ssh...@gmail.com wrote: From: thlim ssh...@gmail.com Subject: Hit

RE: generated artifact name

2011-06-23 Thread Mark Struberg
Hi! This happens if you set a finalName in your build section. This is handy if you have some automated task which assumes that there exists a file this certain name. LieGrue, strub --- On Thu, 6/23/11, Yuvaraj Vanarase yuvaraj.vanar...@synechron.com wrote: From: Yuvaraj Vanarase

Re: maven 3.0.3 out of memory error, version ranges, lots of maven meta downloads

2011-06-22 Thread Mark Struberg
humm, maybe the resolution mechanism sniffs _all_ snapshot timeshot versions and not only the last one? Could you please re-add the snapshot repo and set the version ranges to [8.0.0,9.0.0)? The question is if this is related to the fact that the snapshot repo just has lots of artifacts (due

Re: An example of a plugin that uses the dependencies/ as an actual live classpath ...

2011-06-17 Thread Mark Struberg
I think the question is ambiguous: Did he like to get the classpath of all dependencies of the current project to invoke a java method which needs those classes on the classpath (annotation scanning or enhancement, etc)? Or does he like to contruct a classpath string which he can pass to a

Re: How to bind ant to a maven-plugin custom goal

2011-06-17 Thread Mark Struberg
There is an example of such a plugin in 'Maven - The Definitive Guide available somewhere as free PDF I'm sure. LieGrue, strub --- On Fri, 6/17/11, Stephen Connolly stephen.alan.conno...@gmail.com wrote: From: Stephen Connolly stephen.alan.conno...@gmail.com Subject: Re: How to bind ant to a

Re: Missing artifact javax.transaction:jta:jar:1.0.1B

2011-06-15 Thread Mark Struberg
right. A slightly OT addendum: All projects which need IP clean ALv2 licensed dependencies might have a look at the Geronimos specs project [1] which contains artifacts of lots of JSRs. Especially all apache.org projects should use those dependencies instead of their (mostly) CDDL licensed

Re: An example of a plugin that uses the dependencies/ as an actual live classpath ...

2011-06-15 Thread Mark Struberg
You might look at the way we did it for the openjpa-maven-plugin: https://svn.codehaus.org/mojo/trunk/mojo/openjpa-maven-plugin/src/main/java/org/codehaus/mojo/openjpa/AbstractOpenJpaMojo.java check the extendRealmClasspath() method. LieGrue, strub --- On Wed, 6/15/11, Benson Margulies

Re: Can't deploy Maven jar (MDB) on Jboss 6

2011-06-11 Thread Mark Struberg
hi! The message you see has nothing to do with maven but with the JBoss deployer. I'd check if the mentioned class is available somewhere in your JBoss installation. In any case 'org.jboss.ejb3.timerservice.spi.TimerServiceFactory' sounds like an internal JBoss class. Maybe there is an OSGi

Re: Maven repository on SourceForge file system

2011-06-11 Thread Mark Struberg
hi! A slightly different approach would be to use wagon-svn and 'deploy' your artifacts to a folder in your apps Subversion repo. This is a neat hack for getting sharing a maven repo via sourceforge. LieGrue, strub --- On Sat, 6/11/11, mebigfatguy dbros...@mebigfatguy.com wrote: From:

Re: maven3 - how to switch wagon provider (due to long password)

2011-05-27 Thread Mark Struberg
Hi Miki! I guess this is because mvn 3 uses wagon-lightweight-http for all read actions. How do you set your credentials? Via the server tag in settings.xml? Could you please provide us with an example of such a long password via a Jira ticket in http://jira.codehaus.org/browse/WAGON txs and

Re: Problem in delpoying an external jar to the local repo

2011-05-24 Thread Mark Struberg
They moved it almost a year ago already New one is at https://repository.jboss.org/nexus/ see http://relation.to/Bloggers/JBossMavenRepositoryChanges LieGrue, strub --- On Tue, 5/24/11, Wayne Fay wayne...@gmail.com wrote: From: Wayne Fay wayne...@gmail.com Subject: Re: Problem in

Re: How to release a single module in a Mercurial repository?

2011-03-06 Thread Mark Struberg
/maven-scm-provider-hg-test/ 2011/3/5 Mark Struberg strub...@yahoo.de: Andreas, it would be really fine if you could provide your sample project as a tar.gz or zip. Because in theory it should really also work with hg. The fix in MRELEASE-457 should just allow that. Btw, sometimes

Re: How to release a single module in a Mercurial repository?

2011-03-06 Thread Mark Struberg
hmm, I think we should remove this Exception. tagging a subdirectory is again only valid in very special SCMs, mainly SVN (don't remember how this did behave in CVS anymore). Usually a tag is a 'name' on a certain snapshot in the whole repo. Tagging a repo will just give you this unique

Re: How to release a single module in a Mercurial repository?

2011-03-05 Thread Mark Struberg
Andreas, it would be really fine if you could provide your sample project as a tar.gz or zip. Because in theory it should really also work with hg. The fix in MRELEASE-457 should just allow that. Btw, sometimes the default behaviour of the MavenModel scm section handling also adds some bad

Re: One project per package or multiple packages in same project?

2011-01-25 Thread Mark Struberg
+1 for using external 'properties' Usually you like to produce only one WAR file and use exactly this single WAR file on your test box, move it further to the integration test server and then move it to the production server. The SHA-1 of the WAR _must_not_ change! If you need to rebuild a

Re: maven-release-plugin multimodule creating additional subversion tags for each module

2011-01-25 Thread Mark Struberg
Hi Mirko! If you release the whole project at once, then you obviously only get exactly one tag! You'd need to run releases on each module on it's own to get the single tags. But I'm not sure if this is really a good thing... What is the goal you like to achieve? What's wrong for you with

Re: Maven release:perform deploy failed access denied

2011-01-18 Thread Mark Struberg
hi! Please look at the file permissions on your server, maybe the file got uploaded by someone else and you have no right to write to this directory. To prevent such situations, one usually uses the following settings.xml configuration: server idyourServerId/id

Re: Welcome Wayne Fay to the Maven PMC

2011-01-15 Thread Mark Struberg
Congratulations Wayne! Keep up the good work ;) LieGrue, strub --- On Sat, 1/15/11, Olivier Lamy ol...@apache.org wrote: From: Olivier Lamy ol...@apache.org Subject: Re: Welcome Wayne Fay to the Maven PMC To: Maven Users List users@maven.apache.org Date: Saturday, January 15, 2011, 11:38

Re: maven sql plugin and clobs

2010-12-23 Thread Mark Struberg
How did you generate/create the clob script? I'm using clobs in mysql migrationdata imports and they work fine. I'm using mysqldump to create the sql file which correctly escapes those values. I assume you have Oracle 11? (up 2 Oracle 10 it was imo only able to export to their own bin format)

Re: release plugin versus dependency plugin

2010-12-23 Thread Mark Struberg
Hi Benson! Please check the preparationGoals property in the release plugin [1] Maybe you Please try with something like -DpreparationGoals=clean install LieGrue, strub [1] http://maven.apache.org/plugins/maven-release-plugin/prepare-mojo.html#preparationGoals --- On Thu, 12/23/10, Benson

Re: classifiers versus dependencies

2010-08-21 Thread Mark Struberg
if this zip file only contains other jar artifacts, then you can also use the maven-shade-plugin and produce a reduced pom [1] Btw, does the maven-shade-plugin already has an OSGi merging filter? LieGrue, strub [1]

Re: Releasing only one (sub)module within an SCM tree

2010-08-19 Thread Mark Struberg
Hi Johannes, Olivier! Took me some time to find a few free minutes but now I've coded the support for releasing child modules into maven-release-manager. Please see MRELEASE-457 for a patch which needs to be reviewed before I'll check it in. LieGrue, strub - Original Message

Re: war dependent on another war

2010-08-08 Thread Mark Struberg
Hi! Use the 'archiveClasses' and 'attachClasses' [1] options of the maven-war-plugin in your first WAR file. This way all your classes of this war will get jared and used this way in WEB-INF/lib as jar instead of WEB-INF/classes. The 2nd option will tell maven to treat this jar as 'attached

Re: war dependent on another war

2010-08-08 Thread Mark Struberg
checked our Jira and found http://jira.codehaus.org/browse/MWAR-73 from 2006. I'll check if parts are still missing and fix it or set the jira to resolved if all is ok nowadays. LieGrue, strub - Original Message From: Mark Struberg strub...@yahoo.de To: Maven Users List users

Re: Unable to find resource 'org.glassfish:javax.ejb:pom:3.0'

2010-07-01 Thread Mark Struberg
to back Stephens word: it's even worse - they recently dropped 'old' JSF-1 artifacts from their repo without any noticing... So really only use the java.net maven repo via a repo manager like Nexus or Archiva. LieGrue, strub - Original Message From: Stephen Connolly

Re: Unable to find resource 'org.glassfish:javax.ejb:pom:3.0'

2010-07-01 Thread Mark Struberg
July 2010 09:31, Mark Struberg href=mailto:strub...@yahoo.de;strub...@yahoo.de wrote: to back Stephens word: it's even worse - they recently dropped 'old' JSF-1 artifacts from their repo without any noticing... So really only use the target=_blank href=http://java.net

Re: multi modules, scm and release plugin

2010-05-23 Thread Mark Struberg
trunk/ |-- pom.xml |-- parent/ | `-- pom.xml |-- module1/ | `-- pom.xml |-- .. `-- modulen/ `-- pom.xml The pom-parent of trunk/pom.xml is trunk/parent/pom.xml. Why not let trunk/parent/pom.xml point to trunk/pom.xml as parent? And trunk/module1/pom.xml youle

Re: New PMC Member

2010-05-14 Thread Mark Struberg
Great News! Congratulations Paul! LieGrue, strub --- On Fri, 5/14/10, Brian Fox bri...@infinity.nu wrote: From: Brian Fox bri...@infinity.nu Subject: New PMC Member To: Maven Developers List d...@maven.apache.org, Maven Users List users@maven.apache.org Date: Friday, May 14, 2010, 9:34

Re: Problem with wagon-scm and gitexe

2010-04-02 Thread Mark Struberg
wrote: Yeah, that's more or less what I mean. -K On Apr 1, 2010, at 4:09 PM, Mark Struberg wrote: I honestly doubt that wagon-scm + CVS currently works when using branches (from glimpsing at the sources). And I'm not sure what you mean with forking it. Wouldn't it be much

Re: Problem with wagon-scm and gitexe

2010-04-01 Thread Mark Struberg
Kathryn, I haven't used wagon-scm, so I can only make vague assumptions. Basically all the branches and tag stuff should be working in maven-scm-provider-gitexe. But I'm not sure how wagon-scm tells us what branch it likes to use. From looking at the source [1] I only can see that all

Re: mvn release:prepare using git, fatal: pom.xml is outside repository

2010-04-01 Thread Mark Struberg
: ricky_clarkson Google Talk: ricky.clark...@gmail.com Google Wave: ricky.clark...@googlewave.com On 30 March 2010 13:43, Mark Struberg strub...@yahoo.de wrote: Can you post a tree of your project structure? And from where in the project tree do you start the release? txs, strub

Re: Problem with wagon-scm and gitexe

2010-04-01 Thread Mark Struberg
, not fiddling with tools, but fiddling with tools is fun sometimes. -K On Apr 1, 2010, at 3:37 PM, Mark Struberg wrote: Kathryn, I haven't used wagon-scm, so I can only make vague assumptions. Basically all the branches and tag stuff should be working in maven-scm-provider-gitexe

AW: mvn release:prepare using git, fatal: pom.xml is outside repository

2010-03-30 Thread Mark Struberg
Can you post a tree of your project structure? And from where in the project tree do you start the release? txs, strub --- Ricky Clarkson rclark...@ad-holdings.co.uk schrieb am Di, 30.3.2010: Von: Ricky Clarkson rclark...@ad-holdings.co.uk Betreff: mvn release:prepare using git, fatal:

[ANN]openjpa-maven-plugin-1.1 released

2010-03-22 Thread Mark Struberg
Hi! I'm happy to announce the release of the openjpa-maven-plugin-1.1 [1]. This version has been tested with OpenJPA-1.1, 1.2 and various 2.0.0 versions. The following issues have been fixed [2] since 1.0: Bug * [MOPENJPA-11] - Empty properties cause exception to be thrown when running

AW: release plugin doesnt update parent pom

2009-12-26 Thread Mark Struberg
I think this is a minor bug. let's sum up the facts: a.) if you start the mvn release:prepare in a certain directory, maven will _not_ automatically step out of this directory. b.) If the parent pom is outside of your scm url location, then it cannot get updated. I think the correct

Re: AW: release plugin doesnt update parent pom

2009-12-26 Thread Mark Struberg
hi! since I have not much time left now, I can only ask a quick hint: What about moving the parent pom.xml (containing the dependencyManagement) down into your build directory and create an own 'build' pom.xml (containing the modules) in the parent directory? This definitely works and is used

Re: AW: No such provider: 'git'

2009-12-20 Thread Mark Struberg
hi! You catched a very old finesse of reporting plugin configuration (in fact, lots of Jira issues have been opened for that very topic). Please read http://maven.apache.org/plugins/maven-checkstyle-plugin/examples/multi-module-config.html for an example how it should work. LieGrue, strub

AW: No such provider: 'git'

2009-12-19 Thread Mark Struberg
Hi! You need to add the dependency of the gitexe provider to the maven-changelog-plugin and not to the build. Maven is basically a container like you know from a ServletEngine: it separates classloaders of different plugins from each other - and the build for compile and test are 2 others of

AW: pom.xml : scm element

2009-12-14 Thread Mark Struberg
the scm element in the pom is used for every SCM action in maven, e.g. if you do a mvn release:prepare / mvn release:perform and stuff. Since Hudson and other CI environments often do not rely on the build system for updating the project, they have the ability to do this their self (otoh, some

AW: Problem with maven-release-plugin

2009-11-19 Thread Mark Struberg
Peter, use the dependencyManagement section in the parent pom to pin down the versions of the single child modules. LieGrue, strub --- Peter Niederwieser pnied...@gmail.com schrieb am Do, 19.11.2009: Von: Peter Niederwieser pnied...@gmail.com Betreff: Problem with maven-release-plugin An:

AW: NAR plugin

2009-10-28 Thread Mark Struberg
fetching alone is not enough. You have to do a git pull instead. This is a combined git fetch + git merge. LieGrue, strub - Ursprüngliche Mail Von: Damon Jacobsen dajacob...@lifetouch.com An: Maven Users List users@maven.apache.org Gesendet: Mittwoch, den 28. Oktober 2009,

Re: AW: AW: Running Jar file created by Maven

2009-10-13 Thread Mark Struberg
If it's really a standalone app, you can also use the maven-shade-plugin [1] for creating an 'uber-jar' which contains all the dependencies. LieGrue, strub [1] http://maven.apache.org/plugins/maven-shade-plugin/ --- On Tue, 10/13/09, Entner Harald entner.har...@afb.de wrote: From: Entner

Re: Running Jar file created by Maven

2009-10-13 Thread Mark Struberg
I'd use the maven-shade-plugin because a) it's a maven-core-plugin and as such it's pretty well maintained b) it can also 'shade' concurring jars into different packages if there are some dependency problems. LieGrue, strub --- On Tue, 10/13/09, Albert Kurucz albert.kur...@gmail.com wrote:

Re: How to Invoke Maven inside Java Program

2009-10-12 Thread Mark Struberg
have you looked at the maven-embedder [1]? LieGrue, strub [1] http://maven.apache.org/guides/mini/guide-embedding-m2.html --- On Mon, 10/12/09, harishsyndrome harish.kum...@tcs.com wrote: From: harishsyndrome harish.kum...@tcs.com Subject: How to Invoke Maven inside Java Program To:

Re: maven-ant-run plugin 1.3 error java.lang.NoSuchMethodError: org.apache.tools.ant.util.FileUtils.close

2009-10-08 Thread Mark Struberg
Hmm maybe it's as simple as that: the maven-antrun-plugin only has the core dependencies on board. If your ant scripts make use of additional functions, you have to add those jars as dependencies. E.g.: plugin artifactIdmaven-antrun-plugin/artifactId ... dependencies dependency

Re: Maven and ClearCase UCM

2009-09-10 Thread Mark Struberg
do you guys use mvn release:prepare and mvn release:perform? This should increment the versions automatically! Please also read through the section covering dependencyManagement in the 'definitive maven guide'. LieGrue, strub --- On Thu, 9/10/09, Andrew Close acl...@gmail.com wrote: From:

Re: Maven and ClearCase UCM

2009-09-10 Thread Mark Struberg
you might look at http://maven.apache.org/guides/mini/guide-releasing.html to get a first impression. LieGrue, strub --- On Thu, 9/10/09, Andrew Close acl...@gmail.com wrote: From: Andrew Close acl...@gmail.com Subject: Re: Maven and ClearCase UCM To: Maven Users List

Re: SCM plugin password encryption

2009-08-14 Thread Mark Struberg
please create a jira! I'll try to go over a few scm issues this weekend, maybe I have time for this too. LieGrue, strub - Original Message From: Andrei Solntsev asolnt...@hireright.ee To: Maven Users List users@maven.apache.org Sent: Friday, August 14, 2009 9:23:28 AM Subject:

Re: SCM plugin password encryption

2009-08-14 Thread Mark Struberg
can you not put your password in a property defined in your ~/.m2/settings.xml file and then reference that property in your scm config section? Writing passwords into poms is surely always a dirty hack and using the private settings.xml is a good point indeed. But on a CI server, the CI user

Re: Project and external file Deployment?

2009-08-14 Thread Mark Struberg
what about using an EAR? LieGrue, strub - Original Message From: Jan Wedel jan.we...@ettex.de To: users@maven.apache.org Sent: Friday, August 14, 2009 11:26:03 AM Subject: Project and external file Deployment? Hi, I was just wondering how I can configure Maven to deploy

Re: How do I turn off the maven-source-plugin altogether?

2009-07-31 Thread Mark Struberg
have you tried to set 'attached' to false in the configuration section? [1] From a quick look at the sources, it should then at least skip attaching the archive to the repository. But maybe we should introduce a 'skip' property like many other plugin have. Since I remember a discussion with

Re: Can I use WAR Overlay before packaging?

2009-07-25 Thread Mark Struberg
Hi! I assume you like to debug/test your project in your IDE without needing to package the whole project every time, right? It's long ago that I used WAR overlay the last time, but did you try war:inplace? You have to be aware that war:inplace will pollute your src/main/webapp working

RE: [ANN] Maven 2.2.0 Released

2009-07-01 Thread Mark Struberg
. -Original Message- From: Mark Struberg [mailto:strub...@yahoo.de] Sent: Tuesday, June 30, 2009 4:29 PM To: Maven Users List Subject: RE: [ANN] Maven 2.2.0 Released Works for me. Sometimes it takes a bit for all mirrors to get synced. Please try it again in a a few hours. LieGrue

RE: [ANN] Maven 2.2.0 Released

2009-06-30 Thread Mark Struberg
Works for me. Sometimes it takes a bit for all mirrors to get synced. Please try it again in a a few hours. LieGrue, strub --- Jason Chaffee jason.chaf...@zilliontv.tv schrieb am Mi, 1.7.2009: Von: Jason Chaffee jason.chaf...@zilliontv.tv Betreff: RE: [ANN] Maven 2.2.0 Released An: Maven

AW: About unittest run three times

2009-05-20 Thread Mark Struberg
Old story, and as far as I remember (please correct me if I'm wrong) the reason is: The site lifecycle and the default build lifecycle are isolated things. So if you run mvn install, the 'test' phase will be invoked - 1st run Your site has a test reporting section? - 2nd run I assume you have

AW: Automagically update scm tag

2009-05-05 Thread Mark Struberg
Hi Baptiste! It isn't clear to me what you mean with 'update tag'. Do you like to re-tag in the SCM? LieGrue, strub - Ursprüngliche Mail Von: Baptiste MATHUS m...@batmat.net An: Maven Users List users@maven.apache.org Gesendet: Dienstag, den 5. Mai 2009, 09:34:51 Uhr Betreff:

Re: scm:add question

2009-04-22 Thread Mark Struberg
Hi! The short answer is: why not simply call git-add [files], git-commit, git-push ? If you use SVN you also wouldn't use mvn scm:add, isn't? The long answer is: I honestly have no clue why this happens :) I get the fileSet.getFileList() in the executeAddCommand and simply add all the files

Re: Un-mavenize a Maven2 project ?

2009-03-01 Thread Mark Struberg
fine. You could also distribute the lib folder seperately to the project if you preferred that. Ian On Fri, Feb 27, 2009 at 6:44 PM, Mark Struberg strub...@yahoo.de wrote: but ant must be installed also before it can be used. And installing ant is the same effort than

Re: Un-mavenize a Maven2 project ?

2009-02-27 Thread Mark Struberg
Allessandro, just my opinion (as a former student and as someone who holds lessons from time to time): Since maven nowadays is really a standard tool in the java world which almost _everyone_ uses, it would be a good point to introduce it to your students. Also other ways fumbling around with

Re: Un-mavenize a Maven2 project ?

2009-02-27 Thread Mark Struberg
but ant must be installed also before it can be used. And installing ant is the same effort than installing maven. So this will not add anything to his problem. LieGrue, strub --- David Weintraub qazw...@gmail.com schrieb am Fr, 27.2.2009: Von: David Weintraub qazw...@gmail.com Betreff:

[ANN] OpenJPA Maven Plugin 1.0 Released

2009-02-25 Thread Mark Struberg
The Maven team is pleased to announce the release of the openjpa-maven-plugin-1.0 The plugin documentation can be found here: http://mojo.codehaus.org/openjpa-maven-plugin/ The following issues have been resolved: http://jira.codehaus.org/browse/MOJO-1132

AW: scm plugin help please

2009-02-20 Thread Mark Struberg
may this be a reincarnation of the --non-interactive bug with svn-1.5 on MacOsX? http://jira.codehaus.org/browse/SCM-402 what says svn if you execute the SVN command with and without the --non-interactive? txs and LieGrue, strub --- Mick Knutson mickknut...@gmail.com schrieb am Fr, 20.2.2009:

AW: scm:update pom.xml to latest version on branch when checked out by tag

2009-02-18 Thread Mark Struberg
maybe I did not understand what you really like to do, but did you look at release:rollback? This will revert the pom back to the original status. One for sure: the scm providers won't help you much when it comes to manipulating the pom.xml. They are strictly for scm handling only. LieGrue,

  1   2   3   >