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)
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
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
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
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
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
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
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]
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!
--
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
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
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
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
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
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
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!
--
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
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!
-
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
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
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
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
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: [
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
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
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
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]
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
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
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!
--
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
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
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
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
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
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
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]
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
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!
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!
-
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]
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]
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:
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
?
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
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
]
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
Hi,
Is there a gui for maven (besides eclipse plugin)?
Thanks!
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
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)
49 matches
Mail list logo