Re: maven 2.0.7 reorders dependencies during build causing compilation failures

2008-10-18 Thread Barrie Treloar
On Sat, Oct 18, 2008 at 3:38 PM, Sahoo [EMAIL PROTECTED] wrote: I just don't believe what I am seeing. Despite adding a particular dependency directly in my pom.xml, maven reorders dependencies and hence we get compilation failure. e.g., take a look at the pom.xml available at [1]. It declares

[ANN] Maven Shade Plugin 1.2 Released

2008-10-18 Thread Jason van Zyl
The Maven team is pleased to announce the release of the Maven Shade Plugin, version 1.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.

Using ${} notation as a literal

2008-10-18 Thread Okken,Brett
In my pom, I need to pass a configuration value to a plugin which contains ${...} as part of the string. Is there a way to prevent maven from filtering this string? Currently the value passed to the plugin replaces the ${...} wil null. Brett Okken | MMF Archive | Software Architect |

Re: maven 2.0.7 reorders dependencies during build causing compilation failures

2008-10-18 Thread Sahoo
Barrie Treloar wrote: On Sat, Oct 18, 2008 at 3:38 PM, Sahoo [EMAIL PROTECTED] wrote: I just don't believe what I am seeing. Despite adding a particular dependency directly in my pom.xml, maven reorders dependencies and hence we get compilation failure. e.g., take a look at the pom.xml

Re: maven 2.0.7 reorders dependencies during build causing compilation failures

2008-10-18 Thread Jörg Schaible
Sahoo wrote: Barrie Treloar wrote: On Sat, Oct 18, 2008 at 3:38 PM, Sahoo [EMAIL PROTECTED] wrote: I just don't believe what I am seeing. Despite adding a particular dependency directly in my pom.xml, maven reorders dependencies and hence we get compilation failure. e.g., take a look at

Re: Multiple executions of goals under generate-sources: How to avoid?

2008-10-18 Thread stug23
As a clarification, the execution that I am trying to avoid is the second execution of a code generator mojo that is bound to generate-sources phase. The second execution results from uses the maven-sources-plugin which states: Invokes the execution of the lifecycle phase generate-sources prior

Re: Multiple executions of goals under generate-sources: How to avoid?

2008-10-18 Thread jieryn
On Sat, Oct 18, 2008 at 11:00 AM, stug23 [EMAIL PROTECTED] wrote: So my question is: Is there a way to still produce a sources jar using the maven-source-plugin without invoking execution of the generate-sources phase? I am extremely interested in the answer to this question as well. Please

Getting javadoc plugin to run

2008-10-18 Thread Chris
Newbie here -- sorry -- having some basic conceptual difficulties with the javadoc plugin. How do I get the javadoc plugin to run when I execute mvn install? It runs ok when I do mvn javadoc:javadoc, but I want to regenerate everything when I do an install. Also -- how do I include/exclude

RE: Getting javadoc plugin to run

2008-10-18 Thread Martin Gainty
i thought you incorporated the link you want in the links group element as seen here plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-javadoc-plugin/artifactId configuration links

Re: Getting javadoc plugin to run

2008-10-18 Thread Wendy Smoak
On Sat, Oct 18, 2008 at 11:08 AM, Chris [EMAIL PROTECTED] wrote: Newbie here -- sorry -- having some basic conceptual difficulties with the javadoc plugin. What do you want to do with it? Generate Javadoc to view? To use in an IDE? How do I get the javadoc plugin to run when I execute mvn

Jar problem

2008-10-18 Thread fx5900
Hi, I have an empty application, a main class with no code, and i want to use the gt2-render jar file for my application. Now when i place the file dependecy code in my pom file and build the application i get the following messages Scanning for projects... project-execute

Is it possible to use maven to remote deploy a war file?

2008-10-18 Thread BarryDev
Hello everyone, Just wondering if there's a plugin to allow maven to deploy a war file to a remote location using ftp? I can probably write an ant script to do this and add that to the build but just wondering if maven has anything built in. Have searched around and while finding some

Is it possible to use maven to remote deploy a war file?

2008-10-18 Thread BarryDev
Hello everyone, Just wondering if there's a plugin to allow maven to deploy a war file to a remote location using ftp? I can probably write an ant script to do this and add that to the build but just wondering if maven has anything built in. Have searched around and while finding some

when/does maven update its plugins?

2008-10-18 Thread Rusty Wright
After seeing the announcement of the new version of the Maven Resources Plugin I naively thought I could simply do mvn --update-plugins, but that didn't do anything, other than give me an error from not having a pom.xml in the directory I was in (and then it simply rebuilt my project when I

Re: Is it possible to use maven to remote deploy a war file?

2008-10-18 Thread Wendy Smoak
On Sat, Oct 18, 2008 at 3:18 PM, BarryDev [EMAIL PROTECTED] wrote: Just wondering if there's a plugin to allow maven to deploy a war file to a remote location using ftp? I can probably write an ant script to do this and add that to the build but just wondering if maven has anything built in.

Re: when/does maven update its plugins?

2008-10-18 Thread Wendy Smoak
On Sat, Oct 18, 2008 at 3:35 PM, Rusty Wright [EMAIL PROTECTED] wrote: After seeing the announcement of the new version of the Maven Resources Plugin I naively thought I could simply do mvn --update-plugins, but that didn't do anything, other than give me an error from not having a pom.xml in

Re: when/does maven update its plugins?

2008-10-18 Thread Rusty Wright
Ok, thanks. Wendy Smoak wrote: On Sat, Oct 18, 2008 at 3:35 PM, Rusty Wright [EMAIL PROTECTED] wrote: After seeing the announcement of the new version of the Maven Resources Plugin I naively thought I could simply do mvn --update-plugins, but that didn't do anything, other than give me an

Re: Is it possible to use maven to remote deploy a war file?

2008-10-18 Thread Rusty Wright
Does anyone know if Cargo works with Tomcat 6? I can't find any mention of it on the Cargo web site. Wendy Smoak wrote: On Sat, Oct 18, 2008 at 3:18 PM, BarryDev [EMAIL PROTECTED] wrote: Just wondering if there's a plugin to allow maven to deploy a war file to a remote location using

Re: Is it possible to use maven to remote deploy a war file?

2008-10-18 Thread Wendy Smoak
On Sat, Oct 18, 2008 at 9:30 PM, Rusty Wright [EMAIL PROTECTED] wrote: Does anyone know if Cargo works with Tomcat 6? I can't find any mention of it on the Cargo web site. I believe so... according to JIRA support was added in February, and there have been some 1.0 alpha releases since then.