error on site goal

2007-08-21 Thread Claudio Tamietto
I'm tryng to use maven 2.0.7 with the following POM ?xml version=1.0 encoding=UTF-8? !-- /*** * Copyright (c) 2005, 2007 Naci Dai, Lawrence Mandel, and Arthur Ryman. * All rights reserved. This program and the

Re: artifactory - maintaining a public-repo cache

2007-08-21 Thread Wayne Fay
Leave your repos configured as is, and run: mvn help:effective-pom Look for the repositories section. Specifically, look for the entry with id central. If it looks like this: repository... idcentral/id urlhttp://repo1.maven.org/maven2/url /repository Then you are not forcing your Maven

Re: error on site goal

2007-08-21 Thread Tim Kettler
Hi, have a look here [1] for how to configure the project-info-reports plugin to only render a set of specified reports. However, when doing 'mvn site' on your pom I don't get the error you posted. The scm-report generated page just contains a 'No source configuration management system is

R: error on site goal

2007-08-21 Thread Claudio Tamietto
i have deleted .m2/repository/org/apache/maven/scm/maven-scm-provider-cvsexe/ e restarted maven but i obtain the error attempting to create parent directories for destination: maven-scm-provider-cvsexe-1.0-beta-3.pom.tmp Downloading [central] -

RE: (Simple) POM in YAML

2007-08-21 Thread Minto.van.der.Sluis
Hi Eric and others :-) I have some remarks considering YAML. - IMHO YAML editor support is less than XML support. - How does YAML work with the maven release plugin? AFAIK the release plugin modifies the pom file. When using YAML it modifies the intermediate pom.xml file, not the pom.yml file.

Re: R: error on site goal

2007-08-21 Thread Tim Kettler
The pom in the central repo [1] is valid. This has to be something in your environment. Have you configured a http proxy, repository proxy or defined a mirror for central that could be causing this? -Tim [1]

war naming

2007-08-21 Thread John Coleman
Hi, We have an issue with naming wars. Our Maven2 project is used to build releases for a variety of clients, each client has their own particular payload for the projects WAR, however regardless of the configuration the final name is always the same. This satisfies the jetty run plugin

R: R: error on site goal

2007-08-21 Thread Claudio Tamietto
No , i haven't configured a hhtp proxy o repository proxy . However maven is installed on a vmware machine with windows 2003 enterprise edition. Can this triggers some problems ? -Messaggio originale- Da: Tim Kettler [mailto:[EMAIL PROTECTED] Inviato: martedì 21 agosto 2007 10.37 A:

maven-antrun-plugin wont run

2007-08-21 Thread Mac-Systems
Hello, may someone can give me a hint what i am doing wrong while i try to exceute the ANT Plugin in one of my Subprojekts of a Multiprojekt. build plugins !-- Version muss spaeter im Master Pom vergeben werden -- plugin

Re: Confluence Maven Plugin

2007-08-21 Thread Stefano Bagnara
Hi Jason, I see all of the links return 404... what did it happen to the project? I don't know if this is a goal of this plugin, but I think a very useful way to integrate maven 2 projects and confluence would be to have a command to export confluence pages to xml in the src/site/confluence

Re: R: R: error on site goal

2007-08-21 Thread Tim Kettler
I'm not using windows so I can't really comment but I don't think that vmware or windows in general are causing this kind of problems. I would suggest the following to further nail down the cause: - look at the contents of the files in your local repository sometimes the HTML error pages are

R: R: R: error on site goal

2007-08-21 Thread Claudio Tamietto
The problems was a filter on a firewall ( not on my notebook ) Thank you for help me -Messaggio originale- Da: Tim Kettler [mailto:[EMAIL PROTECTED] Inviato: martedì 21 agosto 2007 11.23 A: Maven Users List Oggetto: Re: R: R: error on site goal I'm not using windows so I can't really

Re: maven-antrun-plugin wont run

2007-08-21 Thread Tim Kettler
Hi, invoking 'mvn compile' on this pom: --- project modelVersion4.0.0/modelVersion artifactIdmy-test-app/artifactId groupIdmy-test-group/groupId version1.0-SNAPSHOT/version build plugins !-- Version muss spaeter im Master Pom vergeben werden -- plugin

[Problem in Using] about the goal: surefire-report:report-only

2007-08-21 Thread Cheng-Zi Xu
hi, all: Today, I check out the apacheDS release 1.0.2 from the svn, and want run the unit-test on Harmony[2] using maven 2.0.5. the script for test is: mvn -Djvm=..\java.exe surefire:test //for unit test mvn -Djvm=..\java.exe -Dintegration surefire:test //for integration test the process of

release plugin

2007-08-21 Thread John Coleman
Before I did my release prepare and perform, my scm connection read: scm connectionscm:svn:svn://ldnbank01-srv/banking/toolbox/maven-plugins/ro le-replacer/trunk/connection /scm In the next release pom it has left the connection as the prior release tag? scm

buildNumber plugin error

2007-08-21 Thread DCVer
I added the maven buildnumber plugin to a project and it worked quite fine. But 2 developers say, that they receive such an error, while building the project (mvn install): [...] [INFO] [buildnumber:create {execution: default}] [INFO] Storing buildNumber: null [INFO]

release:prepare must be runned twice?

2007-08-21 Thread Alexandre Gomes
Hi everybody. Is that a must to run release:prepare twice to have a release prepared under CVS? Look the sequence below. With CVS, the problem in step 5 always happens but not in SVN. Well, I think release:prepare always changes the release.properties file. So, why isn't the plugin smart enough to

Re: [maven-ant-tasks] Authentication from settings.xml without using POM?

2007-08-21 Thread Benjamin Bentmann
Hervé BOUTEMY wrote: Did you check http://jira.codehaus.org/browse/MANTTASKS-85? From the description of your problem, I think you're facing the same issue. Can you test the patched version provided in the Jira issue and confirm if it's ok or not? Hervé You're right, the mentioned

RE: release:prepare must be runned twice?

2007-08-21 Thread nick_stolwijk
Why would you check in release.properties? AFAIK, it is a more common use case to let your SCM ignore the release.properties. I guess your release:prepare would run smooth. Hth, Nick Stolwijk -Original Message- From: Alexandre Gomes [mailto:[EMAIL PROTECTED] Sent: Tue 8/21/2007 1:53

Maven 2 - Maven 1 converter

2007-08-21 Thread nick_stolwijk
I have found the maven 2 plugin to convert a project.xml (maven 1) to a pom.xml (maven 2). Is there also a maven 1 or maven 2 plugin, which converts a pom.xml to a project.xml? With regards, Nick Stolwijk

Re: release:prepare must be runned twice?

2007-08-21 Thread houzecl
I take advantage of your post to ask a question about the release prompts: (...) What is the release version for SEAUP? (br.com.seatecnologia:seaup) 2.0.18: : What is SCM release tag or label for SEAUP? (br.com.seatecnologia:seaup) seaup-2_0_18: : What is the new development version for SEAUP?

Re: release:prepare must be runned twice?

2007-08-21 Thread Marcel Schutte
version 2.0-beta-5 of the maven-release-plugin will automatically transform all dots to underscores before tagging. Regards, Marcel - Original Message From: houzecl [EMAIL PROTECTED] To: users@maven.apache.org Sent: Tuesday, August 21, 2007 2:41:36 PM Subject: Re: release:prepare must

Re: Maven 2 - Maven 1 converter

2007-08-21 Thread Lukas Theussl
Yeah! I want that too! :) -Lukas [EMAIL PROTECTED] wrote: I have found the maven 2 plugin to convert a project.xml (maven 1) to a pom.xml (maven 2). Is there also a maven 1 or maven 2 plugin, which converts a pom.xml to a project.xml? With regards, Nick Stolwijk

Re: release:prepare must be runned twice?

2007-08-21 Thread Michael Meyer
Hi release.properties and pom.xml.releaseBackup should not be under version control. They are only temporary files. Cheers, michael Alexandre Gomes wrote: Hi everybody. Is that a must to run release:prepare twice to have a release prepared under CVS? Look the sequence below. With CVS, the

Re: Ant tasks for Maven and java.net dependencies

2007-08-21 Thread Werner Guttmann
Done. http://jira.codehaus.org/browse/MANTTASKS-86 Thanks Werner Hervé BOUTEMY wrote: Le mardi 5 juin 2007, Werner Guttmann a écrit : Is it okay for you if I create a Jira issue and attach all artefacts to it ? Yes, please file a Jira issue with pom.xml and build.xml: I'll investigate on

Re: maven-antrun-plugin wont run

2007-08-21 Thread Mac-Systems
Thanks a lot, i was able to figure out which is the exact Problem: If i run compile the Phase will trigger the ANT Plugin. If i run install for example i thought the phase generate source phase will executed automaticly as install is higher. This seems to be wrong or my ANT Plugin must be

Re: (Simple) POM in YAML

2007-08-21 Thread Alan D. Salewski
On Mon, Aug 20, 2007 at 09:21:01PM -0400, John Casey spake thus: Hey Eric, Looks interesting, but it does make my eyes hurt just a little to read. :) -john The Ruby? The YAML? Oh, you must mean the XML! ;-) -- :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: ::

deploy goal fails

2007-08-21 Thread John Coleman
I have used a classifier on the war plugin, and it looks like this spoils the deploy, but the error message doesn't seem related. Does anyone understand this error pls? TIA John [deploy:deploy] altDeploymentRepository = null [INFO]Retrieving previous build number from repo

Re: (Simple) POM in YAML

2007-08-21 Thread Eric Redmond
On 8/21/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi Eric and others :-) I have some remarks considering YAML. - IMHO YAML editor support is less than XML support. Rest assured, it is not your humble opinion, it is indeed a fact that YAML support is less than XML support! :) Of

Re: (Simple) POM in YAML

2007-08-21 Thread Alan D. Salewski
On Tue, Aug 21, 2007 at 10:07:59AM +0200, [EMAIL PROTECTED] spake thus: Hi Eric and others :-) I have some remarks considering YAML. - IMHO YAML editor support is less than XML support. I imagine that is true. However, there is a YAML mode for emacs here:

RE: (Simple) POM in YAML

2007-08-21 Thread Vihung Marathe
Fun experiment - yes. As much as playing about with YAML to generate XML is. Simple way to get moving fast - no. It assumes that YAML is easier to work with than XML. Certainly not if you are using any half decent editor. XML 'ugly'? h. -Original Message- From: Eric Redmond

Dependency management

2007-08-21 Thread robert . egan
I have a question that I hope isn't too basic. I've been trying to reconcile the behavior of dependency management with my expectations. I'll state in advance that I'm more than willing to admit that my expectations might be unrealistic. We've got a home grown dependency mechanism that works

RE: Performance issues with multiple continuum instances on single server

2007-08-21 Thread Eric Roberts
Anyone have any suggestions? -Original Message- From: Eric Roberts [mailto:[EMAIL PROTECTED] Sent: Thursday, August 16, 2007 12:00 PM To: [EMAIL PROTECTED] Subject: Performance issues with multiple continuum instances on single server I am currently running 2 instances of continuum as

Re: deploy goal fails

2007-08-21 Thread Wayne Fay
Caused by: java.io.FileNotFoundException: Z:\jcoleman\projects\eTraderII\trunk\target\classes (Access is denied) at java.io.FileInputStream.open(Native Method) That's your root problem. I can't tell you why its happening or what it means, but that's the reason your deploy is failing.

Re: artifactory - maintaining a public-repo cache

2007-08-21 Thread Farhan Sarwar
Well yeah i do have the entry, and i will modifying it the way you suggested, so as to make sure that all the requests go through the proxy. Thanks and Regards, Farhan. On 8/21/07, Wayne Fay [EMAIL PROTECTED] wrote: Leave your repos configured as is, and run: mvn help:effective-pom Look for

RE: [Maven2] : Failed to validate POM warnings (making a lot of really annoying logs !)

2007-08-21 Thread Joel COSTIGLIOLA (Services DPT SYSTEME D INFORMATION METIER)
Hi, Good news ! The annoying warnings have been eliminated after changing weblogic system scoped dependencies to maven one by using mvn install:install-file command. I still have one system scoped dependency for sun's tools.jar but it does not generates warning maybe because ${java.home} is

Re: Dependency management

2007-08-21 Thread Eric Redmond
On 8/21/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I have a question that I hope isn't too basic. I've been trying to reconcile the behavior of dependency management with my expectations. I'll state in advance that I'm more than willing to admit that my expectations might be unrealistic.

RE: deploy goal fails

2007-08-21 Thread John Coleman
It's strange because this is a mapped drive over a local disk, and the folder exists and contains classes. But this looks somewhat like a network permissions problem? Other deployments from this drive work fine. John -Original Message- From: Wayne Fay [mailto:[EMAIL PROTECTED] Sent: 21

Eclipse 3.3 plugin artifacts for Maven 2

2007-08-21 Thread Marshall Schor
We have a Maven 2 build that would like to depend on Eclipse 3.3 plugin artifacts. We've found one repository, http://repo1.maven.org/eclipse/ which has some 3.3 artifacts, but many which we want to depend on are missing, such as org.eclipse.jface.viewers. Is there a public repository which

Re: maven-antrun-plugin wont run

2007-08-21 Thread Tim Kettler
Mac-Systems schrieb: Thanks a lot, i was able to figure out which is the exact Problem: If i run compile the Phase will trigger the ANT Plugin. If i run install for example i thought the phase generate source phase will executed automaticly as install is higher. This seems to be wrong or my

Re: Dependency management

2007-08-21 Thread robert . egan
Eric Redmond [EMAIL PROTECTED] wrote on 08/21/2007 12:12:55 PM: On 8/21/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I have a question that I hope isn't too basic. I've been trying to reconcile the behavior of dependency management with my expectations. I'll state in advance that I'm

Question on updatePolicy and the way it relates to snapshots

2007-08-21 Thread Farhan Sarwar
Hello Guys, Got a question relating to the updatePolicy tag in the maven repository configuration, so basically an updatePolicy can have one of the 4 possible values i.e. always,daily,interval:X (in minutes) and never. Now my understanding of the way maven handles Snapshot version(s) is that it

Re: Dependency management

2007-08-21 Thread Tim Kettler
[EMAIL PROTECTED] schrieb: Eric Redmond [EMAIL PROTECTED] wrote on 08/21/2007 12:12:55 PM: On 8/21/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I have a question that I hope isn't too basic. I've been trying to reconcile the behavior of dependency management with my expectations. I'll

Re: Dependency management

2007-08-21 Thread Eric Redmond
On 8/21/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Eric Redmond [EMAIL PROTECTED] wrote on 08/21/2007 12:12:55 PM: On 8/21/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I have a question that I hope isn't too basic. I've been trying to reconcile the behavior of dependency

Re: Question on updatePolicy and the way it relates to snapshots

2007-08-21 Thread Eric Redmond
On 8/21/07, Farhan Sarwar [EMAIL PROTECTED] wrote: Hello Guys, Got a question relating to the updatePolicy tag in the maven repository configuration, so basically an updatePolicy can have one of the 4 possible values i.e. always,daily,interval:X (in minutes) and never. Now my understanding

Re: Question on updatePolicy and the way it relates to snapshots

2007-08-21 Thread Farhan Sarwar
I see..so its just the updatePolicy settings which makes maven handle the snapshot in a particular way... Anyways..another scenario i was just wondering about when one has a remote-repository cache and that is ..lets say there exist three snapshots versions of an artifact xyz-1.0-SNAPSHOT 1) in

Re: How to globally set version of dependencies used commonly in child poms

2007-08-21 Thread John Quinn
Why can't you just use the exclusions tag under the child dependency tag(s) in question? This should exclude the child's excluded dependencies from being added to the classpath. Isn't that what you are trying to do? John On 8/20/07, Wayne Fay [EMAIL PROTECTED] wrote: Ultimately, you're

Re: Question on updatePolicy and the way it relates to snapshots

2007-08-21 Thread Eric Redmond
On 8/21/07, Farhan Sarwar [EMAIL PROTECTED] wrote: I see..so its just the updatePolicy settings which makes maven handle the snapshot in a particular way... Yeah, pretty much. Anyways..another scenario i was just wondering about when one has a remote-repository cache and that is ..lets say

Re: Dependency management

2007-08-21 Thread robert . egan
I'd like to thank you again for taking time to work with me on this. I have been asked to address a production problem for now but I will attempt to post a concrete example from home this evening or no later than tomorrow morning (my TZ is GMT +5). Robert Egan Tim Kettler [EMAIL PROTECTED]

[ANN] groovy-maven-plugin 1.0-beta-2

2007-08-21 Thread Jason Dillon
Hiya folks! I gotta say I am really stoked to announce the release of the Groovy Maven Plugin (and related modules) version 1.0-beta-2! This release has some really nice goodies in it for your Maven+Groovy development enjoyment: * Support for mixed Java + Groovy compilation * New goals

[m2] OutOfMemoryError with MAVEN_OPTS=-Xmx1792m

2007-08-21 Thread Mick Knutson
I am putting almost 2GB to a build and still getting permGen errors. Is there something else I can set? -- Thanks, Mick Knutson http://www.baselogic.com http://www.blincmagazine.com http://www.djmick.com http://www.myspace.com/mickknutson http://www.myspace.com/djmick_dot_com

Re: [m2] OutOfMemoryError with MAVEN_OPTS=-Xmx1792m

2007-08-21 Thread Heinrich Nirschl
On 8/21/07, Mick Knutson [EMAIL PROTECTED] wrote: I am putting almost 2GB to a build and still getting permGen errors. Is there something else I can set? -XX:MaxPermSize=size - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: [m2] OutOfMemoryError with MAVEN_OPTS=-Xmx1792m

2007-08-21 Thread Mick Knutson
Thanks On 8/21/07, Heinrich Nirschl [EMAIL PROTECTED] wrote: On 8/21/07, Mick Knutson [EMAIL PROTECTED] wrote: I am putting almost 2GB to a build and still getting permGen errors. Is there something else I can set? -XX:MaxPermSize=size

[ANN] maven ear plugin 2.3.1 released

2007-08-21 Thread Stephane Nicoll
The maven team is pleased to announce the maven ear plugin 2.3.1 release. Release Notes - Maven 2.x Ear Plugin - Version 2.3.1 ** Bug * [MEAR-53] - ejb-client dependencies should not be treated as J2EE application client modules * [MEAR-58] - ear plugin should only copy modules if they

Re: expand war deps

2007-08-21 Thread Stephane Nicoll
You don't need to have common-war as a dependency if you provide all details in the ArtifactItem section of the configuration. Removing the dependency and add the version to ArtifactItem will just run fine and it's not a hack (Note if you unpack the jar in the war, it is provided so it's not a

plugin to deploy to sourceforge ...

2007-08-21 Thread Giovanni Azua
Hi all, I was researching for a plugin to deploy my build tar,zip etc into my project's sourceforge repository, I found maven sourceforge plugin (http://maven-plugins.sourceforge.net/maven-sourceforge-plugin/) but does not smell to support Maven 2 see the last publication date is January 2006.

Re: [Maven2] : Failed to validate POM warnings (making a lot of really annoying logs !)

2007-08-21 Thread Stephane Nicoll
On 8/21/07, Joel COSTIGLIOLA (Services DPT SYSTEME D INFORMATION METIER) I still have one system scoped dependency for sun's tools.jar but it does not generates warning maybe because ${java.home} is defined in maven core (?) It's a standard System property in any JVM

Failed to resolve artifact for surefire 2.3

2007-08-21 Thread dberning
Forgive my lack of knowledge of Maven (haven't really used it much yet), but I'm trying to use Maven to run unit tests on code using the surefire plugin. I'm probably missing something simple, but it appears when Maven goes to the repository to resolve a surefire dependency, it doesn't find the

RE: expand war deps

2007-08-21 Thread Brian E. Fox
Actually, it looks like you put the entry below in dependencies, not dependencyManagement. But if you don't want it in lib, then you should only specify it in the artifactItems so it's not handled like a normal dependency. -Original Message- From: Stephane Nicoll [mailto:[EMAIL

A unit test error with maven

2007-08-21 Thread flyingtiger
I have a unit test that I want to run run setUp() and tearDown() code once for all of my tests. I use an inner class as a wrapper to do the job. it worked fine with eclipse but with mvn test I got error junit.framework.AssertionFailedError: Class Order$OrderChargeTest has no public constructor

RE: A unit test error with maven

2007-08-21 Thread Bryan Loofbourrow
with mvn test I got error junit.framework.AssertionFailedError: Class Order$OrderChargeTest has no public constructor TestCase(String name) or TestCase() If memory serves, I think the solution is to make sure all your classes (inner included) have a no-args constructor (or, as appropriate, a

Re: Dependency management

2007-08-21 Thread robert . egan
As promised: I wrote on 08/21/2007 03:13:21 PM: I'd like to thank you again for taking time to work with me on this. I have been asked to address a production problem for now but I will attempt to post a concrete example from home this evening or no later than tomorrow morning (my TZ is

Re: Failed to resolve artifact for surefire 2.3

2007-08-21 Thread Wayne Fay
That URL works just fine for me. Try again, or get your Network Admin involved if your troubles continue. Wayne On 8/21/07, dberning [EMAIL PROTECTED] wrote: Forgive my lack of knowledge of Maven (haven't really used it much yet), but I'm trying to use Maven to run unit tests on code using

Re: Dependency management

2007-08-21 Thread Wayne Fay
I think what you really want is simply a dependency on artifact1 and artifact2 in your artifact3 pom, not module../artifact1/module. I'm a little surprised that ../ notation is even allowed in the module node, to be honest. Then, when you build from the top, all of your projects will be built in

RE: A unit test error with maven

2007-08-21 Thread flyingtiger
I changed the inner class to public static class Wrapper extends TestSetup { public Wrapper(){ ; } public Wrapper(Test arg0) { super(arg0); //

RE: Question on updatePolicy and the way it relates to snapshots

2007-08-21 Thread Dave Hoffer
Or you can add updatePolicyalways/updatePolicy to your settings.xml's repository section and make releases and/or snapshots always update which should be the default behavior IMHO. -Dave -Original Message- From: Eric Redmond [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 21, 2007 2:57

Re: Dependency management

2007-08-21 Thread robert . egan
Wayne Fay [EMAIL PROTECTED] wrote on 08/21/2007 08:52:31 PM: I think what you really want is simply a dependency on artifact1 and artifact2 in your artifact3 pom, not module../artifact1/module. I'm a little surprised that ../ notation is even allowed in the module node, to be honest. Then,

Re: A unit test error with maven

2007-08-21 Thread Nathaniel Stoddard
I think what you want to do is add the Wrapper class to your list of excluded files. exclude**/Wrapper/exclude or something like that. The static inner class is throwing me off, but you get the idea. At this point, surefire is instantiating it just fine, but can't find any testXXX