Creating jars with and without debug information

2007-06-28 Thread Rahamim, Zvi (Zvi)
Hi, By default maven creates a jar with debug information. I would like that for each project that I build, it will create two jars - one with debug information and one without. I don't want to configure all my pom.xml files. I assume one option is to have a parent pom.xml (correct me if I'm wrong)

Property for time

2007-06-26 Thread Rahamim, Zvi (Zvi)
Hi, I have a resource file that I replace the project version using ${project.version} . I also want to put the time that I created the version (e.g. 03 Jun 2007 19:00:00 GMT) Is there a property that I can use? Thanks! - To unsub

RE: Install/deploy a project with a single file

2007-06-12 Thread Rahamim, Zvi (Zvi)
Sent: Sunday, June 10, 2007 9:50 PM To: Maven Users List Subject: Re: Install/deploy a project with a single file On 6/10/07, Rahamim, Zvi (Zvi) <[EMAIL PROTECTED]> wrote: > I have a project with only a single xml file. > What should I define in the pom.xml file so that it will be

Install/deploy a project with a single file

2007-06-10 Thread Rahamim, Zvi (Zvi)
Hi, I have a project with only a single xml file. What should I define in the pom.xml file so that it will be installed and deployed? Thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTE

Configure the time in metainf file

2007-05-22 Thread Rahamim, Zvi \(Zvi\)
Hi, I want to add an entry in the manifest that contains the date in a format of: mmdd Can you give me an example of how to do it? Thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROT

Active profiles in settings.xml are wrong in maven-embedder

2007-04-23 Thread Rahamim, Zvi \(Zvi\)
Hi, I've defined in settings.xml file (under M2_HOME/conf/) a profile (my-profile) and set it to be activated. I removed file "C:\Documents and Settings\\.m2\settings.xml". When I run build using maven, it knows to uses my-profile, but when I create a maven project using the maven-embedder, it does

Referencing project version jars other than -.jar

2007-04-04 Thread Rahamim, Zvi \(Zvi\)
Hi, Suppose there is a project (e.g. myproj) with version 1.0. The oputout is not only myproj-1.0.jar, but also myproj_forClients-1.0.jar. Suppose for my dependency I need the myproj_forClients-1.0.jar. Is it done automatically? If not, how can I specify it? How can I have a reference (inside pom.x

Project output is a directory and not jar

2007-03-24 Thread Rahamim, Zvi \(Zvi\)
Hi, The output of my project is a directory structure. Does maven support this? Do I need to override the 'package' phase? Thanks! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Changing the log level of a plugin

2007-03-20 Thread Rahamim, Zvi \(Zvi\)
How can I configure the logger of a plugin class? for example I want org.apache.maven.plugin.AbstractCompilerMojo that the logger debug print will be invoked (e.g. getLog().debug( "Using compiler '" + compilerId + "'." );) Thanks! --

RE: maven-compiler-plugin doesn't compile according to configuration

2007-03-20 Thread Rahamim, Zvi \(Zvi\)
No, it doesn't help. It seems that it takes the java according to the env variable JAVA_HOME -Original Message- From: Thorsten Heit [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 20, 2007 2:59 PM To: Maven Users List Subject: Re: maven-compiler-plugin doesn't compile according to configu

maven-compiler-plugin doesn't compile according to configuration

2007-03-20 Thread Rahamim, Zvi \(Zvi\)
Hi, I've configured my pom.xml to use jdk 1.4.2, but it compiles with another JDK. Here is the maven-compiler-plugin configuration that I use: org.apache.maven.plugins maven-compiler-plugin 2.0.2 C:/jdk1.4.2/bin/javac 1.4 true

RE: File name according to groupId, artifactId and a version.

2007-03-19 Thread Rahamim, Zvi \(Zvi\)
f the output. On Monday 19 March 2007 14:56, Rahamim, Zvi (Zvi) wrote: > Hi, > Given a groupId, artifactId and a version, how can I know the final > name of the file? > For example, > org.apache.maven > maven-core > 2.0.4 > The file will be maven-core-2.0.4.jar > B

File name according to groupId, artifactId and a version.

2007-03-19 Thread Rahamim, Zvi \(Zvi\)
Hi, Given a groupId, artifactId and a version, how can I know the final name of the file? For example, org.apache.maven maven-core 2.0.4 The file will be maven-core-2.0.4.jar But the packaging can be not only jar, but war, ear... Is there an API from within Maven to get this file name? Than

RE: Load properties from file/url to pom.xml

2007-03-08 Thread Rahamim, Zvi \(Zvi\)
you. Wayne On 3/8/07, Rahamim, Zvi (Zvi) <[EMAIL PROTECTED]> wrote: > The problem is that the couple of pom.xml file already have different > parents... > Can you give me a hint of how to implement this?(I need that when > loading - before build time - the proper

RE: Load properties from file/url to pom.xml

2007-03-08 Thread Rahamim, Zvi \(Zvi\)
herit the properties set in the parent. Or utilize profiles.xml or settings.xml to share the properties. Otherwise, you will need to write a plugin to access the properties file and read the contents etc. Wayne On 3/8/07, Rahamim, Zvi (Zvi) <[EMAIL PROTECTED]> wrote: > Hi, > I know th

Load properties from file/url to pom.xml

2007-03-08 Thread Rahamim, Zvi \(Zvi\)
Hi, I know that inside pom.xml there is a section that I can define properties. Is there a way to load properties from a property file / url? I need this because I have a couple of pom.xml files that should load the same property file. Thanks! --

RE: Creating a new build type - InstallShiled

2007-02-18 Thread Rahamim, Zvi \(Zvi\)
type - InstallShiled what is the problem you are facing? -D On 2/18/07, Rahamim, Zvi (Zvi) <[EMAIL PROTECTED]> wrote: > > Hi > I have a new type of project: build install shield project. > This build require to get files from the version control, copy files > from remote repository and e

Creating a new build type - InstallShiled

2007-02-18 Thread Rahamim, Zvi \(Zvi\)
Hi I have a new type of project: build install shield project. This build require to get files from the version control, copy files from remote repository and execute a command line. I believe creating a plug-in is not enough, Can you tell me what I should do? Thanks! -

pom.xml updating problem

2007-02-12 Thread Rahamim, Zvi \(Zvi\)
Hi, We are a group of developers that work on a project. I would like that whenever I add/remove a dependency for that project, the other developers could see it with the minimal effort. I thought of having a parent pom.xml file in my repository, where each developer has its own pom.xml (that only

RE: Properties for pom.xml

2007-02-04 Thread Rahamim, Zvi \(Zvi\)
want to take a look at [1]. > > Cheers, > Franz > > [1] http://maven.apache.org/plugins/maven-remote-resources-plugin/ > > > Rahamim, Zvi (Zvi) wrote: >> >> Hi, >> Is there a way to tell my pom.xml to load properties from a property >> file that

Properties for pom.xml

2007-02-04 Thread Rahamim, Zvi \(Zvi\)
Hi, Is there a way to tell my pom.xml to load properties from a property file that resides in a remote repository? Example for such property file is com/myapp/myprop/A.properties. Thanks! - To unsubscribe, e-mail: [EMAIL PROTECTED

Custom packaging type

2007-01-30 Thread Rahamim, Zvi \(Zvi\)
Hi, I have a new project type, In this type I need to create a zip file that contain both directory structure from version control and dependency files (e.g. jars/wars...) (each file should be copied to a specific path - and this should be configured in the pom.xml file) It seems that I need to ove

ZQ: How can I get a reference to a dependency jar

2007-01-30 Thread Rahamim, Zvi \(Zvi\)
Hi, Suppose during the build, for example in the packaging phase, I want to take a class from a jar that my project depend on, how can I do it? Thanks! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [

Send email to developers / contributors

2007-01-25 Thread Rahamim, Zvi \(Zvi\)
Hi, I have configured developers and contributors in my pom.xml How can I tell maven to send notification to the groups on success / errors? Can I specify to send only to one of the developers / contributors? Thanks! - To unsubscr

RE: Question about the scm plugin

2007-01-25 Thread Rahamim, Zvi \(Zvi\)
Thank you! -Original Message- From: Julien Martin [mailto:[EMAIL PROTECTED] Sent: Thursday, January 25, 2007 11:55 AM To: Maven Users List Subject: Re: Question about the scm plugin by changing the environment variable "path"... 2007/1/25, Rahamim, Zvi (Zvi) <[EMAIL PROTE

RE: Question about the scm plugin

2007-01-25 Thread Rahamim, Zvi \(Zvi\)
How can I set the CVS.exe path? Thanks! -Original Message- From: Emmanuel Venisse [mailto:[EMAIL PROTECTED] Sent: Thursday, January 25, 2007 11:07 AM To: Maven Users List Subject: Re: Question about the scm plugin because we don't use yet a pure java client for cvs Emmanuel Julien Mar

Add information in pom.xml other than properties

2007-01-24 Thread Rahamim, Zvi \(Zvi\)
Hi, I want to put information in the pom.xml file, Put properties is not enough for me, I would like to put complex xml elements. Is there a section in pom.xml that I can put it? Thanks! - To unsubscribe, e-mail: [EMAIL PROTECTED]

RE: Alternative to maven

2007-01-24 Thread Rahamim, Zvi \(Zvi\)
ubject: Re: Alternative to maven On 22/01/07, Rahamim, Zvi (Zvi) <[EMAIL PROTECTED]> wrote: > Hi, > A month ago I started looking for a solution for building different > kind of projects. > I have to say that I find maven a great solution. > What I want to know is: > 1. If ther

Alternative to maven

2007-01-21 Thread Rahamim, Zvi \(Zvi\)
Hi, A month ago I started looking for a solution for building different kind of projects. I have to say that I find maven a great solution. What I want to know is: 1. If there is a different solution (not Ant) 2. If there is a GUI for maven: for example, when you double click on a pom.xml it will o

Retrieving file from the MavenEmbedder in the same way dependency is retrieved

2007-01-14 Thread Rahamim, Zvi \(Zvi\)
Hi, I'm using the maven embedded and I want to retrieve a file from the remote repository. I want that it will be done in the same way a dependency/plug-in is retrieved (with the same protocol, with the same user/password, proxy and so on...) Can you tell me how can I do it? Thanks! --

Create a zip of dependencies inside pom.xml

2007-01-08 Thread Rahamim, Zvi \(Zvi\)
Hi, Is there a way to create a zip file contains all the dependencies (transitively) specified in a pom.xml file (both source and classes) Thanks! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Src directory not in the same pom.xml directory

2007-01-05 Thread Rahamim, Zvi \(Zvi\)
Hi, In case I have a pom.xml file in a directory and I want that it will take the src directory from another location than the pom.xml How can I do it? Thanks! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

RE: Configure java compiler fork

2007-01-02 Thread Rahamim, Zvi \(Zvi\)
ou can also set a true as a default in your pom. Then you can specify -Dfork=true|false from the commandline. Tom On 1/2/07, Rahamim, Zvi (Zvi) <[EMAIL PROTECTED]> wrote: > I read the documentation, but I didn't see the option to set it using > property. > > -Original Me

RE: Configure java compiler fork

2007-01-02 Thread Rahamim, Zvi \(Zvi\)
aven2+compiler+fork&ie=utf-8&oe=utf-8&rl s=org.mozilla:en-US:official&client=firefox-a On 1/2/07, Rahamim, Zvi (Zvi) <[EMAIL PROTECTED]> wrote: > Hi, > Is there a way to set (in the java compiler plugin) the fork value to > true not through the pom.xml b

Configure java compiler fork

2007-01-02 Thread Rahamim, Zvi \(Zvi\)
Hi, Is there a way to set (in the java compiler plugin) the fork value to true not through the pom.xml but using property? (something like maven.compiler.fork=true) Thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

SNAPSHOT versions

2006-12-27 Thread Rahamim, Zvi \(Zvi\)
Hi, I could see that in the project directory in the repository there is a file maven-metadata.xml that has the information which versions are exist. I could also see that in case of snapshot there is no information which snapshot versions there are, only the last one. Is there a way to know the li

Support in cvs' extssh protocol

2006-12-17 Thread Rahamim, Zvi \(Zvi\)
Hi, Do you know where there will be support for extssh in scm:cvs ? Thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

SCM example

2006-11-29 Thread Rahamim, Zvi \(Zvi\)
Hi, I want to work with a CVS in order to create a version according to it. As I could see, when creating a version maven takes the sources from the src directory (in the same directory as pom.xml exists). What happen when using CVS or other version control? Can you explain it a little bit and give

ZQ: Changing the version when using the maven embedder

2006-11-15 Thread Rahamim, Zvi \(Zvi\)
Hi, I write a java program that gets a pom.xml file, read it, get from the user the version to build and runs maven according to that. What I need to do is to change the version of the built project according to the user input. Can you tell me how to do it? Thanks!

ZQ: Parent POM version

2006-11-13 Thread Rahamim, Zvi \(Zvi\)
Hi, In case I have a project with pom.xml with a parent. I want that this pom.xml will use the latest version of the parent (so that in case there is a change in the dependencies of the parent, I won't have to change pom.xml, but only the parent). How can I do it? Thanks! -

ZQ: Generate a report to show source changes

2006-11-12 Thread Rahamim, Zvi \(Zvi\)
Hi, Is there a way to have a report that shows the changes between the sources of two releases? Thanks! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

ZQ: Fail the build in case a version already exist

2006-11-06 Thread Rahamim, Zvi \(Zvi\)
Hi, I want that in case I try to deploy a version that is already exist, the build will fail. Can you guide me how to do it? Thanks! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: ZQ: Overide project and dependency versions using command line attribute

2006-11-06 Thread Rahamim, Zvi \(Zvi\)
Thank you both, Suppose I use the Maven using a java code (MavenEmbedder~). How can I leverage this in order to change the parameter values (my-app and my-app2 versions)? Thanks -Original Message- From: Arnaud Bailly [mailto:[EMAIL PROTECTED] Sent: Monday, November 06, 2006 11:39 AM To:

ZQ: Overide project and dependency versions using command line attribute

2006-11-06 Thread Rahamim, Zvi \(Zvi\)
Hi, I have a project my-app that depends on my-app-2. The version that is specified in that file is version 1.0.0 for my-app and 2.0.0 for my-app2. I want, without modifying the pom.xml file, to build deploy my-app but with version 1.0.1 that uses my-app2's version 2.0.1 Can you tell me how to do i

RE: Additional features for maven2 plugin

2006-11-01 Thread Rahamim, Zvi \(Zvi\)
? Wayne On 11/1/06, Rahamim, Zvi (Zvi) <[EMAIL PROTECTED]> wrote: > Hi, > I think that a very important feature is to have the ability to > define, before maven starts building, the versions of the dependencies. > Is there an intentio

Additional features for maven2 plugin

2006-10-31 Thread Rahamim, Zvi \(Zvi\)
Hi, I think that a very important feature is to have the ability to define, before maven starts building, the versions of the dependencies. Is there an intention to add this feature? Thanks! Zvi. - To unsubscribe, e-mail: [EMAIL P

RE: ZRQ: front end to maven

2006-10-04 Thread Rahamim, Zvi \(Zvi\)
] Sent: Wednesday, October 04, 2006 2:53 PM To: Maven Users List Subject: Re: ZRQ: front end to maven netbeans module. Milos On 10/4/06, Rahamim, Zvi (Zvi) <[EMAIL PROTECTED]> wrote: > Hi, > Is there a gui for maven (besides eclipse plugi

ZRQ: front end to maven

2006-10-04 Thread Rahamim, Zvi \(Zvi\)
Hi, Is there a gui for maven (besides eclipse plugin)? Thanks! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

ZQ: Configure Maven to work with local network drive and different jar names

2004-04-25 Thread Rahamim, Zvi (Zvi) ** CTR **
Hi! In my company the jars of the various projects are in a network drive so that everybody can access them. Each project has its own project directory, and under this directory there is a directory for each version (in the version directory there are all the files that relates to this versions)