Re: Process webapp files between "copying webapp resources" and "building war"

2009-11-26 Thread Anders Hammar
OK. There are different ways to solve this I think. Please understand that the steps below are written theoretically, I haven't actually tried them. I leave that for you to do and report back to the community. :-) Solution 1: 1. Create a new folder where you put the files you want to be processed.

Re: Process webapp files between "copying webapp resources" and "building war"

2009-11-26 Thread S5
I would like to run an ant plugin here to process some custom strings in the resource files. Maven's filtering won't work for our case. Thanks On Fri, Nov 27, 2009 at 12:20 PM, Anders Hammar wrote: > I think it will be easier for us to help you if you tell us what kind of > processing you want

Re: Process webapp files between "copying webapp resources" and "building war"

2009-11-26 Thread Anders Hammar
I think it will be easier for us to help you if you tell us what kind of processing you want to do. You cannot insert a process step within the war plugin execution of the war goal (which is what you say in your log output). TO do that you need to adapt the plugin itself. However, the war plugin s

Process webapp files between "copying webapp resources" and "building war"

2009-11-26 Thread S5
Hello I am using Maven 2.2.1 In my project I want to process some of the resource files. This needs to happen after "copying webapp resources" step and before "building war" step. Here's the log: [war:war {execution: default-war}] [INFO] Packaging webapp [INFO] Assembling webapp[myapp] in [**\t

Re: Resources in source folder

2009-11-26 Thread Barrie Treloar
On Thu, Nov 26, 2009 at 5:57 PM, Martin Seebach wrote: > Hi, > > Thanks for the response. > > 2009/11/26 Barrie Treloar >> Did you check the plugin's documentation? >> http://maven.apache.org/plugins/maven-eclipse-plugin/ > > I tried to look for it, but I guess I focused too much on the > resourc

Re: Upload files to remote host

2009-11-26 Thread Dan Tran
2 executions of wagon:upload-single dont work? -D On Wed, Nov 25, 2009 at 5:11 AM, Aleksey Didik wrote: > Hello all, > Do you have any ideas, how to upload some project files to another host? > I have found wagon-maven-plugin, but it's upload goal is very poor (imho). > I want to upload 2 files

Re: Error running release:perform

2009-11-26 Thread zyd08
Please ignore my above question, the issue has been resolved. -- View this message in context: http://old.nabble.com/Error-running-release%3Aperform-tp26525584p26533026.html Sent from the Maven - Users mailing list archive at Nabble.com.

Re: Plugin to terminate another plugin

2009-11-26 Thread Jörg Schaible
Hi Csaba, Gajo Csaba wrote at Donnerstag, 26. November 2009 17:21: > Hello, > > I use the exec plugin to run some external processes. It is possible for > one of these processes to get into an eternal loop, so the build will > hang. Is there a way to terminate this goal after, let's say, 10 > se

Plugin to terminate another plugin

2009-11-26 Thread Gajo Csaba
Hello, I use the exec plugin to run some external processes. It is possible for one of these processes to get into an eternal loop, so the build will hang. Is there a way to terminate this goal after, let's say, 10 seconds? If there's no thing that's already made, is there a way to write a cu

Re: Error running release:perform

2009-11-26 Thread zyd08
Thanks for your response, this fixed the problem! However, another issue comes up - release:perform almost worked out except at the very end it failed to upload the artifact to the repo, and the error is [INFO] [INFO] Error deploying artifact: Failed to transfer file: .. Return code is: 401

Re: maven release plugin is not applying scmcommentprefix while tagging

2009-11-26 Thread Anders Hammar
In central: http://repo2.maven.org/maven2/org/apache/maven/plugins/maven-release-plugin/2.0-beta-8/ /Anders On Thu, Nov 26, 2009 at 14:36, DebasisM wrote: > > Thanks.But in the repository i did not get the 2.0-beta-8 source. > I need 2.0-beta-8 source of maven-release-plugin and maven-release-m

Re: maven+netbeans+cpp newbie question

2009-11-26 Thread Vincent Hardion
Hi Stephan, Netbeans doesn't work well with Maven and C++ project. We use the nar maven plugin to compile C++ project. Actually, we build from CLI but I use Netbeans for Java too. I think Netbeans doesn't know about "nar" package. So some editor features don't work anymore. For example, the src

Re: maven release plugin is not applying scmcommentprefix while tagging

2009-11-26 Thread DebasisM
Thanks.But in the repository i did not get the 2.0-beta-8 source. I need 2.0-beta-8 source of maven-release-plugin and maven-release-manager plugin. Could you please provide me the url? Thanks, Debasis djrobo wrote: > > That is a known issue with 2.0-beta-9 of the release plugin. Try using >

Re: Error running release:perform

2009-11-26 Thread Martin Höller
Hi! Am Donnerstag, 26. November 2009 14:15:24 schrieb zyd08: > I've managed to find out the cause of the issue: during the prepare, the > tag was given at the project root directory (which contains branches, tags > and trunk) at the svn repo instead of the project_root/trunk directory; > therefore

Re: Error running release:perform

2009-11-26 Thread zyd08
Thanks for the above responses. I've managed to find out the cause of the issue: during the prepare, the tag was given at the project root directory (which contains branches, tags and trunk) at the svn repo instead of the project_root/trunk directory; therefore, when release:perform checks out t

Re: maven release plugin is not applying scmcommentprefix while tagging

2009-11-26 Thread djrobo
That is a known issue with 2.0-beta-9 of the release plugin. Try using 2.0-beta-8 instead. -Michael DebasisM wrote: > > Hi All, > Even if i am giving the scmcommentprefix then also release:prepare goal > is not taking into consideration while tagging.it is starting from > -[maven-scm] copy f

Re: Error installing artifact's metadata:

2009-11-26 Thread Anders Hammar
If you're using Nexus 1.4 it's in the repository's configuration ("Deployment Policy"). If you're using Nexus 1.3.x it's a lot more work. I think there's something about this on the Nexus FAQ. /Anders On Thu, Nov 26, 2009 at 13:30, Ekaterina Ilina wrote: > We are using Nexus. Do you know where

RE: Error installing artifact's metadata:

2009-11-26 Thread Ekaterina Ilina
We are using Nexus. Do you know where these settings are in Nexus? Ekaterina -Original Message- From: Wayne Fay [mailto:wayne...@gmail.com] Sent: Wednesday, November 25, 2009 6:58 PM To: Maven Users List Subject: Re: Error installing artifact's metadata: > It occurred, that maven-metada

maven release plugin is not applying scmcommentprefix while tagging

2009-11-26 Thread DebasisM
Hi All, Even if i am giving the scmcommentprefix then also release:prepare goal is not taking into consideration while tagging.it is starting from -[maven-scm] copy for tag. I am using scmbug that every commit should be started with a bug id like bug bugno:message. I have given in the scmcomm

Re: Error running release:perform

2009-11-26 Thread Martin Höller
Hi! The thread Anders is talking about is probably this one: http://old.nabble.com/Putting-a-Release-in-the-Repository-to26432264.html Do you have a flat multi-module project? hth, - martin Am Donnerstag, 26. November 2009 12:15:27 schrieb zyd08: > I have some issues with using the release plug

Re: Error running release:perform

2009-11-26 Thread Anders Hammar
I believe that the very same issue was discussed some time ago. release:perform does a checkout based on the label. It's that pom that it cannot find (after the checkout). Check that the scm url is correct. Also have a look at what has been checkout, it could point at the issue: http://maven.apache

Error running release:perform

2009-11-26 Thread zyd08
I have some issues with using the release plugin. Basically, release:prepare can be run with no problems; but when it came to release:perform, the build failed with the following error: [INFO] [ERROR] BUILD ERROR [INFO] [INFO] --

Re: how to preserve artifact time from repository to local repository

2009-11-26 Thread Henri Gomez
I was thinking more about it. There is stable date for an artifact, ie META-INF/MANIFEST.MF inside the jar, it should allways be the date of the artifact creation 2009/11/25 Henri Gomez : > 3.0.x, good, that's the target version for us (m2eclipse users) > > 2009/11/25 Wayne Fay : >>> Question, If

[ANN] Maven Shade Plugin 1.2.2 Released

2009-11-26 Thread Benjamin Bentmann
The Maven team is pleased to announce the release of the Maven Shade Plugin, version 1.2.2. This plugin provides the capability to package the artifact in an uber-jar, including its dependencies and to shade - i.e. rename - the packages of some of the dependencies. See the plugin's site for mor

Re: maven+netbeans+cpp newbie question

2009-11-26 Thread Milos Kleint
On Thu, Nov 26, 2009 at 9:53 AM, stephane ancelot wrote: > Hi, > > I have got a problem ! > > I have to use netbeans in multiproject environment. multiproject means I > have to generate a package that is composed of many C/C++ applications > executable. > > however, it looks like netbeans does n

RE: how to set environment variables

2009-11-26 Thread mars1412
seems there's really no easy way to set env vars directly in general I think that this is ok and you should not set env vars directly, but I have a good exception to this rule: it is described in the paragraph "Using Saxon (but not as default)" of http://martin-trummer.blogspot.com/2009/11/wysiw

maven+netbeans+cpp newbie question

2009-11-26 Thread stephane ancelot
Hi, I have got a problem ! I have to use netbeans in multiproject environment. multiproject means I have to generate a package that is composed of many C/C++ applications executable. however, it looks like netbeans does not support well multiproject environment. So, may be using maven will so

Re: Calling an other Mojo from own Mojo ?

2009-11-26 Thread Jörg Schaible
Hi James, James William Dumay wrote at Donnerstag, 26. November 2009 08:50: > Take a look at the mojo executor. I think this is what you want > http://code.google.com/p/mojo-executor/ I wish every user of that plugin good luck to maintain ever a larger build with some submodules. Unless they ne

Re: Calling an other Mojo from own Mojo ?

2009-11-26 Thread Jörg Schaible
Hi, Wurzelseppi wrote at Donnerstag, 26. November 2009 08:45: > > Hi All, > > i trying to develop an maven plugin and have problems at a certain point. > > My Mojo has to call an other mojo and needs to pass required parameters > which i´m defining in my own plugins configuration section. The