Re: Maven release:perform without deploy and calling an external shell script

2010-08-09 Thread Anders Hammar
What do you mean "not executed". What's the mvn command you're using? Is the install phase being run? Your binding is for that phase so it has to be run for exec to be run. /Anders On Tue, Aug 10, 2010 at 04:38, Sergio Oliveira wrote: > Unfortunately this is not trivial. See my profile below. It

Re: release:perform ignore profile for its goals

2010-08-09 Thread Stephen Connolly
have a look at the releaseProfiles configuration parameter of release:perform On 10 August 2010 05:38, Sergio Oliveira wrote: > I change goals from release:perform to install instead of the default > deploy. > > But maven ignores my profile 'release' for phase 'install'. It works when I > call m

Re: maven3 deploy goal?

2010-08-09 Thread Anders Hammar
You don't need dav for Nexus. Change the url to "http://"; and you should be fine. /Anders On Mon, Aug 9, 2010 at 22:29, motes motes wrote: > I have made a minimal maven project in eclipse that I deploy to local > nexus server using 'mvn deploy' from the commandline. I have now > installed the

Re: Anyone familiar with the maven-nar-plugin?

2010-08-09 Thread Eyal Goren
>From what I understand this site is irrelevant, since the plugin now belongs to the Sonatype company. I did opened few Jira issues there, but did not got response. So- I was hoping anyone encountered such issues might be able to help me here. -- View this message in context: http://maven.40175

release:perform ignore profile for its goals

2010-08-09 Thread Sergio Oliveira
I change goals from release:perform to install instead of the default deploy. But maven ignores my profile 'release' for phase 'install'. It works when I call mvn install -P release. But not when I call mvn release:perform -P release. It gives the beautiful: Profile with id: 'release' has not bee

Re: Maven release:perform without deploy and calling an external shell script

2010-08-09 Thread Sergio Oliveira
Unfortunately this is not trivial. See my profile below. It is activated but exec is never executed. Any idea why? (sorry for the bad formatting) execmyson performRelease true org.codehaus.mojo exec-maven-plugin

Re: Maven release:perform without deploy and calling an external shell script

2010-08-09 Thread Kalle Korhonen
Put the exec plugin configuration in a profile, deploy is the configuration you are looking for. See http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html Kalle On Mon, Aug 9, 2010 at 7:20 PM, Sergio Oliveira wrote: > I am trying the approach below, but can you tell me

Re: Maven release:perform without deploy and calling an external shell script

2010-08-09 Thread Sergio Oliveira
I am trying the approach below, but can you tell me how I execute exec:exec inside a profile? Thanks! It is probably a silly question, so if you want to give me the answer and also advise on where I should have looked for it I would appreciate your help. execmyson

Re: Maven release:perform without deploy and calling an external shell script

2010-08-09 Thread Kalle Korhonen
No, you bind exec:exec to deploy phase, or profile or however you want to set it up and skip the normal deploy. Kalle On Mon, Aug 9, 2010 at 6:22 PM, Sergio Oliveira wrote: > I added: > > install exec:exec > > But release:perform does not like exec:exec. :-( > > [INFO] [INFO] >

Re: Maven release:perform without deploy and calling an external shell script

2010-08-09 Thread Sergio Oliveira
I added: install exec:exec But release:perform does not like exec:exec. :-( [INFO] [INFO] [INFO] [INFO] One or more required plugin parameters are invalid/missing for 'exec:exec' [INFO] [INFO] [0] Inside the definition for

Re: Maven release:perform without deploy and calling an external shell script

2010-08-09 Thread Wendy Smoak
On Mon, Aug 9, 2010 at 8:34 PM, Sergio Oliveira wrote: > I am using the maven release plugin. Problem is simple: I don't want to do a > deploy (copy the war somewhere) on release:perform. I actually want to > execute a shell script that will do the deploy for me. So I have two things > to accompli

Maven release:perform without deploy and calling an external shell script

2010-08-09 Thread Sergio Oliveira
I am using the maven release plugin. Problem is simple: I don't want to do a deploy (copy the war somewhere) on release:perform. I actually want to execute a shell script that will do the deploy for me. So I have two things to accomplish: 1 - Somehow disable the default "deploy" goal from release:

Re: Anyone familiar with the maven-nar-plugin?

2010-08-09 Thread Wayne Fay
> You are right, let focus this one on the debug problem. how to make it work? Realistically, you should ask this question to the developers responsible for this plugin: http://www.freehep.org/ Wayne - To unsubscribe, e-mail: us

Re: Request for variable-name-substitution goal (shaded-plugin?)

2010-08-09 Thread Justin Edelson
On Aug 9, 2010, at 5:27 PM, Wayne Fay wrote: >> Is there a plugin e.g. shaded-plugin which has the capability to substitute >> a correct-variable-name for an incorrect-variable-name? >> e.g. enum1 instead of enum >> >> I have about 500 of these warnings in as many files and dont want to have

Re: Request for variable-name-substitution goal (shaded-plugin?)

2010-08-09 Thread Wayne Fay
> Is there a plugin e.g. shaded-plugin which has the capability to substitute a > correct-variable-name for an incorrect-variable-name? > e.g. enum1 instead of enum > > I have about 500 of these warnings in as many files and dont want to have to > grind thru replacing variable name in each file

srchmvn.com

2010-08-09 Thread Elliot Huntington
I learned of the site http://srchmvn.com/ through this maven user's list. I've enjoyed using this site but it isn't working any more. Does anyone know about this?

maven3 deploy goal?

2010-08-09 Thread motes motes
I have made a minimal maven project in eclipse that I deploy to local nexus server using 'mvn deploy' from the commandline. I have now installed the latest maven3 eclipse but when I run 'mvn deploy' I get the error: [ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.5:de

Re: Project without main artifact

2010-08-09 Thread Zac Thompson
On Fri, Aug 6, 2010 at 1:20 PM, Ron Wheeler wrote: >  On 06/08/2010 2:48 PM, C. Benson Manica wrote: >> >> No, it's not a pom, its purpose is to go download other dependencies and >> repackage them nicely. >> > So it does produce an artifact. What kind of Artifact? > What exactly are you trying to

Re: Best way to get topologically sorted classpath?

2010-08-09 Thread Zac Thompson
On Fri, Aug 6, 2010 at 1:12 PM, Laird Nelson wrote: > I need (ultimately) a list of URLs corresponding to elements in a project's > classpath, where that classpath has been sorted in dependency order.  (I > don't actually care if it's sorted "ascending" or "descending".) > > I need this for a mojo

Re: force maven to redownload/refresh "released" dependencies

2010-08-09 Thread Ron Wheeler
On 09/08/2010 1:25 PM, Jason van Zyl wrote: On Aug 9, 2010, at 12:57 PM, Haszlakiewicz, Eric wrote: -Original Message- From: Jason van Zyl [mailto:ja...@sonatype.com] The nut of the problem is that if we had to support every optional behavior for a particular subset of the community

Re: force maven to redownload/refresh "released" dependencies

2010-08-09 Thread Jason van Zyl
On Aug 9, 2010, at 12:57 PM, Haszlakiewicz, Eric wrote: >> -Original Message- >> From: Jason van Zyl [mailto:ja...@sonatype.com] >> >> The nut of the problem is that if we had to support every optional > behavior >> for a particular subset of the community the code base would likely be >

Re: maven SPI plugin

2010-08-09 Thread Jörg Schaible
Justin Lee wrote: > Before I go and write one, has anyone seen a mavenized APT that will scan > for annotated classes and build the appropriate SPI manifest for them? It > wouldn't be hard to write but it'd save me some time... There had been one provided to Codehaus' Mojo JIRA. - Jörg --

RE: force maven to redownload/refresh "released" dependencies

2010-08-09 Thread Haszlakiewicz, Eric
>-Original Message- >From: Jason van Zyl [mailto:ja...@sonatype.com] > >The nut of the problem is that if we had to support every optional behavior >for a particular subset of the community the code base would likely be >unmaintainable. No one here is going to implement anything toward what

RE: force maven to redownload/refresh "released" dependencies

2010-08-09 Thread Haszlakiewicz, Eric
>-Original Message- >From: Wayne Fay [mailto:wayne...@gmail.com] > >>> I rapidly browsed the thread, please excuse me if I missed something. >>> Isn't mvn dependency:purge-local-repository the solution? >> >> The issue identified by the OP is that there's no way to (pro-actively) >detect th

RE: Anyone familiar with the maven-nar-plugin?

2010-08-09 Thread Eyal Goren
You are right, let focus this one on the debug problem. how to make it work? -- View this message in context: http://maven.40175.n5.nabble.com/Anyone-familiar-with-the-maven-nar-plugin-tp2268244p2269074.html Sent from the Maven - Users mailing list archive at Nabble.com. -

RE: Anyone familiar with the maven-nar-plugin?

2010-08-09 Thread Haszlakiewicz, Eric
>-Original Message- >From: Eyal Goren [mailto:eyalg1...@gmail.com] > >I am trying to use this plugin, and I have few problems: > >1) On Solaris, he does not manage to work with the CC >2) On WIndows, I don't manage to make it compile a debug mode (I switch the >debug flag to true, but the /

Request for variable-name-substitution goal (shaded-plugin?)

2010-08-09 Thread Martin Gainty
All I am encountering the following malady: [javac] \fu\Bar.java:1664: warning: as o f release 5, 'enum' is a keyword, and may not be used as an identifier [javac] (use -source 5 or higher to use 'enum' as a keyword) [javac] while (enum.hasMoreElements()) { Is there a plugin e.g.

Re: site-plugin and "dot" files

2010-08-09 Thread Carr, Brian M
Thank you, between your example and Wendy's, I was able to track down the problem to user error. --b __ Brian M. Carr Identity and Access Management ITS Applications University of Texas at Austin V: 512-232-6419 F: 512-471-5746 brianmc...@austin.utexas.edu On Aug 6,

ant maven task : artifact:install-provider problem

2010-08-09 Thread Sarda Jean-Christophe
Hi, I have some troubles using the ant maven tasks. I try to deploy an artifact to a nexus repository from an ant task. (I have a proxy with authentication) in my build file I use : proxyuser="${proxy.user}" proxypassword="${proxy.password}"/>

Re: How to build Project which uses specific version of jar not existing in Maven Repo

2010-08-09 Thread Ron Wheeler
On 08/08/2010 4:49 PM, Wendy Smoak wrote: On Sun, Aug 8, 2010 at 1:16 PM, Dilip wrote: Is there any way to build the project using maven if there is no specific version not jar not existing in the maven repository? Until you get that repository manager up and running, you can use "mvn install

Re: read Plugins in local repository

2010-08-09 Thread Stephen Connolly
find ~/.m2/repository/ -name \*.pom -exec fgrep -l "maven-plugin" {} \; On 9 August 2010 12:03, muss_ wrote: > > hi, > is there a way to read plugins from local repository. > I write a mojo and read an another pom.xml > I have to find out if the dependencies from pom.xml are already in local > r

Input line too long during maven site generation

2010-08-09 Thread Andreas Oppebøen
I have problems with command lines growing too big when running "mvn site" on Windows. I have several reports I want generated, specifically checkstyle, pmd, javadoc, surefire, jxr, changelog and taglist. There is native code being compiled, and some of these reporting plugins feel the need to

Re: maven SPI plugin

2010-08-09 Thread Justin Lee
Yeah. I was thinking something like @SPI where the bare annotation would create entries for all implemented interface or you could list explicit entries if you wanted. I guess I'll write that today. On Sun, Aug 8, 2010 at 6:06 PM, Luke Patterson wrote: > haven't seen one, but have thought about

mvn release:perform -Dgoals=.... ignored

2010-08-09 Thread torsten . reinhard
Hi, my plugin configuration for the maven-release-plugin in our (company) parent pom.xml is like: org.apache.maven.plugins maven-release-plugin c:\LocalViewsRelease\${project.artifactId}-${project.version} clean install deploy site d

read Plugins in local repository

2010-08-09 Thread muss_
hi, is there a way to read plugins from local repository. I write a mojo and read an another pom.xml I have to find out if the dependencies from pom.xml are already in local repository Thanks Muss -- View this message in context: http://maven.40175.n5.nabble.com/read-Plugins-in-local-repositor

Re: [ANN] Maven Scm 1.4 Released

2010-08-09 Thread Olivier Lamy
Hi, 2010/8/9 : > will there also be availabe a new version of maven-release-plugin next > time that uses SCM-1.4 ? Yes it will (commit done yesterday) > How can I force Maven to use SCM-1.4 during release process  in the > meantime ? You can add the scm dependencies with this version in your rele

Antwort: [ANN] Maven Scm 1.4 Released

2010-08-09 Thread torsten . reinhard
will there also be availabe a new version of maven-release-plugin next time that uses SCM-1.4 ? How can I force Maven to use SCM-1.4 during release process in the meantime ? thanx, Torsten