Re: Exception transfering site files via webdav

2007-11-01 Thread Heinrich Nirschl
> uploading a site file with site:site has worked quite well for me > until a few months ago. Now, I consistantly get an exception half way > through the process. The only thing that really changed, I think, is > the size of the projects: more files. here's the exception: > Embedded error: Fail

RE: Ideas for integrating the code for a custom build step into project source code

2007-11-01 Thread Jeff Jensen
Done "completely", I don't think it is a smell, but a good solution. I suggest: 1. Make a "custom PMD" project that contains your Java rules and PMD rules files, and its own POM. The artifact type is a jar. 2. Deploy/install the jar to your corporate repo (or local if not available). 3. Add

Exception transfering site files via webdav

2007-11-01 Thread Dmitry Beransky
Hi, uploading a site file with site:site has worked quite well for me until a few months ago. Now, I consistantly get an exception half way through the process. The only thing that really changed, I think, is the size of the projects: more files. here's the exception: Embedded error: Failed t

Re: How to properly set jar versions for builds

2007-11-01 Thread Michael McCallum
the right way is not not externalise the versions a pom should be the formal defiintion of your project at an instant of time... if you externalise information the contract breaks down as you have discovered... if you need to provide a common place for 3rd party library versions for your projec

Re: Maven alias phases/goals

2007-11-01 Thread Wayne Fay
Who said anything about Ant doing things wrong? I simply submit that Maven's approach is rather unlike Ant's approach, and you need to understand how Maven does things which will require some reading on your part. (You may not remember it now, but at some point you had to do some reading about Ant,

Surefire question regarding Swing/EDT

2007-11-01 Thread Laird Nelson
I have followed the instructions here ( http://stuffthathappens.com/blog/2007/09/14/junit-3x-and-the-event-dispatch-thread/) to write a JUnit4 test runner that makes sure that tests are run on the event dispatch thread. Sure enough, if I assertTrue( java.awt.EventQueue.isDispatchThread()) inside a

RE: Maven alias phases/goals

2007-11-01 Thread Roshan A. Punnoose
Just because Maven provides another way at looking at builds doesn't mean that some of the things that Ant did are wrong. I've been doing some reading online and it seems like you are allowed to create "aggregrator" plugins? Is there any good documentation on this? p.s. Maven provides phases t

Re: Dependencies using underscore to add version

2007-11-01 Thread Wayne Fay
Not that I'm aware of. Why do you need to use "_" instead of "-"? Wayne On 11/1/07, Felix Knecht <[EMAIL PROTECTED]> wrote: > Hi all > > I haven't found anything about this in the FAQs googling. Therefore my > question. > > Can I have a dependency named foo.bar_1.0.0.jar? > Note the underscore a

RE: maven-release-plugin best practice question

2007-11-01 Thread Brian E. Fox
Don't use enforce-once, just use enforce. -Original Message- From: maarten roosendaal [mailto:[EMAIL PROTECTED] Sent: Thursday, November 01, 2007 8:20 AM To: Maven Users List Subject: Re: maven-release-plugin best practice question Hi, I found the problem, i was also using the enforcer-

Re: Maven alias phases/goals

2007-11-01 Thread Wayne Fay
You've got some reading to do. The Sonatype book and Better Builds with Maven book (free PDF books you can download online) are a good place to start your reading. Wayne On 11/1/07, Roshan A. Punnoose <[EMAIL PROTECTED]> wrote: > Is it possible to combine goals and phases under one goal? Like in

Deploying assembly artifacts for download

2007-11-01 Thread Cam
Hi all, I'm looking to setup a method for auto-deploying some project artifacts which have been packaged using the assembly plugin so they can be downloaded through the site. Right now i'm generating a tarball of an artifact and want to have it copied to a web server directory so i can link

Windows domain in username

2007-11-01 Thread chris_
Hi, I am trying to add a maven 2.0.x project but have not figured out how to specify a username that must contain the windows domain. Below are the settings that I think should work: Add Maven 2.0+ Project POM Url: http://myserver:8080/svn/my_code/my_project/trunk/pom.xml Username: mydomain\myus

How to properly set jar versions for builds

2007-11-01 Thread Mark_E
I am having an issue setting jar versions in Maven and trying to resolve this through Best Practices What I have is my project pom.xml that will build project MyJar. In the Pom, I have dependencies setup like this org.apache xalan ${xalanVersion} In my settings.xml,

SIP Archives (SAR)

2007-11-01 Thread Etienne Hardy XX
Hello all, I'm working on a project where we need to build SIP archives (sar files). sar files have exactly the same layout as war files, with the addition of sip.xml file inside the WEB-INF directory. Of course, SIP archives have the .sar extension. I looked around and found no maven plugin to do

[m2] dashboard error....

2007-11-01 Thread Mick Knutson
I have the following: org.codehaus.mojo dashboard-maven-plugin 1.0-SNAPSHOT ${hibernate.dialect} ${jdbc.driverClass} ${dashboard.connectionUrl }

Re: Migration from beta-3 to beta-4 problem

2007-11-01 Thread Thomas Recloux
No, I exported from a beta-3 to a new beta-4 2007/11/1, Emmanuel Venisse <[EMAIL PROTECTED]>: > > Do you run Export and Import on the same database? > > Emmanuel > > Thomas Recloux a écrit : > > Hi, > > > > I have got the following error during the builds import with the > migration > > tool. > >

Dependencies using underscore to add version

2007-11-01 Thread Felix Knecht
Hi all I haven't found anything about this in the FAQs googling. Therefore my question. Can I have a dependency named foo.bar_1.0.0.jar? Note the underscore as separator of artifactId and version. Is this separator somewhere configurable? Thanks and regards Felix --

RE: Maven alias phases/goals

2007-11-01 Thread Roshan A. Punnoose
Is it possible to combine goals and phases under one goal? Like in Ant, you can say that a certain target depends on a sequential list of multiple targets. Can you do the same thing in maven? Roshan -Original Message- From: Wayne Fay [mailto:[EMAIL PROTECTED] Sent: Thursday, November 01,

[m2] Has anyone configured the dashboard plugin to use Derby Database for persistence?

2007-11-01 Thread Mick Knutson
Has anyone configured the dashboard plugin to use Derby Database for persistence? I find that it might be easier to get an embedded DB instead of another Oracle DB setup so I can track the dashboard plugin -- Thanks, Mick Knutson http://www.baselogic.com http://www.blincmagazine.com http:/

RE: Ideas for integrating the code for a custom build step into project source code

2007-11-01 Thread Karr, David
To clarify one point, I would be integrating the PMD execution into all of the individual subproject builds, so it has to be available to all of them, but the compilation and "deployment" of the PMD custom rule class has to happen before any of the subprojects are processed. > -Original Messag

Re: Simple WAR file question

2007-11-01 Thread Lee Meador
What if your build had two steps. 1) Create a whole new arrangement of folders by copying everything from the original format to a new layout. This is not done to be saved and reused but only to move the contents of all the folders into position so the Maven POM is short and sweet. 2) Build with

Ideas for integrating the code for a custom build step into project source code

2007-11-01 Thread Karr, David
I work on a large application that is built with Maven 1. It has numerous subproject directories. At one point we realized that it would be handy to write a custom build step that would utilize a custom PMD rule class, along with some Ant code that uses the XMLTask library. The Ant code parses a

Maven2 with Netbeans and Glassfish

2007-11-01 Thread Wayne Fay
Just wanted to point out a few recent posts from Wouter van Reeven on the topic of Maven, Netbeans, and Glassfish... Deploying to GlassFish using Maven2 http://technology.amis.nl/blog/?p=2495 Building Enterprise Applications for GlassFish using Netbeans 6.0 (Beta 2) and Maven2 http://technology.a

The issue in maven-clean-plugin

2007-11-01 Thread Yan Huang
Hello, Not sure if anyone encountered the similiar problem with maven-clean-plugin. I've configured this way to remove **/*.java but **/*impl.java in pom. However, this plugin still removes all *.java file: maven-clean-plugin src\mygroupID\m

Re: can't find maven-buildnumber-plugin

2007-11-01 Thread Julian Wood
Yes, the plugin has been moved: http://mojo.codehaus.org/buildnumber-maven-plugin/ J On 1-Nov-07, at 4:48 AM, Nick Stolwijk wrote: The site is also down. Maybe the project ended and they removed it? At least they are still in the Codehaus sandbox and snapshots can be retrieved from their

Re: Maven alias phases/goals

2007-11-01 Thread Wayne Fay
You can alter the mvn.bat file to enable this functionality. But then everyone needs to be using your mvn.bat file, which is not the standard use case. Wayne On 11/1/07, Roshan A. Punnoose <[EMAIL PROTECTED]> wrote: > Is it possible in maven to alias a certain phase or goal? For example, I > have

maven-plugin-plugin failing in reactor

2007-11-01 Thread Nigel Magnay
I have a mojo building with groovy. In my pom I have org.apache.maven.plugins maven-plugin-plugin 2.3 org.codehaus.mojo.groovy groovy-mojo-tools

Re: Newbie: Maven need connection?

2007-11-01 Thread Wayne Fay
Rather than adding -o or --offline with every single execution of Maven, I'd just suggest that you distribute a settings.xml with in it. http://maven.apache.org/settings.html Wayne On 11/1/07, Greg Morgan <[EMAIL PROTECTED]> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > 9.) Ohh..Y

Re: Maven 2 Archetype Plugin & Release 2.0.8

2007-11-01 Thread Jason van Zyl
On 1 Nov 07, at 5:25 AM 1 Nov 07, Brett Porter wrote: The archetype plugin is released independently of Maven - so it won't change the state. The revised architecture of archetype is available on the archetypeng branch if you'd like to test it out and provide feedback, however I don't believe i

Re: Maven 2 Archetype Plugin & Release 2.0.8

2007-11-01 Thread Brett Porter
https://svn.apache.org/repos/asf/maven/sandbox/trunk/archetypeng/ by backwards compat, I was referring to with archetypes and the behaviour of the current archetype plugin. It should work with any version of Maven however. - Brett On 02/11/2007, Trent Rosenbaum <[EMAIL PROTECTED]> wrote: > Thank

Re: New feature suggestion: Page with current queued builds

2007-11-01 Thread olivier lamy
Hi, Try the beta-4, the queues page is there :-) -- Olivier 2007/11/1, Olivier Dehon <[EMAIL PROTECTED]>: > > Hello, > > In my continuum database, I have a large number of projects (400+) and > project groups (50+) which are handled nicely, but at times, there can > be contention and developers w

Re: Maven 2 Archetype Plugin & Release 2.0.8

2007-11-01 Thread Trent Rosenbaum
Thanks for getting back to me. Is this to location for the code? https://svn.codehaus.org/mojo/tags/mojo-14/mojo-sandbox/maven-archetypeng/ I looked under the following location, but there seemed to be no branches https://svn.apache.org/repos/asf/maven/archetype/branches/ When you say it might

Re: Is there a way to restrict the version of maven used?

2007-11-01 Thread Jim Sellers
Thanks all!! ;-) On 11/1/07, Greg Morgan <[EMAIL PROTECTED]> wrote: > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Nick Stolwijk wrote: > > According to the POM model [1] this should be: > > > > > < > http://maven.apache.org/ref/2.0.7/maven-model/maven.html#class_prerequisites > >> > >

Re: Maven 2 Archetype Plugin & Release 2.0.8

2007-11-01 Thread Brett Porter
The archetype plugin is released independently of Maven - so it won't change the state. The revised architecture of archetype is available on the archetypeng branch if you'd like to test it out and provide feedback, however I don't believe it is yet fully backwards compatible (though I'm not sure).

New feature suggestion: Page with current queued builds

2007-11-01 Thread Olivier Dehon
Hello, In my continuum database, I have a large number of projects (400+) and project groups (50+) which are handled nicely, but at times, there can be contention and developers who run forced builds sometimes would like to have an idea of where their builds stands in the queue when it is not star

Re: maven-release-plugin best practice question

2007-11-01 Thread maarten roosendaal
Hi, I found the problem, i was also using the enforcer-plugin in a parent pom.xml. It was configured with goal 'enforce-once' which prevented a correct release:prepare. I've got things working now. Another problem was with Archiva, which is a bit unstable when it comes to deploying 1 artifact

Maven alias phases/goals

2007-11-01 Thread Roshan A. Punnoose
Is it possible in maven to alias a certain phase or goal? For example, I have a goal called sayhi:hello, and all I want a user to enter is mvn sayHello to get it to run. Is that possible? Roshan - To unsubscribe, e-mail: [EMAIL P

Re: can't find maven-buildnumber-plugin

2007-11-01 Thread Nick Stolwijk
The site is also down. Maybe the project ended and they removed it? At least they are still in the Codehaus sandbox and snapshots can be retrieved from their repository [1]. Hth, Nick Stolwijk [1] http://snapshots.repository.codehaus.org/org/codehaus/mojo/buildnumber-maven-plugin/ Gunnar

can't find maven-buildnumber-plugin

2007-11-01 Thread Gunnar Boström
Hi, Today I get this message (it worked yesteraday): [INFO] The plugin 'org.codehaus.mojo:maven-buildnumber-plugin' does not exist or no valid version could be found. It looks like seething has happened with the repo http://commons.ucalgary.ca/pub/m2 Has it been moved? How can I make maven to u

Re: Migration from beta-3 to beta-4 problem

2007-11-01 Thread Dennis Lundberg
I ran into this as well. I think that this has been reported into JIRA as: http://jira.codehaus.org/browse/CONTINUUM-1540 Thomas Recloux wrote: Hi, I have got the following error during the builds import with the migration tool. It looks like the migration tool tries to delete 'BUILDDEFINITI

Re: [checkstyle-plugin] failsOnError does not work

2007-11-01 Thread Ahmed Ashour
Dear all, The reason was the 'severity level' of the custom checkstyle.xml. Sorry for bothering. Ahmed - Original Message From: Ahmed Ashour <[EMAIL PROTECTED]> To: Maven Users List Sent: Thursday, November 1, 2007 11:53:44 AM Subject: [checkstyle-plugin] failsOnError does not work De

Maven 2 Archetype Plugin & Release 2.0.8

2007-11-01 Thread Trent Rosenbaum
Hi there, Can anyone suggest what will be the expected state of the maven archetype plugin when maven 2.0.8 is released? I am really interested in trying out the 'create-from-project' goal. I have been putting off trying it out becuase I am under the impression that a lot of work is still being

Re: 1.1-beta-3 Commiter build failure notifier Continuum-605

2007-11-01 Thread Emmanuel Venisse
Madsen,Bryan a écrit : I understand now. I never went to that screen since I declare my notifiers in the pom. It is working for me now. Thank you. Is there a way to enable this for the entire box instead of on a per project group basis? That would cut down on my admin time. No, but if you

Re: Is there a way to restrict the version of maven used?

2007-11-01 Thread Greg Morgan
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Nick Stolwijk wrote: > According to the POM model [1] this should be: > > > > >2.0.7 > Nick, Thanks for providing the complete answer. Regards, Greg > > Hth, >

Re: 1.1-beta-4 Out of Memory

2007-11-01 Thread Emmanuel Venisse
weird, with only 22 projects, 512m should be enough. What is your jdk? Emmanuel L. J. a écrit : Ok, here is what I have in the plexus.sh PLEXUS_OPTS="$PLEXUS_OPTS -Xmx512m" Thanks. LJ On 10/31/07, Emmanuel Venisse <[EMAIL PROTECTED]> wrote: You use plexus.sh to start Continuum? In this ca

Re: Is there a way to restrict the version of maven used?

2007-11-01 Thread Nick Stolwijk
According to the POM model [1] this should be: http://maven.apache.org/ref/2.0.7/maven-model/maven.html#class_prerequisites>> 2.0.7 Hth, Nick Stolwijk [1] http://maven.apache.org/ref/2.0.7/maven-model/maven.html Greg Morgan wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jim Sell

Re: Is there a way to restrict the version of maven used?

2007-11-01 Thread Greg Morgan
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jim Sellers wrote: > Hi all. > > I know that there is a way to express a version range for a plugin, but is > there a way to do that with a pom? > > So that if someone checks out the source and it's known to work with maven > 2.0.7 and they are using

Re: Deploying 3rd party jar to our repository

2007-11-01 Thread Greg Morgan
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Simon Taylor wrote: > This is the first time ive done this so im probably missing something > simple. > > Relevant Apache looks like this:- > > Alias /maven_repo/ /opt/app/maven_repo/ > > DAV on > Options Indexes FollowSymLinks MultiViews >

[checkstyle-plugin] failsOnError does not work

2007-11-01 Thread Ahmed Ashour
Dear all, Using maven-checkstyle-plugin 2.2-SNAPSHOT, 'failsOnError' does not fail the build. The following is part of POM, there are violations, but build succeeds. Any hints, Many thanks, Ahmed Ashour -

Re: Sonatype Book and Repository Configuration

2007-11-01 Thread Greg Morgan
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Insitu wrote: > Hello Greg, > Setting up webdav in Apache (2.2) is kind of trivial: > > DavLockDB "/var/lock/dav/lock" > > Alias /maven2 "/var/www/maven2" > > > Dav On > AllowOverride None > > > That said, this is a maven list and your qu

Re: Best combination

2007-11-01 Thread Greg Morgan
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 raghu121 wrote: > Hi, > > I want to start using maven, jira, confluence and other OSS products in my > OSS project which I intend to revive soon. Had not been able to do much with > my projet due to too much office work. > > My OSS project is under