Re: Continuum 1.1 alpha 1

2007-04-26 Thread Mattias Andersson
Hi, Nice to see that 1.1 alpha finally has arrived. Will do some testing during the next few days. Found one irritating thing right away during install. When creating the admin account I was limited to 8 characters passwords?! You must provide a password between 1 and 8 characters in length.

RE: All builds failing suddenly

2007-04-26 Thread Doug Tanner
Thanks for the quick response. One question though, why would it suddenly stop working?? Thanks, Doug Tanner -Original Message- From: Morgovsky, Alexander (US - Glen Mills) [mailto:[EMAIL PROTECTED] Sent: Thursday, April 26, 2007 10:19 AM To: continuum-users@maven.apache.org

RE: All builds failing suddenly

2007-04-26 Thread Morgovsky, Alexander \(US - Glen Mills\)
Maybe local permissions changed. Is your environment working now? -Original Message- From: Doug Tanner [mailto:[EMAIL PROTECTED] Sent: Thursday, April 26, 2007 11:05 AM To: continuum-users@maven.apache.org Subject: RE: All builds failing suddenly Thanks for the quick response. One

Re: Problems with maven-assembly-plugin from Netbeans 5.5...

2007-04-26 Thread Antonio Petrelli
2007/4/25, Arne Styve [EMAIL PROTECTED]: Hi Antonio I tried adding version2.2-SNAPSHOT/version to the module plugin, but it didn't find it. How should I og about getting the 2.2 version ? You have to add the snapshot repository to your pom, or to your settings.xml: /* snip */

Re: jar with dependencies in a folder

2007-04-26 Thread JavierL
Finally, it worked...thanks a lot ! Wayne Fay wrote: I could be wrong about that. Check the other examples. You might actually want copy-dependencies. Wayne On 4/25/07, Wayne Fay [EMAIL PROTECTED] wrote: You probably want dependency:unpack-dependencies. Wayne On 4/25/07, JavierL

[m2] Can I skip the modules to build just the top-level site in a reactor build?

2007-04-26 Thread Dave Syer
I have some modules that are quite expensive to build, and if I just want to quickly generate some html at the root project level I haveto wait for them all to finish (even with -Dmavan.test.skip=true it is pretty slow). Is there a way to just build the top level project (site or otherwise) and

Re: [m2] Can I skip the modules to build just the top-level site in a reactor build?

2007-04-26 Thread Tim Kettler
Hi, You can put the expansive modules in a profile that isn't activated by default. -Tim Am Donnerstag, den 26.04.2007, 01:54 -0700 schrieb Dave Syer: I have some modules that are quite expensive to build, and if I just want to quickly generate some html at the root project level I haveto

Re: [m2] Can I skip the modules to build just the top-level site in a reactor build?

2007-04-26 Thread Nick Stolwijk
Or you could use: -N,--non-recursiveDo not recurse into sub-projects as command line parameter. Hth, Nick S. Tim Kettler wrote: Hi, You can put the expansive modules in a profile that isn't activated by default. -Tim Am Donnerstag, den 26.04.2007, 01:54 -0700 schrieb Dave

1.1 RC1 with doccheck plugin

2007-04-26 Thread emerson cargnin
Hi all I installed the plugin correctly with maven plugin:download -DgroupId=doccheck -DartifactId=maven-doccheck-plugin -Dversion=1.4-0.1 And i put the jar on the correct maven repository, besides putting on the remote server (as the remote didn't work i put manually on the local):

maven-assembly-plugin and target directory tree...

2007-04-26 Thread Harris, Philip
I want to create a simple tar file which has two directories, each with a couple of files. When the tar file is extracted, the directories needs to be extracted to the current working directory - not to a subdirectory in the project-version directory. I do not have the luxury of being ablt to

[m2] Assembly Plugin

2007-04-26 Thread ben short
Hi, I'm trying to use the assembly plugin to create a directory in my target Dir called debug. In this I'm going to put everything i need in order to run the project in debug mode via my ide. Currently I have this assembly descriptor assembly iddebug/id formats formatdir/format /formats

Re: What is the Best practice for generating variations of an artifacts?

2007-04-26 Thread Stephen Coy
G'Day, I've just come across this thread. This is a problem that I too have been wrestling with for the last few months, particularly with respect to producing target environment (sit, uat, prod) dependent artifacts. I tend to agree with one of the respondents in that it is best to

Re: 1.1 RC1 with doccheck plugin

2007-04-26 Thread emerson cargnin
yes, worked now : ) thanks On 26/04/07, Lukas Theussl [EMAIL PROTECTED] wrote: user/.maven/repository/doccheck/jars/doccheck_1.2b2.jar It should be $HOME/.maven/repository/doccheck/jars/doccheck-1.2b2.jar HTH, -Lukas

Re: [M2] Eclipse plugin will not generate project descriptor for RAR artifacts?

2007-04-26 Thread Emmanuel Venisse
It's a problem on the rar plugin that doesn't have an artifact handler descriptor. The eclipse plugin look at the handler to define if it's a java project or not, and without this handler, the language of rar project is defined by default to none instead of jar. Please file an issue.

Re: What is the Best practice for generating variations of an artifacts?

2007-04-26 Thread jp4
I have found a solution that works well for me. I use spring in conjuction with a bootstrap variable called env. When I start my container in development env=dev in production it's env=prod. I then use spring to resolve properties based on the environment. For example, a property file would

Re: Continuum 1.1 alpha 1

2007-04-26 Thread Arnaud HERITIER
Why isn't it announced on the web site ? Arnaud On 26/04/07, Mattias Andersson [EMAIL PROTECTED] wrote: Ok, that teaches me for not reading the manual ;) Maybe the documentation url should be included in the next alpha build announcement. Even if it's not completely finished... I've just

Re: [m2] Assembly Plugin

2007-04-26 Thread John Casey
In your POM, you should configure the assembly plugin with the following: finalNamedebug/finalName Although I will say that this will only generate a 'target/debug.dir' directory, not a target/debug one...that's because the assembly format is always appended to the directory/file name. ...oh,

Re: maven-assembly-plugin and target directory tree...

2007-04-26 Thread John Casey
Well, unfortunately I think you're going to wind up with one of two possibilities: 1. you *might* be able to setup filtering for your assembly descriptor, then flip true/false in the includeBaseDirectory/ element...though this may include your assembly descriptor in the resulting jar (not sure

Re: [m2] Assembly Plugin

2007-04-26 Thread ben short
On 4/26/07, John Casey [EMAIL PROTECTED] wrote: In your POM, you should configure the assembly plugin with the following: finalNamedebug/finalName Although I will say that this will only generate a 'target/debug.dir' directory, not a target/debug one...that's because the assembly format is

All builds failing suddenly

2007-04-26 Thread Doug Tanner
All of our builds running on Continuum are suddenly failing due to the following error: Provider message: The svn command failed. Command output: --- svn: PROPFIND request failed on '/svn/enrollment/trunk/4X/cbm'

Re: What is the Best practice for generating variations of an artifacts?

2007-04-26 Thread Wayne Fay
I think several of us would be interested in this approach. Some sample code etc would be great. Wayne On 4/26/07, jp4 [EMAIL PROTECTED] wrote: I have found a solution that works well for me. I use spring in conjuction with a bootstrap variable called env. When I start my container in

Proximity problem (solved)

2007-04-26 Thread spouynt
I've solved my proximity problem ! for those interested by the solution this is a link : http://forum.abstracthorizon.org/viewtopic.php?t=167 (I have some other problems like how to compile in eclipse now so please help your friend --me ;-)--)

Re: mvn jetty:run problem with classloader

2007-04-26 Thread Pete
Hi Steve, Apologies only just saw your post. The above link does have some suggested remedys, however in the end we changed our project to just be a single WAR packaging project, with no subprojects for server side classes. I was a little reluctant to do this at first but it is working very

Compiling anomalies

2007-04-26 Thread spouynt
Hi all, when processing the mvn compile command through the command line I have in response all the errors details in my source code, but, surprisingly, when launching the compile or compiler:compile goal from eclipse I have only this log in return : [INFO]

Re: [m2] Can I skip the modules to build just the top-level site in a reactor build?

2007-04-26 Thread Dave Syer
Nick Stolwijk wrote: -N,--non-recursiveDo not recurse into sub-projects Beautiful. And so simple. Thanks. -- View this message in context: http://www.nabble.com/-m2--Can-I-skip-the-modules-to-build-just-the-top-level-site-in-a-reactor-build--tf3650324s177.html#a10202813

POM Parsing - When is a POM required?

2007-04-26 Thread Dees, Ian \(GE Healthcare\)
I'm using Maven's antlib plugins for an Ant build. When it parses the POM file for the project that I'm building, it somehow determines that it needs to download the POM file for junitx.junit-addons. In our other builds, the POM for this JAR file is not a required download. What is Maven's

How to clean a directory outside the source tree?

2007-04-26 Thread Baz
All, I am trying to clean a directory outside the source tree, how can i do it? I read the following page: http://maven.apache.org/plugins/maven-clean-plugin/examples/delete_additional_files.html What is the specific syntax i need for the include line? I added the following line but nothing

Releasing a branch?

2007-04-26 Thread Crossley, Jim
I used the release plugin to successfully release version 2.0.2.1 of our project. We continued working on the HEAD targeting version 2.0.3 while QA tested 2.0.2.1. To address bugs reported against that release, we created a 2.0.2 branch in CVS. We applied our fixes there. Now it's time to

Re: How to clean a directory outside the source tree?

2007-04-26 Thread Baz
Here are the errors: [INFO] Deleting file-set: C:\Documents and Settings\Administrator\.m2\com (inc luded: [abc/*], excluded: []) [INFO] [ERROR] FATAL ERROR [INFO]

cobertura and hibernate?

2007-04-26 Thread Hugues Pisapia
Hi Folks, I'm running a strange probleme here where I have a project running hibernate/spring that I try to measure the unit test coverage with cobertura. - When the Unit Test are run with 'mvn test', all seems fine and the tests pass - When I run 'mvn cobertura:cobertura' to instrument the

Selenium use Java JUnits or HTML suites ? and Unix platform

2007-04-26 Thread Pete
Just wondered if anyone out there can tell me any of the advantages/disadvantages of using Selenium with JUnits or is it better to use selenese with the HTML suite tests ? I thinking in terms of what is easiest to maintain ? Test on multiple browsers ? Also a related question, at the moment our

Re: Releasing a branch?

2007-04-26 Thread Heinrich Nirschl
On 4/26/07, Crossley, Jim [EMAIL PROTECTED] wrote: I used the release plugin to successfully release version 2.0.2.1 of our project. We continued working on the HEAD targeting version 2.0.3 while QA tested 2.0.2.1. To address bugs reported against that release, we created a 2.0.2 branch in

mvn Install does not install my jar file

2007-04-26 Thread Petr V.
I am calling ant script from my pom file of project. This ant script calls another ant script and result in jar file. Now the question it that I want to install this jar file in maven repository but the jar file after installation contains only pom file. How can I install my resulting jar into

Re: Selenium use Java JUnits or HTML suites ? and Unix platform

2007-04-26 Thread Emmanuel Venisse
I think it's better to use it with JUnit. With JUnit tests, you can reuse your code in all your tests and if your web interface change, you'll need to modify the test at one place. With HTML tests, you'll need to recreate all of them, but of corse it depends on what you test on your pages.

Re: Releasing a branch?

2007-04-26 Thread Wayne Fay
How did you use the release plugin? Unless I'm mistaken, proper use of the plugin will result in a release being generated with fixed version number, commit to SCM, then poms updated back to SNAPSHOT and committed to SCM again. I'm not currently using the release plugin myself so I'm not

Re: Writing a portable CVS configuration using maven2

2007-04-26 Thread Jerome Thibaud
Hi, I should mention that I am using CVS So I've explored the .cvsrc thingy. I made a mistake and the -f option is not the one I thought (I mistook it for the update option). I don't think I'm a fan of using .cvsrc. While using cvs directly I observed differences in behavior that tells me it's

RE: Releasing a branch?

2007-04-26 Thread Trevor Spackman
I'm using the release plugin on a very regular basis, and it makes things very smooth. When you release 1.0.1-SNAPSHOT, the plugin creates a artifactId-1.0.1 tag in the SCM (and updates the scm in the tag's pom). Then it checks the code out off that tag and runs a deploy against the

Re : Build number and current date

2007-04-26 Thread spouynt
oups ! I tried to add this to the pom : build . plugins !-- The Maven Build Number plugin for how to use it look in http://commons.ucalgary.ca/projects/maven-buildnumber-plugin/howto.html -- plugin groupIdorg.codehaus.mojo/groupId

RE: Releasing a branch?

2007-04-26 Thread Crossley, Jim
Thanks all for the quick replies. So it seems my mistake was not cutting the original release from the branch, i.e. I should've created the branch before I cut the release. This sounds sensible, except for two things: 1) I'd rather not create a branch for every release; I'd rather create the

RE: Re : Build number and current date

2007-04-26 Thread Trevor Spackman
Looks like you need to tell the pom where the scm is... I have something like this in my pom. project ... scm connectionscm:svn:http://example.com/artifactId/trunk/connection scm ... /project Trevor Spackman -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL

Re : Re : Build number and current date

2007-04-26 Thread spouynt
can you be more specific please ? and about the username and password ? how will I do ? is it really necessary ? thanks Nawfel - Message d'origine De : Trevor Spackman [EMAIL PROTECTED] À : Maven Users List users@maven.apache.org Envoyé le : Jeudi, 26 Avril 2007, 18h01mn 14s Objet :

Re: Releasing a branch?

2007-04-26 Thread Roland Asmann
Hi Jim, I've been reading the replies you got, and I feel most of them didn't really understand your problem. I'm using the release-plugin as well, but I'll admit right away that I haven't tried it on branches yet. I believe it wasn't really thought for that though. At least, not

Re: scm cvs provider native java implementation?

2007-04-26 Thread Knut Forkalsrud
Yes, I'm pretty sure I do, I have the plugin defined as follows: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-scm-plugin/artifactId version1.0-rc1/version configuration goalsinstall/goals

RE: Releasing a branch?

2007-04-26 Thread Trevor Spackman
I also would be interested to hear how others are using the plugin... This is how we're using it: New development happens on the trunk (and sometimes project branches), where the pom is 2.1.0-SNAPSHOT. At some point, we're happy (enough) with it that we create a release branch (e.g. 2.1.x),

Axis2 Dependency

2007-04-26 Thread Petr V.
Hi All, I have got stubs that were genbarted via ADB(Axis Databinding). Now I am trying to use stubs in my client code. I added axis dependencies in my pom file. I did not know which was essential dependencies so I included all following dependencies. Now I am getting this error

Re: Releasing a branch?

2007-04-26 Thread Roland Asmann
As I see it, you just described the only solution that works. I may be wrong here, so if any of the maven-programmers think I am: please DO tell me! No matter how you assign the version-numbers, fact remains that maven can not 'automatically' handle branching. I feel that there should be a

Re: Releasing a branch?

2007-04-26 Thread Heinrich Nirschl
On 4/26/07, Roland Asmann [EMAIL PROTECTED] wrote: As I see it, you just described the only solution that works. I may be wrong here, so if any of the maven-programmers think I am: please DO tell me! No matter how you assign the version-numbers, fact remains that maven can not 'automatically'

Re : Re : Re : Build number and current date

2007-04-26 Thread spouynt
I used this in my pom : scm scm:svn:https://www.mycompany.ma/svnrepos/myAppName/v1.3 scm:svn:https://www.mycompany.ma/svnrepos/myAppName/v1.3 https://www.mycompany.ma/svnrepos/myAppName/v1.3 /scm but i had this in the log : [DEBUG] Configuring mojo

Re: Axis2 Dependency

2007-04-26 Thread Raphaël Piéroni
Hi Some hints: - do you have in your local repository exactly one jar with BeanUtil class or do you have many? - run maven with -X command line option and check which version of the jar is really used (by reading the classpath of the compile goal). - do the BeanUtil class really used defines

Re: How to clean a directory outside the source tree?

2007-04-26 Thread Pier Mauro Vignati
Hi Baz, yuo can use something like: (here I'm using the clean plugin to clean up my local tomcat webapp dir ..) plugin artifactIdmaven-clean-plugin/artifactId configuration filesets fileset directory ${tomcat.installation.dir}\webapps /directory includes

Re: Re : Re : Re : Build number and current date

2007-04-26 Thread Wayne Fay
You *are* using Subversion for your source code management/repository, correct? Make sure the svn binary is installed on your machine and in your path -- typing svn --version should give a result. Then type mvn ... from that same command line. Wayne On 4/26/07, [EMAIL PROTECTED] [EMAIL

[Continuum 1.0] How to lengthen the timeout before forcing login?

2007-04-26 Thread Thierry Lach
Does anyone know offhand for continuum 1.0 how to increase the amount of time before continuum forces a new login?

Re: How to clean a directory outside the source tree?

2007-04-26 Thread Baz
cool thanks. A. On 4/26/07, Pier Mauro Vignati [EMAIL PROTECTED] wrote: Hi Baz, yuo can use something like: (here I'm using the clean plugin to clean up my local tomcat webapp dir ..) plugin artifactIdmaven-clean-plugin/artifactId configuration filesets fileset

How to execute a system command from maven 2?

2007-04-26 Thread Baz
Hi, How can i execute a system command such as del from maven 2? Is there any exec in maven 2 and what is the syntax? I dont seem to be able to locate it. Thanks. A. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: How to execute a system command from maven 2?

2007-04-26 Thread Wayne Fay
Google maven exec. Its the first link. Wayne On 4/26/07, Baz [EMAIL PROTECTED] wrote: Hi, How can i execute a system command such as del from maven 2? Is there any exec in maven 2 and what is the syntax? I dont seem to be able to locate it. Thanks. A.

Re: Releasing a branch?

2007-04-26 Thread Raphaël Piéroni
Hi 2007/4/26, Heinrich Nirschl [EMAIL PROTECTED]: On 4/26/07, Roland Asmann [EMAIL PROTECTED] wrote: As I see it, you just described the only solution that works. I may be wrong here, so if any of the maven-programmers think I am: please DO tell me! No matter how you assign the

RE: Releasing a branch?

2007-04-26 Thread Crossley, Jim
Thanks Roland, Trevor, and Heinrich. The summary below captures the problem quite concisely. Roland, perhaps we can work together to implement, or at least come up with a proposal for one or both of the solutions below. And anyone else who has a better idea, please speak up. Jim -Original

RE: Releasing a branch?

2007-04-26 Thread Crossley, Jim
Hi. Rapha l Pi roni [EMAIL PROTECTED] writes: [...] is this dumb? Nope. do that need a enhancement jira? Yep. http://jira.codehaus.org/browse/MRELEASE-226 Thanks, Jim - To unsubscribe, e-mail: [EMAIL PROTECTED] For

excluding junit from assembly

2007-04-26 Thread Ed Young
I'm trying to reduce the size of an executable jar file by elimintating it's junit jar file when it is assembled. I thought this could be accomplished by simply specifying scopetest/scope in the junit dependency in the parent pom, but when looking at the assembled jar file contents, junit is

Re: How to execute a system command from maven 2?

2007-04-26 Thread Baz
Thanks. :) A. On 4/26/07, Wayne Fay [EMAIL PROTECTED] wrote: Google maven exec. Its the first link. Wayne On 4/26/07, Baz [EMAIL PROTECTED] wrote: Hi, How can i execute a system command such as del from maven 2? Is there any exec in maven 2 and what is the syntax? I dont seem to be able

Re: What is the Best practice for generating variations of an artifacts?

2007-04-26 Thread James Abley
Coming from a strong ANT background, that approach seems very familiar! On 26/04/07, Wayne Fay [EMAIL PROTECTED] wrote: I think several of us would be interested in this approach. Some sample code etc would be great. Wayne On 4/26/07, jp4 [EMAIL PROTECTED] wrote: I have found a solution

Release status of changes plugin 2.0-beta-3?

2007-04-26 Thread Paul Spencer
What is the release status of the changes plugin? Per the roadmap their is one minor issue unresolved, but that is it. MCHANGES-70 - NPE if the version attribute is not set properly in the changes.xml file [1] Their are number of fixes, including ones that relates to

Coping w/ 3rd party libs ... jar plus dependencies.

2007-04-26 Thread Danny MacMillan
Hi, I am developing a project using a jar supplied by a vendor. Their jar depends on all kinds of other jars, like activation.jar, etc. I can easily install those other jars into my repository following the instructions in the Guide to installing 3rd party jars. But how do I install the

Re: How to execute a system command from maven 2?

2007-04-26 Thread Baz
When i put in the following code, and run mvn exec:exec I receive errors, do you know what is the issue? Do i need to run mvn exec:exec? Can I incoroperate this into mvn clean so when i execute clean, it will clean up specific directories for me? Thanks. A. build plugins plugin

Re: Coping w/ 3rd party libs ... jar plus dependencies.

2007-04-26 Thread ben short
Hi Danny, Im not sure this is exactly what you want but, if you have an inhouse repo, like proximity[1], you can deploy your vendor jar to that and include custom pom[2] that has its dependencies configured. This will allow you to have just the one jar as a dep of your project, but when maven

Re: Coping w/ 3rd party libs ... jar plus dependencies.

2007-04-26 Thread ben short
There is a pomFile parm for the install:install-file goal[1] so you can install the pom in your local repo. [1] http://maven.apache.org/plugins/maven-install-plugin/install-file-mojo.html On 4/26/07, ben short [EMAIL PROTECTED] wrote: Hi Danny, Im not sure this is exactly what you want but,

Re: excluding junit from assembly

2007-04-26 Thread Ed Young
Yes, I just realized that this is important. The version I'm using is v2.1. plugin artifactIdmaven-assembly-plugin/artifactId version2.1/version If I left out the version tag, the assembly:assembly goal did not produce an executable

Re: antlib - fails to grab snapshot dependencies?

2007-04-26 Thread Julian Wood
Well apparently the solution is to revert back to 2.0beta3, add a whack of new dependency jars, specify the dependencies element twice, and you're good to go (thanks to Kevin for the hint). http://jira.codehaus.org/browse/MANTTASKS-18?rc=1 Lots of interest in that bug. One curious thing is

Wagon Deploy error: java.io.IOException: Read end dead

2007-04-26 Thread Barrie Treloar
I am getting an intermittent problem when deploying artifacts to our server. It seems to happen on large files (but I think it has happened on other ones). This particular file is 500Mb in size. The error Read end dead has occurred at different amounts of data sent in the upload process. Some

Re: Coping w/ 3rd party libs ... jar plus dependencies.

2007-04-26 Thread Danny MacMillan
ben short wrote: There is a pomFile parm for the install:install-file goal[1] so you can install the pom in your local repo. [1] http://maven.apache.org/plugins/maven-install-plugin/install-file-mojo.html On 4/26/07, ben short [EMAIL PROTECTED] wrote: Hi Danny, Im not sure this is exactly

Re: How to execute a system command from maven 2?

2007-04-26 Thread Jerome Lacoste
On 4/26/07, Baz [EMAIL PROTECTED] wrote: When i put in the following code, and run mvn exec:exec I receive errors, do you know what is the issue? for some reason the executable value is not passed. That can happen e.g. if you specified the wrong groupId or artifactId. I don't see the issue