RE: maven-ant-run plugin 1.3 error java.lang.NoSuchMethodError: org.apache.tools.ant.util.FileUtils.close

2009-10-08 Thread Jörg Schaible
Hi Doug, Doug Daniels wrote at Donnerstag, 8. Oktober 2009 19:42: > Also I am only seeing this when I run the: > mvn -P liquibase-diff install Can you post the /project/build/plugins section running mvn help:effective-pom -P liquibase-diff - Jörg -

Re: The skin does not exist: Unable to determine the release version

2009-10-08 Thread Barrie Treloar
Apologies for dragging up an old post, but I have been using the maven-invoker-plugin with Maven 2.2.1 and I get the same error. So other people can find a google response, I followed the same instructions here to create a src/site/site.xml which specifies the skin for each of my IT projects. I'm

Re: Setting Java heap space

2009-10-08 Thread Lionel van den Berg
Oh, right, I was able to use the surefire plugin, great! Thanks heaps. Lionel. 2009/10/8 Lionel van den Berg > Thanks. It seems there are no ideal solutions but I guess I can work within > the suggestions made. Just a pain that all developers will have to configure > their own MAVEN_OPTS whi

RE: My application is not getting compiled using Maven

2009-10-08 Thread rasahere
But mvn is for maven 2.0 rt ? i am using maven 1.0 only. Damon Silver wrote: > > 'mvn dependency:tree' > > -Original Message- > From: rasahere [mailto:rasa.still.h...@gmail.com] > Sent: Wednesday, October 07, 2009 11:57 PM > To: users@maven.apache.org > Subject: Re: My application is

Re: Getting error while configuring Maven

2009-10-08 Thread anshree123
Hi Thanks again for your reply. I think i will talk to the proxy ppl n get the issue resolved rather than setting up an internal mirror... Thanks again.. Your help is appreciated.. Regards Anushree Anders Hammar wrote: > > What kind of workaround are thinking about? If it's blocking, it is. >

Re: Very Very Very slow maven client for connexion

2009-10-08 Thread Wayne Fay
> At least 6 or 7 minutes without doing anything... And I don t know why. > > Anyone has already experienced the same problem ? Any idea to solve it ? Have you tried to run Maven in debug mode (add -X parameter to mvn execution eg "mvn -X package")? If so, what is it doing in those 6-7 minutes? W

Re: Can I manually deploy a sources jar using deploy-file?

2009-10-08 Thread Ed Hillmann
On Fri, Oct 9, 2009 at 12:34 PM, Kalle Korhonen wrote: > Use a classifier > > http://maven.apache.org/plugins/maven-deploy-plugin/examples/deploying-with-classifiers.html > (and read the documentation) > > Kalle > > > Perfect! Thanks, Ed

Re: Can I manually deploy a sources jar using deploy-file?

2009-10-08 Thread Kalle Korhonen
Use a classifier http://maven.apache.org/plugins/maven-deploy-plugin/examples/deploying-with-classifiers.html (and read the documentation) Kalle On Thu, Oct 8, 2009 at 6:38 PM, Ed Hillmann wrote: > Hi.  To date, I've been manually deploying an artifact using > mvn:deploy-file, as the artifact i

Can I manually deploy a sources jar using deploy-file?

2009-10-08 Thread Ed Hillmann
Hi. To date, I've been manually deploying an artifact using mvn:deploy-file, as the artifact is built using an alternative build tool (ant). This has been working fine to date. Now, I'd like to be able to deploy the artifact's sources as well, so I can see the source from NetBeans. We have othe

Very Very Very slow maven client for connexion

2009-10-08 Thread Nicolas Hernandez
Hi dear mvn users, I have experienced a problem and I do not find any hints about it. I would like to use maven on ubuntu linux. My account directory is a nfs mounted partition. I am also behind a proxy. Actually it works with the settings.xml correctly configured but... ... the mvn client takes

Re: provided

2009-10-08 Thread Nick Stolwijk
Could it be that you build once without scope provided and so the jar resides in your target directory? Try a mvn clean install to see if that clears the problem. If that doesn't work take a look at the output of mvn dependency:tree to see where it comes from. Hth, Nick Stolwijk ~Java Developer~

Never mind: provided

2009-10-08 Thread John A Pershing Jr
Never mind; I figured it out. Prior attempts at 'mvn clean' had reported an error, due to an open log file in the target directory subtree (due, I think, to a running instance of hsqldb that had been launched thru Maven). What apparently happened is that the error caused Maven to totally abor

provided

2009-10-08 Thread John A Pershing Jr
Pardon my ignorance, but I'm trying to wade through / debug the Hibernate tutorial, and it more-or-less requires the use of Maven to build and package the example applications. I have only figured out enough about Maven to be dangerous. From reading the documentation, it sounds like the depen

Re: why does site-deploy rebuild so often?

2009-10-08 Thread Lee Meador
This can also cause problems if you have, for example, ant tasks in the build (or generate-sources) phases that take a long time. Everyone of the re-do parts repeats that long build. It's not like a compile where javac doesn't recompile whatever is already compiled. I have added stuff to ant tasks

RE: maven-ant-run plugin 1.3 error java.lang.NoSuchMethodError: org.apache.tools.ant.util.FileUtils.close

2009-10-08 Thread Doug Daniels
Also I am only seeing this when I run the: mvn -P liquibase-diff install On a windows 2008 server machine running with the following maven environment: Apache Maven 2.2.1 (r801777; 2009-08-06 14:16:01-0500) Java version: 1.6.0_16 Java home: C:\Program Files\Java\jdk1.6.0_16\jre Default locale: en_

RE: maven-ant-run plugin 1.3 error java.lang.NoSuchMethodError: org.apache.tools.ant.util.FileUtils.close

2009-10-08 Thread Doug Daniels
It is happening during a multi-module build, but it also occurs when I run that individual project in isolation. How would I give you the listing of other plugins being used (beyond maven-ant-run I am using just the default java project plugin maven-compiler-plugin) I am additionally using the

Re: enforcer and unCheckedPluginsList

2009-10-08 Thread Nick Stolwijk
It seems this is already fixed in SVN. Nick Stolwijk ~Java Developer~ IPROFS BV. Claus Sluterweg 125 2012 WS Haarlem http://www.iprofs.nl On Thu, Oct 8, 2009 at 7:13 PM, Nick Stolwijk wrote: > It looks like this is wrong in the documentation: > > http://maven.apache.org/enforcer/enforcer-rules

Re: enforcer and unCheckedPluginsList

2009-10-08 Thread Nick Stolwijk
It looks like this is wrong in the documentation: http://maven.apache.org/enforcer/enforcer-rules/requirePluginVersions.html With regards, Nick Stolwijk ~Java Developer~ IPROFS BV. Claus Sluterweg 125 2012 WS Haarlem http://www.iprofs.nl On Tue, Aug 18, 2009 at 12:13 PM, nicolas de loof wrote

Re: Capturing a Dependency into Local Repository

2009-10-08 Thread Quintin Beukes
Thanks for the tip. But to come back to my original question, is it even possible? Not just for this. In general it can be a much easier way to download and keep up to date software libraries/packages. Quintin Beukes On Thu, Oct 8, 2009 at 4:52 PM, Jamie Whitehouse wrote: > You may want to lo

Re: maven-ant-run plugin 1.3 error java.lang.NoSuchMethodError: org.apache.tools.ant.util.FileUtils.close

2009-10-08 Thread Jörg Schaible
Hi Mark, Mark Struberg wrote: > Hmm maybe it's as simple as that: the maven-antrun-plugin only has the > core dependencies on board. Look at the stack trace, it seems to imply that he did classes use from ant core only. - Jörg --

Re: maven-ant-run plugin 1.3 error java.lang.NoSuchMethodError: org.apache.tools.ant.util.FileUtils.close

2009-10-08 Thread Mark Struberg
Hmm maybe it's as simple as that: the maven-antrun-plugin only has the core dependencies on board. If your ant scripts make use of additional functions, you have to add those jars as dependencies. E.g.: > > maven-antrun-plugin > ... > > >ant >ant-nodeps >1.6.5 > > >

Re: maven-ant-run plugin 1.3 error java.lang.NoSuchMethodError: org.apache.tools.ant.util.FileUtils.close

2009-10-08 Thread Jörg Schaible
Hi Doug, Doug Daniels wrote: > I'm building a maven project that uses the maven-ant-run plugin and I'm > getting an error about a missing method from Ant. Does this happen in a multi-project build or when you try to build the project directly? Which other plugins did run before the install phase

Re: Maven/Nexus/Hudson/EC2

2009-10-08 Thread Brian Fox
On Thu, Oct 8, 2009 at 12:14 PM, Michael Hüttermann wrote: > What could be a practical scenario in the CI context for Clouding ? I could see it being handy as temporary or sporadic load extension, or alternative config support. IOW, once a day to run a build on a different jdk/browser/os/other, d

RE: My application is not getting compiled using Maven

2009-10-08 Thread Damon Silver
'mvn dependency:tree' -Original Message- From: rasahere [mailto:rasa.still.h...@gmail.com] Sent: Wednesday, October 07, 2009 11:57 PM To: users@maven.apache.org Subject: Re: My application is not getting compiled using Maven unmappable character for encoding UTF8 is the warning which i

Re: Maven/Nexus/Hudson/EC2

2009-10-08 Thread Michael Hüttermann
What could be a practical scenario in the CI context for Clouding ? Michael > On Thu, Oct 8, 2009 at 4:52 AM, Anders Hammar wrote: >> Yes, I was thinking about that one. Didn't really come to a good >> conclusion. >> >> Pros: >> * Easy to scale out >> * Easy to start up (you don't have to buy t

Re: Maven/Nexus/Hudson/EC2

2009-10-08 Thread Brian Fox
On Thu, Oct 8, 2009 at 4:52 AM, Anders Hammar wrote: > Yes, I was thinking about that one. Didn't really come to a good conclusion. > > Pros: > * Easy to scale out > * Easy to start up (you don't have to buy the hardware etc) > > Cons: > * Security (if you need to retrieve the code and you don't w

Images are not coming while generating the pdf/rtf book

2009-10-08 Thread Mr Debasis
Hi All, I am using Doxia plugin to generate the user guide in pdf format. I have written the file in APT format.I am executing the render-book goals and generating the pdf. The images are not coming i have written in the APT like below [images/aglite-modules.bmp] . my directory structure is--

RE: maven-ant-run plugin 1.3 error java.lang.NoSuchMethodError: org.apache.tools.ant.util.FileUtils.close

2009-10-08 Thread Doug Daniels
It appears that there are a couple other cases of this occurring around August 27th 2009, in some open source projects. http://www.mail-archive.com/uima-...@incubator.apache.org/msg10531.html I'm running with mvn -v: Apache Maven 2.2.1 (r801777; 2009-08-06 14:16:01-0500) Java version: 1.6.0_16 J

maven-ant-run plugin 1.3 error java.lang.NoSuchMethodError: org.apache.tools.ant.util.FileUtils.close

2009-10-08 Thread Doug Daniels
I'm building a maven project that uses the maven-ant-run plugin and I'm getting an error about a missing method from Ant. org.apache.maven.plugins

Assembly plugin packaging the EAR md5 check sum

2009-10-08 Thread Paul G
Can anyone please tell me how I can use the assembly plugin to package the MD5 checksum for my ear file. I currently use the assembly to package up the ear and external properties files but can not work out how to generate the MD5 and package this as well. Any help would be much appreciated. Che

RE: Capturing a Dependency into Local Repository

2009-10-08 Thread Jamie Whitehouse
You may want to look at the Maven Ant Tasks. They're very useful to integrating Ant with Maven's dependency management and artifact handling. http://maven.apache.org/ant-tasks/index.html -Original Message- From: quin...@skywalk.co.za [mailto:quin...@skywalk.co.za] On Behalf Of Quintin B

[ANN] Maven Plugin Tools 2.5.1 Released

2009-10-08 Thread Benjamin Bentmann
The Maven team is pleased to announce the release of the Maven Plugin Tools, version 2.5.1. This plugin assists authors of Maven plugins in the creation of a plugin descriptor and documentation by scanning the plugin sources for mojo annotations. See the plugin's site for more details: htt

Possible to check for duplicate classes in Maven dependency list?

2009-10-08 Thread laredotornado
Hi, I"m using Maven 1.1 on Mac OS X. I'm running some unit tests and wondering, how would I tell in my dependency list, if a class is listed (being downloaded) multiple times. By class, I would consider "my.class.abc.Dave" different than "my.class.def.Dave". Thanks, - Dave -- View this messag

Re: Porting maven generated war files and ear files to weblogic 10.3

2009-10-08 Thread Jim Collings
> Exceptions when trying to deploy are as follows: > > INFO: ... initialized Struts-Spring integration successfully > java.lang.Exception: Could not load > servers/AdminServer/tmp//appmergegen_1254502686535_OurApp/war/WEB-INF/classes/com... I wonder if this might be related to staging but I've fid

Re: Setting Java heap space

2009-10-08 Thread Lionel van den Berg
Thanks. It seems there are no ideal solutions but I guess I can work within the suggestions made. Just a pain that all developers will have to configure their own MAVEN_OPTS which ever way they choose to do it. Cheers Lionel 2009/10/8 Edelson, Justin > Did you read this thread: > http://www.n

Re: Getting error while configuring Maven

2009-10-08 Thread Anders Hammar
What kind of workaround are thinking about? If it's blocking, it is. One way of solving this could be settings up an internal mirror of central, like if you don't have an Internet connection. However, that is a VERY troublesome road to walk. I've tried it myself for a customer and we're migrating a

Re: Differences between app servers

2009-10-08 Thread Néstor Boscán
Hi jim The libraries goes on the web-inf/lib directory. I dont think there is a global library option like oc4j in weblogic, something that im really missing. Regards, Nestor On 10/8/09, Jim Collings wrote: >> But it still is incredibly annoying that I have to send the war file with >> all lib

Re: Differences between app servers

2009-10-08 Thread Jim Collings
> But it still is incredibly annoying that I have to send the war file with > all libraries to make it to work. Clarification? Are you installing the jar libraries as Oracle shared libraries or something? I'm totally gonna blow a gasket if I have to do that. I've created a new thread with more

Porting maven generated war files and ear files to weblogic 10.3

2009-10-08 Thread Jim Collings
If we can figure this issue out, I'll see if I can't publish/post a maven-based solution in the Maven and Oracle forums so that others will not have to go through our pain. We are having all the usual problems regarding where Weblogic expects to find things and what exclusions need to be made in w

RE: Setting Java heap space

2009-10-08 Thread Edelson, Justin
Did you read this thread: http://www.nabble.com/-Maven%27s-memory--How-to-avoid-adding-the-MAVEN_OPTS-variable--td25788729.html This should answer most of your question. As for setting it on the command line, that's not possible AFAIK. What you can do is create multiple mvn.bat files which hav

Capturing a Dependency into Local Repository

2009-10-08 Thread Quintin Beukes
Hey, I am slowly converting our projects to maven, though some are still standard ant projects. I've been changing the dependency JAR paths of the ant projects to point into the maven repositories though (makes it much easier since I don't have to keep thousands of tar.gz's and their extracts lyi

Creating a branch in non-interactive mode

2009-10-08 Thread Matt Milliss
I have a project on a particular version eg 09.20.00-SNAPSHOT I want to create a branch so I run the following command; mvn release:branch -DbranchName=09.20.00_BRANCH -DupdateBranchVersions=true -DupdateWorkingCopyVersions=false and when prompted for the branch version I enter 09.20.01-SNAPS

Re: Wagon protocol 'scm' doesn't support directory copying

2009-10-08 Thread Open Source Dept
Thanks a lot, I'll try wagon-svn then. The openmaximo.net Team http://www.openmaximo.net/ On Mon, Oct 5, 2009 at 13:58, Edelson, Justin wrote: > Not with wagon-scm, but you can with https://wagon-svn.dev.java.net/. > > > > From: Open Source Dept [mailto:o...@ope

Re: Getting error while configuring Maven

2009-10-08 Thread anshree123
Hi Thanks for the reply. I tried the changes. You are right the problem is with the proxy, it is blocking the download of the plugins. Is there any workaround? I did a quick check in an xml editor and it looks ok. Are you able to do anything with Maven? If not, the proxy settings is incorrect or

Maven classifiers and profiles dependencies inheritance

2009-10-08 Thread Cornuau Frédéric
Hello, I've a project with 2 profiles defined as follows: jdk1.5 maven-jar-plugin jdk1.5 org.bouncycastle bcprov-jdk15 1.43

Re: Maven/Nexus/Hudson/EC2

2009-10-08 Thread Anders Hammar
Yes, I was thinking about that one. Didn't really come to a good conclusion. Pros: * Easy to scale out * Easy to start up (you don't have to buy the hardware etc) Cons: * Security (if you need to retrieve the code and you don't want to have your version management system publicly available) * If

Re: Maven/Nexus/Hudson/EC2

2009-10-08 Thread Michael Hüttermann
that is a good point. What do you think about running a build server in the Cloud while having the repo manager locally ? > While seeing the benefits of services and also of using the cloud in > general, I'm having a hard time ignoring the fact that I would like to > have > my repo manager locall

Re: Maven/Nexus/Hudson/EC2

2009-10-08 Thread Anders Hammar
There is also Artifactory Online, a repo manager "service". While seeing the benefits of services and also of using the cloud in general, I'm having a hard time ignoring the fact that I would like to have my repo manager locally. One great benefit of a repo manager is improved speed when downloadi

Re: Differences between app servers

2009-10-08 Thread Néstor Boscán
You know, after a lot of fighting on getting a war file to work with WebLogic 10.3 I finally was a able to make it work. I did have to create the weblogic.xml on the WEB-INF directory: http://www.bea.com/servers/wls810/dtd/weblogic810-web-jar.dtd";> true But it still is incredibly ann

Re: [Maven's memory] How to avoid adding the MAVEN_OPTS variable?

2009-10-08 Thread Ivalo
As you see using these command files (mavenrc , .mavenrc or mavenrc_pre.bat) this is nothing to do with Maven plugins, the command files are called mvn command files itself. So every time you execute mnv command the set MAVEN_OPTS are effective. Markku Paul Benedict wrote: Just so you guys kn

Re: Maven/Nexus/Hudson/EC2

2009-10-08 Thread Jason van Zyl
On 2009-10-07, at 9:38 AM, Michael Hüttermann wrote: Hello, do you plan to continue the work in the context nexus/hudson/ec2 you kicked off and described here: http://www.sonatype.com/people/2009/06/nexus-open-source-and-hudson-on-ec2/ That's orthogonal to anything we're doing with Maven.

Re: Getting error while configuring Maven

2009-10-08 Thread Anders Hammar
I did a quick check in an xml editor and it looks ok. Are you able to do anything with Maven? If not, the proxy settings is incorrect or something is blocking central. You could try adding a different repo and see if that works (it would then rule out the proxy setting as incorrect). Try adding one

Re: pdf/site plugin and images not found

2009-10-08 Thread Lukas Theussl
Can you attach a simple test project to http://jira.codehaus.org/browse/MPDF, that would help me reproduce that. First guess is that the pdf plugin doesn't have a 'resourcesDirectory' parameter like the site plugin, resources are expected to be in ${siteDirectory}/resources ("resources" bein