Re: Maven Webstart Plugin - some remarks

2007-01-30 Thread Jerome Lacoste
Please use the MOJO mailing list for comments on a MOJO project plugin. On 1/30/07, Mark Donszelmann <[EMAIL PROTECTED]> wrote: Hi I am using the 1.0-alpha-1 version of the Maven Webstart Plugin. It works for us, but I have some questions and remarks: 1. It seems odd to have to define the temp

RE: provided dependency packaged into war

2007-01-30 Thread hermod.opstvedt
Hi Don't use provided - Use : true This will add an entry in the claspath section of the meta-inf.xml file, but not add it to the web-inf/libdirectory Hermod -Original Message- From: Ivan Strohner [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 30, 2007 6:15 PM To: users@maven.apach

[m2] using 3rdParty PlugIn

2007-01-30 Thread SoftwareEngineering Hauschel
Hi all, how can I deploy a 3rdPartyPlugIn in my Repo? I have a "maven-xyz-plugin-1.0.jar" . Fredy

Re: Custom packaging type

2007-01-30 Thread 秋秋
Hi, I think you have met with the same issue with me,I hope the following configuration can help you: <--builder jar and war--> src/main/java src/test target/classes target/test-classes src/main/java <--this comfiguration can package the xml file which are distribute the differ

RE: Test source dependencies

2007-01-30 Thread Jörg Schaible
Leo Freitas wrote on Tuesday, January 30, 2007 4:24 PM: > How to fix dependencies among testing code? > That is, if I have a project B test code that > depends on project A test code. > That is, there is abstract/base testing source > code setup for A that B also uses. > > The usual tag (even fo

Re: Skipping Tests but Still Compiling

2007-01-30 Thread Wayne Fay
This "compile tests but don't run" issue was covered just 2 weeks ago... Please search the archive before posting next time. from jp4 <[EMAIL PROTECTED]> to users@maven.apache.org date Jan 15, 2007 11:34 AM subject Can you compile test cases without running them Wayne On 1/30/07, Bashar Abd

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

Re: undefined Dependecy automatically downloaded

2007-01-30 Thread Maria Odea Ching
Hi Yuubouna, These undefined jars that you were saying were probably the transitive dependencies (dependencies of your dependencies). For more details about exclusions, please refer to http://maven.apache.org/pom.html (Pom Relationships --> Dependencies --> Exclusions) Hope this helps! :-)

Re: Managing Dependent Jars

2007-01-30 Thread Wayne Fay
As for the comment regarding Hibernate, this is again not the Maven team's fault, but rather entirely Hibernate's fault. It is entirely the responsibility of the artifact owner to produce proper poms. If they fail to do so, the users of those artifacts will suffer (as you've experienced). The pro

Re: Managing Dependent Jars

2007-01-30 Thread Wayne Fay
The problem with Spring being in multiple places etc is really not the Maven team's fault, but rather the Spring group's responsibility. Without looking too hard into the details, I'd guess they initially picked groupId spring, then springframework, then org.spring, and finally org.springframework

How to check value of a variable is numeric?

2007-01-30 Thread Nalaka Gamage
Hi All, I am using Maven 1.o. I there a way to check if the value of a variable is numeric in Maven? If not is it possible to use Ant call (if any) ? Quick response is highly appreciated. Regards, Nalaka

Re: Managing Dependent Jars

2007-01-30 Thread Jarret R
Thanks for the reply. I am currently just testing this process out locally to build a case to use Maven, so I haven't set everything up yet, but I will take a look at the proxies. I took a look at the main repository and it seems to have some of the same issues I had mentioned earlier. I understa

Using pom as a dependency

2007-01-30 Thread anita kulshreshtha
Can a pom be used as dependency? If yes, a compile scope will add it to the classpath. Are maven utilities/plugins designed to ignore pom files in the classpath? An example of such a pom is here: http://people.apache.org/repo/m2-snapshot-repository/org/apache/openejb/server/3.0-incubating-SNAPS

Re: plugin/dependencies question

2007-01-30 Thread Maria Odea Ching
Hi Rebecca, Please refer to http://maven.apache.org/pom.html for details about this. I think there's a brief explanation there (Build Settings --> The BaseBuild Element Set --> Plugins) about the difference of those two elements :-) Hope this helps! Thanks, Deng Rebecca Searls wrote: What

Re: maven-javadoc-plugin, generate javadoc using different jvm from w hat is set in java.home

2007-01-30 Thread Maria Odea Ching
Hi Pratik, I don't think the javadoc plugin supports this yet. Currently, the plugin uses the javadoc.exe version based on the java version you specified in your JAVA_HOME environment variable. Btw, there's already an open issue for this feature: http://jira.codehaus.org/browse/MJAVADOC-98 H

Re: Managing Dependent Jars

2007-01-30 Thread Eric Redmond
The official repository location is http://repo1.maven.org/maven2/ ... check out the hibernate data there (upgrade to at least maven 2.0.4). Also: you must set up an in-house repository[1]. This is not really optional for an enterprise setup... where else can you put your own generated artifacts

Re: Are clovered files supposed to be deployed to the remote repo?

2007-01-30 Thread Eric Redmond
Firstly, I hope you're not ever running "mvn clean install deploy" since "mvn clean deploy" is sufficient the first one runs the entire install cycle twice. Second, according to the Clover Plugin doc ( http://maven.apache.org/plugins/maven-clover-plugin/), one of its stated features is "Gener

RE: Plugin to create source distribution?

2007-01-30 Thread Greg Jones
Phillip, Have a look at the assembly plugin: http://maven.apache.org/plugins/maven-assembly-plugin/ In particular, take a look at the predefined descriptors: http://maven.apache.org/plugins/maven-assembly-plugin/descriptor-refs.html The src descriptor should be what you're looking for. Cheers

Re: Plugin to create source distribution?

2007-01-30 Thread Tony Ambrozie
Have you tried the assembly plugin (maven-assembly-plugin, version 2.2 or 2.2-SNAPSHOT if you want whole project functionality)? On 1/30/07, Phillip Rhodes <[EMAIL PROTECTED]> wrote: I would like to create a distribution of my project. I would like the distribution to include sources, maven f

undefined Dependecy automatically downloaded

2007-01-30 Thread yuubouna
defining artifact needed in my project so I write dependencyManagement in parent pom.xml and so inherted by child pom. I am wonded, where does the "undefined jar" came from?? like the following: M2_REPO/relaxngDatatype/relaxngDatatype M2_REPO/icu4j/icu4j/3.2/icu4j-3.2.jar M2_REPO/msv/msv/200204

Plugin to create source distribution?

2007-01-30 Thread Phillip Rhodes
I would like to create a distribution of my project. I would like the distribution to include sources, maven files, etc... Extra credit for zip and gz support! Can someone point me to a plugin that would come close to this functionality? Thanks! Phillip

Managing Dependent Jars

2007-01-30 Thread Jarret R
I have been trying to make a case for our development environment to switch to using Maven for our build processes, however I am running into some problems that I would like to see if anyone has answers too :). We want to be able to specify which version of which jar we want to use. I can solve t

RE: Skipping Tests but Still Compiling

2007-01-30 Thread Bashar Abdul Jawad
Try to add the compile plugin if it isn't there already: org.apache.maven.plugins maven-compiler-plugin Bashar -Original Message- From: Mark Hewett [mailto:[EMAIL PROTECTED] Sent: Tuesday, Januar

Re: Skipping Tests but Still Compiling

2007-01-30 Thread Mark Hewett
On 1/30/07, Bashar Abdul Jawad <[EMAIL PROTECTED]> wrote: That is not true. Maven will still compile the test classes, but only if they have changed since the last compilation. To force maven to compile even if there were no changes run a clean first. Bashar Doesn't seem to for me... mvn -Dm

RE: Execution order in pre-integration-test phase for Cargo/Antrun

2007-01-30 Thread Bashar Abdul Jawad
Hi, Did you try multiple executions with a different Id for each execution? Place one goal in each execution and bind it to the appropriate phase. Bashar -Original Message- From: Crossley, Jim [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 30, 2007 3:59 PM To: users@maven.apache.org S

Execution order in pre-integration-test phase for Cargo/Antrun

2007-01-30 Thread Crossley, Jim
I'm using 2.0.4 with the most recent plugin versions. I'm trying to configure JBoss 4.0.5 prior to running an integration test from my build. I'm trying to run the following goals in these phases: pre-integration-test: cargo:install antrun:run cargo:start post-integration-test: cargo:sto

RE: Skipping Tests but Still Compiling

2007-01-30 Thread Bashar Abdul Jawad
That is not true. Maven will still compile the test classes, but only if they have changed since the last compilation. To force maven to compile even if there were no changes run a clean first. Bashar -Original Message- From: Kevan Dunsmore [mailto:[EMAIL PROTECTED] Sent: Tuesday, Januar

Skipping Tests but Still Compiling

2007-01-30 Thread Kevan Dunsmore
So I just discovered that if I kick off a build using mvn -Dmaven.test.skip=true install then Maven will not even bother compiling the test classes. Is there any way to force Maven to compile the test classes but not run the tests? Thanks, Kevan. Kevan Dunsmore Senior Sof

Re: authorization denied

2007-01-30 Thread Brett Porter
Yes - currently the repository access is secured by default. You can either create a user/pass and grant them read access to the repository in question, or you can do that for the guest user (I think this will allow it to be used without credentials - if not I think it should be added). -

authorization denied

2007-01-30 Thread flyboy
How do I give myself authorization to download from my archiva manager? Do I have to enter my local username into the archiva user list? I built archiva from trunk today (Jan 30). And ran it using 'mvn jetty:run'. I setup a repository under archiva and changed my .m2/settings.xml file to use i

RE: prepare-package phase doesn't exist?

2007-01-30 Thread Bashar Abdul Jawad
OK, I just saw it on Jira: http://jira.codehaus.org/browse/MNG-2097?page=com.atlassian.jira.plugin.syst em.issuetabpanels:comment-tabpanel#action_63375 Bashar -Original Message- From: Brett Porter [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 30, 2007 2:52 PM To: Maven Users List S

Re: prepare-package phase doesn't exist?

2007-01-30 Thread Brett Porter
Apologies, I should have marked that in the documentation. Actually, it's 2.1+. On 31/01/07, Bashar Abdul Jawad <[EMAIL PROTECTED]> wrote: 2.0.4 The version on Maven's homepage (http://maven.apache.org/) is also still 2.0.4. Bashar -Original Message- From: Mark Hobson [mailto:[EMAIL P

RE: prepare-package phase doesn't exist?

2007-01-30 Thread Bashar Abdul Jawad
2.0.4 The version on Maven's homepage (http://maven.apache.org/) is also still 2.0.4. Bashar -Original Message- From: Mark Hobson [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 30, 2007 2:42 PM To: Maven Users List Subject: Re: prepare-package phase doesn't exist? On 30/01/07, Bashar

Re: prepare-package phase doesn't exist?

2007-01-30 Thread Mark Hobson
On 30/01/07, Bashar Abdul Jawad <[EMAIL PROTECTED]> wrote: Maven documentation mentions a prepare-package phase on http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.ht ml ... Also any plug-in execution bind to that phase never gets executed. Any ideas? This was introdu

Re: Maven-rdf plugin

2007-01-30 Thread Siegfried Goeschl
Hi Petar, you could use the maven-antrun-plugin to rename the files (*.rdf => *.xml) later on. Cheers, Siegfried Goeschl Petar Tahchiev wrote: Hi gyus, I hust wanted to ask if anyone knows a maven rdf (Resource Description Framework) plugin as I didn't find myself. The problem is that when

Is it possible to run cobertura with the eclipse plugin Maven 2.0 integration

2007-01-30 Thread Markus Baumgartner
Hi, There was a problem running the cobertura from within Eclipse with the Maven 2.0 integration, version 0.0.10 and Cobertura 1.7 I can run mvn cobertura:cobertura and it runs. I tried to create a new "m2" - configuration defining the goal cobertura:cobertura for doing the same, but I got a

Re: Multi step build process for multi module project

2007-01-30 Thread Christian Goetze
Paul Edwards wrote: Hi, When running a M2 build over a set of modules within a profile within a parent project, is it possible to cause certain plugin goals to run only once while others run on each sub-project defined in the profile? What I am attempting to accomplish goes like this: Step

Maven is not downloading newer artifacts

2007-01-30 Thread Dave Hoffer
Some times maven refuses to download new released artifacts. This seems to occur when the lastUpdated value in the maven-metadata.xml is similar, that is when the new release occurred soon after a prior release. However, we haven't been able to pinpoint an exact pattern to this behavior. In addi

maven-javadoc-plugin, generate javadoc using different jvm from w hat is set in java.home

2007-01-30 Thread Parikh, Pratik P.
Hi Everyone, Is there a way to configure the javadoc.exe in the javadoc-plugin, I have a java.home which is set to java 1.4 and I am using java 1.6 for a given project. Is there a way to configure this in the pom.xml? Thanks, Pratik - Con

Re: dependency of jar included in war?

2007-01-30 Thread Siegfried Goeschl
Hi Atti, currently a WAR does not participate in the dependency inheritance mechanism. What you could do since your WAR depends on a single JAR is to add the JAR as additional dependency. This is of course a hack but not too ugly. Cheers, Siegfried Goeschl Attila Ravai wrote: Hi, I have

dependency of jar included in war?

2007-01-30 Thread Attila Ravai
Hi, I have a war file which has a dependency on my project, which is a jar. The jar file itself has a lot of dependencies (like oracle classes.jar). When building the war file, all I get in the web-inf/lib is what I specified in the war dependency, which is myproject.jar. However the classes.ja

Multi step build process for multi module project

2007-01-30 Thread Paul Edwards
Hi, When running a M2 build over a set of modules within a profile within a parent project, is it possible to cause certain plugin goals to run only once while others run on each sub-project defined in the profile? What I am attempting to accomplish goes like this: Step 1: cargo:stop Step 2:

Maven-rdf plugin

2007-01-30 Thread Petar Tahchiev
Hi gyus, I hust wanted to ask if anyone knows a maven rdf (Resource Description Framework) plugin as I didn't find myself. The problem is that when I use the xml plugin to transform my rdf files to xdoc ones, I cannot explicitly set the name of the outputted files(or can I?) and so they get trans

RE: [M2] SCM support for sspi?

2007-01-30 Thread Siegmann Daniel, NY
I finally got around to implementing SSPI support in the Maven SCM project. I have successfully tested snapshots of the scm plugin on my local machine. The changes have been submitted on JIRA as a patch: http://jira.codehaus.org/browse/SCM-277 ~Daniel -Original Message- From: Siegmann Da

Maven Webstart Plugin - some remarks

2007-01-30 Thread Mark Donszelmann
Hi I am using the 1.0-alpha-1 version of the Maven Webstart Plugin. It works for us, but I have some questions and remarks: 1. It seems odd to have to define the template.vm in src/jnlp and the resources in src/main/jnlp. Should the locations not be src/main/jnlp (for template.vm) and src/

Re: native2ascii-maven-plugin is now in mojo's sandbox

2007-01-30 Thread mraible
Thanks Dan - this is just what I needed! :-D How would I configure this plugin to process multiple files? Here's how I did it with Ant: Here's a guess: org.codehaus.mojo

Maven support for WebLogic 9.2 EJBGen

2007-01-30 Thread Bhatia, Naresh \(IS Consultant\)
Is there a plugin for WebLogic 9.2 version of EJBGen? I found http://www.codeczar.com/products/maven-ejbgen-plugin/ but not sure if it supports WebLogic 9.2 and Maven 2. Thanks. Naresh

RE: Activating a profile with settings.xml

2007-01-30 Thread David Jackman
So, the behavior I'm seeing now is actually correct? If so, the information on http://maven.apache.org/settings.html will need to change accordingly. My problem is then how to activate a profile in the POM (it's in the POM because it lists repositories for distribution management, which can't b

RE: Activating a profile with settings.xml

2007-01-30 Thread David Jackman
I'm using 2.0.4. -Original Message- From: John Casey [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 30, 2007 9:46 AM To: Maven Users List Subject: Re: Activating a profile with settings.xml It seems to me that we "fixed" that some time ago because of a logged issue, such that only ex

plugin/dependencies question

2007-01-30 Thread Rebecca Searls
What is the intended use of project/build/plugins/plugin/dependencies as compared to project/dependencies? One would assume project/build/plugins/plugin/dependencies are plugin specific in scope; that project/dependencies are active project wide in scope. And one would expect that if project/dep

Are clovered files supposed to be deployed to the remote repo?

2007-01-30 Thread jp4
The first question I have is whether or not clovered artifacts are supposed to be deployed to the remote repo when running mvn clean install deploy? I do not see these clovered artifacts being deployed and wonder if they should be. The reason I ask this is because I am running into a anomoly wit

prepare-package phase doesn't exist?

2007-01-30 Thread Bashar Abdul Jawad
Hi, Maven documentation mentions a prepare-package phase on http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.ht ml However this phase doesn't seem to exist when running mvn prepare-package. I get the error: >mvn prepare-package [INFO] Scanning for projects..

provided dependency packaged into war

2007-01-30 Thread Ivan Strohner
Hello, I am packaging a war archive and list dependency in pom file: javax.servlet jsp-api 2.0 provided the problem is that jsp-api-2.0.jar (and also servlet-api-2.4.j

How can I skip tests for a particular execution from the command line

2007-01-30 Thread Bashar Abdul Jawad
Hi, I have 2 surefire "executions" in my POM file, one for the test phase and one for the integration test phase. What I would like to do is to be able to skip running the tests for either of the two "executions" from the command line by passing a system property. The problem is passing -Dmaven

Re: Activating a profile with settings.xml

2007-01-30 Thread John Casey
It seems to me that we "fixed" that some time ago because of a logged issue, such that only external profiles listed in the activeProfiles section will be affected. Profiles in the POM are not included in that group. -j On 1/30/07, Eric Redmond <[EMAIL PROTECTED]> wrote: What version of Maven

Re: Dependency

2007-01-30 Thread vojjala
Thanks a lot for the quick, These fodlers already part of the parent, in that way it is working very fine, i need them run independently instead of running from the top level. Andrew Williams-5 wrote: > > Put them in a parent folder with a pom of type "pom". > List these modules in there

Re: Maven Webstart Plugin

2007-01-30 Thread Jerome Lacoste
On 1/30/07, Maruf Aytekin <[EMAIL PROTECTED]> wrote: in red Jerome Lacoste wrote: > On 1/30/07, Maruf Aytekin <[EMAIL PROTECTED]> wrote: >> Hi, >> >> I am trying to build a jnlp project with maven 2. I am currently using >> mojo's Maven Webstart Plugin. >> >> I have two questions: >> >> 1. Shoul

Re: Maven Webstart Plugin

2007-01-30 Thread Jerome Lacoste
On 1/30/07, Maruf Aytekin <[EMAIL PROTECTED]> wrote: When it says "[INFO] didn't find *artifact *with main class:" whicj artifact does it refer to? the one in which your main class is supposed to be. It should be in the dependencies section of your POM. Jerome ---

Re: Activating a profile with settings.xml

2007-01-30 Thread Eric Redmond
What version of Maven are you using? On 1/30/07, David Jackman <[EMAIL PROTECTED]> wrote: In my case, there was no parent pom. My pom.xml contains: myProfile ... My settings.xml contains: myProfile The mvn help:active-profiles command shows: "There are n

Re: dependencyManagement does not work with war file

2007-01-30 Thread Thierry Lach
I tried to send the whole project zipped up but got rejected as spam. So here goes - parent, ear pom and war pom (just in case). On 1/29/07, Patrick Schneider <[EMAIL PROTECTED]> wrote: Can you send your parent pom and the ear pom? On 1/29/07, Andi Anderson <[EMAIL PROTECTED]> wrote: > > did

Re: how to get jar for a parent project in Maven 2.x

2007-01-30 Thread Thierry Lach
I would suggest creating jar A in a subproject rather than in the parent. On 1/30/07, ritesh_riv <[EMAIL PROTECTED]> wrote: In my project , suppose project A is parent for project B. In such a case, project A packaging should be of type pom. Then how can i get a jar for project A if needed. I

Re: dependencyManagement does not work with war file

2007-01-30 Thread Thierry Lach
My understanding (according to Better Builds with Maven (BBwM) book among other places) is that by putting the dependency and version in the dependencyManagement of a parent pom that it is not necessary to put ANY dependency version of the modules. What I'm trying to do is almost identical to wha

Re: Maven Webstart Plugin

2007-01-30 Thread Maruf Aytekin
When it says "[INFO] didn't find *artifact *with main class:" whicj artifact does it refer to? Many Thanks Maruf Maruf Aytekin wrote: in red Jerome Lacoste wrote: On 1/30/07, Maruf Aytekin <[EMAIL PROTECTED]> wrote: Hi, I am trying to build a jnlp project with maven 2. I am currently usi

Re: Maven Webstart Plugin

2007-01-30 Thread Maruf Aytekin
in red Jerome Lacoste wrote: On 1/30/07, Maruf Aytekin <[EMAIL PROTECTED]> wrote: Hi, I am trying to build a jnlp project with maven 2. I am currently using mojo's Maven Webstart Plugin. I have two questions: 1. Should I use this plug in or is there any plug in that can be configured easily?

Re: Test source dependencies

2007-01-30 Thread Andrew Williams
Make a new project ("T") and put all of the test code there in compile scope (src/main/java) then project A and B can both depend on T in scope "test". Andy Leo Freitas wrote: How to fix dependencies among testing code? That is, if I have a project B test code that depends on project A test

Re: Dependency

2007-01-30 Thread Andrew Williams
Put them in a parent folder with a pom of type "pom". List these modules in there and then you can mvn clean install from the parent and it will build them all in order. Andy vojjala wrote: Folks, I have 3 folders called A, B and C , each folder has pom.xml. B is depended on A, C is depended

Test source dependencies

2007-01-30 Thread Leo Freitas
How to fix dependencies among testing code? That is, if I have a project B test code that depends on project A test code. That is, there is abstract/base testing source code setup for A that B also uses. The usual tag (even for test scope) would link to B/main/java with A/main/java but would no

Dependency

2007-01-30 Thread vojjala
Folks, I have 3 folders called A, B and C , each folder has pom.xml. B is depended on A, C is depended on both A and B. What I want is, I should able to run pom.xml from any folder not like A first then B and then C. Is there anyway, I can call the depended pom.xml. I can able run in sequence(li

Re: Maven Webstart Plugin

2007-01-30 Thread Jerome Lacoste
On 1/30/07, Maruf Aytekin <[EMAIL PROTECTED]> wrote: Hi, I am trying to build a jnlp project with maven 2. I am currently using mojo's Maven Webstart Plugin. I have two questions: 1. Should I use this plug in or is there any plug in that can be configured easily? Can't this plugin be configu

Re: Any plugin available to compile C# code?

2007-01-30 Thread JayBee
Thanks all, I think "antrun" is something that I could use in my project. Happy Mavening, JayBee foamdino wrote: > > Hi, > >> Is there any dot net plugin available ? > > You may be able to use the antrun plugin to compile C# code via the .net > antlib > > Kev > > ---

Re: M2 dashboard plug-in found

2007-01-30 Thread Morgovsky, Alexander \(US - Glen Mills\)
I will try this. Thanks. This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message. Any disclosure, copying, or distribution of t

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

Maven site problem

2007-01-30 Thread Gianfranco Oldani
Hi, I don't understand why suddenly when I run : mvn site there is no index file generated. Maven tell me that it's a successfull build but site is incomplete. Thanks for help. Gianfranco OLDANI +41 78 7330350 www.hortis.ch www.gfoldani.com _

RE: Building struts application

2007-01-30 Thread Ran Zilber
Hi I am not familiar with maven 1.x. If you intend to use maven 2 you can use the war plugin Please see the following link: http://maven.apache.org/plugins/maven-war-plugin/usage.html -Original Message- From: Saravanan Ponnusamy, EAS-Chennai [mailto:[EMAIL PROTECTED] Sent: T

Re: "maven site" failing

2007-01-30 Thread Jeff Mutonho
[DEBUG] Retrieving parent-POM: org.apache.maven.plugins:maven-plugins::1 for project: null:maven-javadoc-plugin:maven-plugin:2.0 from the repository. [DEBUG] Retrieving parent-POM: org.apache.maven:maven-parent::1 for project: org.apache.maven.plugins:maven-plugins:pom:1 from the repository. [DEBU

Maven Webstart Plugin

2007-01-30 Thread Maruf Aytekin
Hi, I am trying to build a jnlp project with maven 2. I am currently using mojo's Maven Webstart Plugin. I have two questions: 1. Should I use this plug in or is there any plug in that can be configured easily? 2. When I run "mvn install webstart:jnlp" I get following error: [INFO] didn't

RE: Activating a profile with settings.xml

2007-01-30 Thread David Jackman
In my case, there was no parent pom. My pom.xml contains: myProfile ... My settings.xml contains: myProfile The mvn help:active-profiles command shows: "There are no active profiles." Is this the correct behavior? -Original Message- From: Stepha

Re: Webstart and Upload

2007-01-30 Thread Jerome Lacoste
On 1/16/07, Massimiliano Amato <[EMAIL PROTECTED]> wrote: Hello, I ported my application into maven2 using Webstart plugin and i have the zip file generated, but i have a couple question 1) I have the zip file produced, is there a way to upload to the ftp site where my JWS runs automatically or

how to get jar for a parent project in Maven 2.x

2007-01-30 Thread ritesh_riv
In my project , suppose project A is parent for project B. In such a case, project A packaging should be of type pom. Then how can i get a jar for project A if needed. I need the jar to be installed in my local repository. Do i need to go and change pom.xml each and every time. -- View this mes

Re: missing resources in .jnlp

2007-01-30 Thread Jerome Lacoste
On 1/16/07, Dmitry Beransky <[EMAIL PROTECTED]> wrote: Hi, Can't figure out what I'm doing wrong. I've set up a project for building a WebStart app. Copied template.vm from the plugin's svn. When I run webstart:jnlp goal, I get a zip containing all dependencies properly signed, but the index.j

Re: Building struts application

2007-01-30 Thread 秋秋
Hi I'm sorry to tell you I am not familiar with maven 1.0,I used maven 2 in my project,you know,the maven 1 is very different from mven 2,maven 2 is rewrite by the author base on maven 1, I suggest you to use maven for your project,and how to use maven 2 to build a project?I did it follow these

Re: hibernate InstrumentTask

2007-01-30 Thread nicolas de loof
I found the answer on http://maven.apache.org/plugins/maven-antrun-plugin/classpaths.html I've updated the wiki http://docs.codehaus.org/display/MAVENUSER/Howto+instrument+domain+model+classes+using+hibernate 2007/1/30, nicolas de loof <[EMAIL PROTECTED]>: My project is the domain model that h

Re: hibernate InstrumentTask

2007-01-30 Thread nicolas de loof
My project is the domain model that has no dependency. This the reason I want to set hibernate dependency as a plugin dependency. I tried : But this isn't an valid refId 2007/1/30, Marco Mistroni <[EMAIL PROTECTED]>: Nicholas, additional thing if you make it work, would you mind write a wik

Re: Is it possible to start a maven2 process in your code.

2007-01-30 Thread Petar Tahchiev
On 30/01/07, Milos Kleint <[EMAIL PROTECTED]> wrote: google for maven embedder. Milos On 1/30/07, Petar Tahchiev <[EMAIL PROTECTED]> wrote: > Hi guys, > > Is there a way to instantiate a maven project process in the in my java > program? I mean is it possible to do something like this: > > > >

"maven site" failing

2007-01-30 Thread Jeff Mutonho
"maven site" is failing with a NPE.I ran it in debug mode and here's the output : D:\MAVEN-WORK>set MAVEN_OPTS=-Xmx512m -Xms512m -XX:MaxPermSize=512m + Error stacktraces are turned on. Maven version: 2.0.4 [DEBUG] Building Maven user-level plugin registry from: 'D:\Documents and Settings\mutonhj

Building struts application

2007-01-30 Thread Saravanan Ponnusamy, EAS-Chennai
Hi How to build struts application using Maven 1.1? Can you show me some guidance? Thanks Sarav DISCLAIMER: --- The contents of this e-mail and any attachment(s) are confiden

Re: hibernate InstrumentTask

2007-01-30 Thread Marco Mistroni
Nicholas, additional thing if you make it work, would you mind write a wiki here http://docs.codehaus.org/display/MAVENUSER/Examples with your example pom.xml? it might help (me :) or anyone that want to do same things later on regards marco On 1/30/07, Marco Mistroni <[EMAIL PROTECTED]> wro

Re: hibernate InstrumentTask

2007-01-30 Thread Marco Mistroni
ah i see, i was betting that that could have been one of the problems any reasons why the code below does not work using process-classes? i had to add extra classes 'manually' to classpath because i had problem with some jboss versions that were screwing up the wstools task.. so i couldn't im

Re: hibernate InstrumentTask

2007-01-30 Thread nicolas de loof
My issue is about building the classpath for the hibernate instrumentTask using maven dependencies : your sample config uses ${jboss.libdir} to build the task calsspath. I'd like to set a dependency for the plugin on hibernate. Thanks anyway. 2007/1/30, Marco Mistroni <[EMAIL PROTECTED]>: Hi,

Re: hibernate InstrumentTask

2007-01-30 Thread Marco Mistroni
Hi, my 2 cents . don't know the issue but i went to check what does that instrument task do.. i see no reason why you can't just use maven antrun plugin and execute it... dont know if this might help... here i configured a custom ant task (wstools), like this

Re: Scp an ear artifact on a server and running a remote command inside a phase

2007-01-30 Thread Benoît Clouet
On 1/30/07, Manuel Ledesma <[EMAIL PROTECTED]> wrote: Benoît Clouet wrote: > I'm trying to extend the maven build lifecycle in order to put an EAR > on a remote server via scp and to run a command to install that EAR on > a remote websphere server in order to test it. > > I managed to write a fir

Re: Is it possible to start a maven2 process in your code.

2007-01-30 Thread Milos Kleint
google for maven embedder. Milos On 1/30/07, Petar Tahchiev <[EMAIL PROTECTED]> wrote: Hi guys, Is there a way to instantiate a maven project process in the in my java program? I mean is it possible to do something like this: public static void main(String[] args) { MavenProject maven

RE: Is it possible to start a maven2 process in your code.

2007-01-30 Thread jelle.volckaert
Hi Petar, You can always run a cmd command from in your java code. -> Runtime.getRuntim().exec(String[] cmdarray); So your cmdarray could contain: Index 0: mvn Index 1: archetype:create Index 2: -DgroupId=blabla Index 3: -DartifactId=bla I guess it works like that. Haven't tried it myse

hibernate InstrumentTask

2007-01-30 Thread nicolas de loof
Hello, Is there any plugin that support hibernate InstrumentTask ? How to configure the antrun plugin to use it ?