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

2010-04-21 Thread Wayne Fay
> directories. The JDeveloper plugin reads the java source directory from the > sourceDirectory element in the pom.xml file but there is no element for the > webapp directory. As I said previously... it sounds like you will need to add this feature to the maven-jdev-plugin. Get the source code, ad

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 Siefertwrote: Hi All

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 > A

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 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 create a rebel

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 wrote: > Hi all, > > Do you have any idea or k

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 wit

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 >

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

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 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 definite advice - I dont

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: complex jar generation for SCJD assignment

2010-04-21 Thread zedros schwartz
On Wed, Apr 21, 2010 at 6:17 AM, Wayne Fay 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. Unless he's bui

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. Wayn

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-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: users

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 -- Bret

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 J

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 wrote: > 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

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: true

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 w

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 /my/alternate/ma

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.

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(c

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. Wha

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

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 wrote: > We have recently updated the plugin to use google app engine 1.3.2 > - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org

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

2010-04-21 Thread Wendy Smoak
2010/4/19 Néstor Boscán : > 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 use that directory whe

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: 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: http://n2.nabble.com/Why-do-some-projects-in-the-repo-contain-only-pom-files-no-jars-tp4936700p4936874.h

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 wrote: > Yes, the checksums seem to be incorrect on central. I'll forward this to > the dev list. > > On 21/04/2010,

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

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?

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. F

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 maven-metadata-central

maven-gae-plugin

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

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 te