Re: How to set the Eclipse Java Compiler property JDK Compliance using the eclipse plugin?

2007-04-13 Thread nicolas de loof
This requires http://jira.codehaus.org/browse/MECLIPSE-172 to be fixed. You can vote for it. 2007/4/13, Paul Spencer <[EMAIL PROTECTED]>: I have set the compiler version for the maven-compiler-plugin, but that does not seem to affect the eclipse plugin. org.apache.maven.plugins mave

Re: How to get the active profiles in a maven plugin

2007-04-13 Thread Gregory Kick
you could take a look at the source for the 'active-profiles' goal in the 'help' plugin... On 4/14/07, Lewandowski, Eric <[EMAIL PROTECTED]> wrote: Hi ! I have to write a Maven plugin and I need to access to the active profiles list. For example, if I execute the command line : mvn groupI

How to get the active profiles in a maven plugin

2007-04-13 Thread Lewandowski, Eric
Hi ! I have to write a Maven plugin and I need to access to the active profiles list. For example, if I execute the command line : mvn groupId:artifactId:goal -P profile-1,profile-2 ... I need to get in my java classes the list of active profiles (here profile-1 and profile-2) Does someb

Re: Newbie Question: How do I represent my current Ant builds with Maven?

2007-04-13 Thread Danny MacMillan
Lacoste, Dana wrote: I'm far from the expert in dealing with this, but Maven's "assembly" plugin will do what you need: make your staging area, populate it, and zip it up in the end. We do something similar: I need to produce an "autorun" CD image: we build, with each jar having its own director

Parent-only plugin: is it possible?

2007-04-13 Thread Rodrigo Madera
Hello to all, I have been using Maven for two weeks now and I find it very good. It's an amazing piece of work, so congratulations on all the people that made it (and continue to make it) possible. I'm having an issue with it, which I'm sure somebody must have had, but I could not find anything

RE: Newbie Question: How do I represent my current Ant builds with Maven?

2007-04-13 Thread Lacoste, Dana
I'm far from the expert in dealing with this, but Maven's "assembly" plugin will do what you need: make your staging area, populate it, and zip it up in the end. We do something similar: I need to produce an "autorun" CD image: we build, with each jar having its own directory and maven pom, and th

Newbie Question: How do I represent my current Ant builds with Maven?

2007-04-13 Thread Danny MacMillan
Hi, I've looked at Maven, read quite a bit of the documentation, and I can't figure out quite how to represent my current typical Ant build with Maven. Hopefully someone here can help me. I write a lot of console utilities in Java. These are comprised of the original code for the utility,

Re: Release Notes generation

2007-04-13 Thread Dennis Lundberg
Pankaj Tandon wrote: Hello, I'd like to generate release notes as a part of my mvn site command. If I annotate the site.xml with the following: It certainly creates the menu correctly. However, where is the plugin that will actually create the

Release Notes generation

2007-04-13 Thread Pankaj Tandon
Hello, I'd like to generate release notes as a part of my mvn site command. If I annotate the site.xml with the following: It certainly creates the menu correctly. However, where is the plugin that will actually create the release-notes.html? I

Re: [M2] Native plugin and multi-platform C++ projects How-To

2007-04-13 Thread Christian Goetze
On 4/13/07, Mark Donszelmann <[EMAIL PROTECTED]> wrote: Hi Christian, you may have a look at http://java.freehep.org/freehep-nar-plugin it does quite a bit of what you suggest, though it is not perfect. That is pretty neat - but the devil is in the details :) For example, you'd want various

How to set the Eclipse Java Compiler property JDK Compliance using the eclipse plugin?

2007-04-13 Thread Paul Spencer
I have set the compiler version for the maven-compiler-plugin, but that does not seem to affect the eclipse plugin. org.apache.maven.plugins maven-compiler-plugin true true 1.4 How do I set the Eclipse Java Compiler property JDK Compliance using the e

[m2]HibernateDoclet example in XD2 for Maven2 please?

2007-04-13 Thread Mick Knutson
I have XD1 HibernateDoclet running fine, but want to switch to XD2 now. Can someone give me a working example please? -- --- Thanks, Mick Knutson http://www.baselogic.com http://www.blincmagazine.com http://www.djmick.com http://www.myspace.com/mickknutson http://www.myspace.com/djmick_dot_com h

Re: [M2] Native plugin and multi-platform C++ projects How-To

2007-04-13 Thread Mark Donszelmann
Hi Christian, you may have a look at http://java.freehep.org/freehep-nar-plugin it does quite a bit of what you suggest, though it is not perfect. Regards Mark Donszelmann On Apr 13, 2007, at 11:48 AM, Christian Goetze wrote: > - Using again the native plugin, create a multi-module project.

Re: [M2] Native plugin and multi-platform C++ projects How-To

2007-04-13 Thread Christian Goetze
> - Using again the native plugin, create a multi-module project. The > parent would contain the C++ source code, while each child module would > be devoted to create a single OS/platform specific artifact. I use this option. However you still need to use profile to do debug/release type artifa

Re: Maven 2 ear plugin doesn't pick up resources

2007-04-13 Thread Johan Eltes
Thanks for the suggestion. I did try it (using the default layout, omitting META-INF). Unfortunately, the xmi file still doesn't make it into the ear. Any other suggestions are appreciated. Johan Eltes Callista Enterprise AB Mobil: +46 (0)708-22 41 86 [EMAIL PROTECTED] http://www.callistaente

[announce] TestNG 5.5 compatible surefire deployed / fixes for maven2 idea users

2007-04-13 Thread Jessek
A new maven2 surefire release has been made which should let all TestNG maven2 users upgrade their version of TestNG to the latest 5.5 version. Major benefits to upgrade: -) You'll be able to use TestNG 5.5 with surefire finally. -) Some issues that have cropped up in the latest version of the

Re: Excluding certain modules in a profile

2007-04-13 Thread takai
Ok I found it - although i'm not quite sure where the issue belongs: mvn or antrun plugin. Here it is: Using a project with multiple pom's the antrun plugin dependencies of the first plugin declaration encountered will be used for all subsequent antrun executions. Codehaus Jira Issue updated.

RE: Build error with weblogic-maven-plugin

2007-04-13 Thread Doug Tanner
Answer, you may need more dependencies than me...: org.codehaus.mojo weblogic-maven-plugin 2.9.0-SNAPSHOT ${basedir}/../../jar/broker.war true

Re: [M2] Native plugin and multi-platform C++ projects How-To

2007-04-13 Thread Dan Tran
On 4/13/07, Rodrigo Ruiz <[EMAIL PROTECTED]> wrote: Hi all, I am trying to migrate a C++ project to Maven2, but I have troubles to find out the right way to go. The current project uses a Makefile for several Unix systems (custom, no automake used), and separate Visual Studio project files for

RE: [M2] deploy-file with classifier not working

2007-04-13 Thread Siegmann Daniel, NY
Setting packaging to java-source did the trick, and classifier is indeed useless). Thanks. -Original Message- From: Roland Asmann [mailto:[EMAIL PROTECTED] Sent: Friday, April 13, 2007 10:27 AM To: Maven Users List Subject: Re: [M2] deploy-file with classifier not working Forgot to men

Re: relase plugin, multimodule-project and internal depenencies

2007-04-13 Thread Roland Asmann
True, but since I do the release:prepare on the release-machine -- which deletes its local repo like I wrote -- I do get the released version on MY local machine. Besides, cleaning out your own local repo now and again doesn't hurt... On Friday 13 April 2007 16:37, David Jackman wrote: > Read

Re: q on mvn dependency plugin

2007-04-13 Thread Steven Rowe
Hi Davis, There is source code for a plugin named maven-buildinfo-plugin, included with the free book "Better Builds with Maven", that seems to do something like what you want (and then some). The source is in the Chapter5 .zip file[1]. Caveat coder: you may need to read Chapter 5 to understand

RE: relase plugin, multimodule-project and internal depenencies

2007-04-13 Thread David Jackman
Read my email again. It's not the build machine that gets the wrong thing. It's the machine you used when you did the release:prepare. Because you did an install on that machine as part of the release:prepare, that machine won't download the real deployed version of the released project. So

Re: [M2] deploy-file with classifier not working

2007-04-13 Thread Roland Asmann
Forgot to mention the most important thing: try packaging=java-source or java-sources... I believe it was something like that. On Friday 13 April 2007 16:19, Siegmann Daniel, NY wrote: > I'm trying to deploy a 3rd party source jar, by setting the classifier > when I use deploy:deploy-file, but i

Re: [M2] deploy-file with classifier not working

2007-04-13 Thread Roland Asmann
I believe that sources have their own packaging-type... And classifier is indeed unused iirc... On Friday 13 April 2007 16:19, Siegmann Daniel, NY wrote: > I'm trying to deploy a 3rd party source jar, by setting the classifier > when I use deploy:deploy-file, but it is being deployed without the

[M2] deploy-file with classifier not working

2007-04-13 Thread Siegmann Daniel, NY
I'm trying to deploy a 3rd party source jar, by setting the classifier when I use deploy:deploy-file, but it is being deployed without the classifier. It appears that the classifier is being ignored entirely. Probably I am just missing something small and stupid. Anyone see a problem: $M2_HOME/bin

Re: How to use/define custom jar file in dependency

2007-04-13 Thread Roland Asmann
This would work, but only on YOUR machine... In team-projects this will cause lots of problems. The best solution would be to deploy it to the repository (like I said in my previous post). Or, in case of some special JARs (in my case GlassFish and JBoss), you could define a variable '${JAR_HOME}

Re: How to use/define custom jar file in dependency

2007-04-13 Thread Roland Asmann
You should deploy this JAR to your repository. Look at http://maven.apache.org/guides/mini/guide-3rd-party-jars-remote.html for info on how to do this. When it's in the repo, you can just add a dependency as you would to any other JAR. Of course, if the JAR is already a Maven-project, you don't

Re: relase plugin, multimodule-project and internal depenencies

2007-04-13 Thread Roland Asmann
I think it should be. Anyway, I've noticed that some packaging-types force me to do this. I however do not really find this a problem, since we have a build-server (like you suggested), which cleans its repository (read: deletes the local repo) before releasing. That way we always have the lates

Re: How to use/define custom jar file in dependency

2007-04-13 Thread Cristian D. Romanescu
You may try adding this to your pom.xml ... myjar myjar 10.1.2 system C:/myproject/lib/domainmodel.jar ... You must specify the absolute path. I don't know why, but I would like to know ... if someone would enlight me :) Cheers, Cristia

Re: Error in compiling Struts code...

2007-04-13 Thread Vinit N
Thanks Wayne.. I got the problem...now it fine...thanks for reply... Wayne Fay wrote: > > Looks like you're missing some dependencies you need to compile your code: > > package javax.servlet.http does not exist > package org.apache.struts.action does not exist > package javax.servlet.jsp doe

How to use/define custom jar file in dependency

2007-04-13 Thread Vinit N
I am getting compilation error when I am using custom jar file, for eg: My web project is depend on domainmodel.jar how can I use this ? And also how can I do also compile, build this jar then reffer this jar and compile and build my web applications. As this jar is used by multiple webapps. Tha

RE: relase plugin, multimodule-project and internal depenencies

2007-04-13 Thread David Jackman
This shouldn't be the "correct" way to do this. If I'm releasing my projects, I want to deploy the (only) release build of the projects, not install one build and then deploy another build. This is especially true if a company "official" build server will be doing the deploy--if I've done an i

[M2] Native plugin and multi-platform C++ projects How-To

2007-04-13 Thread Rodrigo Ruiz
Hi all, I am trying to migrate a C++ project to Maven2, but I have troubles to find out the right way to go. The current project uses a Makefile for several Unix systems (custom, no automake used), and separate Visual Studio project files for Windows. The artifact to generate is a shared library.

[M2][maven-ejb-plugin] dependencies for generated client

2007-04-13 Thread Erik Ruisma
Hey all, I do not completely agree with some of the principles used in this [maven-ejb-plugin] plugin when generating the client-jar for the EJB. Currently when you tell Maven to create a client jar, it uses the same dependencies as defined for the EJB. I think this is fundamentally wrong. Client

RE: relase plugin, multimodule-project and internal depenencies

2007-04-13 Thread Doug Tanner
You have to change the dependency in Module 2 from version 1.12-Snapshot to 1.12. Doug Tanner > -Original Message- > From: Bleier Thomas [mailto:[EMAIL PROTECTED] > Sent: Friday, April 13, 2007 7:46 AM > To: [EMAIL PROTECTED] > Subject: relase plugin, multimodule-project and internal de

Re: relase plugin, multimodule-project and internal depenencies

2007-04-13 Thread Roland Asmann
Hi, Nothing wrong, I have a similar problem myself. If you add the release-plugin to your POM and tell it to run the targets 'clean install' instead of 'clean intergration-test', everything will work fine. On Friday 13 April 2007 13:46, Bleier Thomas wrote: > Hi everyone, > > > > It seems that

relase plugin, multimodule-project and internal depenencies

2007-04-13 Thread Bleier Thomas
Hi everyone, It seems that I've got some missunderstanding of the maven2 mechanisms, and I would be thankfull if someone could help me... We have a maven project that consists of several modules. Some of them depend on others. To clarify that, I'll try to sketch our project structure: r

RE: Maven users in the industry

2007-04-13 Thread Peter . Pilgrim
> -Original Message- > From: Pilgrim, Peter > Sent: 11 April 2007 17:51 > To: [EMAIL PROTECTED] > Subject: RE: Maven users in the industry > > UBS Investment Bank within Post Trade Services (Maven 2.0) Unsubscribing myself. Finishing UBS contract. Upwards and onwards to find the next one

RE: Build error with weblogic-maven-plugin

2007-04-13 Thread Doug Tanner
I found this issue, http://jira.codehaus.org/browse/MOJO-585?page=com.atlassian.jira.plugin. system.issuetabpanels:all-tabpanel, while researching my problem. I have tried placing a dependency on the ${WL_HOME}/server/lib/xbean.jar in my pom, scoped as both system and provided (yes it is in my loc

Re: Excluding certain modules in a profile

2007-04-13 Thread takai
http://jira.codehaus.org/browse/MNG-2946 Thanks for validating this. franz see wrote: > > Good day, > > Not really sure what's happening. But you may want to file a jira issue > for that :-) > > Cheers, > Franz > > > takai wrote: >> >> Exactly. >> >> >> franz see wrote: >>> >>> Good

Re: Analyze dependency tree without compiling

2007-04-13 Thread franz see
Good day, Try project-info-reports:dependencies to generate the dependency report ( which you can only see from mvn site ). The generated report would be in target\site\dependencies.html Cheers, Franz Jerome Lacoste-2 wrote: > > On 4/13/07, Geoffrey De Smet <[EMAIL PROTECTED]> wrote: >> Hi al

Re: Analyze dependency tree without compiling

2007-04-13 Thread Jerome Lacoste
On 4/13/07, Geoffrey De Smet <[EMAIL PROTECTED]> wrote: Hi all, Is it possible to analyze the dependency tree without compiling? Compiling gives a build failure, so the following commands don't work: mvn dependency:analyze mvn site I think the analyzer uses the class files to identify unused

Analyze dependency tree without compiling

2007-04-13 Thread Geoffrey De Smet
Hi all, Is it possible to analyze the dependency tree without compiling? Compiling gives a build failure, so the following commands don't work: mvn dependency:analyze mvn site -- With kind regards, Geoffrey De Smet - To unsub

Re: Excluding certain modules in a profile

2007-04-13 Thread franz see
Good day, Not really sure what's happening. But you may want to file a jira issue for that :-) Cheers, Franz takai wrote: > > Exactly. > > > franz see wrote: >> >> Good day, >> >> Are you saying that you added plugin dependencies for your antrun, and >> your antrun cannot see it if it's i

M2: Strange problem with assembly plugin

2007-04-13 Thread Orford, Ian
Hi, I have a project that creates a tar.gz deliverable that includes unix shell scripts. In the assembly descriptor, I have: target/bin bin *.sh 0755 lf As you can see, I'm specifying the lineEnding. When I deploy this from the project lev

Re: mvn site site:deploy problem

2007-04-13 Thread David Roussel
Trashes it in what way? Which files are missing? My understanding is that when you do site:deploy it just copies to file over, it doesn't delete from the target first. But exactly how this works probably depends on how you have it configured. Do you get the same problem if you have:

Re: Excluding certain modules in a profile

2007-04-13 Thread takai
Exactly. franz see wrote: > > Good day, > > Are you saying that you added plugin dependencies for your antrun, and > your antrun cannot see it if it's in the profile-added module? > > Cheers, > Franz > > > takai wrote: >> >> Hi Franz, >> >> The profile-added module runs the integration te