[1.1-beta-4] FreeMarker template error!

2007-11-21 Thread Erik Ruisma
Hello, we have been testing the beta-4 for a while, suddenly I'm unable to edit or add any Build definitions. I don't see the save button (see screenshot1). On the bottom of the page I get a yellow background (screenshot2). I've also added the a part of the continuum log file. Anything I can do

RE: Build in success, but maven failed

2007-11-21 Thread Hodanics, Charles J.
Ah thanks much, I saw that faq but read over that cause I thought it was continuum issue not maven. Charles Hodanics NSTD-STJ 443-778-3246 -Original Message- From: Emmanuel Venisse [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 21, 2007 2:04 AM To:

m2 group project is not efficient?

2007-11-21 Thread Dan Tran
changes in any sub module triggers full builds ( ie all projects are built), the main reason is a change will trigger the master/root project to build and therefore triggers the rest. Is it the intended behavior? -D

Re: m2 group project is not efficient?

2007-11-21 Thread Tomislav Stojcevich
http://jira.codehaus.org/browse/CONTINUUM-1312 vote for it --tom

Re: m2 group project is not efficient?

2007-11-21 Thread Dan Tran
oh cool, and voted On Nov 21, 2007 7:20 AM, Tomislav Stojcevich [EMAIL PROTECTED] wrote: http://jira.codehaus.org/browse/CONTINUUM-1312 vote for it --tom

Using dependency versions in a property file

2007-11-21 Thread Jochen Wiedmann
Hi, it hit me again: I have a property file, which contains version number of dependencies (in order to build the classpath, depending on the JDK version). That property file is maintained manually, of course an ugly thing. But I have no idea how to create it automatically. Any suggestions?

Re: Using dependency versions in a property file

2007-11-21 Thread Juven Xu
I don't quite understand your situation, why not config version number in pom file and use Maven-IDE plugin to generate classpath file? On Nov 21, 2007 4:02 PM, Jochen Wiedmann [EMAIL PROTECTED] wrote: Hi, it hit me again: I have a property file, which contains version number of dependencies

Re: Using dependency versions in a property file

2007-11-21 Thread Jochen Wiedmann
On Nov 21, 2007 9:18 AM, Juven Xu [EMAIL PROTECTED] wrote: I don't quite understand your situation, why not config version number in pom file and use Maven-IDE plugin to generate classpath file? The version number *is* in the pom file: It is part of the dependency specification. What is the

Generating ejb skeleton code from wsdls

2007-11-21 Thread Jeff Mutonho
One of the steps I would like to automate is the generation of skeleton ejb code(for Websphere 6) from wsdls. Currently this is being done by creating a batch file with the following content WSDL2Java -v -r develop-server -c ejb –I yes -o outputFolderPath -f mappingFilePath wsdlFilePath This

Re: Using dependency versions in a property file

2007-11-21 Thread Juven Xu
You want to create pom file automatically? or just want to create classpath file automatically? If in latter case, Eclipse for instance, use command mvn eclipse:clean eclipse:eclipse to generate your eclipse classpath file. Juven On Nov 21, 2007 4:24 PM, Jochen Wiedmann [EMAIL PROTECTED] wrote:

Re: Using dependency versions in a property file

2007-11-21 Thread Jochen Wiedmann
On Nov 21, 2007 9:32 AM, Juven Xu [EMAIL PROTECTED] wrote: You want to create pom file automatically? or just want to create classpath file automatically? I want to create a file like dependency.1=xercesImpl-2.7.1.jar dependency.2=xalan-2.4.0.jar ... -- Look, that's why

Re: Using dependency versions in a property file

2007-11-21 Thread Juven Xu
First, if the classpath you want to build is used in Eclipse or IntellJ, maven's plugin can help you generate it. Or if you really want to generate the file which format you provided, you can write a small util program parsing pom file and generate the file you want, by dom4j, for instance. Or you

Re: Doxia Macro in a xdoc file

2007-11-21 Thread Rémy Sanlaville
Hi Dennis, You are right it works with the 2.0-beta-6-SNAPSHOT. Thanks for the hint. I was using the 2.0-beta-5 version. As the Doxia site has not project summary page (cf. http://maven.apache.org/doxia/project-info.html), it not possible to know which version to use. I would be nice to add this

Re: How to pass different options to javac during compile and testCompile goals?

2007-11-21 Thread Sahoo
Hi Milos, Milos Kleint wrote: Sahoo wrote: (Resending as I am on the users alias now. I have also put a reference to a similar unsolved question from the past) Hi, I want to pass different options to maven-compiler-plugin during compile and testCompile goals. Let's say, I want to set source

1 depency find, 10 downloaded!

2007-11-21 Thread Michael Bernagou
Hello (world), I'm a sort of noob in Maven2.0.7. I'm using Eclipse WTP and the latest maven-eclipse-plugin. I defined theses dependencies : dependency groupIdlog4j/groupId artifactIdlog4j/artifactId version1.2.15/version /dependency dependency

Re: 1 depency find, 10 downloaded!

2007-11-21 Thread Tomasz Pik
On Nov 21, 2007 12:53 PM, Michael Bernagou [EMAIL PROTECTED] wrote: Hello (world), I'm a sort of noob in Maven2.0.7. I'm using Eclipse WTP and the latest maven-eclipse-plugin. I defined theses dependencies : [...] And when I launched the script : %M2_HOME%\bin\mvn eclipse:eclipse

Re: Generating ejb skeleton code from wsdls

2007-11-21 Thread Olivier Dehon
On Wed, 2007-11-21 at 10:31 +0200, Jeff Mutonho wrote: One of the steps I would like to automate is the generation of skeleton ejb code(for Websphere 6) from wsdls. Currently this is being done by creating a batch file with the following content WSDL2Java -v -r develop-server -c ejb –I

Re: 1 depency find, 10 downloaded!

2007-11-21 Thread Olivier Dehon
On Wed, 2007-11-21 at 12:53 +0100, Michael Bernagou wrote: And when I launched the script : %M2_HOME%\bin\mvn eclipse:eclipse -Dwtpversion=1.5 It download something like 20 librairies more such as avalon-framework, neethi, etc... why?? I suppose there is a dependency who create many

[dependency plugin] Used undeclared dependencies

2007-11-21 Thread Wim Deblauwe
Why does the dependency plugin gives Used undeclared dependencies? What is the reason or how does maven know this? I looked at the docs ( http://maven.apache.org/plugins/maven-dependency-plugin/analyze-mojo.html), but it did not give much info on why you get this and what you can do about it.

Re: [FWD: Maven2 and Sun Jars]

2007-11-21 Thread Wayne Fay
If you expect a response to this email, you'll need to explain things. I'm not a fan of attachments. Wayne On 11/20/07, Travis Winkler [EMAIL PROTECTED] wrote: - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: deploy with scp

2007-11-21 Thread n2000
Try to set PasswordAuthentication yes in file /etc/ssh/sshd_config on your ssh server where your maven repository is installad. Ravinder Singh-3 wrote: I am trying to do do a deploy without user interaction (through continuum). Currently I am testing deploy for the project. But I am

RE: [dependency plugin] Used undeclared dependencies

2007-11-21 Thread nicklist
AFAIK, this shows the dependencies from which your code is using classes, but which are not declared in your pom file, but by another dependency. ie. You - Project A - Project B And one of your classes imports something from Project B. This will compile. Project A releases a new versions,

Re: help with assembly plugin

2007-11-21 Thread Gunnar Boström
HI, ${basedir}/ did the trick! Thanks! =) Mick Knutson-4 wrote: Have you tried source${basedir}/ On 11/20/07, Gunnar Boström [EMAIL PROTECTED] wrote: Hi, Thanks for trying to help but the problem is with the multi-module project. If I run mvn package from the module directory it

Re: Maven, junit and Mock Classes

2007-11-21 Thread Jan Torben Heuer
Antonio Petrelli wrote: Mock classes can stay in the src/test/java directory. What's the problem? That directory is not available as dependency. Jan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Maven training available ?

2007-11-21 Thread Ethan . Allen
Just wondering if any good Maven training is available out there ? We're doing OK with the self-taught approach but we'd like to get a better understanding of Maven and of its place in a large-scale build process. thanks in advance for any advice ! Ethan Allen Extension 7563 (desk)

RE: Re: Maven, junit and Mock Classes

2007-11-21 Thread Siegmann Daniel, NY
You could use the test jar mojo: http://maven.apache.org/plugins/maven-jar-plugin/test-jar-mojo.html -- Daniel Siegmann FJA-US, Inc. 512 Seventh Ave., New York, NY 10018 (212) 840-2618 ext. 139 -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Jan Torben Heuer Sent:

Continuum Derby Question

2007-11-21 Thread Morgovsky, Alexander (US - Glen Mills)
I am trying to create a JDBC statement to test whether the start time of a build and the end time of a build are between 2 Java Date getTime() values. However, the field of START_TIME and END_TIME in SA.TABLE.BUILDRESULT is BIGINT. The following statement fails in JDBC. Could someone please

Re: [M2] Pb Release and preserve timestamps

2007-11-21 Thread Rémy Sanlaville
I tried to go more in depth to understand the problem. In short: It seems that the problem comes from the class org.apache.maven.wagon.providers.ssh.jsch.SftpWagon from wagon-ssh version 1.0-beta-2 In fact, in line 88 86if ( permissions != null permissions.getFileMode() != null ) 87

Re: [M2] Pb Release and preserve timestamps

2007-11-21 Thread Lee Meador
The account you use to log in for SFTP needs to own the deployed artifacts. If your account does not have permission to replace the file on the server, the owner account does not want you to be replacing it. Only the owner (or root) is allowed to set the permissions on the file according to their

Problem referencing maven2 built ejb-client jar in maven 1.

2007-11-21 Thread smceneaney
Hi Folks, We are currently porting a very large set of projects from maven 1 to maven 2. One of the maven 2 projects installs two ejb jars into the maven 2 repo. The first jar is the ejb jar and the second is the ejb-client jar. These jars are then copied to the maven 1 repo using the maven 1

Re: [M2]Eclipse WTP, dependency, deployement, libraries

2007-11-21 Thread jeffrey ai
You will have to regenerate your eclipse settings each time that you change your pom (adding/removing a dependency for example). After that you can ** import ** your project in eclipse and you'll use the standard build of eclipse (Ctrl + B) to build your application. I think you just need to

Re: dependency plugin and version

2007-11-21 Thread deckrider
Just wanted to report back that I finally go this to work by doing this (thanks for the clues along the way): plugins plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-war-plugin/artifactId configuration webResources resource

Re: antLib not producing same classpath as Mvn

2007-11-21 Thread Hervé BOUTEMY
Maven Ant Tasks should resolve dependencies exactly like Maven in command line. But there are code duplications between the command line usage of Maven internals and Ant tasks' usage: sometimes, this leads to unwanted differences. FYI, in Maven 2.1, a component has been created to avoid this

FW: Getting access to the versions in a POM

2007-11-21 Thread Jason Pringle
FYI, if you're looking to write a plugin that needs dependency information here's a bit of a start on that. --Jason -Original Message- From: Tom Huybrechts [mailto:[EMAIL PROTECTED] Sent: Thursday, November 15, 2007 1:09 AM To: Maven Users List Subject: Re: Getting access to the

Re: Include source, javadocs, etc in installed artifact

2007-11-21 Thread lightbulb432
From where can I download maven-javadoc-plugin 2.4? There's a documented IBM JVM-specific bug that's fixed in 2.4 that I need to download. Unfortunately, it doesn't look like it's released yet (is it?), with the latest version being 2.3 (see

Maven release plugin: Address already in use!

2007-11-21 Thread Bashar Jawad
I am trying to use the maven-release-plugin to prepare and perform a release. I simply created a new empty maven 2 project and added the required scm information in the POM. However any time I run the command: mvn release:clean release:prepare maven asks me for release/tag/developement version

Maven users interested in the future of Proximity

2007-11-21 Thread Jason van Zyl
http://blogs.sonatype.com/jvanzyl/2007/11/21.html Thanks, Jason -- Jason van Zyl Founder, Apache Maven jason at sonatype dot com --

RE: Maven users interested in the future of Proximity

2007-11-21 Thread Jason Chaffee
Is nexus going to be open source or is the expectation that support is bought from sonatype? -Original Message- From: Jason van Zyl [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 21, 2007 3:10 PM To: Maven Users List Subject: Maven users interested in the future of Proximity

Re: Maven users interested in the future of Proximity

2007-11-21 Thread Mark Derricutt
Jason's blog post mentions Apache licensed and available via subversion/git repositories. On 11/22/07, Jason Chaffee [EMAIL PROTECTED] wrote: Is nexus going to be open source or is the expectation that support is bought from sonatype? -- Ambition is the last refuge of failure

maven rebuild dependency

2007-11-21 Thread LinaTomy
I have a project A that is Dependant on project B. When i build and package project A I want it to recompile and package project B if it has been modified or updated. Is this possible? Thanks a lot Lina -- View this message in context:

Re: maven rebuild dependency

2007-11-21 Thread Juven Xu
I'm wondering how can Maven konw project B has been modified or updated. Juven On Nov 22, 2007 8:29 AM, LinaTomy [EMAIL PROTECTED] wrote: I have a project A that is Dependant on project B. When i build and package project A I want it to recompile and package project B if it has been

Re: maven rebuild dependency

2007-11-21 Thread LinaTomy
Maven dependency plugin has a goal copy-dependencies which has this parameter overWriteIfNewer Overwrite artifacts that don't exist or are older than the source. Similarly I was wondering whether it would be able to compare project with latest source and if modified recompile it. If not just a

Re: maven rebuild dependency

2007-11-21 Thread Wayne Fay
If they share a parent, and are declared as modules in the parent pom, then you can build from the parent directory and it will build, package, install etc all modules. If they are simply 2 projects in 2 different directories, then no. Maven will simply use the latest deployed artifact in your

Re: Maven users interested in the future of Proximity

2007-11-21 Thread Jason van Zyl
On 21 Nov 07, at 5:30 PM 21 Nov 07, Jason Chaffee wrote: Is nexus going to be open source or is the expectation that support is bought from sonatype? As the announcement says it's going to be ASL in an open SVN/GIT repository. -Original Message- From: Jason van Zyl

Using Maven with Netbeans and GlassFish

2007-11-21 Thread Wouter van Reeven
Hi all, Recently I have been writing some blog articles about using Maven from within Netbeans to create enterprise applications and deploy them to GlassFish. This article http://technology.amis.nl/blog/?p=2489 deals with creating a default Maven enabled Netbeans enterprise application. This

resources:testResources not filtering files

2007-11-21 Thread Chad Boyd
When I run the goal resources:testResources a file in src/test/ resources is copied to target/test-classes but isn't filtered. I have the src/test/resources directory listed in the pom with filtered set to true but the ${...} properties are still in the output file. When I run

rmic compiler other then FreeHep

2007-11-21 Thread Borut Bolčina
Hello, is anyone aware of rmic compiler other then http://java.freehep.org/freehep-rmic-plugin/index.html? The problem with the above plugin is that you need to provide the classes for the stub generation and one can easily forget to add one in an environment where several people add classes