Re: Adding plugin to settings.xml

2010-07-02 Thread Ron Wheeler
On 02/07/2010 2:44 PM, Justin Edelson wrote: On 7/2/10 1:30 PM, asookazian wrote: I'd like to add the following XML snippet to my settings.xml. Is it possible? 'mvn clean install' is successful (i.e. no errors) but the EAR is not copied as it was when the XML snippet was in the parent POM.

For war packaging anyway to include snapshot timestamp and a classifier....

2010-07-02 Thread Nathan Wilhelmi
Hi - We have a project with WAR packaging and need to have classifiers assigned to the various war files we produce via profiles. When we deploy snapshot releases the snapshot timestamp is removed, we only get the classifier. Is there anyway to automatically include the timestamp for snapshot r

Re: altDeploymentRepository - deploy plugin

2010-07-02 Thread Shan Syed
ah ok - I was looking for a completely decoupled way (via command line) of specifying all deployment params, without having to change config On Fri, Jul 2, 2010 at 5:06 PM, Anders Hammar wrote: > The username/password goes in the settings.xml. You use the id to reference > that. > http://maven.a

Re: altDeploymentRepository - deploy plugin

2010-07-02 Thread Anders Hammar
The username/password goes in the settings.xml. You use the id to reference that. http://maven.apache.org/settings.html#Servers /Anders On Fri, Jul 2, 2010 at 22:29, Shan Syed wrote: > how can I specify security info (username/password) for the target > repo, using this parameter with the deplo

Re: Maven 3 Shell CLI: how to use?

2010-07-02 Thread Manfred Moser
I think it is more important to put a proper structure in that can be used going forward with Maven 3 that works better than the current site plugin than to maintain backwards compatibility form a pom perspective. As I understand it maven 3 will have on par support for the site plugin in terms of

altDeploymentRepository - deploy plugin

2010-07-02 Thread Shan Syed
how can I specify security info (username/password) for the target repo, using this parameter with the deploy:deploy goal? it takes the URL, format, and ID only thanks - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org F

Re: Maven 3 Shell CLI: how to use?

2010-07-02 Thread Kathryn Huxtable
If it had been that way from the start, I suppose I'd agree. But it wasn't. If it had changed with Maven 2, I suppose I'd agree. Well, we'll see what happens. -K On Jul 2, 2010, at 3:21 PM, Jason van Zyl wrote: > On Jul 2, 2010, at 4:15 PM, Kathryn Huxtable wrote: > >> And given that the repo

Re: Maven 3 Shell CLI: how to use?

2010-07-02 Thread Jason van Zyl
On Jul 2, 2010, at 4:15 PM, Kathryn Huxtable wrote: > And given that the reporting stuff is baked into the pom, I'd consider that > stuff to be part of Maven, but apparently you folks disagree. I think you're > very wrong. > We emphatically disagree. But we've put in all the hooks so that it c

Re: Maven 3 Shell CLI: how to use?

2010-07-02 Thread Kathryn Huxtable
And given that the reporting stuff is baked into the pom, I'd consider that stuff to be part of Maven, but apparently you folks disagree. I think you're very wrong. Not about the shell, but about site, etc. -K On Jul 2, 2010, at 2:56 PM, Jason van Zyl wrote: > Open source project plans always

Re: Maven 3 Shell CLI: how to use?

2010-07-02 Thread Jason van Zyl
Open source project plans always change. Maven 3.x itself is the priority, full support for the shell will come when that's finished first. On Jul 2, 2010, at 3:53 PM, asookazian wrote: > > http://www.parleys.com/#sl=34&st=5&id=1630 > > see 32:05! > -- > View this message in context: > http:

Re: Maven 3 Shell CLI: how to use?

2010-07-02 Thread asookazian
http://www.parleys.com/#sl=34&st=5&id=1630 see 32:05! -- View this message in context: http://maven.40175.n5.nabble.com/Maven-3-Shell-CLI-how-to-use-tp512715p512748.html Sent from the Maven - Users mailing list archive at Nabble.com.

Re: Adding plugin to settings.xml

2010-07-02 Thread Justin Edelson
On 7/2/10 1:30 PM, asookazian wrote: > > I'd like to add the following XML snippet to my settings.xml. Is it > possible? 'mvn clean install' is successful (i.e. no errors) but the EAR is > not copied as it was when the XML snippet was in the parent POM. > > > >

Re: maven-antrun-plugin not working

2010-07-02 Thread Marshall Schor
I don't think this is a bug. Renaming the to "default-cli" makes it work (tested with maven 3.0-beta-1): maven-antrun-plugin 1.3

Re: maven-antrun-plugin not working

2010-07-02 Thread Anders Hammar
If you think it's a bug and you have a project that reproduces it, please file a jira and someone could have a look. However, the feature you're talking about is very common and a bug is very unlikely IMHO. /Anders On Fri, Jul 2, 2010 at 18:53, asookazian wrote: > > that's true but that POM is

Re: Maven 3 Shell CLI: how to use?

2010-07-02 Thread Jason van Zyl
Maven Shell != Maven 3 The Maven Shell is not something Sonatype is supporting yet. On Jul 2, 2010, at 1:05 PM, asookazian wrote: > > How can I use the Maven Shell in Maven 3? > > It's not stated here: http://mvnsh.sonatype.org/faq.html > > Here: http://mvnsh.sonatype.org/index.html > > it s

Re: Adding plugin to settings.xml

2010-07-02 Thread asookazian
guess not: http://maven.apache.org/settings.html -- View this message in context: http://maven.40175.n5.nabble.com/Adding-plugin-to-settings-xml-tp512724p512725.html Sent from the Maven - Users mailing list archive at Nabble.com. -

Adding plugin to settings.xml

2010-07-02 Thread asookazian
I'd like to add the following XML snippet to my settings.xml. Is it possible? 'mvn clean install' is successful (i.e. no errors) but the EAR is not copied as it was when the XML snippet was in the parent POM.

Re: Maven 3 Shell CLI: how to use?

2010-07-02 Thread asookazian
So after I exec 'mvnsh', I see this: mvnsh(/):C:\java\mvnsh-0.10\bin> mvn --version java.lang.NoClassDefFoundError: org/apache/maven/cli/CLIReportingUtils mvnsh(/):C:\java\mvnsh-0.10\bin> mvn clean install java.lang.NoClassDefFoundError: org/apache/maven/cli/AbstractMavenTransferListen er mvnsh

Re: Maven 3 Shell CLI: how to use?

2010-07-02 Thread asookazian
C:\java\mvnsh-0.10\bin>java -version java version "1.5.0_22" Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_22-b03) Java HotSpot(TM) Client VM (build 1.5.0_22-b03, mixed mode) C:\java\mvnsh-0.10\bin>mvn --version [ERROR] CommandRegistrarImpl - Failed to register command: org.sonaty

Re: Maven 3 Shell CLI: how to use?

2010-07-02 Thread asookazian
So I actually had already downloaded and extracted the zip file for mavensh: C:\java\mvnsh-0.10\bin In that directory there is a mvn.bat and mvnsh.bat for Windows. How do I use this CLI tool? The readme.txt points to the website and no specific instructions. thx. -- View this message in cont

Maven 3 Shell CLI: how to use?

2010-07-02 Thread asookazian
How can I use the Maven Shell in Maven 3? It's not stated here: http://mvnsh.sonatype.org/faq.html Here: http://mvnsh.sonatype.org/index.html it states you need to download the Maven Shell CLI. Is it not already included in Maven 3.0-BETA1? I have used maven-cli-plugin as documented in Dan Al

Re: maven-antrun-plugin not working

2010-07-02 Thread asookazian
that's true but that POM is a parent POM... -- View this message in context: http://maven.40175.n5.nabble.com/maven-antrun-plugin-not-working-tp512535p512705.html Sent from the Maven - Users mailing list archive at Nabble.com.

Re: maven-antrun-plugin not working

2010-07-02 Thread Wayne Fay
> When I removed the following XML snippet from the original posting: >  false > it works. If you have inherited=false in a parent pom, then the plugin will not run in the children. But isn't that obvious?? You should use "mvn help:effective-pom" to see what your actual project pom looks like (wit

RE: maven runtime error java.net.UnknownHostException: repo1.maven.org.

2010-07-02 Thread Andrew Bucknell
Just to close the loop on this one - it turned out to be an issue with the libraries debian had available for java uses to resolve hostnames. The fix is to apply a new libdns for java as described here http://www.ehow.com/how_4747553_fix-unknownhostexception-java-applications-u buntu.html. Thanks f

Re: maven-antrun-plugin not working

2010-07-02 Thread asookazian
I am reproducing the error with maven-antrun-plugin 1.5-SNAPSHOT and Maven 3.0-BETA1. Is there a JIRA filed for this? -- View this message in context: http://maven.40175.n5.nabble.com/maven-antrun-plugin-not-working-tp512535p512647.html Sent from the Maven - Users mailing list archive at Nabble

Re: maven-antrun-plugin not working

2010-07-02 Thread asookazian
When I removed the following XML snippet from the original posting: false it works. -- View this message in context: http://maven.40175.n5.nabble.com/maven-antrun-plugin-not-working-tp512535p512644.html Sent from the Maven - Users mailing list archive at Nabble.com.

Maven site confluence and {toc}

2010-07-02 Thread nsowatsk
I am using the Confluence plugin for site pages with some success, but I can't get the {toc} to work in a .confluence file. I just get the literal "{toc}" rendered in the HTML. I am following the guidance here: http://confluence.atlassian.com/renderer/notationhelp.action?section=conflue

RE: Activating a profile in settings.xml based on a property set in pom.xml?

2010-07-02 Thread Søren Krogh Neigaard
Hm alright, are there really no way that I can, based on my active profile, specify what properties to use or not use from my settings.xml? I mean, I have different filters to filter in the correct values here and there based on my active profile, but a few values are specific pr. Developer and

Re: Multi project release without SCM

2010-07-02 Thread Stephen Connolly
or try mvn versions:set -DnewVersion=1.11 On 2 July 2010 08:56, tbee wrote: > > Nevermind: versions:update-child-modules > -- > View this message in context: > http://maven.40175.n5.nabble.com/Multi-project-release-without-SCM-tp511922p512572.html > Sent from the Maven - Users mailing list arch

Re: Activating a profile in settings.xml based on a property set in pom.xml?

2010-07-02 Thread Stephen Connolly
profile activation is based on _SYSTEM_ properties. you cannot activate profiles based on properties defined in your pom you cannot activate profiles based on system properties defined after the build plan has started execution -Stephen On 2 July 2010 08:37, Søren Krogh Neigaard < soeren.krogh.

Re: Multi project release without SCM

2010-07-02 Thread tbee
The concept is what I am looking for, but it doesn't do exactly what I need. For example: the parent pom has version 1.11-SNAPSHOT, all child poms refer to this version. If I want to release 1.11, I remove "-SNAPSHOT" in the parent pom and do an versions:update-parent. But the 1.11 pom is not re

Re: Multi project release without SCM

2010-07-02 Thread tbee
Nevermind: versions:update-child-modules -- View this message in context: http://maven.40175.n5.nabble.com/Multi-project-release-without-SCM-tp511922p512572.html Sent from the Maven - Users mailing list archive at Nabble.com. -

Re: maven configuration and Intellij.

2010-07-02 Thread Stephen Connolly
built in since intellij 7.0.x when opening a project just select the pom.xml file and intellij will do the rest -Stephen On 2 July 2010 09:09, Peter Schuller wrote: > > hi everyone. i'm begginer for maven. i don't now how to configure maven > for > > intellij. what jar files download. generall

Re: maven configuration and Intellij.

2010-07-02 Thread Peter Schuller
> hi everyone. i'm begginer for maven. i don't now how to configure maven for > intellij. what jar files download. generally how to begin maven. sorry my > english skill. i hope reply As far as I know, simply opening a project by selecting the pom.xml file should work, assuming a recent IntelliJ.

maven configuration and Intellij.

2010-07-02 Thread bayarja
hi everyone. i'm begginer for maven. i don't now how to configure maven for intellij. what jar files download. generally how to begin maven. sorry my english skill. i hope reply -- View this message in context: http://maven.40175.n5.nabble.com/maven-configuration-and-Intellij-tp512536p512536.htm

Activating a profile in settings.xml based on a property set in pom.xml?

2010-07-02 Thread Søren Krogh Neigaard
Hi I would like to activate (or not) a profile in my settings.xml base don which profile is active in my pom.xml. The active profile is determined by either activated by default, or by setting a -P argument to maven. How can I do this? In my pom.xml I also set a production in my production prof

Re: Strange surefire error

2010-07-02 Thread Joacim J
Update: We are currently using forkMode=never and it works Regards Joacim On Fri, Jun 18, 2010 at 7:20 AM, Joacim J wrote: > > > On Tue, Jun 15, 2010 at 8:02 AM, Kristian Rosenvold < > kristian.rosenv...@gmail.com> wrote: > >> Does it fail "immediately" or does it run the tests first ? >> >>