Looking for a Build Team perspective

2007-05-24 Thread Ashwin E
I'm not looking from a developer's perspective,i'm looking from a build team perspective...Dev teanm continously submits new/updated files and I need to deploy it into the application.I've identified the process that i can implement using Maven-Continnum...I'll list the process...correct me

[gpg][release] gpg plugin hangs when used in conjunction with release plugin

2007-05-24 Thread Alex Karasulu
Hi, I have a situation where the build hangs when I use the gpg plugin in conjunction with the release plugin when issuing a mvn release:prepare command. Here's where it hangs in the build: [INFO] [clean:clean] [INFO] Deleting directory

Re: [gpg][release] gpg plugin hangs when used in conjunction with release plugin

2007-05-24 Thread Antonio Petrelli
2007/5/24, Alex Karasulu [EMAIL PROTECTED]: Hi, I have a situation where the build hangs when I use the gpg plugin in conjunction with the release plugin when issuing a mvn release:prepare command. Here's where it hangs in the build: I had a similar problem, and the reason what that the

Re: CVS parameters

2007-05-24 Thread Emmanuel Venisse
You can run a cvs login command so you won't have to store your password in your pom or settings.xml. It will be stored in .cvspass if you use a standard cvs or in the windows registry if you use cvsnt Emmanuel Jon Strayer a écrit : Getting back to my original question, how can I set the

Re: [gpg][release] gpg plugin hangs when used in conjunction with release plugin

2007-05-24 Thread Torsten Curdt
On 24.05.2007, at 09:03, Antonio Petrelli wrote: 2007/5/24, Alex Karasulu [EMAIL PROTECTED]: Hi, I have a situation where the build hangs when I use the gpg plugin in conjunction with the release plugin when issuing a mvn release:prepare command. Here's where it hangs in the build: I

RE: [M2] Dependency Management transitivity

2007-05-24 Thread Jörg Schaible
Siegmann Daniel, NY wrote on Wednesday, May 23, 2007 8:35 PM: I know dependency management is inherited from parents, but is it also used when the project is declared as a dependency of another project? With M206, yes, with older versions, no! For example, lets say I have a dependency graph

Re: Looking for a Build Team perspective

2007-05-24 Thread Jerome Lacoste
On 5/24/07, Ashwin E [EMAIL PROTECTED] wrote: I'm not looking from a developer's perspective,i'm looking from a build team perspective...Dev teanm continously submits new/updated files and I need to deploy it into the application.I've identified the process that i can implement using

Re: Manual or automated Reload button with 1.1

2007-05-24 Thread janth
On Wed, May 23, 2007 at 08:34:49AM +0100, Shaun Barriball wrote: One suggested improvement for 1.1 is an explicit button to reload the Project Group Summary page or some form of automated reload based on a timer in the page. The issue we've found is that the developer pushes the build button

How to run rsync -v -t -l -r mirrors.ibiblio.org::maven2 /your/local/path

2007-05-24 Thread sam
Hi, In maven's site: http://maven.apache.org/guides/mini/guide-mirror-settings.html Creating your own mirror The central repository requires around 10 GB and growing, and it's updated every 4 hours. You can mirror the central repository using rsync from several mirrors, choose one rsync -v -t

RE: How to run rsync -v -t -l -r mirrors.ibiblio.org::maven2 /your/local/path

2007-05-24 Thread Bram de Kruijff
but when I run rsync -v -t -l -r mirrors.ibiblio.org::maven2 /your/local/path on commandline, it can't be execute,there is no rsync command, It is not part of maven. You have to install it on your machine 1st. http://samba.anu.edu.au/rsync/ regards, Bram -Original Message-

Re: JUnit4 test cases using @Before, @After fail test?

2007-05-24 Thread berndq
Alexander Sack wrote: Dennis, thanks for the tip. Kinda obvious too...damn... Okay, so can someone tell me what I need to do to FORCE it to use junit4? I specific junit-4.0 in my dependencies (scope is test). My parent dom of the whole project has surefire plugin version set to 2.3. I

Maven Eclipse plugin doesn't allow to configure Project name

2007-05-24 Thread Vikas Sharma
Maven Eclipse plugin does not allow to configure Project name which is very much required or at least generated project name should use group id also in the eclipse project name as artifact id doesn't remain unique across different group.

Re: Maven Eclipse plugin doesn't allow to configure Project name

2007-05-24 Thread Thorsten Heit
Hi, Maven Eclipse plugin does not allow to configure Project name which is very much required or at least generated project name should use group id also in the eclipse project name as artifact id doesn't remain unique across different group. Is this a question or just a complaint about a

Re: Problem with classpath order

2007-05-24 Thread Thorsten Heit
Hi, The reason is CDC.. CDC = ? (sorry, don't actually know what it is) There are some classes does not exist, so I have to implement them, however, to make sure I can run my applications on PC as well, I need same naming...extra method is for legacy reasons. I'd think about

Please test Surefire 2.3.1 pre-release

2007-05-24 Thread Brett Porter
Hi, The surefire 2.3.1 release vote is imminent, so I'd like to ask people to test the latest build. I'm particularly interested in those: - who can't use 2.3 because of a regression since 2.2 - who currently use 2.3 on Windows - who use different types of classloading configuration in tests

scm Configuration for CVS Branch

2007-05-24 Thread Arun P Johny
Hi, I'm new to maven build. I'm trying to build a project using maven 2.0.4. In my cvs I ROOT as well as BRANCH projects. I'm using ssh to connect to my CVS. Using my current connection settings I'm able to build projects from the root, but i don't know how to build a project from a branch.

Re: JUnit4 test cases using @Before, @After fail test?

2007-05-24 Thread Alexander Sack
Bernd, thanks. That did it, I switched to 4.3.1 and now it all works. Weirdness. AFAIK I thought Junit4 begin with @Before but I could be wrong since 4.x is new to me (I just went to the FAQ and trieed out the test case just to make sure surefire was working properly and chaos ensued). Thanks

Re: Need testSourceDirectory to come before dependencies on classpath during surefire run

2007-05-24 Thread Steven Cummings
In the long-run yes, but the use-case is trying to convert a bulk of projects to Maven 2. So that's why I said I'm just wanting to see how possible this is. I understand it would be a complete hack, but I have to know my actual options before I can weigh them. I asked because as I see it right

[M2] Site upload

2007-05-24 Thread Jens Hohl
Hello, i stumbled http://www.dict.cc/englisch-deutsch/stumbled.html about some FTP problems with maven 2. Can someone tell me what works with maven2 when site-deploy is invoked ? Regards, Jens

Re: scm Configuration for CVS Branch

2007-05-24 Thread Emmanuel Venisse
Send your message to users@maven.apache.org Emmanuel Arun P Johny a écrit : Hi, I'm new to maven build. I'm trying to build a project using maven 2.0.4. In my cvs I ROOT as well as BRANCH projects. I'm using ssh to connect to my CVS. Using my current connection settings I'm able to build

Re: trouble building a multi-module project with cross-module dependencies

2007-05-24 Thread Andrew Williams
my guess is that your mod1/pom.xml is missing the modules modulemod1A/module modulemod1B/module /modules Andy On 23 May 2007, at 20:05, Tim Foster wrote: I'm having trouble building a multi-module project structured as below: top |-- pom.xml |-- mod1 ||-- pom.xml ||--

How do you exclude the generated java files when running appc?

2007-05-24 Thread Doug Tanner
I am using the weblogic-maven-plugin's appc goal to precompile my JSP's inside my .war file. How do you exclude the generated _*.java files from the WEB-INF/classes/jsp_servlet folder? I am trying to keep the size down. Thanks, Doug Tanner Configuration Management Engineer

Re: Maven2 plugin for eclipse

2007-05-24 Thread Danilo Tuler
Hi Jacek, I'm using Tycho now and am quite happy with its features. I'm trying to migrate a large RCP project to tycho build, but It's lacking documentation. Is there any URL or sample project I could check? Thanks in advance. -- Danilo -- View this message in context:

Re: how to adding non-free sources to an internal repository?

2007-05-24 Thread ossi petz
Hallo thanks a lot for that hint :) this works. i am only confused now with the generated pom files for each artifact. when adding the jar's with the .class files an artifact pom is created, when i then add the sources jar (zip) the artifact pom is rewritten does that matter at all? the

Fwd: Settings Variable expansion

2007-05-24 Thread John Casey
Just forwarding this response back to the users list, so everyone has a chance to read. -john Begin forwarded message: From: John Casey [EMAIL PROTECTED] Date: May 24, 2007 9:55:28 AM EDT To: Maven Developers List [EMAIL PROTECTED] Subject: Re: Settings Variable expansion System properties

RE: trouble building a multi-module project with cross-module dependencies

2007-05-24 Thread Tim Foster
Wayne, thanks for the reply. It is interesting to know that Maven determines the proper build ordering of the modules itself. As you may have surmised, the example I described is a simplified version of my real-life scenario, as I thought it would be easier to understand if I took out all of the

AW: [M2] Site upload

2007-05-24 Thread Jens Hohl
Ist me again, i already tried to upload the Site to an Sun Server using SCP (FTP has this bug which is not fixed). The user maven have all permissions to create files or directories. Get always an error that the Permission is denied. The Password is correct also the username! I tried some kind

dependency-resolution: eclipse-plugin vs. webstart-plugin

2007-05-24 Thread Tobias Vogel
Hi all, I got a strange problem with the maven-webstart-plugin, it loses sight of some dependencies needed for the project. For example, the jakarta commons-codec lib is needed (derived dependency from a directly included artifact), but won't be included when generating the webstart-files. The

Re: CVS parameters

2007-05-24 Thread Jon Strayer
I don't mind putting it in settings.xml. What do I need to wrap it in? On 5/24/07, Emmanuel Venisse [EMAIL PROTECTED] wrote: You can run a cvs login command so you won't have to store your password in your pom or settings.xml. It will be stored in .cvspass if you use a standard cvs or in the

Re: Problem with classpath order

2007-05-24 Thread Andrew Williams
I think Sun would not really like this :) You can cause very serious security violations in this manner. Can you not subclass File (com.my.File) and use that everywhere instead? It can extend File so you have the same sort of behaviour... Andy On 23 May 2007, at 14:53, redhatvswin wrote:

Re: Problem with classpath order

2007-05-24 Thread Wayne Fay
I assume he meant CLDC (Connected Limited Device Configuration) aka J2ME (Java 2 Mobile Edition). I strongly agree with the other responses suggesting that you refactor things rather proceeding with this approach! Wayne On 5/24/07, Thorsten Heit [EMAIL PROTECTED] wrote: Hi, The reason is

Re: Maven2 compiler out of memory error

2007-05-24 Thread Pier Mauro Vignati
I got IBM WebSphere installed on my machine .. so I just tried to compile my app with the IBM JDK. plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-compiler-plugin/artifactId configuration

M2 Changelog plugin

2007-05-24 Thread Jon Strayer
When I execute mvn scm:changelog it works and generates this log entry (among others) [INFO] Executing: cvs -z3 -f -d : pserver:[EMAIL PROTECTED]:12310/appl/pkg1/cvs/reps/theteam/cvs -q log When I add the changelog report to my pom and execute mvn site it fails and generates these log entries:

WAR plugin issue with classpath prefixes

2007-05-24 Thread Alexander Sack
Is there a way to set the default classpath prefix in the manifest of a WAR? I can do it all day in a JAR using the classPathPrefix tag but it seems the WAR plugin doesn't support this which to me would be a bad oversight. I rather not include the JARS in WEB-INF/lib and my EAR's lib directory

War plugin doc issue

2007-05-24 Thread Alexander Sack
http://maven.apache.org/plugins/maven-war-plugin/examples/war-manifest-guide.html The example of how to add custom entries is wrong - this should be changed to (as per jar): configuration archive manifestEntries manifest_entryvalue/manifest_entry /manifestEntries /archive

Daytrader doesn't compile

2007-05-24 Thread Timothy Reilly
Has anyone run into the this problem that Better Builds with Maven code sample (Chapter 4) the Daytrader build will not compile? Starting with : [ERROR] BUILD FAILURE [INFO] [INFO] Compilation failure

Dependencies downloading for snapshot in Maven 2.0.5 and up

2007-05-24 Thread Jerome Thibaud
Hi All, Why are snapshots systematically downloaded in maven 2.0.5 and above? In maven 2.0.4 it seems to me they were downloaded only when the file had changed remotely ? known issue? Am I missing something ? regards Jerome T.

Including jtds package as project dependency.

2007-05-24 Thread imran aziz
Hello All, I want to use database calls from within my project and in order to do that I have included jtds in my project, added the following lines in POM dependency groupIdnet.sourceforge.jtds/groupId artifactIdjtds/artifactId version1.2/version

Library Resource used in test goal

2007-05-24 Thread Randall Fidler
Hello, Any ideas why Maven can see classes in sunjce_provider.jar (SunJCE) at compile time but not when it runs tests? I wouldn't think it's a dependency issue as the jar is bundled with the jre I'm using (1.5_11) and is NOT listed as a dependency. If it was a test vs compile

mvn site error? 'VM_global_library.vm' ???

2007-05-24 Thread Baz
Why am i seeing the following error? How can i resolve it? [INFO] Velocimacro : initialization starting.^M [INFO] Velocimacro : adding VMs from VM library template : VM_global_library.vm^ M [ERROR] ResourceManager : unable to find resource 'VM_global_library.vm' in any resource loader.^M [INFO]

Getting manifest files generated without project version numbers

2007-05-24 Thread Ian Rowlands
I'm trying to solve the problem where IBM RAD uses project names (and hence jar file references) without version numbers, but Maven creates its jars with version numbers. The main issue I have is with the automatic generation of the Manifest files. If I let Maven generate them, the resulting