Re: git scm and site:deploy

2012-08-23 Thread Aldrin Leal
Github does have a plugin for this as well https://github.com/github/maven-plugins Easy to use, I think: plugin groupIdcom.github.github/groupId

Any ETA for a m-project-info-report-p 2.5.1 release?

2012-08-23 Thread myron0815
Hi, just wanted to know, if and when there's a release planned. Tested the 2.6-SN and it worked fine so far. Really want the working new DependencyInfo report :) Or is there anything from the unscheduled items we should wait for? TIA Myron

Re: git scm and site:deploy

2012-08-23 Thread Stephen Connolly
They could follow the maven conventions though rather than hack the effects in the way they have. -S On 23 August 2012 07:19, Aldrin Leal ald...@leal.eng.br wrote: Github does have a plugin for this as well https://github.com/github/maven-plugins Easy to use, I think:

Re: git scm and site:deploy

2012-08-23 Thread Stephen Connolly
Probably, though you might want to ensure that you switch back the groupId ;-) On 22 August 2012 23:22, Kathryn Huxtable kath...@kathrynhuxtable.orgwrote: Should I be pulling that and deploying? -K On Aug 22, 2012, at 7:12 AM, Stephen Connolly wrote: Here is my fork

Maven 3 deployment authentication

2012-08-23 Thread Nord, James
Hi all, In Maven 3.0.4 and am seeing the following error when I try to release a project. [INFO] --- maven-deploy-plugin:2.7:deploy (default-deploy) @ rpm-maven-plugin --- Uploading:

Create custom phase

2012-08-23 Thread Billy Newman
Sorry if this is a dumb question but I cannot find much on the topic. I need a phase between install and deploy. Ie maybe a pre-deploy or prepare-deploy. I would like to do some checks in all poms before the artifacts get deployed. I think custom phase is possible if you write your own

Re: Create custom phase

2012-08-23 Thread Jeff MAURY
If you bind those plugins in your POM to the deploy phase, they will be executed after the standard plugins so this will do the trick Jeff On Thu, Aug 23, 2012 at 2:35 PM, Billy Newman newman...@gmail.com wrote: Sorry if this is a dumb question but I cannot find much on the topic. I need a

Re: Create custom phase

2012-08-23 Thread Karl Heinz Marbaise
Hi, I need a phase between install and deploy. Ie maybe a pre-deploy or prepare-deploy. I would like to do some checks in all poms before the artifacts get deployed. What kind of checks would you like to have? have you taken a look to maven-enforcer-plugin ?

Re: Create custom phase

2012-08-23 Thread Stephen Connolly
TL;DR: No Long version: A custom phase can only be defined in the scope of a custom lifecycle. The command line does not provide a mechanism to access the phases of custom lifecycles directly. It may be possible to reference a lifecycle from one plugin in a different plugin, I have not

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 Stephen Connolly
No. On 23 August 2012 13:56, Pascal Rapicault pas...@rapicault.net wrote: 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

Re: git scm and site:deploy

2012-08-23 Thread Thomas Scheffler
Am 23.08.2012 10:16, schrieb Stephen Connolly: They could follow the maven conventions though rather than hack the effects in the way they have. Yeah, to release versions you have to provide distributionManagement in your pom and these github plugins currently give a damn about it. That's why

Re: Maven 3 deployment authentication

2012-08-23 Thread Thomas Scheffler
Am 23.08.2012 12:38, schrieb Nord, James: Hi all, In Maven 3.0.4 and am seeing the following error when I try to release a project. [INFO] --- maven-deploy-plugin:2.7:deploy (default-deploy) @ rpm-maven-plugin --- Uploading:

Re: catch block like behavior

2012-08-23 Thread Thomas Scheffler
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 on in the build I rename a file from a.txt.off to a.txt and at the end I rename it

Re: Maven 3 deployment authentication

2012-08-23 Thread Thomas Broyer
On Thu, Aug 23, 2012 at 4:30 PM, Thomas Scheffler thomas.scheff...@uni-jena.de wrote: Am 23.08.2012 12:38, schrieb Nord, James: Hi all, In Maven 3.0.4 and am seeing the following error when I try to release a project. [INFO] --- maven-deploy-plugin:2.7:deploy (default-deploy) @

RE: Maven 3 deployment authentication

2012-08-23 Thread Nord, James
-Original Message- From: Thomas Broyer [mailto:t.bro...@gmail.com] Sent: 23 August 2012 15:44 To: Maven Users List Subject: Re: Maven 3 deployment authentication On Thu, Aug 23, 2012 at 4:30 PM, Thomas Scheffler thomas.scheffler@uni- jena.de wrote: Am 23.08.2012 12:38, schrieb

maven-ear-plugin is not including jarModule into application.xml

2012-08-23 Thread Stuart Stephen
Hi, [This question is also on StackOverflow: http://stackoverflow.com/questions/12093346/maven-ear-plugin-is-not-including-jarmodule-into-application-xml] I've been following the example on the maven-ear-plugin site that [shows how to add third-party libraries to the generated

RE: [SOLVED] maven-ear-plugin is not including jarModule into application.xml

2012-08-23 Thread Stuart Stephen
I worked it out. I was being an idiot as usual. User error. Strangely it was producing the EAR file pretty much correctly, even though my plugin wasn't configured properly. I replaced... groupIdmaven-ear-plugin/groupId artifactIdmaven-ear-plugin/artifactId with...

Re: catch block like behavior

2012-08-23 Thread John Kramer
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 on in the build I rename a file from a.txt.off to a.txt and at the end I rename

Re: catch block like behavior

2012-08-23 Thread Pascal Rapicault
I'm well aware that this is not a great practice but this is the only pragmatic solution to trick the desired mojos into doing what I want. Using bash scripts would end up being worst since then I would have to have such a script into every level where the build can be fired from. Anyway,

Re: [SOLVED] maven-ear-plugin is not including jarModule into application.xml

2012-08-23 Thread Curtis Rueden
Hi Stuart, groupIdorg.apache.maven.plugins/groupId artifactIdmaven-ear-plugin/artifactId FWIW you can leave off the groupId if it begins with org.apache.maven.plugins and Maven will figure out what you mean. Very handy since the vast majority of the plugins you typically want to configure

Re: catch block like behavior

2012-08-23 Thread Wayne Fay
I'm well aware that this is not a great practice but this is the only pragmatic solution to trick the desired mojos into doing what I want. Using bash scripts would end up being worst since then I would have to have such a script into every level where the build can be fired from. Are those

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

Configuring different properties with different goals

2012-08-23 Thread Eric Kolotyluk
I have been playing around with the release plug-in using the Perforce p4maven provider. There seems to be a glitch with their implementation such that when you do prepare it looks like mvn -Dmaven.scm.perforce.clientspec.name=realspec -Dusername=user

Re: catch block like behavior

2012-08-23 Thread Hilco Wijbenga
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 on in the build I rename a file from a.txt.off to a.txt and at the

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 on in the