Re: Buildable standalone source bundles with the assembly plugin

2009-09-30 Thread Brett Porter
Hi Mark, This is all possible but you might need to use a combo of the SCM plugin, the POM plugin and the assembly plugin. Some questions: On 29/09/2009, at 2:16 AM, Mark Hobson wrote: I need an archive that contains a complete buildable standalone project bundle. More specifically, it n

Re: how to change output html format of maven changes plugin

2009-09-30 Thread Robert Machata
ok thanks 2009/9/29 Dennis Lundberg > fflyw wrote: > > Hi > > > > is there some way to change look of change-report.html file generated by > > changes:changes-report goal, > > like colours, remove , add pictures ? > > What you can do is apply a skin to the site that Maven generates, which >

Re: Communication between plugins

2009-09-30 Thread Vadim
Thanks for the answers, I will describe the solution I'll choose. On Wed, Sep 30, 2009 at 12:27 AM, Neroon wrote: > Have you had a look at the following? > http://www.ops4j.org/projects/pax/construct/maven-inherit-plugin/ > > I haven't actually tried it, but it looks promising. The information i

Re: Communication between plugins

2009-09-30 Thread Jörg Schaible
Neroon wrote at Dienstag, 29. September 2009 23:27: > Have you had a look at the following? > http://www.ops4j.org/projects/pax/construct/maven-inherit-plugin/ > > I haven't actually tried it, but it looks promising. The information is > from this issue: > http://jira.codehaus.org/browse/MNG-3042

Re: Communication between plugins

2009-09-30 Thread Stephen Connolly
it's still going to suffer from the plugin classloading issue, i.e. if somebody wants to use a newer version of the plugin you have extended, then either your plugin breaks or they get the version you extended 2009/9/30 Jörg Schaible > Neroon wrote at Dienstag, 29. September 2009 23:27: > > > Ha

Re: Buildable standalone source bundles with the assembly plugin

2009-09-30 Thread Mark Hobson
Hi Brett, Thanks for the response, answers inline: 2009/9/30 Brett Porter : > On 29/09/2009, at 2:16 AM, Mark Hobson wrote: >> 1) the full SCM checkout of the main project > > you are calling from within that, or want to do a checkout? Yep, the main project is the one where we're executing the a

Maven Assembly plugin: Changing user and group identity

2009-09-30 Thread Edgar Schmidt
Hello, I'm currently using the maven assembly plugin to build a tar.gz assembly with a custom descriptor. I found the option to set read/write permissions, but I need to change the user and group identity, too. I haven't found anything suitable in the descriptor documentation, so I assume this

Re: How-to implement Code Quality Analysis on multiple Maven Projects?

2009-09-30 Thread Freddy Mallet
Hi Ralf, FYI, the Sonar Core and most underlying Maven Quality plugins are compatible with the use of the Maven Build Helper Plugin but this is not the case of the Maven Checkstyle plugin : http://jira.codehaus.org/browse/MCHECKSTYLE-70. Freddy Freddy Ma

Re: How-to implement Code Quality Analysis on multiple Maven Projects?

2009-09-30 Thread ifsNabble
Hi Freddy, thanks for the hint. But fortunately we don´t use Checkstyle. By the way: with this plugin we are able to the stuff we want. My colleague tested it and it worked. Ralf Freddy Mallet wrote: > > Hi Ralf, > > FYI, the Sonar Core and most underlying Maven Quality plugins are > compat

[ANN] Maven Jarsigner Plugin 1.2 Released

2009-09-30 Thread Benjamin Bentmann
The Maven team is pleased to announce the release of the Maven Jarsigner Plugin, version 1.2. This plugin signs and verifies the project artifacts using the jarsigner tool. See the plugin's site for more details: http://maven.apache.org/plugins/maven-jarsigner-plugin/ This plugin is meant to

Re: Maven Central Repository - Cleanup Efforts

2009-09-30 Thread Albert Kurucz
Somebody just gave me an idea what would be an excellent tool to crawl through a repository and create an index of the artifacts, which pass some kind of acceptance criteria: http://docs.codehaus.org/display/M2ECLIPSE/Nexus+Indexer // get NexusIndexer component from Plexus PlexusContainer plexus =

Re: Weird Error -CHILDREN_COMBINATION_MODE_ATTRIBUTE

2009-09-30 Thread Jan
I'm using maven 2.2.1 Problem is i don't fix any thing, i just keep running the same pom for few times, then this error message goes away. On Tue, Sep 29, 2009 at 11:26 PM, Brett Porter wrote: > Do you have a sample POM that illustrates it? I'm guessing a configuration > element with an attribu

String manipulation in POM?

2009-09-30 Thread Yang, Gang CTR USA
Hi, Is there a way to manipulate strings, such as extract portion of a property content, in POM? Thanks, Gang - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.

[ANN] JavaCC Maven Plugin 2.6 Released

2009-09-30 Thread Benjamin Bentmann
The Mojo team is pleased to announce the release of the JavaCC Maven Plugin, version 2.6. This plugin generates parsers from grammars using JavaCC. See the plugin's site for more details: http://mojo.codehaus.org/javacc-maven-plugin/ To use the updated plugin in your projects, you need to

Get dependencies in generate-sources phase?

2009-09-30 Thread Lewis, Eric
Hi I'm trying to access my project's classpath in a plugin I'm writing, which should generate JPA's persistence.xml file from JPA entities found on the classpath. To work, this should run during the generate-sources phase, but do I have access to the projects dependencies (transivite dependenci

Re: Get dependencies in generate-sources phase?

2009-09-30 Thread Tony Chemit
Le Wed, 30 Sep 2009 16:27:54 +0200, "Lewis, Eric" a écrit : > Hi > > I'm trying to access my project's classpath in a plugin I'm writing, which > should generate JPA's persistence.xml file from JPA entities found on the > classpath. To work, this should run during the generate-sources phase, but

RE: String manipulation in POM?

2009-09-30 Thread Edelson, Justin
Not directly. But you can use the gmaven plugin for this type of thing. Something like this: org.codehaus.groovy.maven gmaven-plugin 1.0-rc-5 setup-groovy

Unexpected results from versions-maven-plugin:1.0:use-latest-versions

2009-09-30 Thread Rajib D
Hi All, I've 2 queries in regard to the usage of versions-maven-plugin:1.0:use-latest-versions. QUERY 1 I was trying to use the maven version plugin to get the various latest (released or snapshot) versions of a project from our Nexus. However the version plugin doesn't seem to retu

AW: Get dependencies in generate-sources phase?

2009-09-30 Thread Lewis, Eric
Thanks, works well! Best regards, Eric > -Ursprüngliche Nachricht- > Von: Tony Chemit [mailto:che...@codelutin.com] > Gesendet: Mittwoch, 30. September 2009 16:43 > An: users@maven.apache.org > Betreff: Re: Get dependencies in generate-sources phase? > > Le Wed, 30 Sep 2009 16:27:54 +0

Useful tutorials about Velocity, Maven and Plexus

2009-09-30 Thread Lewis, Eric
Hi Can someone point me to a tutorial on how to use Velocity in Maven based on Plexus? I have found only snippets, but not a full tutorial. Right now, I get the VelocityComponent, but I can't read my template... Best regards, Eric

Re: Missing javac in maven-antrun-plugin task

2009-09-30 Thread Stuart Sierra
On Tue, Sep 29, 2009 at 3:39 PM, Stephen Connolly wrote: > set javac to fork I could, but not without mofifying the original JRuby build.xml. That's what I'm trying to avoid. Running with the Maven exec plugin works for my purposes, though. -SS -

mysql connector updates lagging

2009-09-30 Thread Lachlan Deck
Hi there, anyone know who's previously been responsible for pushing mysql:mysql- connector-java updates to the central repo? The central repo only has 5.1.6 but mysql's connector is up to 5.1.10 now. with regards, -- Lachlan Deck ---

Re: How-to implement Code Quality Analysis on multiple Maven Projects?

2009-09-30 Thread Barrie Treloar
On Wed, Sep 30, 2009 at 10:53 PM, ifsNabble wrote: > > Hi Freddy, > > thanks for the hint. > But fortunately we don´t use Checkstyle. > > By the way: with this plugin we are able to the stuff we want. > My colleague tested it and it worked. Can you supply detailed steps to educate future mailing

Re: Weird Error -CHILDREN_COMBINATION_MODE_ATTRIBUTE

2009-09-30 Thread Brett Porter
Sounds strange indeed. Unfortunately, there's not much that can be done to help without a sample project to try it on. - Brett On 30/09/2009, at 11:54 PM, Jan wrote: I'm using maven 2.2.1 Problem is i don't fix any thing, i just keep running the same pom for few times, then this error me

Re: Buildable standalone source bundles with the assembly plugin

2009-09-30 Thread Brett Porter
On 30/09/2009, at 10:48 PM, Mark Hobson wrote: Hi Brett, Thanks for the response, answers inline: 2009/9/30 Brett Porter : On 29/09/2009, at 2:16 AM, Mark Hobson wrote: 1) the full SCM checkout of the main project you are calling from within that, or want to do a checkout? Yep, the main

Reactor - skip parent project build

2009-09-30 Thread droidin.net
I have a parent POM which defines 5 modules (5 subprojects). Since each module is executed in exactly the same way I pull section into the parent POM to get rid of the duplicate code. Now - if I execute build individually from each module it works, however if I want to build all modules at once a

Re: Reactor - skip parent project build

2009-09-30 Thread Brian Fox
You can't. The parent will always run first in a reactor before anything that inherits from it. On Wed, Sep 30, 2009 at 6:03 PM, droidin.net wrote: > > I have a parent POM which defines 5 modules (5 subprojects). Since each > module is executed in exactly the same way I pull section > into the p