Mavan 2.0.4 release on CVS

2006-05-11 Thread Maciej Mastalarczuk
Hi, I am trying to release a project with Maven 2.0.4 and CVS. Although everything appear to be configured OK I get the following error: (...) [INFO] Checking in modified POMs [INFO] Tagging release with the label v0_0_7. [INFO] What is the new development version for 'au.gov.wa.icwa.sample.d

Remote SNAPSHOT parents?

2006-05-11 Thread Jörg Schaible
Hi, how is Maven dealing with SNAPSHOT parents? Under what circumstances are they downloaded from the repo server? It seems that Maven will not look for newer versions in the remote repo if the local repo already has an old one. - Jörg --

RE: [M2] : NullPointerException with JUnit 4.0

2006-05-11 Thread Sharma, Jaikumar
Oops! I was mistaken in the pom.xml, I had included the dependency as a plugin, after removing that everything is fine. Thanks for your help! Regards, Jaikumar -Original Message- From: Vinod Panicker [mailto:[EMAIL PROTECTED] Sent: Thursday, May 11, 2006 9:25 PM To: Maven Users List Su

Re: [M2] : NullPointerException with JUnit 4.0

2006-05-11 Thread Vinod Panicker
On 5/12/06, Sharma, Jaikumar <[EMAIL PROTECTED]> wrote: Hi Vinod, Thanks for your reply. Please find the stacktrace below. Info : If I comment-out Junit 4.0 dependency in the pom.xml then there is no problems, it compiles the sources. Can you also post the dependency section from your pom.xml

RE: [M2] : NullPointerException with JUnit 4.0

2006-05-11 Thread Sharma, Jaikumar
Hi Vinod, Thanks for your reply. Please find the stacktrace below. Info : If I comment-out Junit 4.0 dependency in the pom.xml then there is no problems, it compiles the sources. Regards, Jaikumar [INFO] -- [ERROR] FATAL ERROR

Re: [m2] umlGraph

2006-05-11 Thread Wendy Smoak
On 5/11/06, jerome lacoste <[EMAIL PROTECTED]> wrote: I have a very small bit of code as part of the smc:smcreport mojo [1] that I use to convert .dot files into .png. The code [2] wraps a call to graphviz and works on Linux and Windows. We could try to move this into a reusable jar. I knew i

Re: Issue with Release plugin

2006-05-11 Thread Wayne Fay
Just do a private internal "release" of a real, non-snapshot build of maven-compiler-plugin. That is, remove the -SNAPSHOT from your version, and install/deploy it. Wayne On 5/11/06, Sanjay Choudhary <[EMAIL PROTECTED]> wrote: Sometime back I fixed the bug "Line too long" when we try to do mv

Re: Unable to perform SCP transfer during mvn release:perform

2006-05-11 Thread Richard Gould
Thank you very much! I have successfully been able to upload during a mvn deploy. I followed that tutorial and everything is good. I only made a couple small changes: in settings.xml, I made server->id agree with distributionManagement->repository (this didn't seem to change anything, immed

Issue with Release plugin

2006-05-11 Thread Sanjay Choudhary
Sometime back I fixed the bug "Line too long" when we try to do mvn compile with jdk 1.3.* *Later I submitted the patch to JIRA too but unfortunately it is not released as yet. http://jira.codehaus.org/browse/MCOMPILER-22 To use the compiler fix in our company, I released the patch in our compa

RE: [m2.0.4] OutOfMemoryError

2006-05-11 Thread Dave Hoffer
Dan, I think you are right! I just added this to one of the failing projects and it works. For me maven is ignoring the MAVEN_OPTS setting. Using 'argLine' my memory usage is now reported to be >300MB where it was stuck just shy of 64MB. Thanks a bunch. -dh -Original Message- From: D

RE: [m2.0.4] OutOfMemoryError

2006-05-11 Thread Dave Hoffer
I am on JRE1.5. However I don't think I need more than 1GB. I think the problem is a bug in maven2. We have run this code for months now on lots of Windows and OSX boxes running this with IntelliJ and Ant scripts. We have never needed more than 800m and typically 500m will do. With the MAVEN

Re: Unable to perform SCP transfer during mvn release:perform

2006-05-11 Thread Richard Gould
I already had a ~/.ssh directory on my machine, but I was not getting any extra SCP messages :( Michael Fiedler wrote: To help out with the SCP message did you try: ... adding a '.ssh' folder on the client machine's home dir (C:\Documents and Settings\user\.ssh). This is obviously a win os for

Re: log4j config file and mvn

2006-05-11 Thread Wayne Fay
Use one logging file with variable values, in conjunction with filters and profiles. The "Better Builds with Maven" book should help you understand how to set this up in sections 2.6.2 and 3.8. Its not hard, but neither is it trivial, so I'm not going to really go into an example here over email.

log4j config file and mvn

2006-05-11 Thread Davis Ford
Hi, I was wondering if someone might be able to describe how to solve the following problem: We have one master project pom.xml that has in it. A team can check out a that has its own pom.xml and build it independently. At the end of the day, the master pom.xml builds all subprojects and runs

Re: M2 thru proxies

2006-05-11 Thread Wayne Fay
What kind of proxy server are you running? And what operating system? And do you require login/authentication for your proxy or are they open once you have the port specified properly etc? Wayne On 5/11/06, Chen, Tim <[EMAIL PROTECTED]> wrote: Proxy information works thru 1.0 and 1.1 It will wo

RE: [m2.0.4] OutOfMemoryError

2006-05-11 Thread Mike Perham
Very likely within the next week. svn.apache.org has been down for 2 days now and is blocking Brett and team from the last bit of polishing. -Original Message- From: Dave Hoffer [mailto:[EMAIL PROTECTED] Sent: Thursday, May 11, 2006 4:48 PM To: Maven Users List Subject: RE: [m2.0.4] OutO

RE: [m2.0.4] OutOfMemoryError

2006-05-11 Thread Mike Perham
I've never seen an OOM where the VM specified which area ran out of space but I'm still stuck on 1.4, maybe 1.5 does this? And that would certainly lead me to think maybe you need even more than 1GB... -Original Message- From: Dave Hoffer [mailto:[EMAIL PROTECTED] Sent: Thursday, May 11,

Re: creating a mirror of central?

2006-05-11 Thread Wayne Fay
What exactly are you looking for? What's the use case? You want to download the entire Central repo (in a massive tarball or something) and then install/deploy it on a local Maven repo? Most people use maven-proxy which downloads (and stores locally) files when they are requested and it has not a

RE: [m2.0.4] OutOfMemoryError

2006-05-11 Thread Dave Hoffer
...any idea when 2.2 will be released? -dh -Original Message- From: Brett Porter [mailto:[EMAIL PROTECTED] Sent: Thursday, May 11, 2006 4:55 PM To: Maven Users List Subject: Re: [m2.0.4] OutOfMemoryError FYI, the upcoming 2.2 release of surefire will reduce the memory used by allowing t

RE: [m2.0.4] OutOfMemoryError

2006-05-11 Thread Dave Hoffer
Mike, Thanks, I did not know that. I set -XX:MaxPermSize=256m and got the same error. The error I get is: Exception in thread "Thread-1" java.lang.OutOfMemoryError: Java heap space Doesn't this mean that my OOM is the heap space which I have set as -Xmx1024m. -dh -Original Message-

Re: [m2] umlGraph

2006-05-11 Thread Wayne Fay
I would certainly like to see the UML .dot files somehow incorporated into the Maven Site somehow, probably as its own "report", like NCSS and Findbugs. If we can use existing code to create the .dot file, and then your code to convert to .png, I think this should be pretty "trivial". And definit

[m2] Supressing stderr for unit tests

2006-05-11 Thread Craig McDaniel
How can I suppress output of stderr to the console for unit tests? I have some unit tests which are checking some error conditions within a third-party api. That api is throwing an exception (which we are expecting) but also writes to stderr and makes the mvn console output quite noisy. I seem to

creating a mirror of central?

2006-05-11 Thread Dan Adams
I can't seem to find info anywhere on this: how do you mirror the maven 2 central repo? I know about maven-proxy but that doesn't seem to alleviate the problem of going to server to check for something that isn't in it. -- Dan Adams Software Engineer Interactive Factory 617.235.5857 ---

RE: [m2.0.4] OutOfMemoryError

2006-05-11 Thread Mike Perham
You need to understand something about the JVM memory system. Below you've configured the heap to be 1GB. Class data (.class) is stored in the permanant generation space which is different from the heap and defaults to 32MB in client and 64MB in server mode. So you can give your JUnit tests 1TB

Re: [m2.0.4] OutOfMemoryError

2006-05-11 Thread Brett Porter
FYI, the upcoming 2.2 release of surefire will reduce the memory used by allowing the test cases to be garbage collected after they've run instead of at the end. It also enables assertions by default, whether you are forking or not, by setting the flag on the classloader running the tests. - Bret

Re: [m2.0.4] OutOfMemoryError

2006-05-11 Thread Daniel Kulp
You can use the "argLine" configuration option for surefire plugin to add JVM args. Things like "-ea" to enable the assertions that you should be testing are also good things to put on that line. Dan On Thursday 11 May 2006 16:40, Kris Nuttycombe wrote: > I have a related question to this:

Re: [m2] More than one source repository to compile ?

2006-05-11 Thread Dennis Lundberg
SiD wrote: Hi all, I have a project whith this structure : project -- pom.xml -- src1 -- src2 Where src1 and src2 are two javasource repositories, how can i configure Maven to compile theses sources from the TWO repositories when i make mvn compile ? Thanks for answer ! It is not possible

RE: [m2.0.4] OutOfMemoryError

2006-05-11 Thread Dave Hoffer
Kris, When I was learning I had to set MAVEN_OPTS, I wanted the same thing as you. I recall being told it wasn't available. Seems like a nice feature to me. -dh -Original Message- From: Kris Nuttycombe [mailto:[EMAIL PROTECTED] Sent: Thursday, May 11, 2006 4:41 PM To: Maven Users Lis

RE: [m2.0.4] OutOfMemoryError

2006-05-11 Thread Dave Hoffer
...further info on this... When it fails, it seems one JVM reports using about 24MB and the other just under 64MB. It's almost like maybe it is ignoring MAVEN_OPTS in this case?!? -dh -Original Message- From: Dave Hoffer [mailto:[EMAIL PROTECTED] Sent: Thursday, May 11, 2006 4:35 PM T

Re: [m2.0.4] OutOfMemoryError

2006-05-11 Thread Kris Nuttycombe
I have a related question to this: Is it possible to specify the memory footprint except using the MAVEN_OPTS environment variable? It would be useful to have this as an option for the surefire plugin, at least if the tests are running in a separate JVM. Kris Dave Hoffer wrote: For some of

[m2.0.4] OutOfMemoryError

2006-05-11 Thread Dave Hoffer
For some of my projects that use a lot of memory when running unit tests I set MAVEN_OPTS to -Xmx1024m to get all the tests to not throw OutOfMemoryErrors. I now have a maven project that has a dependency on the prior component but I do get an OutOfMemoryError when I run the unit tests. I have

Re: [m2] umlGraph

2006-05-11 Thread jerome lacoste
On 5/11/06, Wayne Fay <[EMAIL PROTECTED]> wrote: You can open the graph.dot file with a program like Graphviz: http://www.graphviz.org/ I am not aware of any automatic plugin/process to create an image from the graph.dot file and embed it in your generated site/javadocs at this time. I have a

Re: maven surefire-report invoking phase

2006-05-11 Thread Yann Le Du
Hi Pascal, You might want to check : http://jira.codehaus.org/browse/MSUREFIREREP-6 Regards, - Yann On 5/11/06, Pascal Magnard <[EMAIL PROTECTED]> wrote: Hello, i'm trying to use the surefire-report plugin to generate html files based on the result of the execution of my JUnit tests. I had th

Re: idea plugin, dependencies, their source and javadocs

2006-05-11 Thread Julian Wood
Cool - that works perfectly. Thanks, J On 11-May-06, at 11:53 AM, Tim Kettler wrote: Hi, Never tried it myself but looking at the mojo sourcecode it is configured as shown below. I think this is not available in the current release of the plugin, so you will have to use a snapshot/ svn ve

RE: How to run and adapt a plugin

2006-05-11 Thread Jos van der Heiden
Been there myself the last few weeks, trying to go from ant/manual builds to maven. The information is on the maven.apache.org site, select 'Documentation' or 'Getting Started' (though a bit scattered around in separate guides). I think one of the things you're looking for is to include an executi

Re: [m2] release:prepare and Better Builds book

2006-05-11 Thread Brett Porter
Hi Lee, The plugin is all but released. We're just waiting on the revival of the Apache hardware that hosts it to push the plugin out and announce it. - Brett On 5/12/06, Lee Meador <[EMAIL PROTECTED]> wrote: I tried the command from the "Better Builds With Maven "book page 222 in my copy: mv

Re: forced build notifications

2006-05-11 Thread Emmanuel Venisse
File an issue and I'll look to it for the next version. Emmanuel Davidson, Alexander a écrit : Emmanuel, what do you think about a setting like sendOnForced? I normally don't want success notifications (e.g., every hour) but I do if the success was via a forced build. Does that make sense? T

[m2] release:prepare and Better Builds book

2006-05-11 Thread Lee Meador
I tried the command from the "Better Builds With Maven "book page 222 in my copy: mvn release:prepare -DdryRun=true It modifies my parent pom and checks things into Subversion. There are no files named pom.xml.next or pom.xml.tag that I can find in the parent project folder as the book suggests.

RE: [m2] release:prepare - subversion problem

2006-05-11 Thread Jos van der Heiden
Thanx, I just knew it had to be something silly. Setting up the environment earlier I had some problems with connecting with the svn server. I had tried an explicit port number in the url, which didn't help but was kept there (and not shown by Eclipse...). Looking at the .svn/entries cleared that

Re: why does my release fail?

2006-05-11 Thread Andrew Kreps
I didn't realize you were directly referencing the Apache SVN server. That would cause a failure in your release if the server was down. I think grabbing a copy of the SNAPSHOT code would get you further, that's what worked well for me. I've been working off of a local repository, so this step w

Re: release:prepared and scm:validate

2006-05-11 Thread Andrew Kreps
You may need to use the 2.0-beta-4-SNAPSHOT release plugin code in order to make this work with svn. I had to do that to get it working with Perforce. On 5/10/06, Javier Piscoya <[EMAIL PROTECTED]> wrote: Embedded error: Can't load the scm provider. The scm url is invalid. ---

Re: maven-source-plugin 2.0.1

2006-05-11 Thread Kenney Westerhof
On Thu, 11 May 2006, Roland Asmann wrote: > The way I see it, it runs through the generate-sources phase no matter what! > The 2.0.1 is per default bound to the package phase, and I just run 'mvn clean > install', which triggers everything up to 'package' twice... Ok, but package implies that gen

Re: maven-source-plugin 2.0.1

2006-05-11 Thread Roland Asmann
The way I see it, it runs through the generate-sources phase no matter what! The 2.0.1 is per default bound to the package phase, and I just run 'mvn clean install', which triggers everything up to 'package' twice... Roland On Thursday 11 May 2006 19:48, Kenney Westerhof wrote: > On Thu, 11 May

M2 thru proxies

2006-05-11 Thread Chen, Tim
Proxy information works thru 1.0 and 1.1 It will work to the point in 2.0.4 that it seems to see the files in the remote repo but doesn't seem to download them correctly. I vaguely remember this as an issue for 1.0 back in the beta days. Does anyone remember this issue and how it was solved? I kn

With war:exploded, some reports trying to set read-only variable

2006-05-11 Thread Ken Arnold
I'm trying to add reports to my project, and am getting the error: [INFO] Error configuring: org.apache.maven.plugins:maven-war-plugin. Reason: ERROR: Cannot override read-only parameter: classesDirectory in goal: war:exploded Now I am *not* setting this variable. Several reports seem to b

Re: forced build notifications

2006-05-11 Thread Mark Hobson
We also have the same requirement here after we noticed it disappearing in 1.0.3. Cheers, Mark On 11/05/06, Davidson, Alexander <[EMAIL PROTECTED]> wrote: Emmanuel, what do you think about a setting like sendOnForced? I normally don't want success notifications (e.g., every hour) but I do if

RE: maven-clover-plugin 2.1 site:site troubles

2006-05-11 Thread Ryan C. Payne
Yes, I negelected to mention it in the previous message, but the report is listed in the reporting section: org.apache.maven.plugins maven-project-info-reports-plugin org.apache.maven.plugins maven-clover-plugin 2.1

RE: maven-clover-plugin 2.1 site:site troubles

2006-05-11 Thread Mike Perham
Have you added clover to the section? is not relevant during site:site. -Original Message- From: Ryan C. Payne [mailto:[EMAIL PROTECTED] Sent: Thursday, May 11, 2006 12:21 PM To: users@maven.apache.org Subject: maven-clover-plugin 2.1 site:site troubles I have spent all morning today

Re: idea plugin, dependencies, their source and javadocs

2006-05-11 Thread Tim Kettler
Hi, Never tried it myself but looking at the mojo sourcecode it is configured as shown below. I think this is not available in the current release of the plugin, so you will have to use a snapshot/svn version. org.apache.maven.plugins maven-idea-plugin true true Hope this

Re: maven-eclipse-plugin

2006-05-11 Thread Steven Coco
Hello, I use the eclipse plug in to generate the .classpath and .project files. These work fine for all my submodules, but it doesn't generate these files for the top module. How can I generate a .classpath file for the top project that contains all source-folders and dependencies of the sub

Re: maven-source-plugin 2.0.1

2006-05-11 Thread Kenney Westerhof
On Thu, 11 May 2006, Roland Asmann wrote: The source plugin needs to run the generate-sources phase, else it might miss something in creating a jar. This was indeed fixed in 2.0.1. If you do 'mvn clean source:jar' on a source-generating project, the jar won't contain the generated sources. Usuall

idea plugin, dependencies, their source and javadocs

2006-05-11 Thread Julian Wood
How do you include a source jar (or a javadoc jar) as a dependency in your pom, such that when the idea plugin builds your project, sources and javadocs are downloaded and linked up properly? This issue suggests that it already works: http://jira.codehaus.org/browse/MIDEA-51 These issues su

maven-clover-plugin 2.1 site:site troubles

2006-05-11 Thread Ryan C. Payne
I have spent all morning today trying to get the latest clover plugin to work. I am able to run the clover goals from the command line and have no problems there. For the life of me, I cannot get the clover reports to be generated when I build the site. I have followed the instructions on the mave

Re: [m2] release:prepare - subversion problem

2006-05-11 Thread Kenney Westerhof
On Thu, 11 May 2006, Jos van der Heiden wrote: Hoi Jos, > I'm having a problem with release:prepare. [snip] > > When maven tries to create a tag, it gets an error back from subversion: > > svn: Source url 'svn://myhost/myrepo/trunk' is from different repository [snip] > scm:svn:svn://myhost

project losing plugin dependency

2006-05-11 Thread Hespelt, Steve \(Exchange\)
Hi, I'm using maven 1.0.2 and and I have a project hierarchy as follows: a/b/c with b/project.xml extending a's project and c/project.xml extending b/project.xml. a/d with d/project.xml extending a/project.xml. a/maven.xml has a goal definition that makes use of a plugin that I wrote. This plugin

Re: [m2] release:prepare - subversion problem

2006-05-11 Thread Julian Wood
I also see a space in your tagBase, though I'm sure that is just a typo to the list. Again you might want to try: http://myhost/myrepo/tags/tags J 4.0.0 ... scm:svn:svn://myhost/myrepo/trunk scm:svn:svn://myhost/myrepo/trunkdeveloperConnection> maven-r

RE : [m2] release:prepare - subversion problem

2006-05-11 Thread Olivier Lamy
Hi, Personnaly I use (with last snapshot) script like this mvn -DtagBase=http://ip:port/path \ -Dusername=$1 -Dpassword=$2 \ -Dmaven.test.skip=true -Dgoals=deploy \ -Darguments="-Dmaven.test.skip=true" \ -DpreparationGoals="clean install" \ -DconnectionUrl=scm:svn:http://ip:port/pathtotrunk \ rel

Re: [m2] release:prepare - subversion problem

2006-05-11 Thread Julian Wood
Have you tried scm:svn:http://myhost/myrepo/trunk in your scm elements? Note the http. More formats are listed here, though yours should work: http://maven.apache.org/scm/subversion.html Presumably you've tried doing the same thing on the CL with svn? Maven actually does a copy from the t

forced build notifications

2006-05-11 Thread Davidson, Alexander
Emmanuel, what do you think about a setting like sendOnForced? I normally don't want success notifications (e.g., every hour) but I do if the success was via a forced build. Does that make sense? Thanks, Alex -Original Message- From: Emmanuel Venisse [mailto:[EMAIL PROTECTED] Sent: Th

maven-source-plugin 2.0.1

2006-05-11 Thread Roland Asmann
Hi, I've noticed that the new version of this plugin forks a new lifecycle... Can anybody clarify why this has been done? My builds are getting very slow because of this, since I have a pretty large source-code generator in the generate- sources phase... Are there any other changes compared to 2

maven surefire-report invoking phase

2006-05-11 Thread Pascal Magnard
Hello, i'm trying to use the surefire-report plugin to generate html files based on the result of the execution of my JUnit tests. I had the following declarations in my pom.xml file:

nested project loosing plugin dependency problem

2006-05-11 Thread Hespelt, Steve \(Exchange\)
Hi, I'm using maven 1.0.2 and and I have a project hierarchy as follows: a/b/c with b/project.xml extending a's project and c/project.xml extending b/project.xml. a/d with d/project.xml extending a/project.xml. a/maven.xml has a goal definition that makes use of a plugin that I wrote. This plugin

Re: How to run and adapt a plugin

2006-05-11 Thread Wayne Fay
The free "Better Builds with Maven" book from Mergere (http://library.mergere.com/) can probably help you figure things out. Especially section 2.7 "Using Maven Plugins". Wayne On 5/11/06, Markus Baumgartner <[EMAIL PROTECTED]> wrote: Hi, I'm starting with maven 2 and was crawling through doc

Re: [m2] More than one source repository to compile ?

2006-05-11 Thread Wayne Fay
Hi Ruel, I've seen your various posts about retrotranscoding, jdk4/jdk5 etc so I'm familiar with your troubles. However, I personally have not had any situations (yet) where we need to compile against multiple JDKs like you are doing, so I haven't really dealt with your specific troubles. I was

How to run and adapt a plugin

2006-05-11 Thread Markus Baumgartner
Hi, I'm starting with maven 2 and was crawling through documentation and newsgroup in order to manage plugins. the info I found was mainly about maven 1. I managed to define a plugin in the dependencies and it was sucessfully downloaded. Now I cannot figure out, how to run the plugin. I also

Re: [M2] : NullPointerException with JUnit 4.0

2006-05-11 Thread Vinod Panicker
On 5/11/06, Sharma, Jaikumar <[EMAIL PROTECTED]> wrote: Does anybody used JUnit 4.0 with maven 2 successfully ? I am getting NullPonterException with JUnit 4.0, when trying to compile test cases and test sources! I would appreciate any pointers! Can you post the stack trace you are getting?

RE: [m2] More than one source repository to compile ?

2006-05-11 Thread Ruel Loehr
Wayne, can you expand on how the two pom files would work? Would you just call one after the other? I have the same problem as well in a number of areas. For us, we have many projects that have two source folders > -- pom.xml > -- src1 (jdk 1.4 based) > -- src2 (jdk 1.5 based) usually 1

Re: [m2] deploy not working

2006-05-11 Thread Vinod Panicker
On 5/11/06, Henry S. Isidro <[EMAIL PROTECTED]> wrote: On Thursday 11 May 2006 12:27 pm, Vinod Panicker wrote: > On 5/11/06, Henry S. Isidro <[EMAIL PROTECTED]> wrote: > > On Thursday 11 May 2006 12:33 am, Vinod Panicker wrote: > > > Hi, > > > > > > I read all the guides for deployment, tried wit

Re: findbugs for maven2 - NullPointerException

2006-05-11 Thread Vinod Panicker
Hi, On 5/11/06, Leo L <[EMAIL PROTECTED]> wrote: Hi wayne! First I had to get the repo's configured correctly, did you? /conf/settings.xml: codehaus-snapshot-plugins codehaus-shapshot-plugins http://snapshots.maven.codehaus.org/mave

Re: Trying to run goal site

2006-05-11 Thread Vinod Panicker
Hi, On 5/11/06, Douglas WF Acheson <[EMAIL PROTECTED]> wrote: Okay, now I am more confused :-). I have been trying run the goal site for a few days with no luck. I believe I have tried all the suggestions that have been provided (thanks to everyone). I have the latest plugins, got this by u

Re: [m2] More than one source repository to compile ?

2006-05-11 Thread Wayne Fay
I would personally solve this by simply merging the 2 source folders, or creating 2 separate poms, one for each src folder. Someone else might know how to configure the compiler to use both source folders, but I don't know how to do that myself. Wayne On 5/11/06, SiD <[EMAIL PROTECTED]> wrote:

Re: archetype package structure problems

2006-05-11 Thread Christoph Sandhaus
Am Donnerstag, 11. Mai 2006 16:04 schrieb Ray Tsang: > Hi, > > You might need to update to maven-archetype-plugin 1.0-alpha-4. YESS! :D > Try executing archetype:create w/ '-cpu' argument, to update the plugin... > or, I actually deleted the whole archetype plugin stuff and let maven > redownload

[m2] More than one source repository to compile ?

2006-05-11 Thread SiD
Hi all, I have a project whith this structure : project -- pom.xml -- src1 -- src2 Where src1 and src2 are two javasource repositories, how can i configure Maven to compile theses sources from the TWO repositories when i make mvn compile ? Thanks for answer ! sid ---

Re: [m1] m1 equivalent of mvn install:install-file?

2006-05-11 Thread Lukas Theussl
AFAIK, the repositor plugin could only be used to work with a remote repo (maven.repo.central then), m2's install-file will put the file into your local repo. I still don't think m1 has anything like that... -Lukas Doug Douglass wrote: What about the old repository plugin? http://maven.apac

Re: Trying to run goal site

2006-05-11 Thread Douglas WF Acheson
Okay, now I am more confused :-). I have been trying run the goal site for a few days with no luck. I believe I have tried all the suggestions that have been provided (thanks to everyone). I have the latest plugins, got this by using the -U option and added the snapshot repository to my pom.

Re: [M2] Deploy to multiple repositories?

2006-05-11 Thread Wayne Fay
I actually believe the ibiblio m1 repo is a "virtual" repo created through Apache rewrite, redirect, filters, etc. I don't have details and I'm not a strong enough Apache admin to make it up on the fly here, but I am pretty certain I read this somewhere in an email on user/dev or on the Maven site

Re: Problems with javax.sql:jbdc-sqlext download

2006-05-11 Thread Wayne Fay
Yes Sun is starting to release their source code under CDDL but many of the binaries they release are still BCL licensed which does not allow redistribution through ibiblio for a project like Maven. However there is nothing in the CDDL which prevents someone from taking the CDDL source code, comp

RE: [M2] Deploy to multiple repositories?

2006-05-11 Thread Siegmann Daniel, NY
> Personally I find the M2 repo format a lot more scalable and > approachable. If you're only going to have a few projects > with a handful of releases each, then there's not necessarily > a strong reason to prefer M2 over M1, esp since M2 can read > from M1 repos. > > Wayne OK, thanks. I'll

Re: [M2] Deploy to multiple repositories?

2006-05-11 Thread Wayne Fay
Here's a legacy M1 repo: https://maven-repository.dev.java.net/nonav/repository/ Notice the following negative attributes: - flat directory structure (now imagine 2000 projects) [DIR] javax.activation/10-May-2006 21:35 - [DIR] javax.faces/

Re: [m2] umlGraph

2006-05-11 Thread Wayne Fay
You can open the graph.dot file with a program like Graphviz: http://www.graphviz.org/ I am not aware of any automatic plugin/process to create an image from the graph.dot file and embed it in your generated site/javadocs at this time. Wayne On 5/11/06, delasoul <[EMAIL PROTECTED]> wrote: Hel

[m2] advice for dependencies and libraries

2006-05-11 Thread Dan Adams
I have a library which I'm producing that will be used by other projects here. Now, I have some transitive dependencies that depend on two different versions of commons-collections, for instance. What is the best way of handling this for something that will be a dependency for other projects? Shoul

Re: How to download and unzip the assembled package.

2006-05-11 Thread dan tran
make your artifact as a dependency with type "tar.gz" Then use the lastest (in SVN) of either maven-assembly-plugin or maven-dependency-plugin to unpack it you may need to build those plugins yourself. -D On 5/11/06, Ilyevsky, Leonid (Equity Trading) <[EMAIL PROTECTED]> wrote: I have a tar.g

[m2] release:prepare - subversion problem

2006-05-11 Thread Jos van der Heiden
I'm having a problem with release:prepare. I'm using Maven 2.0.4 and subversion 1.3.0 My repository looks like: myrepo/ /trunk | pom.xml | src/ | . /tags When maven tries to create a tag, it gets an error back from subversion:

maven-eclipse-plugin

2006-05-11 Thread Ingo Düppe
Hello, I use the eclipse plug in to generate the .classpath and .project files. These work fine for all my submodules, but it doesn't generate these files for the top module. How can I generate a .classpath file for the top project that contains all source-folders and dependencies of the subm

Re: archetype package structure problems

2006-05-11 Thread Ray Tsang
Hi, You might need to update to maven-archetype-plugin 1.0-alpha-4. Try executing archetype:create w/ '-cpu' argument, to update the plugin... or, I actually deleted the whole archetype plugin stuff and let maven redownload the latest version. ray, On 5/11/06, Christoph Sandhaus <[EMAIL PROTECT

Re: Archetype installation and creation of the app problem

2006-05-11 Thread Alex Shneyderman
That did it! Thanks a ton! On 5/10/06, Wayne Fay <[EMAIL PROTECTED]> wrote: I generally would not suggest this, but to fix your problem *right now*, I would go into your local repository (assuming Windows, it will be in C:\Documents and Settings\your.name\.m2\repository), find the maven-achetype

How to download and unzip the assembled package.

2006-05-11 Thread Ilyevsky, Leonid \(Equity Trading\)
I have a tar.gz file in the remote repository that was created by "mvn assembly:assembly deploy" command. There are sha1 and md5 files next to it. Now I need to download it to deployment machine and unzip. How I do it the maven style? So far I wrote a simple perl script to do it, and it works, bu

Does anyone use clearcase dynamic views with the scm plugin ?

2006-05-11 Thread mathapfahl
I don't know how to handle clearcase dynamic views with the scm plugin. BUILD ERROR Can't load the scm provider. Where I have to declare the scm-connection and what in detail ? Thanks in advance -- View this message in context: http://www.nabble.com/Does-anyone-use-clearcase-dynamic-views-with

RE: [M2] Deploy to multiple repositories?

2006-05-11 Thread Siegmann Daniel, NY
> This was discussed a couple days ago, so search the User list > at Nabble (or your own email archive) to find the discussion. Ack, sorry. I did search, but apparently did not choose my search terms wisely... just got an old message from last Oct. :-/ > As I recall, there is no "built-in" way t

Re: [m2] mvn site without the reports

2006-05-11 Thread Geoffrey De Smet
If I want to be able to enabled/disable this from the command line, I 'll have to write a profile issupose? Isn't there a goal like m1's "xdoc:generate"? Matthijs Wensveen wrote: Geoffrey De Smet wrote: How do I generate the sites without the reports? That way I can quickly check if my APT/FML

Re: [m2] mvn site without the reports

2006-05-11 Thread Matthijs Wensveen
Geoffrey De Smet wrote: How do I generate the sites without the reports? That way I can quickly check if my APT/FML files render properly. The m2 book doesn't mention this in 3.12 btw. In the reporting section of your pom.xml, put an empty reportSets element in the maven-project-info-reports-p

Re: [m2] deploy not working

2006-05-11 Thread Henry S. Isidro
On Thursday 11 May 2006 12:27 pm, Vinod Panicker wrote: > On 5/11/06, Henry S. Isidro <[EMAIL PROTECTED]> wrote: > > On Thursday 11 May 2006 12:33 am, Vinod Panicker wrote: > > > Hi, > > > > > > I read all the guides for deployment, tried with wagon, without wagon, > > > single file deployment and

[m2] mvn site without the reports

2006-05-11 Thread Geoffrey De Smet
How do I generate the sites without the reports? That way I can quickly check if my APT/FML files render properly. The m2 book doesn't mention this in 3.12 btw. -- With kind regards, Geoffrey De Smet - To unsubscribe, e-mail:

Re: how to set the correct timezone?

2006-05-11 Thread Emmanuel Venisse
if it's in mail notification messages, you can change the date format in apps/continuum/conf/application.xml in inMailContinuumNotifier component. If it's in screens, you can't do it now, file an issue. Emmanuel geoff laura a écrit : Currently all builds from continuum are showing the time as

Re: war resource filtering

2006-05-11 Thread Jorg Heymans
Furthermore, using the approach described at the start of this thread (example below), it seems that binary files get corrupted during the filtering phase. This makes it particularly unsuited to process and filter a directory tree for a webapplication. I've seen similar behaviour in the archteype

Re: Problem with http URL when adding new project

2006-05-11 Thread Emmanuel Venisse
What is your continuum version? Emmanuel [EMAIL PROTECTED] a écrit : Hi, I am using the following URL to try to add a new M2 project: http://behrcvs.masco_coatings.com/cgi-bin/viewcvs.cgi/*checkout*/commons/pom.xml But I am getting the following error in red bold text [ You must provide a va

Re: forced build notifications stopped in 1.0.3

2006-05-11 Thread Emmanuel Venisse
If you want to always send a notification after a build, define sendOnSuccess to true and in apps/continuum/conf/application.xml, define to true in MailContinuumNotifier component. Emmanuel Davidson, Alexander a écrit : Can someone please let me know if this is the case and/or if this is plann

Re: Project stuck in building state

2006-05-11 Thread Emmanuel Venisse
Try to force a build of all projects. For the "mysterious" message, we try to restore the project state at startup, but in some case, jpox doesn't want to save the new state in database. For the moment, we don't know why, but generally a forced build fix the pb. Emmanuel Matthew Beermann a é

Re: findbugs for maven2 - NullPointerException

2006-05-11 Thread Leo L
Hi wayne! First I had to get the repo's configured correctly, did you? /conf/settings.xml: codehaus-snapshot-plugins codehaus-shapshot-plugins http://snapshots.maven.codehaus.org/maven2/ true

FW: Followup : FW: how to : customized read-writable flags ..?

2006-05-11 Thread yuvarajv
* last mail wasn't completed and sent by mistake. In short I want to keep & update 15 flags during continuous build. So there will be updateFlag() method in my java class which would be inside my plug-in jar. I want to call that method from maven.xml to set one of the flag to true. How to call a

  1   2   >