Only deploying dependencies instead of the whole pom

2015-06-09 Thread Pascal Rapicault
Hey, Someone told me that in recent versions of Maven, it is possible to publish a pom that only includes dependencies (basically strip all the information about plugin configuration). What is the configuration to achieve that? Thanks, Pascal

Re: Only deploying dependencies instead of the whole pom

2015-06-09 Thread Pascal Rapicault
. And that was possible in Maven 2 as well. /Anders On Tue, Jun 9, 2015 at 6:52 PM, Pascal Rapicault pas...@rapicault.net wrote: Hey, Someone told me that in recent versions of Maven, it is possible to publish a pom that only includes dependencies (basically strip all the information about plugin

Re: Only deploying dependencies instead of the whole pom

2015-06-09 Thread Pascal Rapicault
Yes! Thanks :) On 06/09/2015 01:38 PM, Vincent Latombe wrote: I think http://www.mojohaus.org/flatten-maven-plugin/ should help Vincent 2015-06-09 19:27 GMT+02:00 Pascal Rapicault pas...@rapicault.net: My question that was not really clear. Let's say that I have a multi module build

Re: Use of Multiple Local Repositories

2015-06-04 Thread Pascal Rapicault
You can take a look at https://github.com/takari/tesla-split-localrepo I remember seeing a demo of this, but I don't know if it is working with recent versions of Maven / Aether HTH On 06/04/2015 04:30 AM, Mehdi Hayani wrote: Hello, I'm actually working on a continuous integration

Re: Kepler m2eclipse plugin?

2015-05-01 Thread Pascal Rapicault
http://download.eclipse.org/releases/kepler On 05/01/2015 07:10 AM, Martin Gainty wrote: anyone know where I can download m2eclipse or m2e or m2e-wtp plugin for Eclipse Kepler? Thanks! Martin __

Re: Build extension not found when specifying different local repository

2015-03-07 Thread Pascal Rapicault
Apache Maven 3.2.5 (12a6b3acb947671f09b81f49094c53f426d8cea1; 2014-12-14T12:29:23-05:00) On 03/07/2015 02:44 AM, Jeff MAURY wrote: Which version of Maven are you using ? Jeff On Sat, Mar 7, 2015 at 12:53 AM, Pascal Rapicault pas...@rapicault.net wrote: Hi, I'm trying to do a set of builds

Build extension not found when specifying different local repository

2015-03-06 Thread Pascal Rapicault
Hi, I'm trying to do a set of builds where I'm trying to make sure I'm not getting extraneous artifacts. The first step of the build consists in building Tycho (a set of maven plugins for building OSGi / Eclipse things) and to ensure I get clean artifacts, I deleted the ~/.m2 folder and now

Re: Complex Maven projects - Tutorials? Books?

2014-06-12 Thread Pascal Rapicault
If you are really aiming at doing continuous delivery (any potential build can be pushed to prod), then SNAPSHOT is not a great way to deal with dependencies since you will not be able to exactly know what you ship. To avoid this, one practice is to use the build number in the artifact version

Re: Maven on a Terminal Server

2012-09-28 Thread Pascal Rapicault
I'm currently doing work for Ericsson where we have a similar setup (Terminal Server on windows and AFS on *nix). The difficulty in this setup is not network access but limited user storage so the goal is to try to share as much as possible among the users. This was such a concern for Ericsson

catch block like behavior

2012-08-23 Thread Pascal Rapicault
Hi, I would like to know if there is a way to have a plugin be executed right at the end of the build no matter what. The situation I have is as follow. Early on in the build I rename a file from a.txt.off to a.txt and at the end I rename it back such that no problems are being caused for

Re: catch block like behavior

2012-08-23 Thread Pascal Rapicault
, thanks for your insights. Pascal On 2012-08-23, at 11:42 AM, John Kramer wrote: Am 23.08.2012 14:56, schrieb Pascal Rapicault: Hi, I would like to know if there is a way to have a plugin be executed right at the end of the build no matter what. The situation I have is as follow. Early

Re: catch block like behavior

2012-08-23 Thread Pascal Rapicault
Sadly not and requesting a fix from this particular vendor will take time that I don't have before shipping. It almost sound easier to me to add the feature in maven :) Oh well, next time :) On 2012-08-23, at 12:09 PM, Wayne Fay wrote: I'm well aware that this is not a great practice but this

Re: catch block like behavior

2012-08-23 Thread Pascal Rapicault
Thx. On 2012-08-23, at 12:49 PM, Hilco Wijbenga wrote: On 23 August 2012 05:56, Pascal Rapicault pas...@rapicault.net wrote: I would like to know if there is a way to have a plugin be executed right at the end of the build no matter what. The situation I have is as follow. Early

Re: write maven plugin that operate Sonar

2012-07-19 Thread Pascal Rapicault
did you try mvn sonar:sonar On 2012-07-19, at 10:56 AM, dror wrote: Hi all, Somebody knows how can i write a maven plugin in pom.xml that operate Sonar? i looking for a way to operate Sonar's checks via maven build. Thanks, Dror. -- View this message in context:

[ANN] Maven Inspector for Eclipse

2012-07-13 Thread Pascal Rapicault
As much as Maven makes it easy to deal with builds, the plethora of XML and the varying life cycles phases can sometimes make it hard to figure out what a build will actually do. To help with this, I'm happy to make available the Eclipse plugin called the Maven Inspector. This plugin provides

Re: [ANN] Maven Inspector for Eclipse

2012-07-13 Thread Pascal Rapicault
, that would ease adoption of the plugin, and it seems to me that it would be useful for all m2e users. Thanks again Pascal, Anthony On Fri, Jul 13, 2012 at 11:06 AM, Pascal Rapicault pas...@rapicault.net wrote: As much as Maven makes it easy to deal with builds, the plethora of XML

Re: Maven for Software Installation

2012-06-21 Thread Pascal Rapicault
The approach you are describing is akin to what the Eclipse provisioning platform (aka p2) provides with its concept of bundle pool (equivalent of GAC). From experience, while this works in practice (for example a commercial distro of Eclipse called Yoxos ships like this (I'm not affiliated

Re: list of phases defined by the lifecycle of a packaging type

2012-06-11 Thread Pascal Rapicault
(); } is what we use for certain code completions in netbeans.. Milos On Sun, Jun 10, 2012 at 9:48 PM, Pascal Rapicault pas...@rapicault.net wrote: Hi, Given a packaging type, is there a way to programmatically know all the phases that are associated with the various lifecycle

Re: Hooking before and after a phase

2012-06-11 Thread Pascal Rapicault
) On Fri, Jun 8, 2012 at 11:25 PM, Pascal Rapicault pas...@rapicault.netwrote: Hi, I have a situation where I need to execute a mojo just before the execution of the mojo bound to the phase. Is there a way to achieve this without binding my mojo to the previous phase but to the phase

Re: Questions about property resolution

2012-06-11 Thread Pascal Rapicault
It could mostly likely be specified on the command line. On 2012-06-11, at 9:44 AM, Cédric Teyton wrote: Hello, I've a question with respect to some POM.xml files i've observed recently. In some cases like the following one : project modelVersion4.0.0/modelVersion

list of phases defined by the lifecycle of a packaging type

2012-06-10 Thread Pascal Rapicault
Hi, Given a packaging type, is there a way to programmatically know all the phases that are associated with the various lifecycle? For example during the execution with -X I see the following output. This is pretty much what I want. [DEBUG] Lifecycle clean - [pre-clean, clean, post-clean]

Hooking before and after a phase

2012-06-08 Thread Pascal Rapicault
Hi, I have a situation where I need to execute a mojo just before the execution of the mojo bound to the phase. Is there a way to achieve this without binding my mojo to the previous phase but to the phase that I'm interested in? For example, the eclipse-plugin packaging type has the