Re: Repost: [m2] Idea plugin bug?

2005-11-17 Thread Brett Porter
I believe this has been fixed in the SVN version of the plugin. You can try it by including http://snapshots.maven.codehaus.org/maven2 in a pluginRepository element and running with -U idea:idea On 11/18/05, Wim Deblauwe <[EMAIL PROTECTED]> wrote: > Trying again to be noticed in the flood :) > >

Re: Authenticating against an internal remote repository

2005-11-17 Thread Brett Porter
Sorry, I missed that. The password must be in maven.repo.remote as Jesse said. - Brett On 11/18/05, Lou Sacco <[EMAIL PROTECTED]> wrote: > Is this something only supported in maven2? I'm currently using 1.0.2. > > On 11/17/05, Brett Porter <[EMAIL PROTECTED]> wrote: > > > > Not at present, howeve

Re: [m2] Using

2005-11-17 Thread Brett Porter
Yes, it was discovered on another thread that its because the artifactId is the same in two modules. - Brett On 11/18/05, Wim Deblauwe <[EMAIL PROTECTED]> wrote: > Both modules are defined as 'jar', so that can't be the problem. I can > assume then that this is a bug? > > regards, > > Wim > > 200

Re: Authenticating against an internal remote repository

2005-11-17 Thread Lou Sacco
Is this something only supported in maven2? I'm currently using 1.0.2. On 11/17/05, Brett Porter <[EMAIL PROTECTED]> wrote: > > Not at present, however you can use filesystem permissions to secure > settings.xml as it is not checked in to source control. > > - Brett > > On 11/18/05, Lou Sacco <[EM

Repost: [m2] Idea plugin bug?

2005-11-17 Thread Wim Deblauwe
Trying again to be noticed in the flood :) thank you for taking the time to answer, regards, Wim 2005/11/17, Wim Deblauwe <[EMAIL PROTECTED]>: > > Hi, > > There seems to be a bug in the maven-idea-plugin. > > This is my structure (note that I use a master pom that defines my > slightly differen

Re: [m2] Using

2005-11-17 Thread Wim Deblauwe
Both modules are defined as 'jar', so that can't be the problem. I can assume then that this is a bug? regards, Wim 2005/11/17, Brett Porter <[EMAIL PROTECTED]>: > > On 11/17/05, Wim Deblauwe <[EMAIL PROTECTED]> wrote: > > What does the error 'No goals needed for project - > > skipping' mean? An

about native-maven-plugin and javahOS configuration

2005-11-17 Thread dan tran
There was a user directly query me about this plugin, please resend the question. Your email disappears out of thin air after I read it. ;(, So i will answer in maven list instead In your case, to add jni include path to you plugin's configuration, your can do this as well ${java.home}/../inclu

RE: [m2] was5 plugin

2005-11-17 Thread Malcolm Wong Ho
I'll give it bash. -Original Message- From: Vincent Massol [mailto:[EMAIL PROTECTED] Sent: Friday, November 18, 2005 2:40 AM To: 'Maven Users List' Subject: RE: [m2] was5 plugin > -Original Message- > From: Dion Gillard [mailto:[EMAIL PROTECTED] > Sent: jeudi 17 novembre 2005 2

RE: [m2] firewall and proxy problems

2005-11-17 Thread Saravanan Dharmalingam
Hi Tomas and you guys, I had similar problem and fixed by following steps. Create a build.properties file in the same level of project.xml. Create a folder structure as test/repository. Build.properties contents following details: maven.repo.remote.enabled=true maven.mode.online=true maven.rep

Re: [m2] dependency on sources from another project

2005-11-17 Thread Brett Porter
I think you'll need a custom plugin to download and extract the sources jar (similar to how the eclipse plugin obtains the sources). - Brett On 11/18/05, Tomislav Stojcevich <[EMAIL PROTECTED]> wrote: > Does anybody know the best way to include sources that are generated > in one project into ano

Re: Problem in Maven

2005-11-17 Thread Brett Porter
You need to add a classpathref to the taskdef so it can find the jar. If you wish to do this in the "maven way" - put the jar in your local repository, add it as a dependency in your project with root Cheers, Brett On 11/18/05, abc abc <[EMAIL PROTECTED]> wrote: > I have an ANT build script, and

Re: Authenticating against an internal remote repository

2005-11-17 Thread Brett Porter
Not at present, however you can use filesystem permissions to secure settings.xml as it is not checked in to source control. - Brett On 11/18/05, Lou Sacco <[EMAIL PROTECTED]> wrote: > Can you hash that password in this file? > > Thanks, > Lou > > On 11/17/05, Brett Porter <[EMAIL PROTECTED]> wro

Re: Authenticating against an internal remote repository

2005-11-17 Thread Lou Sacco
Can you hash that password in this file? Thanks, Lou On 11/17/05, Brett Porter <[EMAIL PROTECTED]> wrote: > > you can also put the user/pass in settings.xml in the servers section > (there is a sample file in the maven distribution) > > On 11/18/05, Jesse McConnell <[EMAIL PROTECTED]> wrote: > >

WPS 5.1 Jars

2005-11-17 Thread Lou Sacco
Has anyone discovered the jars required for coding with the IBM portlet API for WPS 5.1? It appears the wps.jar and the portlets-api.jar is now broken up into several smaller jars. TIA, Lou

Re: [m2] was5 plugin

2005-11-17 Thread Eric Redmond
Ah.. WAS... misread as WSAD. Sorry On 11/17/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > Generate EAR, deploy on server, restart server, etc. Currently only for > Maven 1. > > Oddmar Sandvik > DnB NOR, IT og Betalingsformidling > Tlf (552)19227 Mob 41436724 > > > > -Opprinnelig meldi

Re: [m2] Generating Junit Reports

2005-11-17 Thread Brett Porter
I think you may be looking for th eHTML report, which is this plugin http://mojo.codehaus.org/surefire-report-maven-plugin/ On 11/18/05, John Tolentino <[EMAIL PROTECTED]> wrote: > Hi Aviran, > > You can try maven-surefire-plugin > (http://maven.apache.org/plugins/maven-surefire-plugin/test-mojo.h

Re: Authenticating against an internal remote repository

2005-11-17 Thread Brett Porter
you can also put the user/pass in settings.xml in the servers section (there is a sample file in the maven distribution) On 11/18/05, Jesse McConnell <[EMAIL PROTECTED]> wrote: > you can use https://user:[EMAIL PROTECTED]/repository > > > On 11/17/05, Lou Sacco <[EMAIL PROTECTED]> wrote: > > > > I

Re: Authenticating against an internal remote repository

2005-11-17 Thread Jesse McConnell
you can use https://user:[EMAIL PROTECTED]/repository On 11/17/05, Lou Sacco <[EMAIL PROTECTED]> wrote: > > I have a question regarding set-up on your own internal remote repository. > This will be useful for us, especially since many jars are 3rd party > licensed, such as Oracle JDBC, etc. My qu

Authenticating against an internal remote repository

2005-11-17 Thread Lou Sacco
I have a question regarding set-up on your own internal remote repository. This will be useful for us, especially since many jars are 3rd party licensed, such as Oracle JDBC, etc. My question is this: if these jars exist on a NAS device that I normally access (and authenticate) through a UNC path,

Re: [m2] Generating Junit Reports

2005-11-17 Thread John Tolentino
Hi Aviran, You can try maven-surefire-plugin (http://maven.apache.org/plugins/maven-surefire-plugin/test-mojo.html). It calls junit tests and also generates reports (see reportFormat). You can find most of the documents you'll need here: http://maven.apache.org/guides/index.html. To configur

Re: new artifact type

2005-11-17 Thread John Tolentino
By the way, please add [m2] to your subject so other Maven 2 developers would take note. They might skip/miss out on your email, thinking it's a m1 question. :-) Regards, John Michael Thompson wrote: All, So we are delving into the world maven2 and eclipse plugins. In order to package my

Re: new artifact type

2005-11-17 Thread John Tolentino
Hi Michael, Have you looked at the maven-assembly-plugin (http://maven.apache.org/plugins/index.html)? It packages the whole project, including dependencies, into a jar. Since jars are also zips, this might be the solution you're looking for. As for your class files that should be contained

RE: [m2] was5 plugin

2005-11-17 Thread Vincent Massol
> -Original Message- > From: Dion Gillard [mailto:[EMAIL PROTECTED] > Sent: jeudi 17 novembre 2005 23:43 > To: Maven Users List > Subject: Re: [m2] was5 plugin > > As the defacto maintainer of the maven 1 was5 plugin, and someone who > isn't moving to m2 at this point, we've been asked t

Re: [m2] was5 plugin

2005-11-17 Thread Henry Isidro
Dion Gillard wrote: As the defacto maintainer of the maven 1 was5 plugin, and someone who isn't moving to m2 at this point, we've been asked this at sourceforge a couple of times, but it needs someone to step up and do the work. The antrun plugin probably couldn't be used (guessing here), as t

RE: Plugin Classes

2005-11-17 Thread Arnaud HERITIER
The problem is that ant needs to find your classes in the root classloader but by default they are in the sub-classloader. http://maven.apache.org/maven-1.x/using/developing-plugins.html#Plugin_dependencies A solution is to create another project for your ant task and to define in your plugin a d

RE: [m1]How to ignore dependencies from the parent projet??

2005-11-17 Thread Arnaud HERITIER
Not in maven 1. Arnaud > -Message d'origine- > De : Minds Work [mailto:[EMAIL PROTECTED] > Envoyé : jeudi 17 novembre 2005 13:47 > À : Maven Users List > Objet : [m1]How to ignore dependencies from the parent projet?? > > Hi > I Have a project that extends from other project.xml ( the

surefire and systemProperties: bug?

2005-11-17 Thread Jérôme BERNARD
Hi, I am trying to specify the java.library.path property for my tests but it seems that the following configuration does not work: org.apache.maven.plugins maven-surefire-plugin java.library.path /usr/local/lib Any idea why? I unfortunately ca

new artifact type

2005-11-17 Thread Michael Thompson
All, So we are delving into the world maven2 and eclipse plugins. In order to package my plugin, I think I need a new artifact type since the standard jar packaging won't suffice. Just FYI, eclipse plugins are actually zip files that contain your class files in a contained jar, dependency jars

Problem in Maven

2005-11-17 Thread abc abc
I have an ANT build script, and i slowly want to migrate to Maven. So, initially i want my ant Script to be invoked from Maven. I have a jar file which contains a class that I am using in build.xml file. The build.xml file and that jar file reside in same directory, and the ant script is wor

Re: [m2] creating a par package and including it in an ear

2005-11-17 Thread Arik Kfir
While we're at it - any estimate regarding the release date? On 11/17/05, Stephane Nicoll <[EMAIL PROTECTED]> wrote: > Bruno, > > Yes but you need to use latest SVN et rebuild the maven ear plugin. It works > but it's not released yet. Regarding the lifecyle, same answer, it's applied > to maven c

Re: [m2] was5 plugin

2005-11-17 Thread Dion Gillard
As the defacto maintainer of the maven 1 was5 plugin, and someone who isn't moving to m2 at this point, we've been asked this at sourceforge a couple of times, but it needs someone to step up and do the work. The antrun plugin probably couldn't be used (guessing here), as the was5+ ant tasks must

Re: m1.1b2 PermGen error, running out of memory

2005-11-17 Thread Dion Gillard
SET MAVEN_OPTS=-XX:MaxPermSize=512m or something appropriate for you. On 11/18/05, Antonyan, Tigran(GE Infrastructure) <[EMAIL PROTECTED]> wrote: > Hi all, > > I am having a maven memory issue... > > when I run maven goals in separate windows everything is fine, > but if I do > maven clean projec

Re: m1.1b2 maven commands in batch file

2005-11-17 Thread Dion Gillard
Does: call maven clean work? On 11/18/05, Antonyan, Tigran(GE Infrastructure) <[EMAIL PROTECTED]> wrote: > > Hi all, > > Here is a problem I discovered with maven. > > if I make a bath file with the following > > * clean.bat > maven clean > maven site > exit > > and if I run this then the onl

m1.1b2 maven commands in batch file

2005-11-17 Thread Antonyan, Tigran\(GE Infrastructure\)
Hi all, Here is a problem I discovered with maven. if I make a bath file with the following * clean.bat maven clean maven site exit and if I run this then the only command that actually is being executed is maven clean and not only the clean, nothing gets executed after the first maven go

m1.1b2 PermGen error, running out of memory

2005-11-17 Thread Antonyan, Tigran\(GE Infrastructure\)
Hi all, I am having a maven memory issue... when I run maven goals in separate windows everything is fine, but if I do maven clean project:build multiproject:site-deploy (project:build is a custom goal ) I get this while its trying to copy a file in packager project(this file does exist and the

Re: [m2] Generating Source in Ant

2005-11-17 Thread Brett Porter
To edit this page: http://maven.apache.org/plugins/maven-antrun-plugin/run-mojo.html you edit the javadoc descriptions here: https://svn.apache.org/repos/asf/maven/plugins/trunk/maven-antrun-plugin/src/main/java/org/apache/maven/plugin/antrun/AntRunMojo.java To edit this page: http://maven.apache

Re: [m2] Generating Source in Ant

2005-11-17 Thread Lee Meador
Thanks for the help. It seems to be working for me. http://maven.apache.org/plugins/maven-antrun-plugin/run-mojo.html Thats where it tells about the config stuff for the antrun plugin. The testSourceRoot attribute is missing and there is no description on the others. I'm willing to think about

[m2] Generating Junit Reports

2005-11-17 Thread Mordo, Aviran (EXP N-NANNATEK)
Hi, I'm new to maven and I'm trying to generate Junit reports from the Junit tests that I run, but I could not find the right plug-in and goal to run. (I could only find some stuff for m1). Can anyone show me an example of generating junit reports for m2 ? Thanks Aviran ---

Re: [m2] creating a par package and including it in an ear

2005-11-17 Thread Stephane Nicoll
Bruno, Yes but you need to use latest SVN et rebuild the maven ear plugin. It works but it's not released yet. Regarding the lifecyle, same answer, it's applied to maven core but not as part of the 2.0 release. Hope it helps, Stéphane On 11/17/05, Bruno Aranda <[EMAIL PROTECTED]> wrote: > > Than

Flat structure supported ?

2005-11-17 Thread Christian Schulte
Hi, I am using the flat project layout as mentioned in the Maven 2 documentation right at the end of the following site. Does Continuum support this flat structure ? -- Christian

Re: [m2] antlib artifact:deploy and wagon-scm

2005-11-17 Thread Brett Porter
There are a few issues with the wagon-scm provider as it was only prototyped earlier in the year and there hasn't been a lot of interest since. The URL needs to be like a Maven connection: scm:svn:svn://... IF you have any issues and are willing to help, join wagon-dev@maven.apache.org ([EMAIL PR

Re: Ant Tasks - Multiple remote repositories

2005-11-17 Thread Brett Porter
On 11/17/05, Ong Wee Tat NCS <[EMAIL PROTECTED]> wrote: > I also came across this issue listed in JIRA, which seems to be the same > problem. > http://jira.codehaus.org/browse/MNG-1466 > As you can see from that, it is fixed in 2.0.1. If you are desperate for this fix, you can check it out from S

Re: No goals needed for project - skipping

2005-11-17 Thread Brett Porter
Ah, I see. That's another cause then - thanks for pointing it out. That's already scheduled to be reported in 2.0.1. On 11/18/05, Mordo, Aviran (EXP N-NANNATEK) <[EMAIL PROTECTED]> wrote: > I am so stupid :-| I had the same artifactId in both the parent and the > module > > It is resolved now. Th

Re: [m2] firewall and proxy problems

2005-11-17 Thread Brett Porter
It's a bug in 2.0. If it fails the first time, you need to run with -U to get it to try again. - Brett On 11/18/05, Tomas Maven <[EMAIL PROTECTED]> wrote: > The verbose output I get from running the very first example in the > Maven "How do I make my first Maven project?" can be found below. > >

RE: No goals needed for project - skipping

2005-11-17 Thread Mordo, Aviran (EXP N-NANNATEK)
I am so stupid :-| I had the same artifactId in both the parent and the module It is resolved now. Thank you -Original Message- From: Brett Porter [mailto:[EMAIL PROTECTED] Sent: Thursday, November 17, 2005 3:09 PM To: Maven Users List Subject: Re: No goals needed for project - skipping

[m2] dependency on sources from another project

2005-11-17 Thread Tomislav Stojcevich
Does anybody know the best way to include sources that are generated in one project into another project (not for compile purposes, just to use for further source generation so as to avoid generating from metadata again which is quite a lengthy process due to the number of tables). I have 2 projec

Re: [m2] Why META-INF/maven ?

2005-11-17 Thread Christian Schulte
Julien Stern schrieb: On Thu, Nov 17, 2005 at 11:42:24AM -0500, John Casey wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Fair enough. We need to add a flag to the maven-archiver, and propagate that flag out to the maven-jar-plugin. Care to submit a patch? :) We need to make sure this

Re: [m2] Generating Source in Ant

2005-11-17 Thread Brett Porter
On 11/18/05, Lee Meador <[EMAIL PROTECTED]> wrote: > 1) It took me a while to find and load the plugin sources. I found no > reference in the docs. The page that tells how to build the source does not > load the plugin source from subversion. Its at: > > http://maven.apache.org/guides/development/g

Re: [m2] Generating Source in Ant

2005-11-17 Thread Lee Meador
Never mind. But I do have a question down there ... Although I had fun poking around into maven2 and creating a plugin of my own that would compile, load and run (even though it did die with a NPE), two things: 1) It took me a while to find and load the plugin sources. I found no reference in the

Re: eclipse.downloadSources is killing me

2005-11-17 Thread Brett Porter
Please put these in JIRA to ensure they aren't forgotten. - Brett On 11/18/05, Barry Kaplan <[EMAIL PROTECTED]> wrote: > Also, might there be a way to instead of downloading a source jar, tell > the eclipse plugin, for a particular dependency, that the source is > already in the eclipse workspace

Re: [m2] Generating Source in Ant

2005-11-17 Thread Brett Porter
You can't extend java mojos from other plugins - none of the metadata is populated. That's why you end up with a nullpointer in the base classes. What I said earlier was to use the Ant Java API to run the task (so nothing to do with the ant run plugin). http://ant.apache.org/manual/antexternal.ht

Re: use of ArtifactHandler

2005-11-17 Thread Brett Porter
Your type should be uberwar (it needs to match the role-hint, as stated in the docs). - Brett On 11/18/05, Nigel Magnay <[EMAIL PROTECTED]> wrote: > Hello - I have been trying to follow the configuration for > ArtifactHandlers - I have in my components.xml > > > org.apache.maven.artifact.

Re: [m2] Where is the tomcat plugin?

2005-11-17 Thread Bruno Aranda
Hi Wendy, it is on the sandbox of the Mojo codehaus. Check it out with svn: http://svn.mojo.codehaus.org/trunk/mojo/mojo-sandbox/maven-tomcat-plugin/ Regards, Bruno 2005/11/17, Wendy Smoak <[EMAIL PROTECTED]>: > There is a Tomcat plugin on the matrix, and some projects using m2 > refer to it, b

Re: No goals needed for project - skipping

2005-11-17 Thread Brett Porter
On 11/18/05, Mordo, Aviran (EXP N-NANNATEK) <[EMAIL PROTECTED]> wrote: > I'm trying to build a multi project application. I have a pom.xml file > which has a default goal of package, and is building several sub > modules. > > On one of the modules I always get a message "No goals needed for > proje

Re: [m2] Using

2005-11-17 Thread Brett Porter
On 11/17/05, Wim Deblauwe <[EMAIL PROTECTED]> wrote: > What does the error 'No goals needed for project - > skipping' mean? Any clue on what goes wrong? Nothing was bound to the lifecycle for your packaging. Check is jar or something else that defines a compile or prior step. - Brett --

Support for other programming languages (C, C++,...)

2005-11-17 Thread Carlos Sanchez
Hi, For everybody interested in building with maven for other lenguages there are some ideas we're having into account for maven 2.1 http://docs.codehaus.org/x/CpM Regards - To unsubscribe, e-mail: [EMAIL PROTECTED] For additio

Re: [m2] Where is the tomcat plugin?

2005-11-17 Thread Brett Porter
mojo.codehaus.org, in the sandbox I think. On 11/18/05, Wendy Smoak <[EMAIL PROTECTED]> wrote: > There is a Tomcat plugin on the matrix, and some projects using m2 > refer to it, but I can't find it. > > Where is the Maven 2 Tomcat Plugin? > > Thanks, > Wendy > > --

[m2] Where is the tomcat plugin?

2005-11-17 Thread Wendy Smoak
There is a Tomcat plugin on the matrix, and some projects using m2 refer to it, but I can't find it. Where is the Maven 2 Tomcat Plugin? Thanks, Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

No goals needed for project - skipping

2005-11-17 Thread Mordo, Aviran (EXP N-NANNATEK)
I'm trying to build a multi project application. I have a pom.xml file which has a default goal of package, and is building several sub modules. On one of the modules I always get a message "No goals needed for project - skipping" Why is that? How can I make it compile and test. BTW: If I run the

Re: m2 webapp support

2005-11-17 Thread Stephen Duncan
http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html Generally, it's probablyy better to say: "mvn package" than to manually string the steps together (mvn compile war:war). Certainly it's shorter and easier. -Stephen On 11/17/05, Nathaniel G. Auvil <[EMAIL PROTECTED]>

Re: m2 webapp support

2005-11-17 Thread Nathaniel G. Auvil
wow. cool. that is it. I did not understand that i had to string the commands together. Thank you very much. Bruno Aranda <[EMAIL PROTECTED]> wrote: Hi Natahniel, put the sources in src/main/java and then execute mvn compile war:war (or mvn install). The issue is that with mvn war:w

Re: m2 webapp support

2005-11-17 Thread Bruno Aranda
Hi Natahniel, put the sources in src/main/java and then execute mvn compile war:war (or mvn install). The issue is that with mvn war:war the sources are not being compiled... Regards, Bruno 2005/11/17, Nathaniel G. Auvil <[EMAIL PROTECTED]>: > > So i have to manually create and specify where a

Re: m2 webapp support

2005-11-17 Thread Nathaniel G. Auvil
So i have to manually create and specify where all the directories are? I thought maven would do this? I dont mean to offend anyone, but if i have to manually do this, why not just use Ant by itelf? Maybe i am confused in what Maven does? I thought Maven provides a project structu

Re: [M2] What's going on with Plexus POMs????

2005-11-17 Thread Emmanuel Venisse
I fixed them, you need to removed them in your local repo Emmanuel Carlos Sanchez a écrit : We know the problem and has been already fixed or will be in the next hours. Delete the poms from your local repo to get the latests. On 11/17/05, Jose Gonzalez Gomez <[EMAIL PROTECTED]> wrote: I'm ge

Re: m2 webapp support

2005-11-17 Thread Nathaniel G. Auvil
i tried this and it does not work for a web application. I also tried placing them under WEB-INF/classes and that did not work. Bruno Aranda <[EMAIL PROTECTED]> wrote: You have to put your source files in the src/main/java folder. Regards, Bruno 2005/11/17, Nathaniel G. Auvil : >

Re: [M2] What's going on with Plexus POMs????

2005-11-17 Thread Carlos Sanchez
We know the problem and has been already fixed or will be in the next hours. Delete the poms from your local repo to get the latests. On 11/17/05, Jose Gonzalez Gomez <[EMAIL PROTECTED]> wrote: > I'm getting a lot of lines like this in every build: > > [WARNING] POM for: 'org.codehaus.plexus:plexu

Re: [maven2] Failed to build model from plexus-utils-1.0.4.pom

2005-11-17 Thread Carlos Sanchez
Hi, Seems that it breaks in other systems, what machine, os, jdk are you running on? Regards On 11/17/05, Jeremy Hughes <[EMAIL PROTECTED]> wrote: > Thanks that works for me now. > > On 11/16/05, Carlos Sanchez <[EMAIL PROTECTED]> wrote: > > Hi, > > > > What I believe is that this file was not s

Re: [m2] creating a par package and including it in an ear

2005-11-17 Thread Bruno Aranda
Thanks, I know, to summarise, my question was if someone has successfully included a par generated with that plugin inside an ear... Thanks, Bruno 2005/11/17, Arik Kfir <[EMAIL PROTECTED]>: > I think you need to use the 'maven-par-plugin' (in the mojo project, > at http://mojo.codehaus.org/) > >

Plugin Classes

2005-11-17 Thread Durfee, Bernard
I've created a plugin with the following in the plugin.jelly file... ...when I attempt to execute the plugin I get the following error... BUILD FAILED File.. C:\Documents and Settings\durfeebe\.maven\cache\uportal-maven-plugin-0.1\plugin.jelly Element... ant:

Re: use of ArtifactHandler

2005-11-17 Thread John Casey
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Yes, the private member vars are injected with values from the configuration. That's how plexus works by default (plexus is the underlying container Maven uses). So, you have a POM with uberwar, and it's setting the extension to 'uberwar'? Or, is it

Re: [m2] creating a par package and including it in an ear

2005-11-17 Thread Arik Kfir
I think you need to use the 'maven-par-plugin' (in the mojo project, at http://mojo.codehaus.org/) However, AFAIK its not released yet. On 11/17/05, Bruno Aranda <[EMAIL PROTECTED]> wrote: > Hi all, > > I am doing my first steps with maven... I have a multi-module setup > that involves the creati

Re: m2 webapp support

2005-11-17 Thread Bruno Aranda
You have to put your source files in the src/main/java folder. Regards, Bruno 2005/11/17, Nathaniel G. Auvil <[EMAIL PROTECTED]>: > i am having problems trying to create a new web application. I searched the > documentation and found a reference to building a web application project. > I r

RE: [M2] clover:check bug?

2005-11-17 Thread Duane Homick
So, I finally tracked down what was going on here. Not sure who the bug is against. The problem is that the compile:compile step will define the artifactFile that is used by the install plugin to determine what to copy to the local repository. >From maven-compile-plugin: public void execu

[m2] creating a par package and including it in an ear

2005-11-17 Thread Bruno Aranda
Hi all, I am doing my first steps with maven... I have a multi-module setup that involves the creation of jars, wars, pars and an ear with everything inside. I've been told to use a plugin to create the par file [1]. However, when the par is set as a dependency in the pom.xml file to create the ea

Re: m2 webapp support

2005-11-17 Thread John Casey
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 src/main/webapps, IIRC. You might check out http://maven.apache.org/plugins/maven-war-plugin/ for more information. - -j Nathaniel G. Auvil wrote: | i am having problems trying to create a new web application. I searched the documentation and fou

m2 webapp support

2005-11-17 Thread Nathaniel G. Auvil
i am having problems trying to create a new web application. I searched the documentation and found a reference to building a web application project. I run the command and it builds a webapp. But i have no idea where i should stick my java source files so that when i do a "mvn war:war",

RE: [M2] clover:check bug?

2005-11-17 Thread Vincent Massol
Hi Duane, This is a bug in Maven 2.0 that has been fixed in Maven 2.0.1. We need to try modifying the Clover plugin so that it can still work on Maven 2.0. This is not done yet. If you want to have it work right now you'll need to build m2 from trunk and build the clover plugin from trunk too. T

Re: [m2] Generating Source in Ant

2005-11-17 Thread Lee Meador
I have this source: /** * Goal which runs ant and then adds some path to the compile source root list * * @goal run * @phase generate-sources * @description Run ant and then add a folder to the list of places that hold * code to compile */ public class AntRunAddGenerateMojo extends AntRunMojo { /

Re: eclipse.downloadSources is killing me

2005-11-17 Thread Barry Kaplan
Also, might there be a way to instead of downloading a source jar, tell the eclipse plugin, for a particular dependency, that the source is already in the eclipse workspace or on disk somewhere. If I recall, this was possible with M1, but then the plugin architecture was nowhere as decoupled t

RE: [m2] Howto Hack JavadocReport.java

2005-11-17 Thread Pilgrim, Peter
Quick question > You need to add quote on your group element, eg: > "Unit Tests" "com.csfb.foo.test*:com.csfb.bar.test*" > Does the javadoc plug-in work with multiple tags? How do you specifiy multiple package groups exactly? I tried the following "Unit Tests" "com.csfb.foo.test*:com.csfb.bar

eclipse.downloadSources is killing me

2005-11-17 Thread Barry Kaplan
Could there be anyway to specify this option on a dependency specific basis? I want to download just two or three of the dependency sources (which I keep in a local repository), but m2 dragging on the other fifty dependencies. And that is multiplied by a dozen or so projects. So what was once

Can't use maven2 (offline)

2005-11-17 Thread Eric Parpal
I'm back. First, thank you for your answers. Sorry to say this but the more I try it, the more I find it strange (under linux) ... and I can't start using a tool with such questions haunting me. Question 1 : I work under Linux (this could be important because I never succeeded in using the aut

RE: [M2] Eclipse doesn't refresh properly after running mvn as an external command?

2005-11-17 Thread KC Baltz
You're right that my Ant runners are listed in the External Tools screen as "Ant Build" object whereas my Maven stuff is under "Programs". However, the "Refresh" tab looks the same for both types of runners. I filed a bug against Eclipse. K.C. -Original Message- From: Eric Redmond

Re: I cannot run otional ant tasks by usind maven-antrun-plugin

2005-11-17 Thread Anuerin Diaz
On 11/17/05, Kenney Westerhof <[EMAIL PROTECTED]> wrote: > On Thu, 17 Nov 2005, Anuerin Diaz wrote: > > I've closed that issue since you shouldn't be using for > plugin-space dependencies. See the comments on the issue for details. > > The antrun plugin doesn't include any optional tasks, just > a

Re: I cannot run otional ant tasks by usind maven-antrun-plugin

2005-11-17 Thread Kenney Westerhof
On Thu, 17 Nov 2005, Anuerin Diaz wrote: I've closed that issue since you shouldn't be using for plugin-space dependencies. See the comments on the issue for details. The antrun plugin doesn't include any optional tasks, just ant 1.6.5 and the launcher (to be able to run external build.xml files

Re: [m2] Why META-INF/maven ?

2005-11-17 Thread Anuerin Diaz
On 11/17/05, Julien Stern <[EMAIL PROTECTED]> wrote: > On Thu, Nov 17, 2005 at 11:42:24AM -0500, John Casey wrote: > > -BEGIN PGP SIGNED MESSAGE- > > Hash: SHA1 > > > > Fair enough. We need to add a flag to the maven-archiver, and propagate > > that flag out to the maven-jar-plugin. Care to

Re: [m2] Why META-INF/maven ?

2005-11-17 Thread Julien Stern
On Thu, Nov 17, 2005 at 11:42:24AM -0500, John Casey wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Fair enough. We need to add a flag to the maven-archiver, and propagate > that flag out to the maven-jar-plugin. Care to submit a patch? :) We > need to make sure this is in jira somew

[m2] How to detach Maven plugin from the lifecycle and attach my own plugin

2005-11-17 Thread Richard Allen
How do I detach the maven-war-plugin from the build lifecycle and attach my own plugin in it's place? Thanks, Richard Allen - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: [m2] Wrapping an existing Mojo with a proxy Mojo

2005-11-17 Thread David Jackman
Since ${project.version} contains dots and CVS tags don't allow that, I can't just drop the version into the tag like that. But this is just one aspect of the problem I'm describing. Here's another: when doing a release, there are other things I would like to verify are correct before running th

Re: [m1] Run jar without the tests ?

2005-11-17 Thread Patrick Kimber
maven -Dmaven.test.skip=true jar On 17/11/05, Blaise Gosselin <[EMAIL PROTECTED]> wrote: > Is it possible, in Maven 1, to disable the tests while executing the jar > command ? > > __ _ _ _ > bgOnline > > - To uns

Re: ssh-askpass

2005-11-17 Thread Emmanuel Venisse
you can use public/private ssh keys or a ssh agent. Emmanuel Rafael Silva a écrit : Hi, I'm using SSH connection to the CVS. I installed the program "ssh-askpass" to put the password. I'd like to know if there's a way to create a file with the ssh pass to don't need to put the pass

Re: I cannot run otional ant tasks by usind maven-antrun-plugin

2005-11-17 Thread Anuerin Diaz
for clarifications: - have you included the ant-optional dependency in your project? - what task was failing? if it is related to a task that has an EnumeratedAttribute parameter then please vote for http://jira.codehaus.org/browse/MNG-1490 so it can have a greater priority. ciao! On 11/17/0

RE: MNG-1427 status

2005-11-17 Thread Allison, Bob
Try http://maven.apache.org/guides/introduction/introduction-to-dependency-m echanism.html -Original Message- From: Serge Bogatyrjov [mailto:[EMAIL PROTECTED] Sent: Thursday, November 17, 2005 11:27 To: users@maven.apache.org Subject: MNG-1427 status Hi http://jira.codehaus.org/browse

[m1] Run jar without the tests ?

2005-11-17 Thread Blaise Gosselin
Is it possible, in Maven 1, to disable the tests while executing the jar command ? __ _ _ _ bgOnline

MNG-1427 status

2005-11-17 Thread Serge Bogatyrjov
Hi http://jira.codehaus.org/browse/MNG-1427 The issue is marked as "closed", but the page http://maven.apache.org/maven2/dependency-mechanism.html is still unavailable. (I encountered this issue while googling "maven2 dependency scope"). Serge Bogatyrjov.

RE: [M2] clover:check bug?

2005-11-17 Thread Duane Homick
Typo in my error message (I modified the plugin to try to figure out what was going on): [INFO] Checking for coverage of 0% Loaded results from 1 coverage recording. [INFO] [install:install] [INFO] Installing M:\dhomick_main\sw\projects\sample\target\clover\classes to M:\dhomick_m ain\sw\reposit

Re: use of ArtifactHandler

2005-11-17 Thread Nigel Magnay
Yep - I'm pretty sure it's reading it as there is also a LifecycleMapping which is being used correctly. Are the private member variables supposed to get read set by some persistence mechanism from the configuration node ? On 11/17/05, John Casey <[EMAIL PROTECTED]> wrote: > -BEGIN PGP SIGNE

Re: [m2] Why META-INF/maven ?

2005-11-17 Thread John Casey
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Fair enough. We need to add a flag to the maven-archiver, and propagate that flag out to the maven-jar-plugin. Care to submit a patch? :) We need to make sure this is in jira somewhere - regardless of whether you submit a patch - so would you mind? I'

Re: use of ArtifactHandler

2005-11-17 Thread John Casey
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 You're defining this components.xml in a plugin, right? Do you have true defined in the plugin reference within your plugin-user POM? If not, it will use a default artifact handler that has the same type as your packaging, and the same extension as yo

[M2] clover:check bug?

2005-11-17 Thread Duane Homick
If I run a clover check as part of my build, I get the following error when running mvn install: [INFO] Checking for coverage of 0% Loaded results from 1 coverage recording. [INFO] [install:install] [INFO] Installing M:\dhomick_main\sw\projects\sample\target\classes to M:\dhomick_m ain\sw\reposi

  1   2   >