scm:add usage

2010-04-21 Thread Barry Guillaume
Hi, I try to use the scm:add goal on maven-scm-plugin, but I don't find any working sample on google. Can you add a sample to the Other SCM Commands http://maven.apache.org/scm/plugins/examples/scm-advance-features.html page or send a sample to me I try to take a look at test sources but you

[ANN] maven deptools plugin 1.0-RC4-SNAPSHOT released

2010-04-21 Thread Morten Kjetland
Hi all, I've created a maven plugin that ...gives build error if maven resolves transient dependencies in such a way that the none-newest version is chosen. This plugin has turned out to be very useful in the company I work for. I would appreciate any feedback about the plugin. The plugin can

Re: Maven 2.2.1 on Windows-64 bit

2010-04-21 Thread Brett Porter
I have no direct experience, but there's no reason it shouldn't. It works just fine on my 64-bit Mac :) On 21/04/2010, at 2:53 PM, Vineeth Karkad (vkarkad) wrote: Hi, We have our build hosts on Win 2K3 server Standard Edition 32-bit. Because of memory related performance issues, we are

Re: Integration of an applet jar in a war with Eclipse (Maven integration + WTP plugins)

2010-04-21 Thread Jean-Claude Vogel
Hello, No idea of solution ? It seems that with maven 1 it was possible de add properties to a dependency of the war to indicate the final location in the war, but it's no more possible. 2010/4/17 Jean-Claude Vogel vogel.jeancla...@gmail.com Hello, I would like to put an applet Jar built

jnlp plugin

2010-04-21 Thread sudharma karekar
I have a parent project called jnlp-test under which I have two projects jnlp-war and jnlp-main-jar It looks something like this jnlp-test(parent) jnlp-main-jar(child) jnlp-war(child) I am using the webstart-maven-plugin to build the war. I have an entry in the jnlp-war pom to include the

Maven Compiler Plugin - Excludes

2010-04-21 Thread Salgar, Mehmet (external)
Hi everybody, maven compiler plugin drives me crazy for the defaut-testCompile... In a project I am using maven aspectj plugin, my whole source code is under src/main/aspect and during the compile maven compiler plugin correclty ignore this directory and compile only src/main/java. Now in

maven-gae-plugin

2010-04-21 Thread Manuel Grau
We have recently updated the plugin to use google app engine 1.3.2

maven-metadata-central.xml is missing versions in local repo

2010-04-21 Thread Florian R.
Hi, I have a multi module build using maven 2.2.1 and artifactory 2.2.0. The first submodule requests log4j 1.2.9 resulting in the files [1] downloaded correctly. The second submodule request log4j 1.2.14 resulting in some files added [2] As you can see maven now creates a

Why do some projects in the repo contain only .pom files, no jars

2010-04-21 Thread Pankaj Tandon
Hi, This question is regarding dependencies and how they are stored in repo1 AND my corporate repo. There are projects that have just .pom files and no corresponding jars. When I open up the pom file, I see a packaging a type jar. Still.. no jar. Also there is no 'relocation' element specified.

Unicode characters and the maven log

2010-04-21 Thread Benson Margulies
When my plugin pushes Chinese data into the log, it shows up as ?, even when redirected to a file. -Dfile.encoding=utf-8 does not help. Is there a way to configure or correct this?

maven scm plugin: accurev scm provider

2010-04-21 Thread eyal edri
Anyone has used accurev + scm plugin yet? i know issue 445 on the scm-accurev-provider should fix most problems once ver 1.4 is due, is there any way i can use the plugin in the meantime and test connection to the accurev server? thanks. -- Eyal Edri

Re: [ANN] Maven Compiler Plugin 2.3 Released

2010-04-21 Thread John Singleton
Thanks, Brett. FWIW, I also noticed this problem with the 2.2 version of Compiler plugin, which was released a couple of weeks ago. On Tue, Apr 20, 2010 at 8:08 PM, Brett Porter br...@apache.org wrote: Yes, the checksums seem to be incorrect on central. I'll forward this to the dev list. On

Re: Why do some projects in the repo contain only .pom files, no jars

2010-04-21 Thread Pankaj Tandon
Please ignore this post.. It's a duplicate of: http://n2.nabble.com/Where-are-there-missing-jars-in-repo1-with-just-pom-files-instead-td4931179.html#a4931179 -- View this message in context:

Re: Where are there missing jars in repo1, with just .pom files instead

2010-04-21 Thread Pankaj Tandon
Thanks for the response Wayne. I missed the relocation element there. -- View this message in context: http://n2.nabble.com/Where-are-there-missing-jars-in-repo1-with-just-pom-files-instead-tp4931179p4937074.html Sent from the maven users mailing list archive at Nabble.com.

Re: Is there a way to change the webapp directory name?

2010-04-21 Thread Wendy Smoak
2010/4/19 Néstor Boscán nestor.bos...@tcs.com.ve: And when I generate the JDeveloper project I still get src/main/webapp as the directory. Maybe the JDeveloper project plugin is not reading this property when it's generating the project file. What you configured is for the Maven War Plugin to

Re: maven-gae-plugin

2010-04-21 Thread Tim O'Brien
That's wonderful. Do you have a question? On Wed, Apr 21, 2010 at 5:32 AM, Manuel Grau mang...@gmail.com wrote: We have recently updated the plugin to use google app engine 1.3.2 - To unsubscribe, e-mail:

AW: Maven subsystem automation

2010-04-21 Thread Moser, Christian
Thx fort he hint, I'm slowly getting into it. Is there a possibility to increase the version value in batch-mode other than + 1? for example: 1.5.0-SNAPSHOT -- Release: 1.5.0 Snapshot: 1.6.0-SNAPSHOT (not as default 1.5.1-SNAPSHOT)? I know it is possible to define the version by an external

Profiling a maven build

2010-04-21 Thread Baptiste MATHUS
Hi all, Do you have any idea or know any tool that would help me analyze where a maven build spends time? I mean, quite of a java profiling tool, but maven oriented. My problem is a quite common one: my build time is becoming huge, so I'd like to see where the optimizing effort has to be put.

Re: jnlp plugin

2010-04-21 Thread Dennis Lundberg
Does jnlp-war have a normal dependency on jnlp-main-jar? On 2010-04-21 08:47, sudharma karekar wrote: I have a parent project called jnlp-test under which I have two projects jnlp-war and jnlp-main-jar It looks something like this jnlp-test(parent) jnlp-main-jar(child) jnlp-war(child)

RE: Maven 2.2.1 on Windows-64 bit

2010-04-21 Thread Gorham-Engard, Frank
I don't see any other responses so I will jump in and state what appears to be obvious to me. Maven doesn't run on Windows or Mac, it runs on the Java Runtime Engine. As long as your platform has a JRE you are good to go. !-- Frank Gorham-Engard → Be kinder than necessary.   Everyone you work

mvn release:perform does not honor //servers/server in alternate settings location

2010-04-21 Thread David Siefert
Hi All- I am trying to perform a maven release by invoking the following: mvn -B -s /my/alternate/maven2/home/settings.xml release:prepare release:perform The problem that occurs is during the deploy of the release artifact, it seems it is not picking up the username/password in

Re: Profiling a maven build

2010-04-21 Thread Jason van Zyl
On Apr 21, 2010, at 12:27 PM, Baptiste MATHUS wrote: Hi all, Do you have any idea or know any tool that would help me analyze where a maven build spends time? I mean, quite of a java profiling tool, but maven oriented. Nothing exists without adding the instrumenting the lifecycle with

Re: Native library files

2010-04-21 Thread Jon Kristensen
Hi! That helped me a lot! I have realized that the problem was neither in Maven or in m2eclipse. I assumed a native library on the classpath would be loadable by System.loadLibrary(). I now extract the libraries in the target/natives directory by using the maven-dependency-plugin: plugin

Re: mvn release:perform does not honor //servers/server in alternate settings location

2010-04-21 Thread David Siefert
On Wed, Apr 21, 2010 at 1:42 PM, David Siefert siefert.da...@gmail.comwrote: Hi All- I am trying to perform a maven release by invoking the following: mvn -B -s /my/alternate/maven2/home/settings.xml release:prepare release:perform The problem that occurs is during the deploy of the

adding javarebel-maven-plugin to ejb module pom.xml

2010-04-21 Thread Arbi Sookazian
I have a multi-module Maven project. In the ejb module POM for the Seam ejb components, I added the following xml snippet for the javarebel-maven-plugin in the build section. The purpose of this plugin is to create a rebel.xml file in the target\classes directory and finally in the root of the

Re: [ANN] Maven Compiler Plugin 2.3 Released

2010-04-21 Thread Brett Porter
On 21/04/2010, at 11:13 PM, John Singleton wrote: Thanks, Brett. FWIW, I also noticed this problem with the 2.2 version of Compiler plugin, which was released a couple of weeks ago. Yes, they both use the same version of the shared component. It's being taken care of. - Brett -- Brett

Re: maven-metadata-central.xml is missing versions in local repo

2010-04-21 Thread Wayne Fay
[INFO] Failed to resolve artifact. Couldn't find a version in [1.2.15, 1.2.16] to match range [1.2.9,1.2.9] log4j:log4j:jar:null What does your pom file dependency to log4j look like? Wayne - To unsubscribe, e-mail:

Dealing with legacy dependencies for projects that are pushed to central repo

2010-04-21 Thread Rene Gielen
Hi, I am wondering what the recommended way is to deal with legacy dependencies (those that can not be resolved against an official repository) for artifacts that are going to be published to central. The module in doubt is a showcase application (war) that belongs to a web interface integration

Re: Maven Compiler Plugin - Excludes

2010-04-21 Thread Wayne Fay
Now in test-compile phase, compiler plugin discovers the src/test/aspect and wants to compile that also. This is a feature or bug I don't know What does mvn help:effective-pom reveal? You must be configuring something somewhere that is telling Maven to compile files in src/test/aspect. Wayne

Re: complex jar generation for SCJD assignment

2010-04-21 Thread zedros schwartz
On Wed, Apr 21, 2010 at 6:17 AM, Wayne Fay wayne...@gmail.com wrote: exactly once. Focus on the code (which you can certainly build with Maven) and then when you're ready to submit it to Oracle, zip up the files you need in the directory structure you need them in. Agreed wholeheartedly.

Re: complex jar generation for SCJD assignment

2010-04-21 Thread zedros schwartz
This looks like a very out of date version of http://maven.apache.org/plugins/maven-assembly-plugin/. You should look at that site instead. in fact I found it more user friendly. But then if it's outdated... I'll check :) thx again !

Re: Integration of an applet jar in a war with Eclipse (Maven integration + WTP plugins)

2010-04-21 Thread Barrie Treloar
On Wed, Apr 21, 2010 at 4:08 PM, Jean-Claude Vogel vogel.jeancla...@gmail.com wrote: Hello, No idea of solution ? It seems that with maven 1 it was possible de add properties to a dependency of the war to indicate the final location in the war, but it's no more possible. I can't offer any

Re: Problem compiling FlexLibrary using include directive

2010-04-21 Thread Viral B
Flex builder or command line will throw error for your case since you are compiling TestIncl.as file. One way to resolve this error is by not compiling TestIncl.as file you could do this in Flex Builder as well as your build script, but this is not a clean solution. Other option which I use is

Re: jnlp plugin

2010-04-21 Thread sudharma karekar
No. Only the main class is in the jnlp-main-jar Dennis Lundberg-2 wrote: Does jnlp-war have a normal dependency on jnlp-main-jar? On 2010-04-21 08:47, sudharma karekar wrote: I have a parent project called jnlp-test under which I have two projects jnlp-war and jnlp-main-jar It looks

RE: Is there a way to change the webapp directory name?

2010-04-21 Thread Néstor Boscán
Hi Wendy What I'm trying to do is generate the JDeveloper Project files (*.jpr) from the pom.xml the same way you generate the eclipse project files using mvn eclipse:eclipse or the IDEA project files using mvn idea:idea. In the end I want the project files to be generated and when I open them

Re: Profiling a maven build

2010-04-21 Thread Stephen Connolly
AFAIK maven already gives the time spent per module as a summary at the end of the build. For Maven 3, it would be easy to implement a hook to report the info at the mojo exececution time level also -Stephen On 21 April 2010 17:27, Baptiste MATHUS m...@batmat.net wrote: Hi all, Do you have

Re: adding javarebel-maven-plugin to ejb module pom.xml

2010-04-21 Thread Stephen Connolly
use a profile On 21 April 2010 21:10, Arbi Sookazian asookaz...@gmail.com wrote: I have a multi-module Maven project. In the ejb module POM for the Seam ejb components, I added the following xml snippet for the javarebel-maven-plugin in the build section. The purpose of this plugin is to

Re: Profiling a maven build

2010-04-21 Thread nicolas de loof
this would be a nice addition to tweak continuous integration and check where time is spent. Sometime we can disable some non-vital plugins for IC and put them in release profile, but this is not always easy to know wich ones will really improve the build. Nicolas 2010/4/22 Stephen Connolly

Re: mvn release:perform does not honor //servers/server in alternate settings location

2010-04-21 Thread Markku Saarela
Hi, Have you tried -gs /my/alternate/maven2/home/settings.xml (-gs --global-settings) ? mvn -B -gs /my/alternate/maven2/home/settings.xml release:prepare release:perform rgds, Markku On 21.4.2010 22:36, David Siefert wrote: On Wed, Apr 21, 2010 at 1:42 PM, David