RE: Unwanted jars getting copied

2011-03-01 Thread Fuke, Amol
Thanks Hilco for the reply. We are using war plugin also; plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-war-plugin/artifactId configuration

M2 how to switch to wagon-ssh 1.0-beta-6

2011-03-01 Thread Joseph Argiro
In maven2 How do I upgrade to wagon-ssh 1.0-beta-6 I added the following to my pom.xml dependency groupIdorg.apache.maven.wagon/groupId artifactIdwagon-ssh/artifactId version1.0-beta-7/version /dependency It downloads beta-6 but the build still uses beta-2

Re: M2 how to switch to wagon-ssh 1.0-beta-6

2011-03-01 Thread Olivier Lamy
Try in build extensions extension groupIdorg.apache.maven.wagon/groupId artifactIdwagon-ssh/artifactId version1.0-beta-7/version /extension /extensions ... HTH, -- Olivier Lamy http://twitter.com/olamy http://www.linkedin.com/in/olamy 2011/3/1

Re: How to gain the new class every time?

2011-03-01 Thread jy hu
Hi, thaks for your reply! On Tue, Mar 1, 2011 at 11:24 AM, MK Tan mktan...@gmail.com wrote: The simple answer is you can't. This is because you are deleting a file but those remaining files have not been modified. It is always a good idea to have a clean build once you delete a source

Customizing Maven Archetype Descriptor

2011-03-01 Thread Harshana Eranga Martin
Hi All, I have implemented a custom archetype and I have configured to accept a new property testParam via requiredProperty as well. I have several templates and my requirement is to create a new project with *ONLY* one of these templates depending on the value user passes for testParam. Has any

Stop escaping html tags when generating surefire xml report

2011-03-01 Thread zpan
Hi all, Currently we are using JUnit Maven surefire plugin to generate html report. But we want to insert screenshot link in the error message just like the following: com.thoughtworks.selenium.SeleniumException: Timed out after 12ms SCREENSHOT

RE: Unwanted jars getting copied

2011-03-01 Thread Fuke, Amol
Hi Hilco , Removed the target/work/outbound. Thanks for that. Also is there any way we can replace hard coding with variable names? I have below code and I want server path with variables. target delete includeEmptyDirs=true dir=C:/Tomcat6/webapps/outbound / copy

Re: c++ native-maven-plugin redundant linking at second run problem

2011-03-01 Thread sintetik
Both compile and link are hooked into maven compile phase. Normally the native compile should get by very quickly since no code changes. The link phase still have to rebuild. Currently there is no work around. Thank you, Dan. What about NAR plugin - does this issue exist in there? I didn't

Re: Stop escaping html tags when generating surefire xml report

2011-03-01 Thread Kristian Rosenvold
I have't looked into the exact details of this, but generally if you want to embed HTML inside XML you have two choices; escaping or CDATA (with escaping of ]]) Escaping or cdata *has* to be used here to get well formed xml. There might be some reason for continuing the escaping all the way

Resources Plugin: escapeWindowsPaths depending on the file type?

2011-03-01 Thread Lewis, Eric
Hi I'm using the latest and greatest Resources Plugin 2.5 Now I'm having a problem with Windows pathes: I have for instance a property x with the path C:\foo\bar and want to filter some files with it. In my properties file I want it to be C:\\foo\\bar, but in my batch file I want it to be

Re: Project structure help

2011-03-01 Thread Greg Akins
Thanks for everyone's advice. The CM, Team Lead and I are going to go over some options next week. I'll update the group and will probably have some more question when we decide on the best options. -- Greg Akins http://twitter.com/akinsgre

Re: c++ native-maven-plugin redundant linking at second run problem

2011-03-01 Thread Mark Donszelmann
Hi NAR also links in the compile phase as it uses cpp-tasks to handle uniform compilation and linking. Regards Mark On Mar 1, 2011, at 12:22 PM, sintetik wrote: Both compile and link are hooked into maven compile phase. Normally the native compile should get by very quickly since no code

Re: Unwanted jars getting copied

2011-03-01 Thread Hilco Wijbenga
On 1 March 2011 10:24, Fuke, Amol amol.fuke...@nielsen.com wrote: Also is there any way we can replace hard coding with variable names? I have below code and I want server path with variables. target        delete includeEmptyDirs=true dir=C:/Tomcat6/webapps/outbound /        copy

Re: c++ native-maven-plugin redundant linking at second run problem

2011-03-01 Thread sintetik
Thank you Mark, NAR also links in the compile phase as it uses cpp-tasks to handle uniform compilation and linking. I guess it means linking will be repeated anyhow even if code didn't change? I had a thought that it's theoretically possible to resolve my problem (redundant linking) by

Re: c++ native-maven-plugin redundant linking at second run problem

2011-03-01 Thread Dan Tran
Another thought is to take a look at NAR and native-plugin to see if you can find a solution not to relinking when there is no change in source and provide patch -Dan On Tue, Mar 1, 2011 at 10:07 AM, sintetik sintet...@gmail.com wrote: Thank you Mark, NAR also links in the compile phase as

Re: Has the behavior of -U option changed?

2011-03-01 Thread wytten
I have re-tested with the pre-release version of 3.0.3 and find the -U behavior to be the same as 3.0.2. Specifically, when I expect it to download the latest jar from Artifactory, all it downloads is metadata: Downloading: .../0.7-SNAPSHOT/maven-metadata.xml Downloaded:

Re: Has the behavior of -U option changed?

2011-03-01 Thread Benjamin Bentmann
wytten wrote: Specifically, when I expect it to download the latest jar from Artifactory, all it downloads is metadata: Unless the metadata indicates the existence of a newer snapshot, there is nothing to download. Benjamin

Re: Has the behavior of -U option changed?

2011-03-01 Thread wytten
Thanks for the reply. I know for a fact that a newer snapshot was uploaded to Artifactory. I imagine then that this issue could be specific to Artifactory. We are currently at version 2.2.2 of that product but coincidentally plan to upgrade soon. -- View this message in context:

Re: Has the behavior of -U option changed?

2011-03-01 Thread wytten
I looked at the metadata in question, and the lastUpdated value is in the future (due to the fact that the Artifactory repository is in a different timezone). Could this be the problem? -- View this message in context:

Re: Has the behavior of -U option changed?

2011-03-01 Thread Benjamin Bentmann
wytten wrote: I know for a fact that a newer snapshot was uploaded to Artifactory. To troubleshoot, you could check the maven-metadata-*.xml in your local repository for the artifact in question. Maven picks the file with the newest lastUpdated value. The value is a UTC timestamp.

Build Site for parent module, but skip the children?

2011-03-01 Thread Brian Ferris
I have a large multi-module project that I wish to build a site for using Maven's site functionality. The trick is that I'd like to avoid building the sub-module sites as well. Building the individuals sites for each sub-module takes a while (even with the dependency report disabled) and it's

Re: Build Site for parent module, but skip the children?

2011-03-01 Thread Brian Fox
mvn -N site-deploy On Tue, Mar 1, 2011 at 4:50 PM, Brian Ferris bdfer...@gmail.com wrote: I have a large multi-module project that I wish to build a site for using Maven's site functionality.  The trick is that I'd like to avoid building the sub-module sites as well.  Building the individuals

Maven and tomcat deploying

2011-03-01 Thread Mark
Is there some tool or plugin to deploy/undeploy a newly built war to tomcat or would I need to build a custom ant script that wraps the maven build process? What is the proper way to do this? Thanks! - To unsubscribe,

Re: Maven and tomcat deploying

2011-03-01 Thread Jesse Farinacci
Greetings, On Tue, Mar 1, 2011 at 10:48 PM, Mark static.void@gmail.com wrote: Is there some tool or plugin to deploy/undeploy a newly built war to tomcat or would I need to build a custom ant script that wraps the maven build process? What is the proper way to do this? The short answer

Re: Maven and tomcat deploying

2011-03-01 Thread Wayne Fay
Is there some tool or plugin to deploy/undeploy a newly built war to tomcat or would I need to build a custom ant script that wraps the maven build process? I think, if you search for maven tomcat deploy war at Google or Yahoo or Bing etc, you'll find what you seek... Wayne

Re: Maven and tomcat deploying

2011-03-01 Thread Jason Chaffee
I am mobile so not sure if it is still supporrted, bur the war plugin used to have a deploy goal that allowed you to deploy the war to s running container. Jason On Mar 1, 2011, at 8:19 PM, Wayne Fay wayne...@gmail.com wrote: Is there some tool or plugin to deploy/undeploy a newly built

Re: Build Site for parent module, but skip the children?

2011-03-01 Thread Lukas Theussl
Related question: Is there a way of doing the exact opposite, ie exclude the parent site? I have a top level project that only serves as an aggregator and want to deploy the module sites *only*? -Lukas Brian Fox wrote: mvn -N site-deploy On Tue, Mar 1, 2011 at 4:50 PM, Brian