Re: artifacts not downloading

2009-06-25 Thread Wayne Fay
(which it did). I'll check the effective poms because I'm sure that if it were one of the commonly used mirrors, I wouldn't be the only one having the problem. I've seen this specific problem reported just recently by another user here on Maven Users. I consider this a bad/broken mirror at

Dependency Management

2009-06-25 Thread Peter Horlock
Hi, I've got a question regarding dependency management - I've got a project with a default tree layout - it uses subprojects, which again are using subprojects which again... Now, one of these subprojects defined a dependency scope as compile. It's grand-grand-parent project or the root project

Re: Dependency Management

2009-06-25 Thread Martin Höller
Hi! On Thursday 25 June 2009 Peter Horlock wrote: Hi, I've got a question regarding dependency management - I've got a project with a default tree layout - it uses subprojects, which again are using subprojects which again... Now, one of these subprojects defined a dependency scope as

How include DLLs in manifest class path?

2009-06-25 Thread marc2020
I've just mavenised a project which contained several 3rd party DLLs I've included the DLLs in the POM as dependancies, with the type = dll When the project is built, the lib folder correctly contains all the DLLs - however, at the point my project attempts to call functions in a DLL, classes

Newbie complience question

2009-06-25 Thread Dallas
Hi I recently started using Maven, and I will hopefully be implementing in for every single project I start from now on :-) However, I have some issues when building one of my gwt projects. I get an error like this [INFO] Compiling 1 source file to F:\Data\Workspace\testapp\target\classes

RE: artifacts not downloading

2009-06-25 Thread Todd Thiessen
We have also been having some trouble with java.net. We are using Nexus as our repo manager and it will sometimes take an extremely long time to download an artifact to the local repository that Nexus already has cached. This only seems to happen with java.net artifact. It also doesn't seem to be

Re: How include DLLs in manifest class path?

2009-06-25 Thread Sahoo
I don't think dlls are looked up in classpath. JVM locates them using java.library.path value. IIRC, this property includes PATH value in Windows and LD_LIBRARY_PATH on Unix. You can add your own directory path to either the property or to appropriate environment property. Thanks, Sahoo

RE: Newbie complience question

2009-06-25 Thread Edelson, Justin
It appears to me that your property name doesn't match how you have the compiler plugin configured. Property: maven.target.source1.5/maven.target.source Plugin Config: target${maven.compiler.target}/target Using the -X command line option or help:effective-pom is helpful in diagnosing this

how to generally skip pre and post-integration test phase

2009-06-25 Thread aldana
I am controlling running integration-tests by setting a property skip.integration.test (easier as setting up an integration test profile). problem is that I also want to skip the pre-integration and post-integration phase for that (jetty start/stop plugin runs under this phases). unfortunately

Adding Dependency of other Child Project

2009-06-25 Thread n000b
Hi*! I am moving my project from ant to maven2. My project consists of multiple modules (ejbs/wars). I have created a base/parent project and added modules to it, so far so good. Now, some of my projects depend upon some other child projects of the same parent to be built i.e. Child B depend

buildnumber-maven-plugin question

2009-06-25 Thread David Hoffer
I'm trying to use buildnumber-maven-plugin to get the SVN revision so I can put it in the manifest. However I get the following error when this is run on our build agents (TeamCity) *09:07:00]:* *[INFO] Cannot get the revision information from the scm repository : * *[09:07:00]:* *Exception

Re: Maven Assembly Question

2009-06-25 Thread virtualshock
BumpAnybody have some suggestions? -- View this message in context: http://www.nabble.com/Maven-Assembly-Question-tp23833852p24205262.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe,

Packaging and artifact extension.

2009-06-25 Thread Erick Dovale
Folks, How could I have the artifact of a project use an extension different that the packaging name? I am writing a plugin that creates a zip file with content relevant to a particular application. I created a new packaging type called 'mypackaging' and it turns out that maven is installing a

Re: Maven with Hibernate/Multiple POM files

2009-06-25 Thread David Weintraub
1/ A POM is not a programming language, but a project description. It is pointless to define the properties section in the top of the file in the hope that Maven sees the values first before you use them. You can call mvn help:effective-pom to see what Maven actually uses for the project

Re: how to generally skip pre and post-integration test phase

2009-06-25 Thread Wendy Smoak
On Thu, Jun 25, 2009 at 7:41 AM, aldanaald...@gmx.de wrote: I am controlling running integration-tests by setting a property skip.integration.test (easier as setting up an integration test profile). problem is that I also want to skip the pre-integration and post-integration phase for that

Re: how to generally skip pre and post-integration test phase

2009-06-25 Thread aldana
Wendy Smoak-3 wrote: On Thu, Jun 25, 2009 at 7:41 AM, aldanaald...@gmx.de wrote: I am controlling running integration-tests by setting a property skip.integration.test (easier as setting up an integration test profile). problem is that I also want to skip the pre-integration and

Corrupt downloads on Windows

2009-06-25 Thread Benson Margulies
Using either JDK 1.5 or JDK 1.6, Windows users here are experiencing a lot of corrupted files when running maven. I've seen checksum errors. I've seem POMs get 'downloaded' containing the hex content of a checksum. I've seen 'missing class' errors that disappeared by deleting the jar from the

Very weird jetty-plugin behaviour (excluding plugin dependency when run from parent module)

2009-06-25 Thread aldana
hi, my setting is as follows: rootModule -webapp In pre-integration-test I start webapp with jetty plugin (webapp/pom.xml): plugin org.mortbay.jetty/groupId artifactIdmaven-jetty-plugin/artifactId version6.1.18/version dependencies

Re: Very weird jetty-plugin behaviour (excluding plugin dependency when run from parent module)

2009-06-25 Thread aldana
I checked out a newer version of jetty plugin (http://repo1.maven.org/maven2/org/mortbay/jetty/jetty-maven-plugin/7.0.0.1beta2/). The problem is gone there. It seems that my problem is a bug of jetty plugin 6.1.18. aldana wrote: hi, my setting is as follows: rootModule -webapp

Disable host key checking in wagon-ssh provider

2009-06-25 Thread Claudio Di Vita
I need to disable host key checking for wagon-ssh providerhow I can disable it ?? I notice that the provider get the value (ask, yes or no) from method AbstractKnownHostsProvider# getHostKeyChecking(), but I cannot understand how to set this property. Thank you for the help, Claudio

Re: Corrupt downloads on Windows

2009-06-25 Thread Wayne Fay
Using either JDK 1.5 or JDK 1.6, Windows users here are experiencing a lot of corrupted files when running maven. I've seen checksum errors. Are you pulling those corrupted artifacts from the java.net repo (via Nexus of course)? If so, several people are talking about problems with that repo in

Re: how to generally skip pre and post-integration test phase

2009-06-25 Thread Wayne Fay
unfortunately jetty plugin does not offer a skip parameter itself. You could also work with the Jetty plugin people to add a skip parameter... Wayne - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional

Re: Adding Dependency of other Child Project

2009-06-25 Thread Wendy Smoak
On Thu, Jun 25, 2009 at 7:51 AM, n000busman_r...@yahoo.com wrote: How can I let the Child B to know that the Child A has been build the jar is added to the class path while building the Child B project. I think you answered it in your subject line. :) Add a dependency in B's pom:

Re: Very weird jetty-plugin behaviour (excluding plugin dependency when run from parent module)

2009-06-25 Thread aldana
aaargh, the real cause was different. Inside the parent-pom I mistakenly added the plugin-definition to build instead of pluginManagement. So in the end i dependencies section resolved to an empty set. Though I find it a bit weird that when doing a multimodule build a parent-module can

Re: Corrupt downloads on Windows

2009-06-25 Thread Benson Margulies
No. These are core Maven plugins. Could it be to do with long pathnames with spaces in the localRepository pathname? On Thu, Jun 25, 2009 at 12:28 PM, Wayne Faywayne...@gmail.com wrote: Using either JDK 1.5 or JDK 1.6, Windows users here are experiencing a lot of corrupted files when running

Grails Maven plugin

2009-06-25 Thread Marouane Amraoui
Hi, I use grails maven plugin. I have Multi project : Parent -àchild1 (jar) -àchild2 (jar) -àchild3 (war : grails web application) I launch mvn clean install on parent pom. So I need to exclude packaging phase for project child3 (grails web application) ??? For child3 I don't want to

Overriding values with blank values

2009-06-25 Thread Benson Margulies
In the base configuration of my parent POM, I configured some excludePackageNames to the javadoc plugin. Then I tried to create a profile that said excludePackageNames/ to ask for uncensored javadoc. This didn't appear to work. Should it have?

Any plugins or tools that alert users to new versions of Jars?

2009-06-25 Thread avixbaouxx
Basically that...I'm curious if there's a way to email or otherwise alert users that new versions of their dependencies exist at build time? Thanks! -- View this message in context: http://www.nabble.com/Any-plugins-or-tools-that-alert-users-to-new-versions-of-Jars--tp24208843p24208843.html

Re: buildnumber-maven-plugin question

2009-06-25 Thread Olivier Lamy
Afaik svn export doesn't store any svn metadata.So IMHO no way to get the rev number. -- Olivier 2009/6/25 David Hoffer dhoff...@gmail.com I'm trying to use buildnumber-maven-plugin to get the SVN revision so I can put it in the manifest. However I get the following error when this is run

Re: buildnumber-maven-plugin question

2009-06-25 Thread David Hoffer
Yeah, sorry I meant to re-post. We did switch to checkout for release plugin for this very reason...we did the same for this plugin and it works great. -Dave On Thu, Jun 25, 2009 at 1:47 PM, Olivier Lamy ol...@apache.org wrote: Afaik svn export doesn't store any svn metadata.So IMHO no way to

Re: Any plugins or tools that alert users to new versions of Jars?

2009-06-25 Thread Stephen Connolly
can you file an enhancement request agains versions-maven-plugin Sent from my [rhymes with myPod] ;-) On 25 Jun 2009, at 19:38, avixbaouxx avixbao...@mailinator.com wrote: Basically that...I'm curious if there's a way to email or otherwise alert users that new versions of their

Re: Any plugins or tools that alert users to new versions of Jars?

2009-06-25 Thread avixbaouxx
To answer my own question: http://mojo.codehaus.org/versions-maven-plugin/ avixbaouxx wrote: Basically that...I'm curious if there's a way to email or otherwise alert users that new versions of their dependencies exist at build time? Thanks! -- View this message in context:

Re: buildnumber-maven-plugin question

2009-06-25 Thread Wendy Smoak
On Thu, Jun 25, 2009 at 8:14 AM, David Hofferdhoff...@gmail.com wrote: I think this is because our build agents do an export instead of a checkout because its much faster.  How can I get this plugin to work with export? I think the buld number plugin works off the result of 'svn info' and as

Logging Plugin Version Without Debug -X Mode

2009-06-25 Thread Christiaan Veerman
Hello: I am trying to find how to log the plugin version when running my plugin. The reason I ask is that my plugin version is not explicitly set so maven will bring down a new version with the default daily interval (hopefully). The question I have is how can I get the plugin version currently

RE: Any plugins or tools that alert users to new versions of Jars?

2009-06-25 Thread Todd Thiessen
Would this goal work? http://maven.apache.org/plugins/maven-changes-plugin/announcement-mail-m ojo.html --- Todd Thiessen -Original Message- From: Stephen Connolly [mailto:stephen.alan.conno...@gmail.com] Sent: Thursday, June 25, 2009 4:40 PM To: Maven Users List Cc:

RE: Logging Plugin Version Without Debug -X Mode

2009-06-25 Thread Todd Thiessen
Couldn't you use a SNAPSHOT version to do this? The reason I ask is that my plugin version is not explicitly set so maven will bring down a new version with the default daily interval (hopefully). - To unsubscribe, e-mail:

Re: Maven assembly plug-in and deploy not happening?

2009-06-25 Thread lsacco
I see that the attached goal works, but for beta-4 it says that goal is deprecated. Is this a bug in the single goal that prevents it from being published during the package phase? Thanks, Lou Jörg Schaible-2 wrote: Hi Andrew, Andrew Robinson wrote: The maven assembly plug-in,

mvn site:stage loops?

2009-06-25 Thread Benson Margulies
In my multi-module project, at top-level, I run 'mvn site:stage -DstagingDirectory=whatever It builds in each of the modules, over and over. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands,

RE: Logging Plugin Version Without Debug -X Mode

2009-06-25 Thread Mohan KR
Why don't you inject a parameter with expression ${plugin.version} in the Mojo and use the info level to log it? Don't know if that's what you are asking... /** * @parameter expression=${plugin.version} */ private String pluginVersion; .. Thanks, mohan kr -Original Message- From:

Maven - Property files Question

2009-06-25 Thread sundar varadarajan
Hello, I m new to Maven and I m trying to place property and config.xml files outside the Jar files. Here is my current directory Src main java resources test java resources under java, i have all the java class files and in resources folder i have the properties and springbatch xml

Order of Execution For Classes Included In A Surefire Plugin Execution

2009-06-25 Thread Josephson, William (APG)
I am using Maven 2.1.0, and the surefire plugin to run integration tests. I have the following execution element within my pom: execution idfirst/id phaseintegration-test/phase goals

Re: Order of Execution For Classes Included In A Surefire Plugin Execution

2009-06-25 Thread Stephen Connolly
A couple of points: 1. Have you considered using failsafe-maven-plugin to run your integration tests? That way you can set up your integration test env using pre-integration-test phase, tear it down in post-integration-test phase and then check the results in the verify phase... it might simplify

RE: Newbie complience question

2009-06-25 Thread Dallas
You are absolutly right! And the -X command was very helpful indeed, thanks! justinedelson wrote: It appears to me that your property name doesn't match how you have the compiler plugin configured. Property: maven.target.source1.5/maven.target.source Plugin Config: